Symptom:
On a JBoss 5.1.2 server, system JARs are overriding application-specific JARs, such as those JARs for the Web Agent Option Pack.
Solution:
Prevent the Web Agent Option Pack XML API files from being overwritten by JBOSS system JARS.
Important! This workaround only applies to JBOSS 5.1.2 and higher.
Add the following filter package in two places in the war-deployers-jboss-beans.xml file:
<property name="filteredPackages">javax.servlet,org.apache.commons. logging,javax.xml.parsers,org.xml.sax,org.w3c.dom,javax.xml.namespace</property>
The filter package allows the use of the Web Agent Option Pack XML API files instead of the JBOSS system files.
Follow these steps:
/deployers/jbossweb.deployer/META-INF/
<property name="filteredPackages">javax.servlet,org.apache. commons.logging</property>
<property name="filteredPackages">javax.servlet,org.apache.commons. logging,javax.xml.parsers,org.xml.sax,org.w3c.dom,javax.xml.namespace</property>
This entry in the file is on one line.
Add the filter package in both places in the XML file.
Copyright © 2012 CA.
All rights reserved.
|
|