[jboss-user] [JBoss Messaging] - How to configure application specific Queue and Topics in destinations-service.xml

Rahul Aahir do-not-reply at jboss.com
Thu Sep 16 05:14:32 EDT 2010


Rahul Aahir [http://community.jboss.org/people/rahul9885] created the discussion

"How to configure application specific Queue and Topics in destinations-service.xml"

To view the discussion, visit: http://community.jboss.org/message/562113#562113

--------------------------------------------------------------
Hello All,

I am Configuring my application specific Queue and Topics in *destinations-service.xml ,* but Queue is not getting register in jboss.

I am getting following error in jboss :

[ServiceConfigurator] Problem configuring service jboss.messaging.destination:service=Queue,name=jms/servers/logmon/MonitorInQueue
org.jboss.deployment.DeploymentException: Exception setting attribute  mailto:javax.management.Attribute at 1e32382 javax.management.Attribute at 1e32382 on mbean jboss.messaging.destination:service=Queue,name=jms/servers/logmon/MonitorInQueue; - nested throwable: (javax.management.AttributeNotFoundException: not found: DestinationManager)
        at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:380)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
        at org.jboss.system.ServiceController.install(ServiceController.java:226)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)

My *destinations-service.xml* is unsder "*jboss-4.3.0\server\MySiteServer\deploy\jboss-messaging.sar" ,* not in *deploy* directory of jboss.

*Is it right plcae to configure destination queue and topics ??*

My *destinations-service.xml* is like given below *:*

<?xml version="1.0" encoding="UTF-8"?>
<server>
.
.
.
<mbean code="org.jboss.jms.server.destination.QueueService"
   name="jboss.messaging.destination:service=Queue,*name=jms/servers/logmon/MonitorInQueue*" 
    xmbean-dd="xmdesc/Queue-xmbean.xml">
   
    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
    <depends>jboss.messaging:service=PostOffice</depends>
    <depends optional-attribute-name="DestinationManager">jboss.messaging:service=DestinationManager</depends>
   <depends optional-attribute-name="SecurityManager">jboss.messaging:service=SecurityManager</depends>
    <attribute name="SecurityConf">
      <security>
        <role name="guest" read="true" write="true"/>
        <role name="publisher" read="true" write="true" create="false"/>
        <role name="noacc" read="false" write="false" create="false"/>
      </security>
    </attribute>
  </mbean>

</server>
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/562113#562113]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100916/e122e930/attachment-0001.html 


More information about the jboss-user mailing list