-
1. Re: JMX MBean deployed twice? It prints every log-statement
dimitris Feb 22, 2006 4:20 AM (in response to frandsen)You are probably deploying it twice.
-
2. Re: JMX MBean deployed twice? It prints every log-statement
frandsen Feb 22, 2006 6:44 AM (in response to frandsen)Thanks for the fast reply.
But if I am trying to register the MBean really twice, there is coming a "Already Registered"-DeploymentException.
There are 3 places, where my MBean is visible in the jmx-console:
- jboss.management.local as ServiceModule with MBean Java Class: org.jboss.management.j2ee.ServiceModule
- jboss.management.local as MBean with MBean Java Class: org.jboss.management.j2ee.MBean
and
- XY.Domain with the service name with my MBean implementation class xyService
Maybe it is not helpful. But it don´t think, that I deployed it twice -
3. Re: JMX MBean deployed twice? It prints every log-statement
dimitris Feb 22, 2006 7:10 AM (in response to frandsen)So then it's an issue of your logging configuration. JBoss log4j logger is configured int conf/log4j.xml
-
4. Re: JMX MBean deployed twice? It prints every log-statement
frandsen Feb 22, 2006 7:44 AM (in response to frandsen)You got it! It was because of the log4j.xml in server/${myconfig}/conf
There was a second ConsoleAppender for my package defined.
Thanks a lot.