I added this depends statement to my Log4JService mbean code:

<depends>jboss.mq.destination:service=Topic,name=CSEEventLogServiceQueue</depends>

which comes from the jbossmq-destinations-service.xml and is the topic for my 
JMS appender.

However, I'm still getting this error:

14:07:06,562 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | log4j:ERROR Could not find name [java:/ConnectionFactory].
  | log4j error: Error while activating options for appender named [JMS].
  | javax.naming.NameNotFoundException: ConnectionFactory not bound

Am I using the wrong mbean in the depends statement?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885970#3885970

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885970


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to