Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Issues with Starting Tomcat server in Ecllipse

 
Ranch Hand
Posts: 99
Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Im not able to start the Tomcat server in ecllipse. When I try to start the Tomcat server, it gives the below error message

'Starting Tomcat v6.0server at localhost' has encountered a problem.

several ports(8005, 8080, 8009) required by Tomcat v6.0 server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. '

I have checked and the Tomcat server is not running in my system. I have also executed the 'netstat' command and the particular port is not in use.

PLease Assit, THanks
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
*Something* is using those ports.
 
Varshini Priya
Ranch Hand
Posts: 99
Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have restarted my system and at present, Im able to run the Tomcat server locally in my system. But not able to run it via ecllipse. When I run it via ecllipse, I get the below error message

Could not load the Tomcat server configuration at \Servers\Tomcat v6.0 server at localhost-config. The Configuration may be corrupt or incomplete. Resource is out of sync with the file system:'/Servers/Tomcat v6.0server at localhost-config/server.xml'.

Please help me resolve this issue . Thanks
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Varshini Priya,

Years have passed, if you are in thread still, i would like to know the solution for the above problem. I am also facing the same problem. Thanks in advance.

Regards,
Thiru
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I just faced this issue myself and was equally perplexed. I also found little useful assistance on the web. What solved the problem for me was opening my <workspace>/Servers/<tomcat-config>/server.xml file in Eclipse and then doing a refresh (F5) on the file. What had apparently happened was that Eclipse got out of synch with the file contents on disk and performing this simple refresh did the trick.

Hope it helps.
 
She said she got a brazillian. I think owning people is wrong. That is how I learned ... tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic