Monday, September 28, 2009

"Media is Write Protected" in windows server 2008 shared drive

Just solved an issue with users at Melbourne office, apparantly something got changed to their mapped network drive and they can't write to the shared drive.

Agains, a technet article explained this and the solution:

You may see "Media is Write Protected" Error or VDS error 80070013 after bringing SAN disk online via Diskpart in Windows Server 2008

Thursday, September 10, 2009

Epicor E4SE and eBackoffice Go Live

Finally, it is time.
E4SE 811 and eBackoffice 736 will replace our current 810b/735a environment after staying so many years.
Just got the new test environment up together with the training environment.
time to go sleep now.

Monday, September 7, 2009

setting up datasource in tomcat & glassfish appserv

Notes to setup mysql datasource in tomcat/sunappserv (for my cs9323 assignment):

1. copy mysql-connector-java-5.1.8-bin.jar to c:\\tomcat6\lib or c:\\sun\appserv\lib

2. Add the following section to c:\\tomcat6\conf\context.xml

For glassfish, go to http://localhost:4848 and create a pool under 'Resource/Connection Pools' then create a jdbc resource called 'jdbc/mydb' in 'Resources/JDBC Resouces'. (you need to specific host,port, user, pass,db in the pool settings)

3. Under webcontent\META-INF, edit context.xml to include the following section:

Alternatively, this can be done via adding the following section into WEB-INF/web.xml:

4. for tomcat, use the following code to do the lookup:

For glassfish: