Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-24-2004, 11:30 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Problem in Apache2 + Tomcat5

I'm with some problems running tomcat 5...
I have apache 2 and tomcat 5... i start apache and tomcat (no problems). But end i try localhost:8080 i get this message:

The connection was refused when attempting to contact localhost:8080

Can someone help me?

I also get an exception when i stop tomcat:
Stopping Tomcat... 
Using CATALINA_BASE:   /opt/tomcat 
Using CATALINA_HOME:   /opt/tomcat 
Using CATALINA_TMPDIR: /opt/tomcat/temp 
Using JAVA_HOME:       /opt/sun-jdk- 
Catalina.stop: Connection refused Connection refused 
   at Method) 
   at org.apache.catalina.startup.Catalina.stop( 
   at org.apache.catalina.startup.Catalina.execute( 
   at org.apache.catalina.startup.Catalina.process( 
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
   at sun.reflect.NativeMethodAccessorImpl.invoke( 
   at sun.reflect.DelegatingMethodAccessorImpl.invoke( 
   at java.lang.reflect.Method.invoke( 
   at org.apache.catalina.startup.Bootstrap.main(
thanks in advanced

Old 08-06-2004, 04:13 PM   #2
LQ Newbie
Registered: May 2004
Location: Southern California
Posts: 21

Rep: Reputation: 15
I to had that problem and came here and saw the () replys. What I did was shutdown twice in a row. I also fixed my tomcat users so I did two things and now it works fine. I would check your catalina.out log in $CATALINA_HOME/logs.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache2 & tomcat5 - how to configure VIRTUAL HOSTS & JSP? nicolasdiogo SUSE / openSUSE 2 04-05-2007 09:06 AM
Why is tomcat5 still unstable?!!!!! Mathsniper Debian 1 08-28-2005 05:04 AM
Installing Tomcat5 Randvegeta Linux - Software 1 05-07-2005 05:32 AM
SuSE 9.2 - apache2 & tomcat5 - how to configure VIRTUAL HOSTS & JSP? nicolasdiogo Linux - Networking 2 03-20-2005 08:06 AM
Connecting Apache2 with Tomcat5 using mod_jk royb Linux - Software 6 03-09-2004 06:26 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration