LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-12-2004, 09:59 AM   #1
kpmaddenuk
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Tomcat 5.5.1 and Apache 2


Hi,

Does anyone have an idiots guide to linking Tomcat 5.5.1 and Apache 2?

I have been trying to link the two for several weeks now and have tried lots of different guides but so far I have had no luck. Most of the guides refer to previous versions of Tomcat and Apache so my feeling is that the process my be different (albeit subtly) in the new version.

Both Tomcat and Apache run fine on their own using ports 8080 and 80 respectively. I am using SuSe Linux version 8.0.

TIA - Keith
 
Old 10-29-2004, 02:32 PM   #2
simplyrahul
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 26

Rep: Reputation: 15
After installing the following RPM the previous error is gone.However new one appears clearly mentioning that "CONNECTION REFUSED"

[root@5fwwd163c soft]# rpm -Uvh compat-libstdc++-7.3-2.96.118.i386.rpm
Preparing... ########################################### [100%]
package compat-libstdc++-7.3-2.96.118 is already installed
[root@5fwwd163c soft]# service tomcat4 restart
Shutting down tomcat4: Using CLASSPATH: /var/tomcat4/bin/bootstrap.jar:/var/tomcat4/bin/servlet.jar:/usr/local/software/j2sdk1.4.0_02/lib/tools.jar
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:689)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:598)
at org.apache.catalina.startup.Catalina.process(Catalina.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:133)
[FAILED]
Starting tomcat4: [ OK ]
[root@5fwwd163c soft]#


Any guess ??

Thanks Rahul
 
Old 10-30-2004, 05:55 AM   #3
rolf_mueller
LQ Newbie
 
Registered: Oct 2004
Location: Bundoora, Australia
Distribution: Fedora Core 2 on Dell PE700
Posts: 12

Rep: Reputation: 0
Keith,

I havn't tried it for Tomcat 5.5, but Apache2 and Tomcat 5.025 are working together.
Have you ever tried it before with different versions and it worked, or is it the first time?

-Rolf
 
  


Reply


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
Tomcat 5 with Apache twantrd Linux - Software 3 10-18-2004 10:53 PM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM
Apache with Tomcat 4.0.3 chuck77 Linux - General 7 09-22-2002 03:57 PM
Apache and Tomcat Marcel Linux - General 2 07-11-2001 08:24 AM
Apache,Tomcat prowzen Linux - Software 0 05-09-2001 06:23 PM


All times are GMT -5. The time now is 03:44 AM.

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