Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat clustering with F5 device

 
Justin Muir
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Justin Muir
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply, i see i need to configure the F5 device actually.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic