Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-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 8E40111120 for ; Thu, 10 Jul 2014 11:44:05 +0000 (UTC) Received: (qmail 92914 invoked by uid 500); 10 Jul 2014 11:44:05 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 92882 invoked by uid 500); 10 Jul 2014 11:44:05 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 92870 invoked by uid 99); 10 Jul 2014 11:44:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 11:44:05 +0000 Date: Thu, 10 Jul 2014 11:44:05 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (KARAF-2095) Camel Route (JMS Polling) not working when installing feature "jndi" 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/KARAF-2095?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 resolved KARAF-2095. ----------------------------------------- Resolution: Fixed > Camel Route (JMS Polling) not working when installing feature "jndi" > -------------------------------------------------------------------- > > Key: KARAF-2095 > URL: https://issues.apache.org/jira/browse/KARAF-2095 > Project: Karaf > Issue Type: Bug > Components: karaf-core > Affects Versions: 2.2.9 > Environment: Windows/Linux > Reporter: Shrish Srivastava > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6 > > Attachments: jndibugtest.zip, karaf.log, wls_jmspolling.zip > > > We have a route which polls on a weblogic jms queue.If we do not have "fe= ature jndi" installed, the route work fine.On installing jndi feature,it wo= rk fine if we do not restart the container. On restarting the container it = throws following exception. > -------------------------------------------------------------------------= -- > 013-01-02 16:06:22,723 | WARN | JmsConsumer[IN] | faultJmsMessageListen= erContainer | 101 - org.springframework.jms - 3.0.7.RELEASE | Could not ref= resh JMS Connection for destination 'IN' - retrying in 5000 ms. Cause: Jndi= ObjectTargetSource failed to obtain new target object; nested exception is = javax.naming.ConfigurationException: rmiURLContextFactory.getObjectInstance= : argument must be an RMI URL String or an array of them > org.springframework.jndi.JndiLookupFailureException: JndiObjectTargetSour= ce failed to obtain new target object; nested exception is javax.naming.Con= figurationException: rmiURLContextFactory.getObjectInstance: argument must = be an RMI URL String or an array of them > -------------------------------------------------------------------------= --- > I enclosed the following files: > 1)log file for my test(karaf.log) > 2)Test project as attachment(wls_jmspolling.zip) -- This message was sent by Atlassian JIRA (v6.2#6252)