• 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
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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/shutdown.sh ) , i can run the project on the server without any error. What this means? 2 server is running on the machine?
Posts: 20828
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!