aspose file tools
The moose likes Tomcat and the fly likes tomcat wont start Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "tomcat wont start" Watch "tomcat wont start" New topic
Author

tomcat wont start

William Quantrill
Ranch Hand

Joined: Dec 23, 2002
Posts: 36
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
William Quantrill
Ranch Hand

Joined: Dec 23, 2002
Posts: 36
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:
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12324
    
    1
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


Java Resources at www.wbrogden.com
William Quantrill
Ranch Hand

Joined: Dec 23, 2002
Posts: 36
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
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12324
    
    1
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.
William Quantrill
Ranch Hand

Joined: Dec 23, 2002
Posts: 36
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!
S Goyal
Greenhorn

Joined: Oct 28, 2002
Posts: 27
I am also unable to start tomcat 5.0
my JAVA_HOME is c:\jdk1.2.1
and same here
it goes up to that last line and then cmd prompt is obtained
William i have no%PATH% in my catalina.bat
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12324
    
    1
Based on browsing at jakarta.apache.org, it looks to me like Tomcat 5 requires SDK 1.4 or later. I seem to recall that it uses some of the improved IO and collection classes but don't quote me.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat wont start
 
Similar Threads
running jaxr examples without using tomcat supplied by jwsdp
Web Services Server and Configuration
Installing jwsdp 1.4
UDDI With JAXR
AXIS is not accessible