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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Problem with Resin Load Balancing " Watch "Problem with Resin Load Balancing " New topic
Author

Problem with Resin Load Balancing

Femi Byte
Ranch Hand

Joined: Jul 09, 2004
Posts: 40
I am trying to use load balancing(Clustering) in Resin 2.1.6 with resin itself as a Web Server and load balancer (No Apache).
Is this possible? Has anyone ever been able to do this?
When I startup resin, it only seems to listen to the http port, not the srun port on the backend server.


My resin.conf looks like this :

<http port='2900'/>

<srun id='be' srun-group='a' host='X.X.X.X' port='6802' srun-index='1'/>

<host>
...
<web-app id='/dir'>


<session-config>
<tcp-store/>
<always-save-session/>
</session-config>

<servlet>
<servlet-name>balance-a</servlet-name>
<servlet-class>com.caucho.http.servlet.LoadBalanceServlet</servlet-class>
<init-param srun-group='a'/>
</servlet>

<servlet-mapping url-pattern='/dir/*' servlet-name='balance-a'/>
</web-app>
</host>


This is what the output looks like on startup:
...
. http listening to *:2900

Any help on this would be greatly appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Resin Load Balancing
 
Similar Threads
resin error: cannot resolve symbol symbol : class
Problem with Resin Load Balancing (Clustering)
Resin with Apache
Struts with Resin
How to link Apache And Resin