tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: localhost:8080 connection refused
Date Wed, 05 Feb 2003 16:59:54 GMT

That's why you are getting "connection refused".  Tomcat isn't even
starting.

Can you post the entire contents of catalina.out for a full startup attempt,
instead of just the error message?  It might help in debugging if we can see
exactly when in the sequence this error is thrown.  Just null out
catalina.out, then try and start Tomcat again.

Also, how did you do the installs for Tomcat and Apache?  RPM? Source?
Binary?  Do you have zip/unzip or gzip/gunzip on your system?  The error
message is calling a native method.

John


-----Original Message-----
From: David Nelson [mailto:david.nelson@talkingstone.com] 
Sent: Wednesday, February 05, 2003 11:23 AM
To: Tomcat Users List
Subject: Re: localhost:8080 connection refused


After having a look at Catalina.out, here are a few errors:

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:117)
 at java.util.jar.JarFile.<init>(JarFile.java:55)
 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: error in opening zip file
 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)

The block above repeats for each time I start Tomcat.  It doesn't look too
promising.

---- Original Message -----
From: "Bill" <bhalpin@collaborativefusion.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, February 05, 2003 10:30 AM
Subject: Re: localhost:8080 connection refused


> David
>
> Default RH installations have a firewall, did you not install the 
> firewall or adjust it to accept connections on port 8080?  Just a 
> thought...
>
> Also, you havent included any log entries....is there nothing in the 
> logs?
>
> -b
>
>
> On Wed, 2003-02-05 at 10:22, David Nelson wrote:
> > I have heard similar posts but after trying everything I can get my
hands
> > on, Tomcat is still refusing to work  I get a connection refused.
> >
> > Here are a few system details and what I've done.
> > OS RH 8.0
> > Tomcat 4.1.18
> > Apache 2.0.44
> > mod_jk-2.0.43.so
> > java2 1.4 (tested manually and works)
> > $JAVA_HOME and $CATALINA_HOME are set
> >
> > httpd.conf has
> > LoadModule jk_module modules/mod_jk-2.0.43.so
> > Include /user/local/tomcat/conf/auto/mod_jk.conf
> >
> > incidentally, the mod_jk.conf is not being generated.
> >
> > Inside Tomcat's server.xml
> > <Server port="8005" shutdown="SHUTDOWN" debug="0">
> >   <Listener className="org.apache.ajp.Tomcat4.config.ApacheConfig"
> >   modJk="/usr/local/apache2/modules/mod_jk-2.0.43.so" /> ....
> >
> > <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true"
> >       autoDeploy="true">
> >        <Listener 
> > className="org.apache.ajp.Tomcat4.config.ApacheConfig"
> > append="true"
> >        forwardAll="false"
> > modJk="/usr/local/apache2/modules/mod_jk-2.0.43.so" />
> > ....
> >
> > Any ideas what I'm missing?
> >
> > Thanks for any help.
> >
> >
> > --------------------------------------------------------------------
> > -
> > 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

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

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