[jboss-user] [JBoss Messaging] New message: "Error configuring DLQ and ExpiryQueue for distributed destination"

Steve Joy do-not-reply at jboss.com
Fri Mar 5 01:32:22 EST 2010


User development,

A new message was posted in the thread "Error configuring DLQ and ExpiryQueue for distributed destination":

http://community.jboss.org/message/530089#530089

Author  : Steve Joy
Profile : http://community.jboss.org/people/skr989

Message:
--------------------------------------------------------------
Can somebody help me with the DLQ and ExpiryQueue for distributed destinations? I tried with the below myqueue-service.xml.
<?xml version="1.0" encoding="UTF-8"?>
 
<!--
     Messaging Destinations deployment descriptor.
 
     $Id: destinations-service.xml 85945 2009-03-16 19:45:12Z mailto:dimitris at jboss.org $
 -->
 
<server>
   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=myErrorQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="Clustered">true</attribute>
   </mbean>
 
   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=myExpiryQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="Clustered">true</attribute>
   </mbean>
 
   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=testDistributedQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="Clustered">true</attribute>
      <attribute name="DLQ">jboss.messaging.destination:service=Queue,name=myErrorQueue</attribute>
      <attribute name="ExpiryQueue">jboss.messaging.destination:service=Queue,name=myExpiryQueue</attribute>
   </mbean>
</server>
 
When I start node1 of the Cluster, it starts fine. But when I start node2, I get the below error.
 
DEPLOYMENTS IN ERROR:
  Deployment "jboss.messaging.destination:name=myExpiryQueue,service=Queue" is in error due to the following reason(s): java.lang.IllegalArgumentException: Queue myExpiryQueue is already deployed as clustered = false so cannot redeploy as clustered=true . You must delete the destination first before redeploying
  Deployment "jboss.messaging.destination:name=myErrorQueue,service=Queue" is in error due to the following reason(s): java.lang.IllegalArgumentException: Queue myErrorQueue is already deployed as clustered = false so cannot redeploy as clustered=true . You must delete the destination first before redeploying
 
Any help on this is highly appreciated.
 
Thanks,
Steve

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/530089#530089




More information about the jboss-user mailing list