Hello, everyone -
This is my first post. I am pretty much new to web development (not really
much of a Java expert either) and am just starting to play with Tomcat.
I've having problems just getting it to start and I know it must be a
config problem, but I haven't been able to figure it out yet. I've
searched the archives and haven't found a recent post that described a
similar problem.
My environment: Win2K, IBM JDK1.3.1, Tomcat 4.0.4 (trying to bring it up
standalone)
Whenever I try to start Tomcat using startup.bat, I receive the exception
and stack trace that's at the bottom of this note. I found some posts that
referenced a "ZipException: Permission denied" problem that was caused by
duplicate jars - could this be another symptom of the same problem? If so,
what exactly is the search path that Tomcat uses for jars? I noticed that
CLASSPATH is set by setclasspath.bat to be %JAVA_HOME%\lib\tools.jar. I
have tried both 4.0.3 and 4.0.4, both unzipping by hand and using the
installable image, but with no difference.
Any help is greatly appreciated!
Roger
---------------------------------
C:\Program Files\Apache Tomcat 4.0\bin>startup
Using CATALINA_BASE: C:\program files\apache tomcat 4.0
Using CATALINA_HOME: C:\program files\apache tomcat 4.0
Using CATALINA_TMPDIR: C:\program files\apache tomcat 4.0\temp
Using JAVA_HOME: c:\Program Files\IBM\Java131
java.util.zip.ZipException: Access is denied
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:138)
at java.util.jar.JarFile.<init>(JarFile.java:80)
at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1216)
at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:138)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal:
java.util.zip.ZipException: Access is denied
at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1246)
at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:138)
C:\Program Files\Apache Tomcat 4.0\bin>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>