File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes SEVERE: Error starting static Resources  java.lang.IllegalArgumentException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "SEVERE: Error starting static Resources  java.lang.IllegalArgumentException:" Watch "SEVERE: Error starting static Resources  java.lang.IllegalArgumentException:" New topic
Author

SEVERE: Error starting static Resources java.lang.IllegalArgumentException:

himani jangid
Greenhorn

Joined: Jul 04, 2013
Posts: 18
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 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 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 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5016)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.startup.Catalina.start(Catalina.java:620)
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:303)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
4 Jul, 2013 12:50:30 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
4 Jul, 2013 12:50:30 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
4 Jul, 2013 12:50:30 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/first] startup failed due to previous errors
4 Jul, 2013 12:50:30 PM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-8080"]
4 Jul, 2013 12:50:30 PM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
4 Jul, 2013 12:50:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 843 ms
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SEVERE: Error starting static Resources java.lang.IllegalArgumentException:
 
Similar Threads
ClassnotFound- ServletDispatcher and ContextLoaderListener
Struts 2 application using eclispe and tomcat 7
getting 404 Error in struts2 application with tomcat server
Why jdk6x is not compatiable with Tomcat7? why jdk7x compiled classes are not working in jdk6x
getting the the error while running the first basic program