Embedded EJB 3.0 MBeanServer
andy.miller May 12, 2006 11:30 AMI am deploying an application that has stateless, statefull, message driven pojo's, and entity beans on the microcontainer, and I am getting the following exception:
ERROR 12-05 09:21:52,621 (AbstractController.java:incrementState:350) -Error installing to Start: name=jboss.j2ee:jar=EJB3ServicesEJB,name=ReplenishmentProcessorBean,service=EJB3 state=Create java.lang.IllegalStateException: No 'jboss' MBeanServer found!
It cannot find an MBeanServer. This error happens right after the following:
DEBUG 12-05 09:21:52,585 (ConsumerContainer.java:innerCreateQueue:347) -Got destination type Queue for ReplenishmentProcessorBean DEBUG 12-05 09:21:52,588 (ConsumerContainer.java:innerCreateQueue:351) -jndiSuffix: replenish DEBUG 12-05 09:21:52,593 (ConnectionFactoryHelper.java:createQueueConnection:138) -using connection factory: org.jboss.mq.SpyXAConnectionFactory@134d134d DEBUG 12-05 09:21:52,597 (ConnectionFactoryHelper.java:createQueueConnection:139) -using username/password: null/-- not shown -- DEBUG 12-05 09:21:52,601 (ConnectionFactoryHelper.java:createQueueConnection:151) -created XAQueueConnection: Connection@831402382[token=ConnectionToken:null/null rcvstate=STOPPED] DEBUG 12-05 09:21:52,605 (ConsumerContainer.java:innerCreateQueue:370) -Using client id: null WARN 12-05 09:21:52,608 (ConsumerContainer.java:innerCreateQueue:384) -Could not find the queue destination-jndi-name=queue/replenish WARN 12-05 09:21:52,612 (ConsumerContainer.java:createDestination:674) -destination not found: queue/replenish reason: javax.naming.NameNotFoundException: replenish not bound WARN 12-05 09:21:52,615 (ConsumerContainer.java:createDestination:675) -creating a new temporary destination: queue/replenish
It seems to be related to the automatic creation of the temporary queue. I can't find anything in the documentation or in the xml files that relates to the MBeanServer. Do I have to specify the queue creation via another microcontainer xml deployment file? If so, is there any documentation on what the format of that would be?
Thanks.