Vous êtes sur la page 1sur 3

classpath C:\Tomcat\apache-tomcat-5.5.12\common\lib\servlet-api.jar; C:\Tomcat\apache-tomcat-5.5.12\common\lib\jsp-api.jar; C:\Tomcat\apache-tomcat-5.5.12\common\lib\jasper-runtime.jar; C:\Tomcat\apache-tomcat-5.5.12\common\lib\naming-factory.jar; C:\Tomcat\apache-tomcat-5.5.12\common\lib\naming-factory-dbcp.jar; C:\Tomcat\apache-tomcat-5.5.12\common\lib\naming-resources.jar; C:\Tomcat\apache-tomcat-5.5.12\common\lib\commons-el.jar; C:\Tomcat\apache-tomcat-5.5.12\common\lib\jasper-compiler.jar; C:\Tomcat\apache-tomcat-5.5.12\common\lib\jasper-compiler-jdt.jar; C:\j2sdk1.4.1_02\jre\lib\ext\mysql-connector-java-3.0.9-stable-bin.

jar;

%Path%; C:\j2sdk1.4.1_02\bin; C:\Users\Eaderic\Desktop\PicWorks\Applets; C:\j2sdk1.4.1_02\jre\lib\ext\mm.mysql-2.0.4-bin.jar; C:\j2sdk1.4.1_02\jre\lib\ext\SERVLET.jar; C:\Tomcat\apache-tomcat-5.5.12\webapps\ecfirms\PicWorks\PicWorks.jar;

Ensure all files listed is in the folder stated above. Ensure j2sdk version is the version of ur j2sdk.

Set up mysql and migrate all ecfrims and picworks folder of the database to the new installation path. Execute mysqltest.java to check the connectivity of mysql and java .

Check the Source of mysqltest if there is any changes in the root password. (check according to ur setting) migrate Tomcat to desired location. Make shortcut of Start and stop batch files on desktop. Execute start batch files. Tomcat at this stage shall hav no other errors except something like optimal performance blah blah.

From this stage on..... u have two choice.

the first one ..

change the MainFrame.java ipaddress according. compile MainFrame.java (important) Recompress the applet folders in the jar files. by right the original size is 241 kb ur new one i dun knw hw big. copy and paste both the Picworks.jar and PicWorks.html files in to Tomcat/webapp/ecfirms/picworks folder replacing the existing file open Picworks.jsp files change the ip address according Start tomcat, Run ecfirms or directly picwork by typing http://Ipaddress:8080/ecfirms/PicWorks Remember if the above things cannot run. Two reason 1) case sensitive issue. if the folder is PicWorks u put Picworks then cannot work le.. becos of the W. 2) Ipaddress wrong.

After picworks run, try ur new picworks can work or nt... by right simulation program can works.. then the connection to mysql database shall be working as well.

Try till this stage if cannot work..then try to run ecfirms see can login or nt. Remember to migrates the picworks and ecfirms tables in the database. if u haven done so.. try to migrate watever in the original folder into the new installation path and a keep a backup of the previous working one. if cannot login... two method to solve

first method.. i used one.. install the original j2sdk.. change all related path with j2sdk with the oldversion extention. try mysqltest.java ensure connectivity working first.. then run ecfirms again.. by right it can work.. cos my work used to work..

second method (i think) according to webbie ... create another tomcat server.. the classpath inside shall included the update java version. then run ecfirm.. shall be able to login .. but i never try this method b4 la.. lazy.

Vous aimerez peut-être aussi