Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4414

In domain mode, JBoss crashes when defining a hornetq connector (not netty's connector)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.2.Final (EAP)
    • 7.1.1.Final
    • JMS
    • None
    • Workaround Exists
    • Hide

      As Andy mentioned, the correct way to do this is to use a <netty-connector> with a corresponding <outgoing-socket-binding>

      <connector> is a generic configuration in case users wants to provide the own connector factory (other than netty or in-vm)

      Show
      As Andy mentioned, the correct way to do this is to use a <netty-connector> with a corresponding <outgoing-socket-binding> <connector> is a generic configuration in case users wants to provide the own connector factory (other than netty or in-vm)

    Description

      Defining a hornetq connector like this
      <connector name="connector">
      <factory-class>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory</factory-class>
      <param key="host" value="192.168.1.2"/>
      <param key="port" value="5445"/>
      </connector>

      will works in standalone, but not in domain mode.

      The following error is thrown:

      [Server:server-one] 17:27:12,270 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 15) Operation ("add") failed - address:
      ([
      [Server:server-one] ("subsystem" => "messaging"),
      [Server:server-one] ("hornetq-server" => "default"),
      [Server:server-one] ("connector" => "connector")
      [Server:server-one] ]) - failure description: "JBAS014746: factory-class may not be null"

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              lgangloff Loïc Gangloff (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: