[
https://issues.jboss.org/browse/AS7-618?page=com.atlassian.jira.plugin.sy...
]
Jason Greene closed AS7-618.
----------------------------
Fix Version/s: No Release
Resolution: Out of Date
This was refactored recently. I assume it is fixed
It is possible to create a bad Queue
------------------------------------
Key: AS7-618
URL:
https://issues.jboss.org/browse/AS7-618
Project: Application Server 7
Issue Type: Feature Request
Components: JMS
Affects Versions: 7.0.0.Beta2
Reporter: Heiko Rupp
Fix For: No Release
[localhost:9999 messaging] pwd
/profile=default/subsystem=messaging
[localhost:9999 messaging] ./queue=newQ:add(queue-name=newQ)
returns success
[localhost:9999 messaging] ls queue=newQ
[localhost:9999 messaging] :read-children-names(child-type=queue)
{
"outcome" => "success",
"result" => ["newQ"],
"compensating-operation" => undefined
}
Now shut down the domain and try to restart - this fails
[Host Controller] 20:39:42,134 ERROR [org.jboss.as.domain.controller] (MSC service thread
1-4) failed to start domain controller:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
[Host Controller] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:120)
[Host Controller] at
org.jboss.as.domain.controller.DomainControllerService.loadLocalDomainModel(DomainControllerService.java:186)
[Host Controller] at
org.jboss.as.domain.controller.DomainControllerService.startMasterDomainController(DomainControllerService.java:138)
[Host Controller] at
org.jboss.as.domain.controller.DomainControllerService.start(DomainControllerService.java:92)
[Host Controller] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
[Host Controller] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_24]
[Host Controller] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
[Host Controller] at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
[Host Controller] Caused by: javax.xml.stream.XMLStreamException: ParseError at
[row,col]:[242,21]
[Host Controller] Message: Missing required attribute(s): address
Respective content in the domain.xml is
<queues>
<queue name="newQ"/>
</queues>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira