Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issues with Starting Tomcat server in Ecllipse

 
Varshini Priya
Ranch Hand
Posts: 95
Eclipse IDE
  • Mark post as helpful
  • send pies
  • 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
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
*Something* is using those ports.
 
Varshini Priya
Ranch Hand
Posts: 95
Eclipse IDE
  • Mark post as helpful
  • send pies
  • 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
 
Thiru kumaran
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Edgar Kalns
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic