Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes Tomcat not running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat not running" Watch "Tomcat not running" New topic
Author

Tomcat not running

Sharaj Anand
Greenhorn

Joined: Jul 07, 2005
Posts: 22
hi,
I recently installed tomcat on my computer in c drive. But could not able to run it through "http://localhost:8080".

Can you guide me...........

Thanks


Strength lies not in defence but in attack
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
Is Tomcat started? You should see a Tomcat process in task manager if it is. If it's not running, start the service.

Is Tomcat configured to listen on port 8080? Check your server.xml file to verify.

Check the Tomcat logs. Are there any errors?
Sharaj Anand
Greenhorn

Joined: Jul 07, 2005
Posts: 22
I have installed
"v5.5.17 Core Windows Executable"

and in server.xml file I mapped it to 8080

<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector
port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->

even though i am enable to run tomcat
Sharaj Anand
Greenhorn

Joined: Jul 07, 2005
Posts: 22
Do I need to set environmental variable also . if yes then How will i do it.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Sharaj Anand:
Do I need to set environmental variable also [?]


Not with the exe version


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Sharaj Anand
Greenhorn

Joined: Jul 07, 2005
Posts: 22
then how do i run the exe version of tomcal through local host
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

If you installed it as a service, you can start it from the services menu.
If not look at Start -> All Programs -> Apache -> Tomcat -> Monitor Tomcat.

This puts an icon in your sys-tray which, when clicked, will open up a screen that can be used for starting and stopping Tomcat
Sharaj Anand
Greenhorn

Joined: Jul 07, 2005
Posts: 22
after doing that i went to internet explorer and try to run tomcat. but it didnot happen 'http://localhost:8080/'. one more thing can i run struts application on apache tomcat.
[ September 01, 2006: Message edited by: Sharaj Anand ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat not running
 
Similar Threads
Tech Word Game
Form Based secruity...
WA #1.....word association
Apache tomcat and Jakarta tomcat
How to deploy a web application ?