aspose file tools*
The moose likes Tomcat and the fly likes Tomcat Configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Configuration" Watch "Tomcat Configuration" New topic
Author

Tomcat Configuration

jay ray
Greenhorn

Joined: Feb 11, 2003
Posts: 10
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!
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Do you get a second window that flicks for a second and then disappears? What OS are you using?

Previous posts:

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

http://www.coderanch.com/t/82273/Tomcat/Tomcat-goes-off
jay ray
Greenhorn

Joined: Feb 11, 2003
Posts: 10
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
Doug Wolfinger
Greenhorn

Joined: Jul 27, 2002
Posts: 18
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

Joined: Feb 11, 2003
Posts: 10
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

Joined: Jul 27, 2002
Posts: 18
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

Joined: Feb 20, 2001
Posts: 3695

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

Joined: Feb 11, 2003
Posts: 10
OK, I'll try it. Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Configuration