Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java API
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Other JSE/JEE APIs
/usr/share/apache-tomcat-6.0.20/webapps/perl does not exist or is not a readable directory
Farakh khan
Ranch Hand
Posts: 851
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
I added a folder with name of perl that containc WEB-INF/classes, WEB-INF/lib and web.xml
When I start
tomcat
then it displays following log:
Nov 21, 2013 12:04:57 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: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Nov 21, 2013 12:04:58 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Nov 21, 2013 12:04:58 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Nov 21, 2013 12:04:58 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1210 ms Nov 21, 2013 12:04:58 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Nov 21, 2013 12:04:58 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.47 Nov 21, 2013 12:04:58 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /usr/share/apache-tomcat-6.0.20/webapps/perl 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:5055) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5235) 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.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Nov 21, 2013 12:04:58 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error in resourceStart() Nov 21, 2013 12:04:58 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error getConfigured Nov 21, 2013 12:04:58 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [] startup failed due to previous errors Nov 21, 2013 12:04:58 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.47/webapps/docs Nov 21, 2013 12:05:01 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.47/webapps/examples Nov 21, 2013 12:05:03 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.47/webapps/perl Nov 21, 2013 12:05:04 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.47/webapps/host-manager Nov 21, 2013 12:05:05 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.47/webapps/ROOT Nov 21, 2013 12:05:05 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /opt/apache-tomcat-7.0.47/webapps/manager Nov 21, 2013 12:05:06 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Nov 21, 2013 12:05:06 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Nov 21, 2013 12:05:06 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 8605 ms
I check the privileges of directory and its 755
Please advise why am getting subject error
Thanks in anticipation
Farakh khan
Ranch Hand
Posts: 851
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
The problem fixed. When I added virtual host to the server.xml then I written wrong path in virtual host that caused this error.
Thanks
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Not able to configure SSL on tomcat 7 In CentOS VM
Tomcat 7 Start up errors
OpenOLAT/ORACLE
Tomcat goes down every few minutes after startup on VPS
Tomcat 5.x and 7.0 jar file questions
More...