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?
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.
An IDE is no substitute for an Intelligent Developer.
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad: