Closed GoogleCodeExporter closed 8 years ago
Alas! Log4j is has always been an issue with 4.x version of JBoss. As of today,
JmxLogger supports log4j ver 1.2.15. I am not familiar with the detail of how
JBoss
loads/uses log4j internally.
One way to solve this (if you have access to the app server component's code),
is to
force JBoss to load your component's lib in its own class space. To do this,
update
your jboss-service.xml file, in your WEB-INF/ dir for instance, and add the
following
line
<loader-repository>your.own.jmx.domain:a_key=value,to=distinguish,the=loader</lo
ader-repository>
inside the <server/> section of the file. Redeploy component.
This should allow you to use the version of log4J that you want.
Original comment by vladimir...@gmail.com
on 8 Dec 2009 at 6:14
Original issue reported on code.google.com by
bergman...@gmail.com
on 23 Oct 2009 at 2:40