• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Tomcat Configuration

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new and have been trying to get tomcat up and running for a few days now and feel like i've tried everything! When I startup tomcat this is what I get:
C:\jakarta-tomcat-4.1.18\bin>startup.bat
Using CATALINA_BASE: C:\jakarta-tomcat-4.1.18
Using CATALINA_HOME: C:\jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.18\temp
Using JAVA_HOME: C:\jdk1.2.2
C:\jakarta-tomcat-4.1.18\bin>
But when I then open my browser and try to access a jsp or html file, I get the "Cannot find Server" page. Any help would be greatly appreciated! Thanks!
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you get a second window that flicks for a second and then disappears? What OS are you using?

Previous posts:

https://coderanch.com/t/81609/Tomcat/Tomcat-startup-Windows-ME

https://coderanch.com/t/82273/Tomcat/Tomcat-goes-off
 
jay ray
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mike, Thanks for the quick response! I did get a second window that popped up and disappeared. I am running XP Home. I made the edits you suggested to catalina.bat and now the original window stays up and displays:
C:\jakarta-tomcat-4.1.18\bin>startup
Using CATALINA_BASE: C:\jakarta-tomcat-4.1.18
Using CATALINA_HOME: C:\jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.18\temp
Using JAVA_HOME: C:\jdk1.2.2
Bootstrap: Class loader creation threw exception
java.lang.IllegalMonitorStateException: current thread not owner
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My 4.1.18 runs fine on Win98, and I didn't do any modifications, except setting JAVA_HOME in autoexec. Does it run differently on xp? Also does this latest version run on jdk1.2.2? I'd consider upgrading the jvm.
 
jay ray
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am a student and am using a university version of JBuilder with it and was told it wasn't compatible with newer versions of jdk. I don't know if 4.1.18 works with it or not. If necessary, I'll try an older version.
 
Doug Wolfinger
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm. So they just have to be up to date with a questionable version of an operating system that replaces Win98, which I personally have never had any problems with. But they're happy to stick with a jvm that's 3 or 4 years old? If you can download an older version of tomcat, why can't you download a newer version of the jdk? I've read that all sorts of things change with tomcat when using an IDE with java, instead of dos, and I've never used one, so I won't be of much more use.
HOWEVER, I've heard that 4.0.3 has a bug when working with RMI. The other older versions might have all sorts of other bugs...
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The thing with JBuilder not working with newer JDK's is pre-JBuilder 6. JBuilder 5 and below won't work with JDK1.4 . So just download 1.3.1 and all will be well.

The issue with Tomcat doesn't happen under 1.3.1 and JBuilder will not throw "wrong class number" exceptions.
[ February 14, 2003: Message edited by: Mike Curwen ]
 
jay ray
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I'll try it. Thanks a lot!
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic