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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JAVA_HOME VARIABLE" Watch "JAVA_HOME VARIABLE" New topic
Author

JAVA_HOME VARIABLE

arekonda ramesh babu
Ranch Hand

Joined: Apr 11, 2006
Posts: 35
hai

is it necessary to set JAVA_HOME variable to run tomact 5.0.

i have installed tomacat and another two application servers under c:

1) one is weblogic
2) another is sun j2ee server

i have set path and classpath accordingly for all servers.

while i set JAVA_HOME=C:\bea\jdk142_08

and start tomcat , i can able to see the default home page.

while running my own application under web-app and try to access getting

this error:

description The server encountered an internal error () that prevented it from fulfilling this request.

i have also C:\Program Files\Java\jdk1.5.0_09


please suggest way


Stu Thompson
Hooplehead
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
Hi,

If you got the Tomcat main page then that is a good thing.

The message "description The server encountered an internal error () that prevented it from fulfilling this request." is a user friendly error message and does not actually tell you what is wrong.

You will need to look at your logs to see why your application generated an error. They are located in {tomcat-home}/logs/

Stu


"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAVA_HOME VARIABLE