Two Laptop Bag
The moose likes Tomcat and the fly likes exception error in starting tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "exception error in starting tomcat" Watch "exception error in starting tomcat" New topic
Author

exception error in starting tomcat

jyotsana dang
Ranch Hand

Joined: Sep 26, 2003
Posts: 135
when i try to start tomcat 4.1.27 from dos command it gives an exception that port 8080 already in use.. i tried changing it to 8000 also but it gives the same message..
anyone got an idea how to fix this bug?
thanks
jyostana
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I think your tomcat is already started as a service. So on Win startup a tomcat instance is immediatly started. So if you try to run the startup.bat you start a second instance which also tries to bind to
the configured port. So try not to start tomcat with the script but to query a sample page and you will see.
kumar nagur
Greenhorn

Joined: Oct 22, 2003
Posts: 9
u can do ine thing too, shutdown then restart it.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16624

I am going to move this thread to the more appropriate Tomcat Forum. Thanks
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
IntelliJ Java IDE
 
subject: exception error in starting tomcat
 
Threads others viewed
POST method
Could not parse configuration hibernate.cfg.xml
response.sendRedirect() behaviour
Application works with JBoss 5.0 but not working with JBoss 5.1
HFSJ mockup question 1 chapter 5
IntelliJ Java IDE