Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse sts cannot start tomcat: ports already in use

 
Vyacheslav Sakhno
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tested eclipse indigo, STS 2.5.2, STS 2.8.0, STS 2.8.5. Tomcat 6, Tomcat 7.

Tomcat startup hangs at 23%(displayed at right bottom side of eclipse windows/screen). This magic number is always the same. After about 20 seconds at hanged state error occurs. Error info is "ports are already in use".

There is no Tomcat already started in system. No ports with specified numbers appear in netstat.

Changing port numbers does not help anything.

Changing/reinstalling eclipse,STS,tomcat, downloading fresh tomcat zip changes nothing. Deleting workspace and C:/Project/.metadata and stuff - all directories used by fresh install of STS, so deleting them does not help too.

And interesting history aspect: i've used STS 2.8.2 for 2 weeks before this error occured. Reinstall won't fix anything. After that i was able to use STS 2.5.2 for a month. And the same error occured for 2.8.2. But i delete all its files and reinstall again does not fix anything.

Reboot does not help.

Have no any other working with tomcat version of eclipse/STS.

Any help is appreciated.

my os is windows 7. In Virtualbox XP everything is fine. And other Windows 7 guys say it works too on their PCs.

http://stackoverflow.com/questions/9096490/eclipse-sts-cannot-start-tomcat-ports-already-in-use
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic