NOTYETINSTALLED error when deploy an MBean to the deploy-ha-
btruong Feb 10, 2005 12:22 PM
I got an MBean that I need to deploy it into the deploy-ha-singleton directory. This MBean depends on the XAConnectionFactory and HAJNDI. When I deployed it, it complains JNDI API lookup failed: javax.naming.NameNotFoundException: XAConnectionFactory not bound. I then changed the jboss-service.xml bundled in the sar deployment file to have Topic service as its dependency. When I tried to re-deploy, the MBean state=NOTYETINSTALLED.
How do I deploy an MBean to deploy-ha-singleton directory and make sure it is the last one to be deployed (after HAJNDI, XAConnectionFactory, ... )?
Below is a snippet of server.log file.
Many thanks in advance.
11:07:12,431 DEBUG [WebModule] Started jboss.web.deployment:war=jmx-console.war,id=1132078848
11:07:12,431 DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=jmx-console.war,id=1132078848 dependent components: []
11:07:12,431 DEBUG [MainDeployer] End deployment start on package: jmx-console.war
11:07:12,431 DEBUG [MainDeployer] Deployed package: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/jmx-console.war
11:07:12,431 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/jmx-console.war -> file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/dep
loy/jmx-console.war
11:07:12,431 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: com.brooks:service=APFTopicSubscriber
state: CONFIGURED
I Depend On: jms.topic:service=Topic
Depends On Me:
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jms.topic:service=Topic
state: NOTYETINSTALLED
I Depend On:
Depends On Me: com.brooks:service=APFTopicSubscriber
11:07:12,431 DEBUG [AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
11:07:12,441 DEBUG [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
11:07:12,441 DEBUG [ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
11:07:12,441 DEBUG [MainDeployer] End deployment start on package: jboss-service.xml
11:07:12,441 DEBUG [MainDeployer] Deployed package: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/conf/jboss-service.xml
11:07:12,441 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)] Started in 14s:558ms
11:07:12,441 INFO [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
11:07:12,471 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
11:07:12,531 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
11:07:12,541 INFO [JkMain] Jk running ID=0 time=0/20 config=null