This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

Corba ORB exception while creating InitialContext

Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This may be slightly off topic, but I could desperately use some help. I am adding a standalone ejb client to an existing project. The project has some corba ORB stuff going on somewhere which is used for setting retrieval (this is not a subject I'm very familiar). My client connects (attempts to connect) to a Glassfish V2 instance on a separate machine. I get the below stack trace when I try to create an InitialContext. In order to confirm this isn't a classpath or properties or whatever else issue, I created a dummy program, which runs in the same environment with the same classpath settings as the client. The dummy just contains a main method that creates an InitialContext for my glassfish instance, and the dummy is successful.

Any thoughts or advice would be greatly appreciated.

warning: ORB.init: initializer class com.sun.enterprise.iiop.J2EEInitializer not found
warning: ORB.init: initializer class com.sun.enterprise.iiop.FailoverIORInterceptor not found
Jan 7, 2009 12:55:38 PM com.sun.enterprise.util.ORBManager initORB
SEVERE: UTIL6009:Unexcpected Exception in createORB.
at com.ooc.OB.InitialServiceManager.resolveInitialReferences(Unknown Source)
at com.ooc.OBCORBA.ORB_impl.resolve_initial_references(Unknown Source)
at com.sun.enterprise.util.ORBManager.initORB(
at com.sun.enterprise.util.ORBManager.getORB(
at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(
at javax.naming.spi.NamingManager.getInitialContext(
at javax.naming.InitialContext.getDefaultInitCtx(
at javax.naming.InitialContext.init(
at javax.naming.InitialContext.<init>(

Posts: 580
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Your best bet is to pursue this in the GlassFish forums.

Off hand, it looks like a clustering mis-configuration or some kind of network/routing issue. The other possibility is that is not set correctly or you aren't connecting to the right JNDI instance somehow.

Sorry can't help you further,
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to pass the following parameters -

The code above assumes default binding in the RMI registry. Refer to glassfish docs for more information.

I hope this helps.

You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic