Our small company has been using Tomcat 4 for over a year to run our web
app, and on 8/15/2003 I downloaded Tomcat 4.1.27 to install on this
development machine, and I haven't had to think much about it since, and
I'm not super familiar with Tomcat.  About all I do with it is stop and
restart the service to load up changes I add to the site.  

Well, today it just isn't working.  Usually I access the site on my
machine by just typing localhost or http://localhost/ in IE 6, but it's
just giving me a page cannot be displayed error.  I'm perusing the
Jakarta docs and guides at OnJava and other places, but I figure I could
spend all day (or several days) on this, and I need to get my work done! 

What I need is a good idea of exactly what I can do to find and correct
this problem.  

I have no idea what this is about or why it would suddenly have become a
problem, but here's what's in my stdout:

Bootstrap: Create Catalina server
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal:
java.util.zip.ZipException: error in opening zip file
        at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1110)
        at 
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
        at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
        at org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:163)
        at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)


And here's my stderr:

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:1082)
        at 
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
        at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
        at org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:163)
        at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
java.lang.NullPointerException
        at org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:198)
        at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)


And in case this helps, here's what I have in my conf\server.xml file for
the connectors:

- <!--  Define a non-SSL Coyote HTTP/1.1 Connector on port 80 
  --> 
  <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
  port="80" minProcessors="50" maxProcessors="100" enableLookups="true"
  redirectPort="8443" acceptCount="100" debug="0"
  connectionTimeout="20000" useURIValidationHack="false"
  disableUploadTimeout="true" /> 
- <!-- 
 Note : To disable connection timeouts, set connectionTimeout value 
     to -1 

  --> 
- <!--  Define a SSL Coyote HTTP/1.1 Connector on port 443 
  --> 
- <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="443" minProcessors="100" maxProcessors="2000" enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true">
  <Factory
  className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
  clientAuth="false" protocol="TLS" keystorePass="w0rldw1d3"
  keystoreFile="c:\Tomcat\keystore.ksf" /> 
  </Connector>


Thanks for any help!

Stephen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to