Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F073418FAF for ; Fri, 3 Jul 2015 20:57:04 +0000 (UTC) Received: (qmail 8723 invoked by uid 500); 3 Jul 2015 20:57:04 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 8690 invoked by uid 500); 3 Jul 2015 20:57:04 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 8680 invoked by uid 99); 3 Jul 2015 20:57:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2015 20:57:04 +0000 Date: Fri, 3 Jul 2015 20:57:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-5873) RAR connectors for nonSSL and SSL conflict with each other on Glassfish MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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. >
> 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
> 
-- This message was sent by Atlassian JIRA (v6.3.4#6332)