[jboss-jira] [JBoss JIRA] (AS7-5441) Input for HQ that the api accepts makes the server crash on reload or restart
Heiko Rupp (JIRA)
jira-events at lists.jboss.org
Tue Aug 28 10:09:15 EDT 2012
Heiko Rupp created AS7-5441:
-------------------------------
Summary: Input for HQ that the api accepts makes the server crash on reload or restart
Key: AS7-5441
URL: https://issues.jboss.org/browse/AS7-5441
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.2.Final (EAP)
Reporter: Heiko Rupp
Assignee: Brian Stansberry
Priority: Critical
The following will get the server to not reload/restart. Even if the input is considered valid by the server. Needs a -full.xml configuration to include HornetQ.
[standalone at localhost:9999 connection-factory=InVmConnectionFactory] pwd
/subsystem=messaging/hornetq-server=default/connection-factory=InVmConnectionFactory
[standalone at localhost:9999 connection-factory=InVmConnectionFactory] :read-attribute(name=connector)
{
"outcome" => "success",
"result" => {"in-vm" => undefined}
}
[standalone at localhost:9999 connection-factory=InVmConnectionFactory] :read-attribute(name=discovery-group-name)
{
"outcome" => "success",
"result" => undefined
}
[standalone at localhost:9999 connection-factory=InVmConnectionFactory] :write-attribute(name=discovery-group-name,value=blabla)
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
[standalone at localhost:9999 connection-factory=InVmConnectionFactory] /:reload
{"outcome" => "success"}
[standalone at localhost:9999 connection-factory=InVmConnectionFactory] /:read-attribute(name=name)
Failed to perform read-operation-description to validate the request: java.net.ConnectException: JBAS012144: Konnte keine Verbindung mit remote://localhost:9999 herstellen. Timeout der Verbindung
AS7 console log shows
10:03:49,540 ERROR [org.jboss.as.server] JBAS015956: Exception aufgetreten während des Hochfahrens: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Parsen der Konfiguration fehlgeschlagen
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at org.jboss.as.server.ServerService.boot(ServerService.java:270) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:156) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0-b24]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[275,25]
Message: JBAS011646: Ungültiges Element connectors: kann nict verwendet werden, wenn discovery-group-ref verwendet wird
at org.jboss.as.messaging.MessagingSubsystemParser.checkOtherElementIsNotAlreadyDefined(MessagingSubsystemParser.java:2357)
at org.jboss.as.messaging.Messaging12SubsystemParser.createConnectionFactory(Messaging12SubsystemParser.java:75)
--
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
More information about the jboss-jira
mailing list