users@glassfish.java.net

Re: loadbalancer with apache

From: Kshitiz Saxena <Kshitiz.Saxena_at_Sun.COM>
Date: Tue, 23 Sep 2008 20:59:40 +0530

Hi,

Please see my comments inline. I hope you are using Apache 2.0.x as
Apache 2.2.x will have different configuration steps.

Thanks,
Kshitiz

glassfish_at_javadesktop.org wrote:
> I wish to setup my glassfish cluster with an apache loadbalancer.
>
> In order to make it I wish to use the lbplug in.
>
> so I follow this blog
> http://blogs.sun.com/sprabhu7/entry/install_configure_lb_on_apache#4
>
> But I can't start Apache because it not work with mod_loadbalancer.dll (I try also in a linux system with mod_loadbalancer.so).
>
> Apache tell me Cannot load
> C:/Program Files/Apache Group/Apache2/modules/mod_loadbalancer.dll
>

Mostly it will happen when all dependencies are not resolved correctly.
You can use utility like dependency-walker to see if they are all
resolved correctly.

> I use http://download.java.net/javaee5/external/WINNT/aslb/jars/aslb-9.1.1-b2.jar version of plugin.
>
> In linux apache tell me wrong elf class about mod_loadbalancer.so loading
>

You are using 64 bit version of Apache. The load-balancer plugin library
is 32 bit version so ensure you use 32 bit version of Apache as well.
Also not all Linux platform are supported.

> I tried with apache 2.0.63 and apache 2.2
>

As I mentioned configuration steps are different for 2.0.x and 2.2.x.
Please use only Apache 2.0.x.

You can refer to configuration steps available @
http://docs.sun.com/app/docs/doc/819-3679/abdhg?l=en&a=view

> What's the problem?
> [Message sent by forum member 'peppeme' (peppeme)]
>
> http://forums.java.net/jive/thread.jspa?messageID=301020
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>