Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Tomcat Server State is stopped

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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/ ) , i can run the project on the server without any error. What this means? 2 server is running on the machine?
Saloon Keeper
Posts: 21139
Android Eclipse IDE Tomcat Server Redhat Java 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.
Can you shoot lasers out of your eyes? Don't look at this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!