• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

about tomcat

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Eliminate 95% of the weeds in your lawn by mowing 3 inches or higher. Then plant tiny ads:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic