user663724
user663724

Reputation:

Eclipse : Starting tomcat server from eclipse , does not start the deployed wars

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

Upvotes: 3

Views: 16451

Answers (1)

stivlo
stivlo

Reputation: 85486

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:

Upvotes: 1

Related Questions