tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: java.util.zip.ZipException: Permission denied
Date Wed, 15 Sep 2004 19:32:56 GMT
Check the file permissions of all your .jar files.  At least one of them 
somewhere in your tomcat installation has bad permissions.  The user 
tomcat is running as needs read permission to all the jars.

--David

Shilpa Nalgonda wrote:

>When i restart tomcat 4.1 server i am getting this error any clue of why we
>get this...
>
>
>Using CATALINA_BASE:
> /usr/share/tomcat4
>Using CATALINA_HOME:   /usr/share/tomcat4
>Using CATALINA_TMPDIR: /usr/share/tomcat4/temp
>Using JAVA_HOME:       /usr/local/j2sdk1.4.2_03
>java.util.zip.ZipException: Permission denied
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
>        at java.util.jar.JarFile.<init>(JarFile.java:127)
>        at java.util.jar.JarFile.<init>(JarFile.java:65)
>        at
>org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar
>dClassLoader.java:1082)
>        at
>org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.ja
>va:200)
>        at
>org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader
>Factory.java:202)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)
>Bootstrap: Class loader creation threw exception
>java.lang.IllegalArgumentException: addRepositoryInternal:
>java.util.zip.ZipException: Permission denied
>        at
>org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar
>dClassLoader.java:1110)
>        at
>org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.ja
>va:200)
>        at
>org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader
>Factory.java:202)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)
>
>
>---------------------------------------------------------------------
>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