[jboss-jira] [JBoss JIRA] Closed: (JBAS-7913) Exception when adding HornetQ Core queues to hornetq-configuration.xml/hornetq-queues.xml

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Fri Apr 9 07:35:41 EDT 2010


     [ https://jira.jboss.org/jira/browse/JBAS-7913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil closed JBAS-7913.
-----------------------------

    Resolution: Done


fixed in the trunk

> Exception when adding HornetQ Core queues to hornetq-configuration.xml/hornetq-queues.xml
> -----------------------------------------------------------------------------------------
>
>                 Key: JBAS-7913
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7913
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JMS (HornetQ)
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>             Fix For: JBossAS-6.0.0.M3
>
>
> On a running AS server, if the user edits hornetq-configuration.xml or hornetq-queues.xml files to add or remove HornetQ Core queues, HornetQ server will generate exception when it deploys the queues which were already defined in the configuration files:
> 16:37:31,936 WARN  [org.jboss.as.integration.hornetq.deployers.pojo.HornetQCoreDeployment] Error on creating queue bar address = foo: HornetQException[errorCode=101 message=Queue bar already exists]
> 	at org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:1294) [:]
> 	at org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:676) [:]
> 	at org.jboss.as.integration.hornetq.deployers.pojo.HornetQCoreDeployment.start(HornetQCoreDeployment.java:108) [:6.0.0-SNAPSHOT]
> HornetQCodeDeployment must use HornetQServer.deployQueue() instead of createQueue() to ignore the queue if it already exists instead of throwing an exception

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list