• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Getting "Launching Tomcat v8.0 at local host " has encountered and problem error in eclipse.

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to JEE , I am using Eclipse . I have created a servlet while compiling the servlet I got an error saying "Launching Tomcat v8.0 at local host Port 8080 required by Tomcat v8.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

I am able to start tomcat by using "startup.bat" if I visit http://localhost:8080/ the page says server is up and running .Please help me to resolve the issue.

 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are using Eclipse but you started Tomcat manually (via startup.bat), then probably you asked Tomcat to start a Tomcat debug session which made it attempt to launch its own copy of Tomcat.

Since only one process can own port 8080 at a time, the ownership of port 8080 by the manually-launched Tomcat would cause the Eclipse-launched Tomcat to fail to start its http listener service.

You would need to stop the external manually-launched Tomcat in order to free up port 8080.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic