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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Tomcat Server State is stopped

 
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?
 
Saloon Keeper
Posts: 21139
134
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)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!