0 Replies Latest reply on Nov 21, 2012 9:13 AM by somostetoikilato

    omg.org.CosNaming.NamingContext_package.NotFound

    somostetoikilato

      Hi,

       

      I am using JBoss AS 7.1 with standalone-full configuration (with JacORB enabled).

       

      My J2EE application (my_app.ear) contains an EJB3 JAR (ejb3_jar.jar) amd this contains a stateless EJB3 (MyEjb3).

      After the deployment I can see the following JNDI bindings:

       

      java:global/my_app/ejb3_jar/MyEjb3!my_ejb3.intf.IMyEjb3Home

      java:app/ejb3_jar/MyEjb3!my_ejb3.intf.IMyEjb3Home

      java:module/MyEjb3!my_ejb3.intf.IMyEjb3Home

      java:jboss/exported/my_app/ejb3_jar/MyEjb3!my_ejb3.intf.IMyEjb3Home

      java:global/my_app/ejb3_jar/MyEjb3!my_ejb3.intf.IMyEjb3Remote

      java:app/ejb3_jar/MyEjb3!my_ejb3.intf.IMyEjb3Remote

      java:module/MyEjb3!my_ejb3.intf.IMyEjb3Remote

      java:jboss/exported/my_app/ejb3_jar/MyEjb3!my_ejb3.intf.IMyEjb3Remote

      java:global/my_app/ejb3_jar/MyEjb3!iiop.msg3.MyEjb3

      java:app/ejb3_jar/MyEjb3!iiop.msg3.MyEjb3

      java:module/MyEjb3!iiop.msg3.MyEjb3

       

      Now when I try to access the bean using corbaloc the .NET client fails, returning "omg.org.CosNaming.NamingContext_package.NotFound".

       

      In the console all what I can see is:

       

      14:44:56,672 INFO  [jacorb.orb.iiop] (ServerSocketListener) Opened new server-side TCP/IP transport to 127.0.0.1:62094

      14:44:56,718 INFO  [jacorb.orb.iiop] (ServerMessageReceptor1) Closed server-side transport to 127.0.0.1:62094

       

      The used name (according to https://docs.jboss.org/author/display/AS71/JNDI+Reference#)  is:

       

      ejb:my_app/ejb3_jar/MyEjb3!iiop.msg3.MyEjb3

       

      Can somebody help me with this issue?

      Thank you.

       

      SK