Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat Server State is stopped  RSS feed

 
Sivaprakas Subramanian
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i try to run the dynamic web project on server , the server i added is in stopped state , i have started the server from the terminal but still showing the status stopped .
If i click finis button i am getting the following wrror



If i stopped the tomcat server from the terminal ( /opt/tomcat/bin/shutdown.sh ) , i can run the project on the server without any error. What this means? 2 server is running on the machine?
 
Tim Holloway
Saloon Keeper
Posts: 18636
70
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Sivaprakas!

When you use the J2EE "run on server" feature of Eclipse that starts a copy of Tomcat. Because one and only one application can own a given TCP/IP port, a copy of Tomcat started from the command line will conflict. Tomcat will run, but the functions that require ports already in use will not be able to function because those ports didn't open.

So either run Tomcat from the command line or from Eclipse, but don't try to run one without being sure that the other is shut down.

This isn't really a Tomcat issue, so the best place to ask for more information is in the IDEs forum.
 
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!