[
https://issues.jboss.org/browse/AS7-4377?page=com.atlassian.jira.plugin.s...
]
Heiko Braun updated AS7-4377:
-----------------------------
Description:
{noformat}
[INFO] {
[INFO] "compress-large-messages" => false,
[INFO] "failover-on-initial-connection" => false,
[INFO] "failover-on-server-shutdown" => false,
[INFO] "use-global-pools" => true,
[INFO] "address" => [
[INFO] ("subsystem" => "messaging"),
[INFO] ("hornetq-server" => "default"),
[INFO] ("connection-factory" => "test")
[INFO] ],
[INFO] "operation" => "add",
[INFO] "entries" => ["java:/testCF"],
[INFO] "connector" => ["netty"]
[INFO] }
{noformat}
leads to
{noformat}
15:28:47,269 ERROR [org.jboss.as.controller.management-operation]
(HttpManagementService-threads - 5) JBAS014612: Operation ("add") failed -
address: ([
("subsystem" => "messaging"),
("hornetq-server" => "default"),
("connection-factory" => "TestCF")
]): java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:124)
[jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.dmr.ModelNode.keys(ModelNode.java:1194)
[jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at
org.jboss.as.messaging.jms.ConnectionFactoryAdd.createConfiguration(ConnectionFactoryAdd.java:145)
at
org.jboss.as.messaging.jms.ConnectionFactoryAdd.performRuntime(ConnectionFactoryAdd.java:109)
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:466)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:121)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:309)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:299)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.domain.http.server.DomainApiHandler.processRequest(DomainApiHandler.java:294)
at org.jboss.as.domain.http.server.DomainApiHandler.doHandle(DomainApiHandler.java:201)
at org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:208)
at
org.jboss.as.domain.http.server.security.SubjectAssociationHandler.handle(SubjectAssociationHandler.java:51)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:80)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
at
org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:710)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:682)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[classes.jar:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[classes.jar:1.6.0_29]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_29]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:2.0.0.GA]
{noformat}
was:
{noformat}
[INFO] {
[INFO] "compress-large-messages" => false,
[INFO] "failover-on-initial-connection" => false,
[INFO] "failover-on-server-shutdown" => false,
[INFO] "use-global-pools" => true,
[INFO] "address" => [
[INFO] ("subsystem" => "messaging"),
[INFO] ("hornetq-server" => "default"),
[INFO] ("connection-factory" => "TestCF")
[INFO] ],
[INFO] "operation" => "add",
[INFO] "entries" => ["java:/TestCF"]
[INFO] }
{noformat}
leads to
{noformat}
15:24:04,083 ERROR [org.jboss.msc.service.fail] (pool-5-thread-2) MSC00001: Failed to
start service jboss.messaging.default.jms.connection-factory.TestCF:
org.jboss.msc.service.StartException in service
jboss.messaging.default.jms.connection-factory.TestCF: JBAS011639: Failed to create
connection-factory
at
org.jboss.as.messaging.jms.ConnectionFactoryService$1.run(ConnectionFactoryService.java:71)
[jboss-as-messaging-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[classes.jar:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[classes.jar:1.6.0_29]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_29]
Caused by: HornetQException[errorCode=104 message=Null Connector name passed to create
ConnectionFactory]
at
org.hornetq.jms.server.impl.JMSServerManagerImpl.internalCreateCFPOJO(JMSServerManagerImpl.java:1166)
[hornetq-jms-2.2.13.Final.jar:]
at
org.hornetq.jms.server.impl.JMSServerManagerImpl.internalCreateCF(JMSServerManagerImpl.java:1122)
[hornetq-jms-2.2.13.Final.jar:]
at
org.hornetq.jms.server.impl.JMSServerManagerImpl.access$1100(JMSServerManagerImpl.java:98)
[hornetq-jms-2.2.13.Final.jar:]
at
org.hornetq.jms.server.impl.JMSServerManagerImpl$3.runException(JMSServerManagerImpl.java:988)
[hornetq-jms-2.2.13.Final.jar:]
at
org.hornetq.jms.server.impl.JMSServerManagerImpl.runAfterActive(JMSServerManagerImpl.java:1666)
[hornetq-jms-2.2.13.Final.jar:]
at
org.hornetq.jms.server.impl.JMSServerManagerImpl.createConnectionFactory(JMSServerManagerImpl.java:976)
[hornetq-jms-2.2.13.Final.jar:]
at
org.jboss.as.messaging.jms.ConnectionFactoryService$1.run(ConnectionFactoryService.java:68)
[jboss-as-messaging-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
... 3 more
15:24:04,092 INFO [org.jboss.as.controller] (HttpManagementService-threads - 1)
JBAS014774: Service status report
JBAS014777: Services which failed to start: service
jboss.messaging.default.jms.connection-factory.TestCF:
org.jboss.msc.service.StartException in service
jboss.messaging.default.jms.connection-factory.TestCF: JBAS011639: Failed to create
connection-factory
{noformat}
Failed to create messaging connection factory
---------------------------------------------
Key: AS7-4377
URL:
https://issues.jboss.org/browse/AS7-4377
Project: Application Server 7
Issue Type: Bug
Components: JMS
Reporter: Heiko Braun
Assignee: Heiko Braun
Fix For: 7.1.2.Final
{noformat}
[INFO] {
[INFO] "compress-large-messages" => false,
[INFO] "failover-on-initial-connection" => false,
[INFO] "failover-on-server-shutdown" => false,
[INFO] "use-global-pools" => true,
[INFO] "address" => [
[INFO] ("subsystem" => "messaging"),
[INFO] ("hornetq-server" => "default"),
[INFO] ("connection-factory" => "test")
[INFO] ],
[INFO] "operation" => "add",
[INFO] "entries" => ["java:/testCF"],
[INFO] "connector" => ["netty"]
[INFO] }
{noformat}
leads to
{noformat}
15:28:47,269 ERROR [org.jboss.as.controller.management-operation]
(HttpManagementService-threads - 5) JBAS014612: Operation ("add") failed -
address: ([
("subsystem" => "messaging"),
("hornetq-server" => "default"),
("connection-factory" => "TestCF")
]): java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:124)
[jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.dmr.ModelNode.keys(ModelNode.java:1194)
[jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at
org.jboss.as.messaging.jms.ConnectionFactoryAdd.createConfiguration(ConnectionFactoryAdd.java:145)
at
org.jboss.as.messaging.jms.ConnectionFactoryAdd.performRuntime(ConnectionFactoryAdd.java:109)
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:466)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:121)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:309)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:299)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
at
org.jboss.as.domain.http.server.DomainApiHandler.processRequest(DomainApiHandler.java:294)
at org.jboss.as.domain.http.server.DomainApiHandler.doHandle(DomainApiHandler.java:201)
at org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:208)
at
org.jboss.as.domain.http.server.security.SubjectAssociationHandler.handle(SubjectAssociationHandler.java:51)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:80)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
at
org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:710)
at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:682)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[classes.jar:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[classes.jar:1.6.0_29]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_29]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:2.0.0.GA]
{noformat}
--
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