| Author |
Tomcat Setup
|
Simon Ingram
Ranch Hand
Joined: Nov 30, 2003
Posts: 165
|
|
Hi Folks, I have just bought the book "Beginning JSP 2.0" from Wrox and have used it to try to install Tomcat on a standalone Windows XP PC. Following the instructions, I downloaded the software to c:\Tomcat. The result is that directory jakarta-tomcat-5.0.16 and all its subdirectories reside within the c:\Tomcat directory, as one would expect. I have set up the following environment variables: JAVA_HOME c:\j2sdk1.4.1_03 JAVA_CATALINA c:\Tomcat\jakarta-tomcat-5.0.16 CLASSPATH %CATALINA_HOME%\common\lib\servlet.jar Path %CATALINA_HOME%\bin;%JAVA_HOME%\bin; The download process did not generate a Start Tomcat icon, so at the command line I type: C:> %catalina_home%\bin\startup Using Windows Explorer I do find startup.bat and startup.sh on this path, but the above command instantly closes the command prompt and shows no sign that startup has done anything, at least I can find nothing in c:\Tomcat\jakarta-tomcat-5.0.16\logs. When I open Internet Explorer (v 6.0) and type http://localhost:8080 nothing happens. Is my setup/procedure correct? I have scanned the Wrox website and the leads from Google. A similar problem was logged by someone else, but no answer to it was provided. Currently I can�t make progress. Can one of you clever souls please help? Regards and thanks, Simon
|
 |
Debashish Chakrabarty
Ranch Hand
Joined: May 14, 2002
Posts: 225
|
|
The only possoible error I could see is the Catalina home variable set wrongly. Perhaps changing to the following: might help. Also it would have sufficed to have the tomcat directory as c:\jakarta-tomcat-5.0.16.
|
Debashish
SCJP2, SCWCD 1.4
|
 |
Simon Ingram
Ranch Hand
Joined: Nov 30, 2003
Posts: 165
|
|
Debashish, Sorry, I have got CATALINA_HOME as my environment variable not JAVA_CATALINA. I just made a typo in my last message.
|
 |
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
|
|
|
This is really a Tomcat-specific question rather than a general JSP issue, so you will probably get more useful help over in our Tomcat forum. With that in mind I've moved this post for you.
|
A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
|
 |
 |
|
|
subject: Tomcat Setup
|
|
|