WLS 10.3.3: org.omg.corba.Comm_failure when testing EJB deployed on WLS, via an EJB client. (Doc ID 1266819.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.3 to 10.3.6
Information in this document applies to any platform.

Symptoms

When testing EJB deployed on WLS, via an EJB client you see the below error:

[java] javax.naming.InvalidNameException: Exception in lookup. [Root exception is org.omg.CosNaming.NamingContextPackage.InvalidName: IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0]
[java] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:49)
[java] at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:289)
[java] at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:227)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[java] at actionbazaar.buslogic.AccountCreatorClient.main(AccountCreatorClient.java:15)
[java] Caused by: org.omg.CosNaming.NamingContextPackage.InvalidName: IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0
[java] at org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read(InvalidNameHelper.java:60)
[java] at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:91)
[java] at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:267)
[java] ... 3 more


The EJB client 'actionbazaar.buslogic.AccountCreatorClient.java' call is as below:

line 14: Context context = new InitialContext();
line 15: BidderAccountCreator accountCreator = (BidderAccountCreator)context.lookup("BidderAccountCreator#actionbazaar.buslogic.BidderAccountCreator");

Changes

N/A

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms