tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nishant Kumar <nishant.ku...@itellix.com>
Subject Re: Exception processing JAR at resource path
Date Tue, 13 Apr 2004 04:57:11 GMT
hi,
	i fixed the problem. i had missed a slash at the beginning of the path
attribute of Context. adding that fixed everything. 
	anyway the message was kind of obscure.
thanks for the help,
nishant.

On Tue, 2004-04-13 at 03:58, Reynir Þór Hübner wrote:
> hi,
> 
> does the tomcat user have rights on the temp dir ?
> are you shure the CATALINA_HOME variable is correctly set ?
> 
> Creating the temp directory fixed the same problem for me.
> 
> hope it helps
> -reynir
> 
> 
> Nishant Kumar wrote:
> 
> >hi,
> >	i am using tomcat 4.1.30. when i start the server i get the error at
> >the end of this mail. i get this only when i set docBase in my
> >server.xml for this context. when i copy the files in the webapp dir
> >everything works fine. there are no xml parsing jars in the WEB-INF/lib
> >dir. the temp dir is also there in the CATALINA_HOME dir.
> >
> >	just before emitting this error the log says that it was able to deploy
> >this jar.
> >
> >
> >thanks in advance,
> >nishant.
> >
> >2004-04-12 13:32:01 ContextConfig[reports] Exception processing JAR at
> >resource path /WEB-INF/lib/commons-fileupload.jar
> >javax.servlet.ServletException: Exception processing JAR at resource
> >path /WEB-INF/lib/commons-fileupload.jar
> >    at
> >org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
> >    at
> >org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
> >    at
> >org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
> >    at
> >org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
> >    at
> >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> >    at
> >org.apache.catalina.core.StandardContext.start(StandardContext.java:3587)
> >    at
> >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >    at
> >org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
> >    at
> >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >    at
> >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
> >    at
> >org.apache.catalina.core.StandardService.start(StandardService.java:497)
> >    at
> >org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> >    at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> >    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> >    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >    at
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >    at
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >    at java.lang.reflect.Method.invoke(Method.java:324)
> >    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> >----- Root Cause -----
> >java.io.FileNotFoundException
> >    at
> >org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:344)
> >    at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:161)
> >    at
> >sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
> >    at
> >sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68)
> >    at
> >sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
> >    at
> >sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:69)
> >    at
> >org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
> >    at
> >org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
> >    at
> >org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
> >    at
> >org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
> >    at
> >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> >    at
> >org.apache.catalina.core.StandardContext.start(StandardContext.java:3587)
> >    at
> >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >    at
> >org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
> >    at
> >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >    at
> >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
> >    at
> >org.apache.catalina.core.StandardService.start(StandardService.java:497)
> >    at
> >org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> >    at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> >    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> >    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >    at
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >    at
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >    at java.lang.reflect.Method.invoke(Method.java:324)
> >    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message