my dog learned polymorphism*
The moose likes Tomcat and the fly likes Not able to deploy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not able to deploy" Watch "Not able to deploy" New topic
Author

Not able to deploy

Murly Kant
Greenhorn

Joined: Oct 18, 2010
Posts: 5
Hi Experts,
I am using 'apache-tomcat-6.0.26'. I have installed eclipse-jee-galileo-SR2-win32. And dropped a plugin 'com.sysdeo.eclipse.tomcat_3.2.0' eclipse\plugins folder. But when ever I am starting the tomcat It displays the following in red and my project do not get deployed.

Nov 24, 2010 1:16:04 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_16\bin;;C:\Program Files\EditPlus 2;C:\TCWIN45\BIN
Nov 24, 2010 1:16:04 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 24, 2010 1:16:04 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 570 ms
Nov 24, 2010 1:16:05 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 24, 2010 1:16:05 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Nov 24, 2010 1:16:05 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Nov 24, 2010 1:16:05 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Nov 24, 2010 1:16:05 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Nov 24, 2010 1:16:05 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Nov 24, 2010 1:16:05 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Nov 24, 2010 1:16:05 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Nov 24, 2010 1:16:05 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Nov 24, 2010 1:16:05 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 24, 2010 1:16:05 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 24, 2010 1:16:05 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
Nov 24, 2010 1:16:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 914 ms


Thanks in Advance.
Murly
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16160
    
  21

How are you deploying?

Although the sysdeo plugin more accurately reflects a live Tomcat server environment than the WTP plugin, it doesn't have built-in deployment. You either have to copy the WAR to the Tomcat webapps directory or you need to add a context XML file to TOMCAT_HOME/conf/Catalina/localhost.

Of the two, I prefer the second option. Since my webapp projects are setup for Maven builds, I create a webapp context whose docBase is something like $HOME/eclipse/workspace/mywebappproject/target/mywebapp.war.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to deploy