I try to use a JMSAppender for logging information of my bean.
I configured a JMSAppender in log4j.xml for FioranoMQ and it works fine.
When I try to use JBossMQ in the Appender, I get an error while starting JBoss:
errror while activating options for appender named JMSJBOSS: Receive Timeout
My suggestion was, that JBossMQ is not yet started when the Appender is configured and I tried to add a depends tag in the jboss-service.xml:
<!-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8
this needs to be set to avoid a possible deadlock on exception at the
appender level. See bug#696819.
but then I get another error:
13:54:09,919 ERROR [Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
I Depend On: jboss.mq:service=JMSProviderLoader
The configurations in my log4j.xml are:
Can anyone help me please??
I think you have a self-referential loop. I'm pretty sure the JMSAppender is used by the JBossMQ but I'm no expert in this area other than using MessageBeans - Message Service Appender <- Message Queue. Hopefully someone will have a clearer explanation.