Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about tomcat

 
Kannan BLR
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have win 2k professional. I have installed jdk1.4 & tomcat4.1.24. I had set in environment variables as

path=c:\jdk1.4\bin
classpath=c:\jdk1.4\lib

JAVA_HOME=c:\jdk1.4
CATALINA_HOME=c:\tomcat

when I run startup.bat

When I run startup.bat

it displays

Using CATALINA_BASE: C:\tomcat
Using CATALINA_HOME: C:\tomcat
Using CATALINA_TMPDIR: C:\tomcat\temp
Using JAVA_HOME: C:\jdk1.4

these 4 lines only. comes to prompt like the following
c:\tomcat\lib>

Tell me the solution to run server as well as http://localhost:8080/
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what your question is, but if you see those 4 lines and no further error messages, the server should be up and running. What do you see when you go to http://localhost:8080/ ?
You could also check the log files, which should be at C:\tomcat\logs
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Kannan:


When I run startup.bat

it displays

Using CATALINA_BASE: C:\tomcat
Using CATALINA_HOME: C:\tomcat
Using CATALINA_TMPDIR: C:\tomcat\temp
Using JAVA_HOME: C:\jdk1.4

these 4 lines only. comes to prompt like the following
c:\tomcat\lib>



Hi Kannan,

Are you sure you had set the CATALINA_HOME? Are you by any means using CATALINA_BASE?

I would suggest delete the current Tomcat Installation and Delete all the Environment variables, and try repeating the steps. When the batch file is not getting executed properly, possibility of some conflict exists. By the way, did you download Tomcat from the apache site?

Cheers,
Ram
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Hold on,

Did you check whether the values are correctly specifed for the path and class path?

For your reference, check the values.


1. Set the environment variable CATALINA_HOME to your Tomcat holder
say c:\Tomcat(Better to delete all the 4.1.stuff....to avoid chaos
due to spaces)

2. Set JAVA_HOME variable to the JDK folder.

Say c:\jdk1.3 or something

3. Set CLASSPATH variable to %CATALINA_HOME%\common\lib\servlet.jar;

4. Set Path variable to ;%JAVA_HOME%\bin;%CATALINA_HOME%\bin;


Cheers,
Ram
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic