I have downloaded the JWSDP for developing web services. There is a bin folder for tomcat. I also have a previous tomcat installtion that works fine installed on in a different directory. I want to run tomcat that is within the jwsdp, but when i runstartup.bat, i get the following: Exception in thread "main" java.lang.NoClassDefFoundError: start
"The Rebel army is now the legitimate property of the Army of the Potomac." - Joseph Hooker spoke these pompous words shortly before he was soundly defeated by Robert E. Lee at Chancellorsville
Joined: Dec 23, 2002
anybody else trying the JWSDP ? Have you had any problems running tomcat from within it (ie the tomcat version that comes with the jwsdp) ? help!!! there are several postings on similar problems over on the sun java forums, but as usual, not many replies... sun should provide better support for their developers! :roll:
I have not used the JWSDP, but I do know that many starting problems are related to getting the Environment variables for JAVA_HOME and CATALINA_HOME right. Also there were considerable changes from Tomcat 3 to 4 - which versions do you have? I always like to rem out the @echo off from the startup.bat and catalina bat so as to be able to see the details of what those batch files set up. Bill
JSWDP comes bundled with tomcat. i had a installation of tomcat404 installed and working fine. i have not been able to launch tomcat from within the jwsdp however. my JAVA_HOME is C:\j2sdk1.4.0 however, i do not believe we need a CATALINA_HOME because this is superceded by a variable called JWSDP_HOME there is a bin folder that has the usual tomcat startup scripts - startup.bat, catalina.bat my last line of catalina.bat is where i believe my problem is, however im not sure what its supposed to look like. the default just isnt working
Author and all-around good cowpoke
Joined: Mar 22, 2000
So - am I correct that the startup.bat and catalina.bat run all the way until that fatal last line? That is pretty mysterious alright - those bat files are pretty confusing - I would look first for some sort of interference between the environment used for your existing tomcat and the JWSDP environment.
Joined: Dec 23, 2002
for anyone following this thread...I finally got it resolved, although im not sure why. someone on the jdc forums sugested i take out the %PATH% portion from the last line of the catalina.bat file...low and behold IT WORKS! Again, this is a version of tomcat that coems bundled with the JWSDP v1.1, and the only differences i can see is that the startup scripts are somewhat different (because i can startup my previous ver of tomcat just fine!) man i hate hacking windows batch scripts!