-
1. Re: Using mod_jk in AS 4.2.1.GA
rekie Jan 31, 2008 4:19 AM (in response to rekie)OK...
after taking a closer look at ALL jboss-service.xml files in the deploy folder I found one with the element UseJK.
It is in the JBOSS_HOME/server/all/deploy/jboss-web.deployer/META-INF directory.
Hopefully this is what I am looking for. Maybe this coud be updatet in the clusterguides, if this realy is the correct place.
THX
Reinhard -
2. Re: Using mod_jk in AS 4.2.1.GA
brian.stansberry Jan 31, 2008 9:58 AM (in response to rekie)Thanks for the report. :) This has been fixed in the latest 4.2.2 Clustering Guide:
http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta422/html/clustering-http-jboss.html
I'm sure it's still wrong in the latest AS 5 docs, as those haven't been updated yet, pending further development work. -
3. Re: Using mod_jk in AS 4.2.1.GA
waynebaylor Mar 2, 2008 12:27 AM (in response to rekie)I'm trying to set up mod_jk on JBoss AS 5.0.0 Beta4 and cannot find any reference to "UseJK" in any config files.
The jbossweb.deployer is under the deployers directory now, and doesn't have a jboss-service.xml in META-INF.
I looked at UsingMod_jk1.2WithJBoss on the wiki, but that's outdated too.
Is there current documentation for AS 5.x? -
4. Re: Using mod_jk in AS 4.2.1.GA
brian.stansberry Mar 2, 2008 11:47 AM (in response to rekie)No, there's no documentation on 5.0 yet.
If you add a jvmRoute in server.xml, the server will assume "UseJK" is true as global default. So, typically no need to set it.
The global default can be overridden on a per-webapp basis in jboss-web.xml:<replication-config> <use-jk>false</use-jk> </replication-config>
You can also force the setting of the global default rather than relying on the presence/absence of a jvmRoute. Uncomment the following in server/all/deployers/jbossweb.deployer/META-INF/wer-deployers-beans.xml's WebAppClusteringDefaultsDeployer:<!-- <property name="useJK">false</property> -->