tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <david.nel...@talkingstone.com>
Subject Re: localhost:8080 connection refused
Date Thu, 06 Feb 2003 15:12:21 GMT
Turner, John wrote:

>For the sake of the archives, what was the solution?
>
>John
>
>
>-----Original Message-----
>From: David Nelson [mailto:david.nelson@talkingstone.com] 
>Sent: Wednesday, February 05, 2003 4:30 PM
>To: Tomcat Users List
>Subject: Re: localhost:8080 connection refused
>
>
>This issue is resolved. Thanks for the help!
>.
>----- Original Message -----
>From: "David Nelson" <david.nelson@talkingstone.com>
>To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>Sent: Wednesday, February 05, 2003 1:21 PM
>Subject: Re: localhost:8080 connection refused
>
>
>  
>
>>I apologize for taking a bit to get back to you.  Below are the 
>>contents
>>    
>>
>of
>  
>
>>Catalina.out
>>
>>java.util.zip.ZipException: error in opening zip file
>> at java.util.zip.Zip.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)
>>
>>Additionally, I both were gzip  from Apache.org.
>>
>>Thanks again for your help.
>>
>>
>>----- Original Message -----
>>From: "Turner, John" <JTurner@AAS.com>
>>To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
>>Sent: Wednesday, February 05, 2003 10:59 AM
>>Subject: RE: localhost:8080 connection refused
>>
>>
>>    
>>
>>>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
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>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
>
>
>.
>
>  
>
Fantastic John,  I think I can feel the steam from your forehead. :~)

Somehow the unzipped Tomcat was corrupt so I just deleted it, the 
unzipped it again.  It was simple after that.

Now, I cannot get mod_jk to work with Apache.  If you can help, please 
see "compatability issue" thread.

Thanks
Dave



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