This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

tomcat ZipException when starting up  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting a ZipException when starting tomcat.
I installed jakarta-tomcat-4.0.4
My OS is Windows XP Professional
I placed my class files in:
C:\jakarta-tomcat-4.0.4\webapps\ROOT\WEB-INF\classes
and placed the libraries for my apps in:
C:\jakarta-tomcat-4.0.4\webapps\ROOT\WEB-INF\lib
I get the following exception when starting up:
Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
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:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
... blah blah blah
The only .zip files in my lib directory are:
classes111.zip
JimiProClasses.zip
Any ideas on how to fix?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this same problem... No resolution yet. It began as soon as I upgraded to jdk1.4.0. Running winxppro. Not positive of the tomcat version (4.0.4?). Here's the error:
I'll post the answer if I figure it out.
ken.

Bootstrap: Class loader creation threw exception
java.util.zip.ZipException: Access is 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:117)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at org.apache.catalina.startup.ClassLoaderFactory.validateJarFile(ClassL
oaderFactory.java:319)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
sLoaderFactory.java:242)
 
Ken Burcham
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, figured it out.
I'd created a directory called 'old tools.jar' in which I placed, you guessed it, the old tools.jar file. so tomcat's bootstrapper was trying to extract the contents of the ".jar" file and since it happened to have a space and be a directory (not sure which is the actual culprit), I think that's what it blew up on. doh!
 
A feeble attempt to tell you about our stuff that makes us money
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!