Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can Anyone guess this error? im using java web tomcat for a web development...

Jul 12, 2013 4:22:44 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:/Program Files/Java/jre6/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations MP4\;C:\Program Files\Java\jdk1.6.0_07/bin;C:\Program Files\MySQL\MySQL Server 5.2\bin;D:\common libs\com.mysql.jdbc_5.1.5.jar;;D:\eclipse;
Jul 12, 2013 4:22:44 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:BankDemo' did not find a matching property.
Jul 12, 2013 4:22:44 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 12, 2013 4:22:44 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 12, 2013 4:22:44 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 566 ms
Jul 12, 2013 4:22:44 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 12, 2013 4:22:44 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.41
Jul 12, 2013 4:22:45 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\BankDemo does not exist or is not a readable directory
	at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5002)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5182)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Jul 12, 2013 4:22:45 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
Jul 12, 2013 4:22:45 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
Jul 12, 2013 4:22:45 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/BankDemo] startup failed due to previous errors
Jul 12, 2013 4:22:45 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 12, 2013 4:22:45 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 12, 2013 4:22:45 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 351 ms


Please help me to understand this error.

Thank you
Posted
Comments
Shubhashish_Mandal 12-Jul-13 7:47am    
If I am not wrong you are build and deploy your project through eclipse tool not any ant/maven tool. In that case your project is not build/deploy properly . Change the deploy path from eclipse.
Currently it deploy the project(BankDemo) tmp1\wtpwebapps\ in eclipe .change it to deploy it tomcat_home_dir/webapps/
mali_angel 14-Jul-13 9:05am    
I set the path JAVA_HOME n ANT_HOME. but I have to build build.xml file. you know how to use it for run this project(web java project)?

1 solution

"Document base D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\BankDemo does not exist or is not a readable directory"

Sounds to me like there is something missing in the build.
PLease make sure to hook all the sources for "export" (project properties -> Java Buid Path -> Order & Export)
 
Share this answer
 
Comments
mali_angel 14-Jul-13 9:07am    
set the path except build.xml file.. how to run the project with xml file?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900