You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2021/03/03 16:44:00 UTC

[jira] [Commented] (AMQ-5873) RAR connectors for nonSSL and SSL conflict with each other on Glassfish

    [ https://issues.apache.org/jira/browse/AMQ-5873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17294651#comment-17294651 ] 

Matt Pavlovich commented on AMQ-5873:
-------------------------------------

Is this still an issue with 5.16.x? 

Curious that the casting fails considering:

org.apache.activemq.transport.tcp.SslTransportFactory extends
  + org.apache.activemq.transport.tcp.TcpTransportFactory extneds
        + org.apache.activemq.transport.TransportFactory


This ticket is marked close-pending. If this ticket is not updated in 30 days, it will be closed for inactivity.



> RAR connectors for nonSSL and SSL conflict with each other on Glassfish
> -----------------------------------------------------------------------
>
>                 Key: AMQ-5873
>                 URL: https://issues.apache.org/jira/browse/AMQ-5873
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>    Affects Versions: 5.11.0
>         Environment: Glassfish 3.x
>            Reporter: Carl Nygard
>            Assignee: Matt Pavlovich
>            Priority: Major
>              Labels: close-pending
>
> 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>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)