org.omg.CosNaming.NamingContextPackage.NotFound trying to look up an EJB via IIOP in JBoss EAP 7 / 6

Solution Unverified - Updated -

Issue

  • Our IIOP client application is getting org.omg.CosNaming.NamingContextPackage.NotFound trying to look up an EJB via IIOP in JBoss EAP 7 / 6 :
javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
  at com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.java:63)
  at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:515)
  at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:555)
  at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:532)
  at javax.naming.InitialContext.lookup(InitialContext.java:417)
  at com.fhlbny.customer.client.CpmBackupRunner.main(CpmBackupRunner.java:83)
Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
  at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
  at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:251)
  at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:501)
  ... 4 more

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content