-
1. Re: jboss 4.2 and log4j nightmare
dimitris Jun 28, 2007 5:58 AM (in response to meissa)So you've tried http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoaderScoping and it doesn't work for you?
(you don't even have to rename conf/log4j.xml, it is already renamed)
There is a testcase in the jboss testsuite for this exact scenario:
org.jboss.test.classloader.test.ScopingUnitTestCase -
2. Re: jboss 4.2 and log4j nightmare
meissa Jun 29, 2007 5:16 AM (in response to meissa)It's still not working.
Could you please send me the sample application that is supposed to work.
Maybe i have a wrong lo4j.jar librairie (I don't believe that but ...)
I'm really blocked by this situation.
thanks in advance for your feedback.
Meissa -
3. Re: jboss 4.2 and log4j nightmare
dimitris Jun 29, 2007 6:06 AM (in response to meissa)I don't know where this attachement has gone, so you need to revert to the testcase.
If you build the testsuite from source, look for:
testsuite/output/lib/log4j113.war -
4. Re: jboss 4.2 and log4j nightmare
meissa Jun 29, 2007 11:21 AM (in response to meissa)"dimitris@jboss.org" wrote:
I don't know where this attachement has gone, so you need to revert to the testcase.
If you build the testsuite from source, look for:
testsuite/output/lib/log4j113.war
I'm using jboss 4.2.0 and I don't have the testsuite/output/lib/ folder.
Meissa -
5. Re: jboss 4.2 and log4j nightmare
dimitris Jun 30, 2007 5:36 AM (in response to meissa)You need to grab the source and build it.
-
6. Re: jboss 4.2 and log4j nightmare
cwele Nov 28, 2007 6:07 AM (in response to meissa)"meissa" wrote:
Hi jboss guys,
We are been more and more to suffer about the Impossibility to override
log4j.jar in jboss 4.2 version.
The classloading isolation configuration that is explained in the wiki is not working at all.
Jboss still complain when we put log4j.jar in our appllications librairies.
Can you please,please,please give to us a real solution to get rif of this problem.
- did you solve this problem ? I have exactly the same ... -
7. Re: jboss 4.2 and log4j nightmare
jismolv Dec 31, 2007 12:04 AM (in response to meissa)did you solve this probelm? even i too have the same problem. Please help.
-
8. Re: jboss 4.2 and log4j nightmare
pisce Apr 3, 2008 12:02 PM (in response to meissa)For all those who encounter this issue: try to know if you're deploying a webapp that has its own log4j.jar
Since JBoss has already a log4j.jar, you can obtain this error if both versions are not the same. Just remove log4j.jar from you webapp's WEB-INF/lib when deploying (an exclude might be enough in your ant file)
Take a look to the lasts posts here:
http://www.dcm4che.org/jira/browse/OV-28?focusedCommentId=10959#action_10959