Error Starting Static Resources Java.lang.illegalargumentexception Document Base
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might severe error starting static resources java.lang.illegalargumentexception document base have Meta Discuss the workings and policies of this site About
Org.apache.catalina.core.standardcontext Resourcesstart Severe Error Starting Static Resources
Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads java.lang.illegalargumentexception document base is not a readable directory with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million src\main\webapp does not exist or is not a readable directory programmers, just like you, helping each other. Join them; it only takes a minute: Sign up tomcat is failing to start: SEVERE: Error starting static Resources up vote 0 down vote favorite I've been reading through all the existing answers and still cannot fix my problem. I have an embedded tomcat instance it used to
Does Not Exist Or Is Not A Readable Directory Tomcat 7
work just fine. I even created a completely new install and it still breaks in the same way I restarted my machine; in the vague hope that that would help. it did not. I am not skilled in configuration (I am getting better, though....) how I start the server: alias run-server='cd /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery/; java -Dgcs.log.dir=/Users/usingji/mediaServer/log -Dgcs.home.dir=/Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery -jar GCS-v0.9.jar' my error: 0:36:45,083 INFO [PropertyUtil] Loading Property file 10:36:45,084 INFO [PropertyUtil] Loading Property file 10:36:45,085 INFO [ServerLauncher] webPort is 8080 10:36:45,085 INFO [ServerLauncher] web root is webapp 10:36:45,091 INFO [ServerLauncher] base path: /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery 10:36:45,092 INFO [ServerLauncher] just set the port 10:36:45,092 INFO [ServerLauncher] config name: webapp 10:36:45,092 INFO [ServerLauncher] file: ackack: /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery/webapp 10:36:45,092 INFO [ServerLauncher] absolute path: /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery/webapp 10:36:45,175 INFO [ServerLauncher] configuring app with basedir: /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery/webapp Jan 22, 2014 10:36:45 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Jan 22, 2014 10:36:45 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Tomcat Jan 22, 2014 10:36:45 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.34 Jan 22, 2014 10:36:45 AM o
here for a quick overview of the tomcat document base site Help Center Detailed answers to any questions you host-manager does not exist or is not a readable directory might have Meta Discuss the workings and policies of this site About Us Learn
Maven Webapp Does Not Exist Or Is Not A Readable Directory
more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation http://stackoverflow.com/questions/21287440/tomcat-is-failing-to-start-severe-error-starting-static-resources Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Eclipse tomcat error: Document base does not exist or is http://stackoverflow.com/questions/8492454/eclipse-tomcat-error-document-base-does-not-exist-or-is-not-a-readable-director not a readable directory up vote 36 down vote favorite 13 13-dic-2011 17.00.36 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/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib 13-dic-2011 17.00.36 org.apache.tomcat.util.digester.SetPropertiesRule begin AVVERTENZA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Preventivi' did not find a matching property. 13-dic-2011 17.00.36 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] 13-dic-2011 17.00.36 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8443"] 13-dic-2011 17.00.37 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 13-dic-2011 17.00.37 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 983 ms 13-dic-2011 17.00.37 org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina 13-dic-2011 17.00.37 org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.23 13-dic-2011 17.00.37 org.apache.catalina.core.StandardContext resourcesStart GRAVE: Error starting static Resources java.lang.IllegalArgumentException: Document base /home/claudio/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Preventivi 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:4880) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.j
This Site Careers Other all forums Forum: Tomcat java.lang.IllegalArgumentException: Document base dir does not exist or is not a readable https://coderanch.com/t/619832/Tomcat/java-lang-IllegalArgumentException-Document-base directory Jim Armstrong Greenhorn Posts: 18 posted 3 years ago Would someone tell me why I may be getting this error? Am I missing https://www.eclipse.org/forums/index.php/t/165530/ something between the double quotes? Sep 12, 2013 10:30:26 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /usr/share/tomcat/webapps/usr/share/tomcat/webapps/examples does not exist or is is not not a readable directory Here's a snip from the server.xml
Things LocationTech Long-Term Support PolarSys Science OpenMDM More Community Marketplace Events Planet Eclipse Newsletter Videos Participate Report a Bug Forums Mailing Lists Wiki IRC How to Contribute Working Groups Automotive Internet of Things LocationTech Long-Term Support PolarSys Science OpenMDM Toggle navigation Home Projects Forums Eclipse Community Forums Forum Search: Search Help Register Login Home Home» Language IDEs» ServerTools (WTP)» Windows 7 related??? Show: Today's Messages :: Show Polls :: Message Navigator Windows 7 related??? [message #524438] Wed, 31 March 2010 23:08 Mimi TamMessages: 33Registered: January 2010 Member Dear folks, This infamous error has agonized a lot of people but they found solutions or workarounds in the end. I tried all suggestions from all corners of the numerous development communities but to no avail. The error is highlighted red below (at the end of this posting). My server.xml has the following docBase context (with a seemingly good path): .....