Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 22247 invoked from network); 8 Mar 2007 21:49:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 21:49:21 -0000 Received: (qmail 63749 invoked by uid 500); 8 Mar 2007 21:49:20 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 63658 invoked by uid 500); 8 Mar 2007 21:49:19 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 63602 invoked by uid 99); 8 Mar 2007 21:49:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 13:49:19 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.1.189] (HELO exprod6og54.obsmtp.com) (64.18.1.189) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 08 Mar 2007 13:49:06 -0800 Received: from source ([66.46.195.131]) by exprod6ob54.postini.com ([64.18.5.12]) with SMTP; Thu, 08 Mar 2007 13:48:04 PST Subject: Yoko CORBA and Naming Service To: user@geronimo.apache.org X-Mailer: Lotus Notes Release 7.0 August 18, 2005 Message-ID: From: Aman Nanner/MxI Technologies Date: Thu, 8 Mar 2007 16:48:38 -0500 X-MIMETrack: Serialize by Router on Oceanus/MxI Technologies(Release 7.0|August 18, 2005) at 03/08/2007 04:48:41 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm testing out a message bridge connection between an ActiveMQ topic in Geronimo, and a topic in Weblogic. I'm running into a CORBA issue when the Geronimo server starts up and attempts to establish the message bridge. In order to make this work, I've placed the necessary Weblogic client libraries in the classpath. Weblogic uses CORBA as its protocol for communication. When Geronimo starts up the ActiveMQ broker, it launches the Weblogic code to create the ORB. In this case, the Yoko ORB is used. The error occurs when there is an attempt to resolve the "NamingService". The reference cannot be resolved because the Naming Service does not exist in the list of services for the ORB. I did a bit of research and debugging and it seems that the Name Service that is used by Yoko is some kind of "transient" name service. I'm not aware what this means and if this is the cause of the problem. If so, is there a way to resolve this issue? Below is the stacktrace of the error that occurs. javax.naming.InvalidNameException: Couldn't resolve initial reference: NameService [Root exception is org.omg.CORBA.ORBPackage.InvalidName: IDL:omg.org/CORBA/ORB/InvalidName:1.0] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:52 ) at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry( ORBHelper.java:572) at weblogic.corba.j2ee.naming.ORBHelper.getORBReference( ORBHelper.java:532) at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext( InitialContextFactoryImpl.java:85) at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext( InitialContextFactoryImpl.java:31) at weblogic.jndi.WLInitialContextFactory.getInitialContext( WLInitialContextFactory.java:41) at javax.naming.spi.NamingManager.getInitialContext( NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx( InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:197) at org.springframework.jndi.JndiTemplate.createInitialContext( JndiTemplate.java:105) at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:83 ) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121 ) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146 ) at org.apache.activemq.network.jms.JmsTopicConnector.initializeForeignTopicConnection( JmsTopicConnector.java:202) .... Caused by: org.omg.CORBA.ORBPackage.InvalidName: IDL:omg.org/CORBA/ORB/InvalidName:1.0 at org.apache.yoko.orb.OB.InitialServiceManager.resolveInitialReferences( InitialServiceManager.java:177) at org.apache.yoko.orb.OBCORBA.ORB_impl.resolve_initial_references( ORB_impl.java:1087) at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry( ORBHelper.java:561) ... 60 more __________________________________________________________________________________ * This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose the message or any information contained in the message. If you have received this message in error, please advise the sender by reply e-mail , and delete the message, or call (collect) 001 613 747 4698. *