tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wade Chandler <wchand...@redesetgrow.com>
Subject Re: java.util.zip.ZipException: Permission denied
Date Wed, 15 Sep 2004 19:12:16 GMT
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
> 
> 
> 

It sounds like some of the jar files being added to the classpath do not 
have permissions for the user tomcat is being ran as.

Wade


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