This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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, 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
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.
Joined: Feb 11, 2003
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.
Joined: Jul 27, 2002
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...