Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat JDK version

Status
Not open for further replies.

pen81

Programmer
Oct 27, 2004
62
GB
I am running Tomcat 3.2 on SuseLinux with JDK 1.3.1 but I wish to change to JDK 1.4.2 as I understand that the use of JDK 1.4.* fixes a couple of problems regarding memory leaks and hangs.

When I change to JDK 1.4.2 and restart Tomcat, I find that none of my JSPs can be found. If I switch back to JDK 1.3.1 it all works fine again.

I am using a symbolic link called JDK to point to the actual JDK directory so that my startup scripts do not have to be changed.

Does anybody know of any compatibility problems with these versions, or why tomcat seems to start ok but then does not serve my JSPS?
 
Tomcat normally looks for an environment variable called JAVA_HOME - try setting that.

BTW, Tomcat 3 is really, really old now - you should ideally upgrade to version 5.

--------------------------------------------------
Free Database Connection Pooling Software
 
Thanks

The JAVA_HOME is set, it points to the symbolic link. It finds the JDK 1.3.1 ok, just not when I change it to point to 1.4.2.

My question really is why does Tomcat fail to serve pages at all when configured with 1.4.2

I intend to upgrade Tomcat in the long term but need to fix this problem for now
 
May be you should try to post to the Tomcat Thread : forum877

Water is not bad as long as it remains outside human body ;-)
 
On a seperate linux box I have now successfully installed Tomcat 5 and jdk1.4.2 so i'm ok now, thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top