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

Reply via email to