Skip to content

Failed to initialize the ORB Exception

September 16, 2009

Recently I was working with some EJBs. I use Web Sphere 6.1 as the EJB container. And in the lookup jndi method I encountered an exception “Failed to initialize the ORB Exception”. My application also has a
Jboss version also and it worked fine. So after some searchings I have found that I have to add some VM parameters to do the work. So addition of following parameters solved the problem.

org.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB
org.omg.CORBA.ORBSingletonClass=com.ibm.rmi.corba.ORBSingleton
javax.rmi.CORBA.StubClass=com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl
javax.rmi.CORBA.PortableRemoteObjectClass=com.ibm.rmi.javax.rmi.PortableRemoteObject
javax.rmi.CORBA.UtilClass=com.ibm.ws.orb.WSUtilDelegateImpl

My IDE was JIdea. When I tried to run the application in JIdea, I have encounterd the same problem gin. I tried adding VM parametrs in Edit Configuration window. But it never worked. I still looking for a solution.
But as a temporary fix, I used the IBM JVM provided with the web sphere installation and it solved the problem for now.

Advertisement

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.