Sacha Labourey wrote:

Which OS do you use with mod_jk2? Linux? If yes, with threading model?

Yes, Red Hat 7.3/LinuxThreads. Apache worker MPM. Sun Hotspot server 1.4.2. Hope to move to NPTL this year after migrating to a recent Linux release.

Vlad

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladyslav Kosulin
Sent: Monday, March 08, 2004 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo


Bill Burke wrote:


But what are advantages of modjk2 over modjk? modjk support sticky sessions at least with Tomcat.

I don't know ;-) I use mod-jk2 from beginning, and it works.

Vlad


Vladyslav Kosulin wrote:


Another note: which MPM does your Apache httpd use? Again,

according


to my experience, the default prefork MPM for UNIX/Linux does not support sticky sessions with mod_jk/mod_jk2. You should recompile Apache with worker MPM instead of prefork:

./configure --prefix=/opt/httpd-2.0.48 --with-mpm=worker
make
make install

Vladyslav Kosulin wrote:


dhartford wrote:


Hey all, After going through all the posts, I'm still a

little hazy


on why I
still can not setup simple load-balancing WITH sticky

sessions based


on the
environment above (and also referenced the pay-for

Clustering doc).


1. Is there a sticky_session or stickySession flag for

mod_jk2 in the


workers2.properties file?

There is not.



2. Is it required to change the TomcatSAR

jboss-service.xml to add in a


jvmRoute to the following default fragment: { }?

3. What else may be missing? This looks trivial as a

lot of people


have put
in some good work to make it so, but must be something

I'm missing


somewhere
as the 'sticky session' just is not working.

(1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default

w/standard embedded


tomcat41

According to my experience with Jetty, sticky sessions

did not work


for <distributable/> (web.xml) web applications by

default. May be


the same is valid for Tomcat. Do you use this tag?



------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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 Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to