I got this message once when I had two different versions of a jar file in
two different locations.  It took forever to debug.  (The jar file was part
of the Informix JDBC driver package.)  Once I deleted the wrong version, the
ZipException went away.

Hope it helps.


> 
> Can anyone tell me why I would be getting a 
> "java.util.zip.ZipException:
> Permission denied" error in catalina.out? (The entire error is at the
> bottom of this e-mail.) This seems to be the last things that 
> happens when
> tomcat starts.
> 
> I'm also getting some similar errors in my application's log 
> file that seem
> to relate to the jar files that contain the classes for the taglibs.
> However, right after those error messages, there are messages 
> suggesting
> that the jars have been successully read. These messages have been
> appearing for some time while the exception in catalina.out 
> is new so there
> may be no relationship between them. 
> 
> Any thoughts would be greatly appreciated.
> 
> Cindy
> 
> (I'm using Tomcat 4.0.1 with Apache 1.3.19 and Blackdown j2sdk1.3.1 on
> RedHat 7.0)
> 
> 
> From catalina.out...
> 
> java.util.zip.ZipException: Permission denied
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:110)
>         at java.util.jar.JarFile.<init>(JarFile.java:115)
>         at java.util.jar.JarFile.<init>(JarFile.java:82)
>         at
> org.apache.catalina.loader.WebappLoader.setRepositories(Webapp
> Loader.java:991)
>         at
> org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:628)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1100)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext
> .java:3334)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.
> java:785)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
>         at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:712)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:599)
>         at 
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:777)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConf
> ig.java:463)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
> ifecycleSuppor
> t.java:155)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
>         at 
> org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
>         at
> org.apache.catalina.core.StandardService.start(StandardService
> .java:388)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
>         at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:776)
>         at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>         at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.1
> 
> 
> From my application log...
> 
> 2002-02-15 15:13:08 ContextConfig[/applications]: Scanning web.xml tag
> libraries
> 2002-02-15 15:13:08 ContextConfig[/applications]:   URI='/mpitaglib',
> ResourcePath='/WEB-INF/tlds/mpitaglib_1_0.tld'
> 2002-02-15 15:13:08 ContextConfig[/applications]:
> tldConfigJar(/WEB-INF/tlds/mpitaglib_1_0.tld): 
> java.util.zip.ZipException:
> error in opening zip file
> 2002-02-15 15:13:08 ContextConfig[/applications]:   URI='/orataglib',
> ResourcePath='/WEB-INF/tlds/orataglib_1_0_3.tld'
> 2002-02-15 15:13:08 ContextConfig[/applications]:
> tldConfigJar(/WEB-INF/tlds/orataglib_1_0_3.tld):
> java.util.zip.ZipException: error in opening zip file
> 2002-02-15 15:13:08 ContextConfig[/applications]: Scanning 
> library JAR files
> 2002-02-15 15:13:08 ContextConfig[/applications]:
> tldConfigJar(/WEB-INF/lib/multigen.jar): Processing entry
> 'META-INF/taglib.tld'
> 2002-02-15 15:13:08 ContextConfig[/applications]:
> tldConfigJar(/WEB-INF/lib/orataglib_1_0_3.jar): Processing entry
> 'META-INF/taglib.tld'
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to