Hi Vlad! I got the build thru, but I am still not getting stick session behavior. Will I need to do some additional config ?
"httpd -l" does NOT show prefork.c anymore (below is the listing): home/surajit/sms/lb/apache/apache/new-install/bin>httpd -l Compiled in modules: core.c mod_access.c mod_auth.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c worker.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgid.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c /home/surajit/sms/lb/apache/apache/new-install/bin> Appreciate your help! Best Regards, Surajit -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Surajit Bhattacharjee Sent: Friday, August 08, 2003 12:57 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] MOD_JK2 PROBLEM - SETTING UP STICKY SESSIONS Hi Vlad! I tried to build Apache with 'MPM worker' on Solaris but got an error. I ran the following to build: 1. ./configure --prefix=/home/surajit/sms/lb/apache/apache/new-build --with-mpm =worker 2. make 3. make install Now, the build fails at step 2 with the following messages: ------------------------------------------------------------------ ld: fatal: symbol `ap_mpm_pod_open' is multiply-defined: (file server/mpm/worker/.libs/libworker.al(pod.lo) and file server/.libs/libmain.al(mpm_common.lo)); ld: fatal: symbol `ap_mpm_pod_signal' is multiply-defined: (file server/mpm/worker/.libs/libworker.al(pod.lo) and file server/.libs/libmain.al(mpm_common.lo)); ld: fatal: symbol `ap_mpm_pod_close' is multiply-defined: (file server/mpm/worker/.libs/libworker.al(pod.lo) and file server/.libs/libmain.al(mpm_common.lo)); ld: fatal: symbol `ap_mpm_pod_killpg' is multiply-defined: (file server/mpm/worker/.libs/libworker.al(pod.lo) and file server/.libs/libmain.al(mpm_common.lo)); ld: fatal: symbol `ap_mpm_pod_check' is multiply-defined: (file server/mpm/worker/.libs/libworker.al(pod.lo) and file server/.libs/libmain.al(mpm_common.lo)); ld: fatal: File processing errors. No output written to .libs/httpd collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `httpd' Current working directory /home/surajit/sms/lb/apache/apache/httpd-2.0.43 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ------------------------------------------------------------------ AM I DOING SOMETHING WRONG HERE ? I also read http://www.mail-archive.com/[EMAIL PROTECTED]/msg97888.html and it says the the MPM worker build for Apache 2 does not go thru on Solaris. Is this right ? Any help will be deeply appreciated!!! Regards, Surajit -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Surajit Bhattacharjee Sent: Thursday, August 07, 2003 10:38 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] MOD_JK2 PROBLEM - SETTING UP STICKY SESSIONS Hi Vlad! Thanks a lot! I did a "httpd -l" and found prefork.c in it. I will rebuild Apache as suggested and try - but before I do that, I just wanted to reiterate that this is mod_jk2 and NOT mod_jk. Would like to confirm with you that rebuilding Apache ALONE will do the trick. Do I need to build MOD_JK2 as well ? Thanks once again! Best Regards, Surajit ----------------------------------------------------------------------- I guess you have the prefork MPM enabled in your Apache (this is default MPM for UNIX). It does not work with mod_jk sticky sessions. Please chech that you do not use prefork MPM and use the worker MPM in your Apache installation: httpd -l If you see prefork.c you should build Apache with worker MPM enabled instead of default prefork using configure --with-mpm=worker ... Vlad ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user