• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

tomcat wont start

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
William Quantrill
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
William Quantrill
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic