Hi,
Can anybody tell me how do I integrate Eclipse and tomcat.
I have created one server instance in Eclipse and I want to deploy my
web application in the server instance and want to run in the eclipse
IDE. But I am getting follwing error -
HTTP Status 404 - /DR_Tool/WEB-INF/jsp/test/createDR.jsp
--------------------------------------------------------------------------------
type Status report
message /DR_Tool/WEB-INF/jsp/test/createDR.jsp
description The requested resource (/DR_Tool/WEB-INF/jsp/test/createDR.jsp) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.17
In the console I am getting the follwing errors -
May 31, 2006 5:18:19 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Ant\jakarta-ant-1.4\bin;C:\bea\jdk142_05\bin;C:\Program Files\cvsnt
May 31, 2006 5:18:20 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 31, 2006 5:18:20 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 846 ms
May 31, 2006 5:18:20 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 31, 2006 5:18:20 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
May 31, 2006 5:18:20 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 31, 2006 5:18:20 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base e:\DR_Tool\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\webapps\DR_Tool does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3814)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3985)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
May 31, 2006 5:18:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
May 31, 2006 5:18:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
May 31, 2006 5:18:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/DR_Tool] startup failed due to previous errors
May 31, 2006 5:18:20 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/DR_Tool] has not been started
May 31, 2006 5:18:20 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 31, 2006 5:18:20 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 31, 2006 5:18:20 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
May 31, 2006 5:18:20 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 31, 2006 5:18:20 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 924 ms
I have checked in the webapps directory of tomcat installation and have found that the DR_Tool is not installed in that directory.
Please let me know if I am doing anything wrong which is creating this problem.
Thanks
Arnab