Eclipse Error Starting Static Resources Java.lang.illegalargumentexception Document Base
Contents |
here for a quick overview of the site Help Center
Java.lang.illegalargumentexception Document Base Is Not A Readable Directory
Detailed answers to any questions you might have Meta does not exist or is not a readable directory tomcat 7 Discuss the workings and policies of this site About Us Learn more about Stack src\main\webapp does not exist or is not a readable directory Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Server Tomcat V7.0 Server At Localhost Failed To Start.
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: Error starting static Resources java.lang.IllegalArgumentException up vote 4 down vote favorite 2 I have a project called myproject2 in my Eclipse IDE. I have a Tomcat application server and I can add there the resource myproject2 (it is a Spring MVC project). Now I closed the myproject2 in Eclipse, removed myproject2 from the Tomcat resources and do a fresh Subversion checkout with projectname: myproject3. REstarting the IDE I want to set myproject3 to the Tomcat server so this should be deployed. But all what is available is myproject2 to choose. So I choose it. I can access http://localhost:8080/myproject2/ but I get this warning and serve in the console: 14.12.2010 11:43:11 org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase C:\Spring\apache-tomcat-6.0.29-windows-x86\apache-tomcat-6.0.29\webapps\myproject2 inside the host appBase has been specified, and will be ignored 14.12.2010 11:43:11 org.apache.catalina.core.StandardContext resourcesStart SERVE: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Spring\apache-tomcat-6.0.29-windows-x86\apache-tomcat-6.0.29\webapps\myproject3 does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4249) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4418) at org.apache.catalina.core.ContainerBase.addChildInternal(Co
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 http://stackoverflow.com/questions/4438374/eclipse-error-starting-static-resources-java-lang-illegalargumentexception 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): ..... https://www.eclipse.org/forums/index.php/t/165530/
This Site Careers Other all forums Forum: Tomcat SEVERE: Error starting static Resources java.lang.IllegalArgumentException: himani https://coderanch.com/t/615122/Tomcat/SEVERE-Error-starting-static-Resources jangid Greenhorn Posts: 18 posted 3 years ago i have started using eclipse n tomcat on my laptop. n tried to run a simple jsp file to check the server is running or not. but i m getting this error. i have tried tried deleting the is not server run time environment, cleaning it, add n remove. n deleting the workspace, creating the project once again but problem is still coming. the error is shown below: Jul, 2013 12:50:29 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in is not a 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\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Java\jdk1.6.0_21\bin 4 Jul, 2013 12:50:29 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:first' did not find a matching property. 4 Jul, 2013 12:50:29 PM org.apache.coyote.AbstractProtocolHandler init INFO: Initializing ProtocolHandler ["http-bio-8080"] 4 Jul, 2013 12:50:29 PM org.apache.coyote.AbstractProtocolHandler init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 4 Jul, 2013 12:50:29 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 781 ms 4 Jul, 2013 12:50:29 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina 4 Jul, 2013 12:50:29 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.14 4 Jul, 2013 12:50:30 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\STUDY\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\first 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:4836) at