geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Nanner/MxI Technologies <>
Subject Yoko CORBA and Naming Service
Date Thu, 08 Mar 2007 21:48:38 GMT


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:]
      at weblogic.corba.j2ee.naming.Utils.wrapNamingException(
      at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(
      at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(
      at weblogic.jndi.WLInitialContextFactory.getInitialContext(
      at javax.naming.spi.NamingManager.getInitialContext(
      at javax.naming.InitialContext.getDefaultInitCtx(
      at javax.naming.InitialContext.init(
      at javax.naming.InitialContext.<init>(
      at org.springframework.jndi.JndiTemplate.createInitialContext(
      at org.springframework.jndi.JndiTemplate.execute(
      at org.springframework.jndi.JndiTemplate.lookup(
      at org.springframework.jndi.JndiTemplate.lookup(
Caused by: org.omg.CORBA.ORBPackage.InvalidName:
      at org.apache.yoko.orb.OBCORBA.ORB_impl.resolve_initial_references(
      at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(
      ... 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. *

View raw message