-
1. Re: Tomcat jk2 with JBoss
jonlee Jul 25, 2003 7:03 PM (in response to m_kneus)Try http://www.amitysolutions.com.au/documents/JK2-technote.pdf and see if this helps you complete your setup.
-
2. Re: Tomcat jk2 with JBoss
faster-pussycat Jul 25, 2003 7:33 PM (in response to m_kneus)The documentation is flawed.
Although the diagram is pretty and nice, the instruction on how to setup mod_jk2 is bit off.
First, the document states, tomcat ajp13 connector configuration is located in server/instance/deploy/jbossweb-tomcat.sar/WEB-INF/jboss-service.xml Well, as of JBoss 3.2.1+Tomcat4.1.24 distribution doesn't explode Tomcat WEB-INF. Although it contains tomcat-jk2.jar, tomcat41-service.jar, tomcat-util.jar, tomcat-http11.jar, tomcat-coyote.jar and finally catalina.jar and along with others, the correct path to jboss-service.xml is in server/instance/conf/ .
Second, it states, the default instance of JBoss deploy path is "/server/default"... That's wrong also. It's actually "/server/all/". Don't ask why. I've been wrecking my brain on that one also.
To answer your question about where the jk2.properties goes, well, it goes into your apache conf dir. Typically /etc/httpd/conf. Also your workers properties files as well.
I found this link extremely helpful and "WORKING".
http://www.gogis.nl/en/public_documentation/jboss/body.html
Read on and hope to God, JBoss team will make a documentation as automated as their JBoss product.
- 2 cents -
3. Re: Tomcat jk2 with JBoss
faster-pussycat Jul 25, 2003 7:50 PM (in response to m_kneus)correcting my own mistake:
===============================
the correct path to jboss-service.xml is in server/instance/conf/
===============================
It is not correct. For jbossweb-tomcat config which you want, is in server/instance/deploy/jbossweb-tomcat.sar/META-INF/jboss-service.xml
*note: NOT WEB-INF !!!
Of course, that "instance" i'm talking about is by default "all[/]".
Sorry about the confusion.
- 2 cents -
4. Re: Tomcat jk2 with JBoss
m_kneus Jul 26, 2003 2:39 AM (in response to m_kneus)Thanks a lot for your help.
Micha -
5. Re: Tomcat jk2 with JBoss
jonlee Jul 26, 2003 3:15 AM (in response to m_kneus)Thank you for pointing out the typo in the documentation. That has been corrected now. It is always helpful when an error is pointed out.
I've also explicitly stated that default is usually the default directory. Also I note that later releases may rename the Tomcat deployment jbossweb-tomcat41.sar.