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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP not working after chaning JAVA_HOME

Status
Not open for further replies.

RhythmAddict112

Programmer
Jun 17, 2004
625
US
Hi All,
Pretty new to java - so bear with me, please. I do think the problem is probably a simple one. In short, another developer had to change the JAVA_HOME environment variable from jdk1.4 to jdk1.5. However, after doing so JSPs in a certain directory don't work (no error at all, no 404, they simply render nothing) So it looks like the compiler isn't "seeing" these JSPs. How can I resolve this? Just for reference...If I drop a new JSP into that same directory, the same issue occurs...If I go to the work directory after dropping a JSP file into said directory, it does not show up. Thanks for your help!

 
Look at your Tomcat startup and shutdown scripts. These can be used to setup your version of Java independent of your system or JAVA_HOME. For example, my system uses 1.5 but my Tomcat is on 1.6.

Be aware of your compiled stuff. For example, compiling in 1.6 and trying to run under 1.5 could give you issues.

Finally, make sure your classpaths don't reference stuff from another version.

Respectfully,
-A Tomcat Novice
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top