Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-5873

RAR connectors for nonSSL and SSL conflict with each other on Glassfish

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.11.0
    • Fix Version/s: None
    • Component/s: Connector
    • Labels:
      None
    • Environment:

      Glassfish 3.x

      Description

      Exception caused when trying to load the SSL connector when multiple activemq.rar connectors are deployed to Glassfish 3.x instance.

      <pre>
      SEVERE: Failed to connect to broker [ssl://localhost:61617]: Could not create Transport. Reason: java.io.IOException: Transport scheme NOT recognized: [ssl]
      javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException: Transport scheme NOT recognized: [ssl]
      at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
      at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:252)
      at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:265)
      at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:191)
      at org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:133)
      at org.apache.activemq.ra.ActiveMQEndpointWorker$1.run(ActiveMQEndpointWorker.java:107)
      at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:114)
      at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
      at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
      Caused by: java.io.IOException: Transport scheme NOT recognized: [ssl]
      at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
      at org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:196)
      at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:66)
      at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:250)
      ... 7 more
      Caused by: java.lang.ClassCastException: org.apache.activemq.transport.tcp.SslTransportFactory cannot be cast to org.apache.activemq.transport.TransportFactory
      at org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:193)
      ... 9 more
      </pre>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cjnygard Carl Nygard
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: