File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat clustering with F5 device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat clustering with F5 device" Watch "Tomcat clustering with F5 device" New topic
Author

Tomcat clustering with F5 device

Justin Muir
Greenhorn

Joined: Jul 01, 2010
Posts: 11
I did see a post about this, but wasn't answered. I have 2 servers each with tomcat 5.0.28 on them, I am trying to set up a cluster but when i do as the instructions say in tomcat clustering references, the server which has the apache on it, you can't log onto the browser gives error 503 couldn't connect on port 80.

So i am not sure if there is something preventing it from working on the F5 device? I have been at this co. for 3 months and nobody seems to know anything about this so i have to figure it all out myself.

Please if anyone knows anything or why this might not be working please help!

Thanks!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

Does the F5 appliance have a copy of Apache in it, or is it just load-balancing to copies of Apache on the actual servers?

From the sound of it, it's trying to forward requests made to port 80 on the public-facing port to port 80 on the Tomcat servers. That's OK if the Tomcats have their own copies of Apache, but if the F5 is trying to talk to Tomcat directly, normally you'd translate to port 8080.


Customer surveys are for companies who didn't pay proper attention to begin with.
Justin Muir
Greenhorn

Joined: Jul 01, 2010
Posts: 11
Thanks for your reply, but i am actually not sure, no-one seems to know and i only just heard about this F5 a couple days ago, i have tried reading through the docs for it but haven't found anything about it...

I have made some changes to the httpd.conf and now its giving the error when i try start apache - cannot open shared object file: No such file or directory

Syntax error on line 142 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_jk.so into server:
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

Justin Muir wrote:Thanks for your reply, but i am actually not sure, no-one seems to know and i only just heard about this F5 a couple days ago, i have tried reading through the docs for it but haven't found anything about it...

I have made some changes to the httpd.conf and now its giving the error when i try start apache - cannot open shared object file: No such file or directory

Syntax error on line 142 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_jk.so into server:


That just means that you need a copy of the Tomcat Apache Connector (mod_jk) installed.
Justin Muir
Greenhorn

Joined: Jul 01, 2010
Posts: 11
Thanks for the reply, i see i need to configure the F5 device actually.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat clustering with F5 device
 
Similar Threads
JMF and Java Web Start
What is clustering and load balancing ?
problem in run code on eclipse !!!
Jackrabbit 1.3.1 JCR.
Content Created by one Tomcat not accessible/visible by other Tomcats in a clustered