• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Problem with Resin Load Balancing

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic