Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Problem with Dynamic Web Project
Problem with Dynamic Web Project [message #930783] Tue, 02 October 2012 16:37
Magnus Warker is currently offline Magnus WarkerFriend
Messages: 8
Registered: October 2012
Junior Member
Hello,

I have a Dynamic Web Project, which uses JSP and static HTML. I did not touch this project for a longer time. Maybe I updated eclipse/java/tomcat components in the meantime.

When I now call "Run on Server", the following exception is printed in the console:

Oct 2, 2012 6:33:15 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/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
Oct 2, 2012 6:33:16 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Bavaria 64' did not find a matching property.
Oct 2, 2012 6:33:16 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 2, 2012 6:33:16 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 711 ms
Oct 2, 2012 6:33:16 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 2, 2012 6:33:16 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Oct 2, 2012 6:33:16 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /home/wagner/dvl/prj/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Bavaria 64 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.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
	at org.apache.catalina.core.StandardService.start(StandardService.java:519)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Oct 2, 2012 6:33:16 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Oct 2, 2012 6:33:16 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Oct 2, 2012 6:33:16 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/b64] startup failed due to previous errors
Oct 2, 2012 6:33:16 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/b64] has not been started
Oct 2, 2012 6:33:16 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 2, 2012 6:33:16 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 2, 2012 6:33:16 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/24  config=null
Oct 2, 2012 6:33:16 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 290 ms


However, when I create a new Dynamic Web Project, I do not get this error.

I would like to avoid creating a new project and moving all the files from the old one to the new one. I would like to understand what's wrong.

Any hints?

Thank you!

Magnus
Previous Topic:Is JSPF validation broken?
Next Topic:[APT] Run Java 6 annotation processor in batch mode
Goto Forum:
  


Current Time: Thu Dec 18 08:38:53 GMT 2014

Powered by FUDForum. Page generated in 0.02423 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software