Hi, 
I've written a MBean which depends on JMS and JNDI. I made it dependent on these 
services using tags like:


  | <mbean code = "Test"
  |     name="user:service:Test";>
  |     <attribute name="JndiName">Test</attribute>
  |     <depends>jboss:service=Naming</depends>
  | </mbean>
  | 

in user-service.xml file from jboss.

When my MBean does not depend on any other service, it works fine. But when it depends 
on some other services i get this error:

2004-05-31 11:35:03,125 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] 
MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[EMAIL PROTECTED] { 
url=file:/D:/jboss-3.2.3/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
 }
  deployer: null
  status: Starting
  state: INIT_WAITING_DEPLOYER
  watch: 
file:/D:/jboss-3.2.3/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
  lastDeployed: 1085992493968
  lastModified: 1078996390000
  mbeans:
, [EMAIL PROTECTED] { 
url=file:/D:/jboss-3.2.3/server/default/deploy/http-invoker.sar/invoker.war/ }
  deployer: null
  status: Starting
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/jboss-3.2.3/server/default/deploy/http-invoker.sar/invoker.war/
  lastDeployed: 1085992493968
  lastModified: 1078996390000
  mbeans:
, [EMAIL PROTECTED] { 
url=file:/D:/jboss-3.2.3/server/default/deploy/management/web-console.war }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/jboss-3.2.3/server/default/deploy/management/web-console.war
  lastDeployed: 1085992503125
  lastModified: 1085992504000
  mbeans:
, [EMAIL PROTECTED] { url=file:/D:/jboss-3.2.3/server/default/deploy/jmx-console.war/ }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/jboss-3.2.3/server/default/deploy/jmx-console.war/
  lastDeployed: 1085992503125
  lastModified: 1078996386000
  mbeans:
]Incompletely deployed packages:
[EMAIL PROTECTED] { 
url=file:/D:/jboss-3.2.3/server/default/deploy/management/web-console.war }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/jboss-3.2.3/server/default/deploy/management/web-console.war
  lastDeployed: 1085992503125
  lastModified: 1085992504000
  mbeans:
, [EMAIL PROTECTED] { url=file:/D:/jboss-3.2.3/server/default/deploy/jmx-console.war/ }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/jboss-3.2.3/server/default/deploy/jmx-console.war/
  lastDeployed: 1085992503125
  lastModified: 1078996386000
  mbeans:
]MBeans waiting for classes:
  
MBeans waiting for other MBeans:
[ObjectName: user:service=Test
 state: CONFIGURED
 I Depend On:  jboss.mq:service=Naming

 Depends On Me: , ObjectName: jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor
 state: FAILED
 I Depend On:  jboss.jmx:name=SnmpAgent,service=timer,type=heartbeat

 Depends On Me: java.lang.RuntimeException: [Missing message 
conf.noDefaultConfigurationFile], ObjectName: jboss.web:service=WebServer
 state: FAILED
 I Depend On:  jboss:service=TransactionManager

 Depends On Me:  jboss.mq:service=InvocationLayer,type=HTTP
java.lang.ExceptionInInitializerError, ObjectName: 
jboss.mq:service=InvocationLayer,type=HTTP
 state: CONFIGURED
 I Depend On:  jboss.mq:service=Invoker
 jboss.web:service=WebServer

 Depends On Me: ]
2004-05-31 11:35:03,140 INFO  [org.jboss.deployment.scanner.URLDeploymentScanner] 
Started jboss.deployment:type=DeploymentScanner,flavor=URL
2004-05-31 11:35:03,500 INFO  [org.jboss.deployment.MainDeployer] Deployed package: 
file:/D:/jboss-3.2.3/server/default/conf/jboss-service.xml
2004-05-31 11:35:03,515 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel) 
[3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 22s:78ms


I'd appreciate any help. 
Thank you,
clau


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

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



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to