You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anh-Vu NGUYEN NGOC <an...@gmail.com> on 2004/09/30 01:26:57 UTC
Cannot start Tomcat
Hello,
I installed Tomcat 5.0.28, Jdk 4.2.05. When I run startup, it doesn't
work. The outputs when running 'catalina run' are as follows
Using CATALINA_BASE: C:\jakarta-tomcat-5.0.28
Using CATALINA_HOME: C:\jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
Using JAVA_HOME: C:\j2sdk1.4.2_05
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
StandardClassLoader.java:957)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLo
ader.java:153)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
sLoaderFactory.java:207)
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
a:163)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
Caused by: java.util.zip.ZipException: error in opening zip file
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(
StandardClassLoader.java:944)
... 6 more
I tried to search a lot on the web, but could not find any solution.
Thanks a lot for any help
----------------
Anh-Vu
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Cannot start Tomcat
Posted by John Najarian <j-...@earthlink.net>.
Why are you setting CATALINA_BASE? Is this something new in 5.28? I
thought this wasn't required if you set CATALINA_HOME. I run 5.27 & I only
set CATALINA_HOME. Which version of the JRE do you have installed?
-----Original Message-----
From: Big Chiz [mailto:bigchiz@gmail.com]
Sent: Wednesday, September 29, 2004 5:08 PM
To: Tomcat Users List; Anh-Vu NGUYEN NGOC
Subject: Re: Cannot start Tomcat
you may have a corrupted jar file, try from a clean install.
On Thu, 30 Sep 2004 01:26:57 +0200, Anh-Vu NGUYEN NGOC
<an...@gmail.com> wrote:
> Hello,
>
> I installed Tomcat 5.0.28, Jdk 4.2.05. When I run startup, it doesn't
> work. The outputs when running 'catalina run' are as follows
>
> Using CATALINA_BASE: C:\jakarta-tomcat-5.0.28
> Using CATALINA_HOME: C:\jakarta-tomcat-5.0.28
> Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
> Using JAVA_HOME: C:\j2sdk1.4.2_05
> Bootstrap: Class loader creation threw exception
> java.lang.IllegalArgumentException: addRepositoryInternal
> at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
> StandardClassLoader.java:957)
> at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLo
> ader.java:153)
> at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
> sLoaderFactory.java:207)
> at
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
> a:163)
> at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
> :104)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
> Caused by: java.util.zip.ZipException: error in opening zip file
> 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(
> StandardClassLoader.java:944)
> ... 6 more
>
> I tried to search a lot on the web, but could not find any solution.
>
> Thanks a lot for any help
>
> ----------------
> Anh-Vu
>
> ---------------------------------------------------------------------
> 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
Re: Cannot start Tomcat
Posted by Big Chiz <bi...@gmail.com>.
you may have a corrupted jar file, try from a clean install.
On Thu, 30 Sep 2004 01:26:57 +0200, Anh-Vu NGUYEN NGOC
<an...@gmail.com> wrote:
> Hello,
>
> I installed Tomcat 5.0.28, Jdk 4.2.05. When I run startup, it doesn't
> work. The outputs when running 'catalina run' are as follows
>
> Using CATALINA_BASE: C:\jakarta-tomcat-5.0.28
> Using CATALINA_HOME: C:\jakarta-tomcat-5.0.28
> Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
> Using JAVA_HOME: C:\j2sdk1.4.2_05
> Bootstrap: Class loader creation threw exception
> java.lang.IllegalArgumentException: addRepositoryInternal
> at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
> StandardClassLoader.java:957)
> at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLo
> ader.java:153)
> at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
> sLoaderFactory.java:207)
> at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
> a:163)
> at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
> :104)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
> Caused by: java.util.zip.ZipException: error in opening zip file
> 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(
> StandardClassLoader.java:944)
> ... 6 more
>
> I tried to search a lot on the web, but could not find any solution.
>
> Thanks a lot for any help
>
> ----------------
> Anh-Vu
>
> ---------------------------------------------------------------------
> 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