File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Axis Web Service on Apache/Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Axis Web Service on Apache/Tomcat " Watch "Axis Web Service on Apache/Tomcat " New topic

Axis Web Service on Apache/Tomcat

Pratap Chatterjee

Joined: Sep 05, 2008
Posts: 3
I have an apache server load balancing two tomcats. I do not want clustering as serializing axis1.4 application is complex. I don't mind loosing existing session if one tomcat goes down. Sticky session is not an option as Axis Web Service clients do not accept cookies. My web services are stateless and in pure load balance situation 50:50, I loose request as load is shared.

If I can load balance two tomcats in 100:0 using Apache load balancer, then I will have Master Slave operation on two tomcats.

Is this possible? Apache balance manager does not allow me to set 100:0 load. Is there a work around? How can I configure Apache/Tomcat in Master Slave mode and keep Slave inactive until Master goes down?

Please help...
Pratap Chatterjee

Joined: Sep 05, 2008
Posts: 3
I was really hoping that someone will be able to help... But I am not that lucky sadly. (no one answered).

Can someone please tell me how to configure Apache for a Master Slave setup using two Tomcats. I am looking for a very simple fallover solution as the previous solution is too complex, I guess..

I don't want load balancing. I only need fallover solution.

Come on and please help..
I agree. Here's the link:
subject: Axis Web Service on Apache/Tomcat
It's not a secret anymore!