tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joel.al...@ibs.pt
Subject Tomcat context problem
Date Tue, 12 Aug 2003 10:41:56 GMT
Hi,

I'm a new user on the mailing list, so forgive me if I ask just stupid 
questions! I'll try not to ;)
I'm trying to load my app into tomcat, but I've got a problem as soon as I 
boot (see exception attached in the end). Looks like tomcat can't find a 
jar file that actually exists and is indeed in the place it looks for!

I'm loosing it as I don't know where else to do in order to get it going!

The jar files tomcat is trying to load are in the usual 
"/WEB-INF/lib/something.jar" places.

On a small note that can be helpfull, the application root has 2 dirs 
named "Java Content" and "Web Content". The real app struct is inside the 
Web Content dir, and it has been set in the config xml as the docbase.

javax.servlet.ServletException: Exception processing JAR at resource path 
/WEB-INF/lib/IBSComp.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:3568)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
        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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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(Unknown Source)
        at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
        at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
        at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown 
Source)
        at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown 
Source)
        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:3568)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
        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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message