This content has been marked as final.
Show 5 replies
-
1. Re: MBean depends
starksm64 Jan 10, 2006 10:15 AM (in response to lapoutre)Use [ code ] ... [ /code ] (without the spaces) tags to display the configuration correctly.
-
2. Re: MBean depends
lapoutre Jan 10, 2006 10:22 AM (in response to lapoutre)I made a service that depends on a queue I created.
the queue is named in my JMX console like this :Domain Name: jboss.mq.destination service: Queue name: com/toto/titi/MyClass
JNDI queue name is : queue/com/toto/titi/MyClass
the dependency in the jboss-service is as follow :<depends optional-attribute-name="com/toto/titi/MyClass">jboss.mq.destination:service=Queue </depends>
I got the following error :org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=com/toto/titi/MyClass value=jboss.mq.destination:service=Queue on mbean comp.com:service=MyService; - nested throwable: (javax.management.AttributeNotFoundException: not found: com/toto/titi/MyClass )
WHY ??? :(
tks -
3. Re: MBean depends
starksm64 Jan 10, 2006 10:26 AM (in response to lapoutre)Beause the service to which the depends was added has no attribute named "com/toto/titi/MyClass", which not a valid attribute name.
Read the jmx chapter in the server guide.
http://www.jboss.com/products/jbossas/docs -
-
5. Re: MBean depends
lapoutre Jan 10, 2006 1:09 PM (in response to lapoutre)I've an other question.
this is the same context.
I have the following error when I try to get the JMS connection.javax.naming.NameNotFoundException: ConnectionFactory not bound
what dependency shall I have to declare to load the service at startup???
tks