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.
Thanks for the report. :) This has been fixed in the latest 4.2.2 Clustering Guide:
I'm sure it's still wrong in the latest AS 5 docs, as those haven't been updated yet, pending further development work.
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?
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> -->