activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5873) RAR connectors for nonSSL and SSL conflict with each other on Glassfish
Date Fri, 03 Jul 2015 20:57:04 GMT

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

ASF GitHub Bot commented on AMQ-5873:
-------------------------------------

GitHub user cjnygard reopened a pull request:

    https://github.com/apache/activemq/pull/126

    Fix class loading issues for SSL/nonSSL connectors

    - This resolves issues loading SSL and nonSSL RAR connectors in Glassfish 3.x
    - proposed fix for AMQ-5873

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cjnygard/activemq fix-ssl-connector-classload-glassfish

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq/pull/126.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #126
    
----
commit cddc89c5680c6664ff29b8fde1443dee58bb7e5b
Author: cjnygard <cjnygard@users.noreply.github.com>
Date:   2015-07-03T20:48:47Z

    Fix class loading issues for SSL/nonSSL connectors
    
    - This resolves issues loading SSL and nonSSL RAR connectors in Glassfish 3.x
    - proposed fix for AMQ-5873

----


> 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
>
> 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
(v6.3.4#6332)

Mime
View raw message