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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "about tomcat " Watch "about tomcat " New topic
Author

about tomcat

Kannan BLR
Greenhorn

Joined: Mar 01, 2005
Posts: 10
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/


Kannan.A<br />kannanmsc@sify.com
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
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


Ping & DNS - updated with new look and Ping home screen widget
Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295
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

Joined: Aug 31, 2004
Posts: 295
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about tomcat
 
Similar Threads
Tomcat configuration problem
Help on installing Tomcat on Win ME
Win98SE & Tomcat 4 setup problem
tomcat configuration problem
problem in running tomcat 5