Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat not running

 
Sharaj Anand
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do I need to set environmental variable also . if yes then How will i do it.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sharaj Anand:
Do I need to set environmental variable also [?]


Not with the exe version
 
Sharaj Anand
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then how do i run the exe version of tomcal through local host
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic