• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run tomcat

 
satya mahapatra
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends, I am new to tomcat.
I installed it. But not able to run.
Do i have to set any path?Plz help.
I am refering book HeadFirst's instruction.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But not able to run.

What does this mean? TellTheDetails.
 
satya mahapatra
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, actually i am not able to start tomcat.
When i clicked startup its showing JAVA_HOME
variable is not defined.Do i have to set class
path in Autoexec?Like i did for core java. I went
to Autoexec- right click-edit-give path.Plz help.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to define the JAVA_HOME environemnt variable, as is explained in the Tomcat docs.
[ April 10, 2006: Message edited by: Ulf Dittmer ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How you start it depends on the the OS and how you've installed it.
If you're on a Windows box and you've installed it as a service with the *.exe version, you can start it from the Start menu or the Services menu.
If you just unzipped it into a directory, set your JAVA_HOME environment variable, cd to the tomcat/bin directory and run type startup.
 
satya mahapatra
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx guys for your reply.
Now I am able to start and run tomcat.
Actually i had to set JAVA_HOME TO JDK PATH
CATALINA_HOME TO to tomcat home directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic