MBean Deployment
garyg Sep 12, 2002 12:14 AMI'm working on my first MBean and I hava a service file for my application in the ~/server/default/deploy directory (acaiis-service.xml). In it I've listed many topics and queues that work fine. Yet when I add in the following custom MBean, I get the errors below about all the queues/topics, MDB's, etc.. w/ JMSExceptions of "This destination is not open!"
Any help much appreciated.
23:56:25,694 INFO [manager] Creating
23:56:25,696 INFO [manager] Created
23:56:25,703 INFO [manager] Destroying
23:56:25,741 ERROR [manager] Destroying failed
javax.jms.JMSException: This destination is not open!
at org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestinationManager.java:795)
at org.jboss.mq.server.jmx.DestinationMBeanSupport.destroyService(DestinationMBeanSupport.java:114)
at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
at $Proxy5.destroy(Unknown Source)
at org.jboss.system.ServiceController.destroy(ServiceController.java:530)
--- this error is towards the end ----------------
23:57:07,828 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@f83f144f { url=file:/u/public/jboss/jboss-3.0.2/server/default/deploy/acaiis-service.xml }
deployer: org.jboss.deployment.SARDeployer@f4fb3
status: Deployment FAILED reason: acaiis:service=Scheduler is not registered.; - nested throwable: (javax.management.InstanceNotFoundException: acaiis:service=Scheduler is not registered.)
state: FAILED
watch: file:/u/public/jboss/jboss-3.0.2/server/default/deploy/acaiis-service.xml
]MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: acaiis:service=Scheduler
state: NOTYETINSTALLED
I Depend On:
Depends On Me: ]
23:57:07,903 INFO [URLDeploymentScanner] Started
23:57:07,905 INFO [MainDeployer] Deployed package: file:/u/public/jboss/jboss-3.0.2/server/default/conf/jboss-service.xml
23:57:07,975 INFO [Server] JBoss (MX MicroKernel) [3.0.2 Date:200208271339] Started in 1m:47s:353ms