yea mod_jk works. mod_jk2 works too but i find it very inconsistent.
i will try this jboss one.

thanks!

Björn Weis wrote:

Hello,

in the JBoss cvs repository (or you can download the source of JBoss) is a loadbalancer included, if you compile the JBoss source you will find the sar file under "varia\output\lib". You have to unpack this sar file to make your own entries in the jboss-service.xml (I also unpacked the war file which is included in the sar file, but there I havn't changed anything).

If you get it to work correctly let me know.

Bye
  Björn

PS: To mod_jk2 see my mail Strange load balancing behavior with mod_jk2
PPS: Does your mod_jk work, because I need a loadbalancer to get the SPECjAppServer Benchmark to work.


Felipe Oliveira schrieb:

hi,

which jboss loadbalancer are you talking about? i am currently using mod_jk and i am not really happy about it. i didn't know jboss had its own. any ideas where i can get more info about it?

thanks,

felipe

Björn Weis wrote:

Hi,

I try to use the JBoss loadbalancer, but it doesn't work.

When I first request the site, I get a cookie JBoss_LB_ID Value=-2105261236 Path=/. Then I logged in the site (it's a Servlet), I get a second cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/SPECjAppServer. Now I browse through the site, I get a third cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/. Ok, I can browse through the site and all seems to work, but if I log off and log in again without deleting the cookies. First I get a new JSESSIONID Value=ABC801D26C624EC58CC20B2B318ADA4E Path=/SPECjAppServer. When I now want to browse I get a new cookie JSESSIONID Value=612EDB9531822ED53157F4CA04604258 Path=/SPECjAppServer and a message that the user isn't logged in. That is clear because the JSESSIONID with Path=/SPECjAppServer were overwritten, but why and which component does the overwrite?

The config files of the loadbalancer are the default one I only change the hosts. I tried that with the new loadbalacer from the jboss-head-snapshot (from today) and with the jboss-3.2-snapshot (from yesterday). The server is a JBoss 3.2.3 on a Suse 8.2. In the jboss-head-snapshot loadbalncer I replaced org.jboss.util.xml.XmlHelper with org.jboss.metadata.MetaData, so that it worked in the 3.2.3 server.

I hope you can help me with that problem.

Thanx
   Björn



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user






-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to