Eclipse : Starting tomcat server from eclipse , does not start the deployed wars
15,933
WTP offers integration between Eclipse and Tomcat, if you're not using it, you're more on your own.
As you said in the comment, you've manually placed the war file, but since you're starting Tomcat with Eclipse, the webapps
directory configured by Eclipse is not the same one you're using, so your application doesn't get deployed.
To solve your problem either:
- configure your application properly, so you can right click on it and choose
Debug As
->Debug on server
- or, configure it externally, by following the steps to debug a remote tomcat application, and start your tomcat server from the command line, so your war will get deployed.
Author by
Admin
Updated on June 05, 2022Comments
-
Admin almost 2 years
I have configured Tomcat Server in Eclipse Helios IDE , and started the server in Debug Mode .
This Server has already got a war file probe.war .
My question is,why this application probe.war has not been started when i started the Server from Eclipse IDE ??
This is the server console eclipse under the Eclipse IDE .
Oct 22, 2011 12:31:56 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 Oct 22, 2011 12:31:57 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Oct 22, 2011 12:31:57 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Oct 22, 2011 12:31:57 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/47 config=null Oct 22, 2011 12:31:57 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 401 ms