tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shilpa Nalgonda" <snalgo...@mypublisher.com>
Subject RE: java.util.zip.ZipException: Permission denied
Date Wed, 15 Sep 2004 19:32:27 GMT
thats true i am missing permissions on one of the jar, and it works fine
after setting those.

-----Original Message-----
From: David Smith [mailto:dns4@cornell.edu]
Sent: Wednesday, September 15, 2004 3:33 PM
To: Tomcat Users List
Subject: Re: java.util.zip.ZipException: Permission denied


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(Standa
r
>dClassLoader.java:1082)
>        at
>org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.j
a
>va:200)
>        at
>org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoade
r
>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(Standa
r
>dClassLoader.java:1110)
>        at
>org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.j
a
>va:200)
>        at
>org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoade
r
>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


---------------------------------------------------------------------
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