Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C831B10685 for ; Tue, 5 Nov 2013 18:31:18 +0000 (UTC) Received: (qmail 21876 invoked by uid 500); 5 Nov 2013 18:31:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 21824 invoked by uid 500); 5 Nov 2013 18:31:17 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 21815 invoked by uid 99); 5 Nov 2013 18:31:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 18:31:17 +0000 Date: Tue, 5 Nov 2013 18:31:17 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AMQ-4850) NoClassDefFoundError: javax/net/ssl/SSLServerSocket (in Karaf) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4850?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 reassigned AMQ-4850: ----------------------------------------- Assignee: Jean-Baptiste Onofr=C3=A9 > NoClassDefFoundError: javax/net/ssl/SSLServerSocket (in Karaf) > -------------------------------------------------------------- > > Key: AMQ-4850 > URL: https://issues.apache.org/jira/browse/AMQ-4850 > Project: ActiveMQ > Issue Type: Bug > Components: OSGi/Karaf > Affects Versions: 5.9.0 > Environment: Oracle JDK 7u45, Karaf 2.3.3 with activemq-broker in= stalled from 5.9.0 feature > Reporter: Amichai Rothman > Assignee: Jean-Baptiste Onofr=C3=A9 > > I couldn't find a way to recreate this consistently, but after repeating = several times the following steps reproduce it: > 1. Install custom Karaf 2.3.3 from scratch. Customizations include instal= ling the activemq-broker feature using the featuresBoot configuration (alon= g with a couple other unrelated features), and a dozen or so of my applicat= ion's bundles in the deploy folder. > 2. Start Karaf - everything works fine. > 3. Shut down Karaf. > 4. Touch my application's 'common' bundle (in deploy folder). The other a= pplication bundles depend on this one. This is *not* the bundle that uses A= ctiveMQ. > 5. Start Karaf - it first starts all the app bundles (the old version I t= hink), then it picks up the modified bundle timestamp and restarts the app = bundles in what appears to be arbitrary order. This usually works, but once= in a while the app's 'bus' bundle (which connects to ActiveMQ) fails to st= art with this exception showing up in the logs. > 6. Interestingly, restarting the app or activemq bundles, or even restart= ing Karaf itself, doesn't fix things - once it enters this invalid state, i= t seems to stay stuck in it and continues with the same exception and with = the app unable to connect to ActiveMQ. However, if I shut down Karaf and on= ce again touch my app's 'common' bundle in the deploy folder and then start= up Karaf again, it restarts the app bundles and this time everything goes = back to normal, with a successful connection to ActiveMQ. So it looks like = while the first occurrence is not recreated consistently, this state is not= just a runtime thing but remains persisted somehow for as long as the app = bundle files aren't modified. > Here is the stack trace: > java.lang.NoClassDefFoundError: javax/net/ssl/SSLServerSocket > at org.apache.activemq.util.IntrospectionSupport.setProperty(Intr= ospectionSupport.java:163) > at org.apache.activemq.util.IntrospectionSupport.setProperties(In= trospectionSupport.java:151) > at org.apache.activemq.transport.failover.FailoverTransportFactor= y.createTransport(FailoverTransportFactory.java:74) > at org.apache.activemq.transport.failover.FailoverTransportFactor= y.createTransport(FailoverTransportFactory.java:63) > at org.apache.activemq.transport.failover.FailoverTransportFactor= y.doConnect(FailoverTransportFactory.java:38) > at org.apache.activemq.transport.TransportFactory.connect(Transpo= rtFactory.java:64) > at org.apache.activemq.ActiveMQConnectionFactory.createTransport(= ActiveMQConnectionFactory.java:258) > at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQCo= nnection(ActiveMQConnectionFactory.java:273) > at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQCo= nnection(ActiveMQConnectionFactory.java:246) > at org.apache.activemq.ActiveMQConnectionFactory.createConnection= (ActiveMQConnectionFactory.java:186) > ... -- This message was sent by Atlassian JIRA (v6.1#6144)