[OFBiz] Users - Apache-Jetty-SuSE 9.0-mod_jk

Alexander Heiss aheiss at prosodiemail.com
Mon Aug 16 12:04:53 EDT 2004


Hi Arukala,

 

The page on the wiki
http://ofbizwiki.go-integral.com/Wiki.jsp?page=SSSMultiInstances is a great
description of how to setup mod_jk with jetty/ofbiz.  When trying to setup
mod_jk2 with jetty, I ran across some problems that sound similar to yours,
so we abandoned jk2 for jk .  It seemed that the worker in jk2 wasn't
working correctly with jetty and just randomly going to either jetty
instance with no regard to the appended worker name on cookie/url.  I think
this was related to Jetty sending it's instance name back (jvmRoute in
tomcat) and the tomcatId in workers2.properties, and possibly some conflicts
there.  The only thing I found as an advantage to jk2 was it's ability for
graceful shutdowns, and going with a well tested mod_jk seemed like the
better approach anyway.  For mod_jk2 integration,  search Jetty mailing
lists for worker name or jvmRoute and you should get a lot of info back on
how to append to JettyContainer in Ofbiz to handle jk2.  Since most of this
talks about jetty.xml files, which ofbiz does not support,   you may need to
look at  how to port Jetty.xml config files over to java for use in the
container file ( http://jetty.mortbay.org/jetty/tut/XmlConfiguration.html )
.  

 

 For load balancing with Apache2-mod_jk-jetty, the only files you need to
edit are the workers.properties and httpd.conf as described in the wiki link
above. (and ofbiz-containers to enable ajp13 listener).  Tomcat should
really be no different from the workers.properties/http.conf end.  

 

Are worker names getting appended to url/cookie?  Does Apache/mod_jk(2?)
correctly redirect to proper server?

 

Thanks,

-Alex

 

  _____  

From: Arukala [mailto:arukala at gmx.de] 
Sent: Monday, August 16, 2004 10:47 AM
To: users at ofbiz.dev.java.net
Subject: RE: [OFBiz] Users - Apache-Jetty-SuSE 9.0-mod_jk

 

Hallo, 

 

I am sorry Tomcat and Jetty fighting here in browser each refresh. (
sometimes showing images and sometimes not)

Does any one face same problem?

 

Sincerely

Arukala 

 

  _____  

From: Arukala [mailto:arukala at gmx.de] 
Sent: Montag, 16. August 2004 12:30
To: users at ofbiz.dev.java.net
Subject: [OFBiz] Users - Apache-Jetty-SuSE 9.0-mod_jk

 

Hallo Users,

 

Actually I was succeeded in configuring AJP13 listeners in
Redhat8.0-Apache-tomcat/Jetty with mod_jk2

 

1)  Does any one configured AJP13 listeners for Jetty-Apache with Load
Balancing under SuSE 9.0

 

2)  I extracted an rpm apache2-jakarta-tomcat-connectors-4.1.27-63 

 

3)  I got in confusion with here in my SuSE 9.0 -  

 

- 1 Tomcat instance with some other web applications (8080)

- 3 Jetty instances (Ofbiz e-Shop Instances running 81, 82, 83 ports)

- I wanted to forward all applications through apache 80 port with
AJP13-mod_jk

- I followed same (as mod_jk2 under redhat8.0 which I configured) in SuSE
9.0, but tomcat & jetty are fighting each other to display from apache port.
:-) 

 

If any one configured apache2-Tomcat/Jetty-SuSE 9.0 with load balancing.
(Please direct me which files I should edit)

 

Sincerely

Arukala

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20040816/771193e7/attachment.htm


More information about the Users mailing list