[jboss-jira] [JBoss JIRA] (AS7-4377) Failed to create messaging connection factory

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Tue Apr 3 09:41:47 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681293#comment-12681293 ] 

Jeff Mesnil edited comment on AS7-4377 at 4/3/12 9:40 AM:
----------------------------------------------------------

to create a connection factory, you must either pass a connector name or a discovery group name.

When we build the model node, we do not validate this while we could return an understandable exception to the user.
We need to fix it in ConnectionFactoryAdd.createConfiguration()
                
      was (Author: jmesnil):
    to create a connection factory, you must either pass a connector name or a discovery group name.

When we build the model node, we do not validate this and returns a understandable exception to the user.
We need to fix it in ConnectionFactoryAdd.createConfiguration()
                  
> 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" => "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}

--
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