aspose file tools*
The moose likes Tomcat and the fly likes How to run tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to run tomcat" Watch "How to run tomcat" New topic
Author

How to run tomcat

satya mahapatra
Ranch Hand

Joined: Jan 07, 2006
Posts: 134
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.


Regards,<br />Satya<br />SCJP,SCWCD
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42947
    
  70
But not able to run.

What does this mean? TellTheDetails.
satya mahapatra
Ranch Hand

Joined: Jan 07, 2006
Posts: 134
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
Marshal

Joined: Mar 22, 2005
Posts: 42947
    
  70
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
satya mahapatra
Ranch Hand

Joined: Jan 07, 2006
Posts: 134
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to run tomcat