[jboss-user] [JNDI and Naming] - omg.org.CosNaming.NamingContext_package.NotFound
Somostetoi Kilato
do-not-reply at jboss.com
Wed Nov 21 09:13:55 EST 2012
Somostetoi Kilato [https://community.jboss.org/people/somostetoikilato] created the discussion
"omg.org.CosNaming.NamingContext_package.NotFound"
To view the discussion, visit: https://community.jboss.org/message/777731#777731
--------------------------------------------------------------
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 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
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/777731#777731]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121121/8dbfcdf1/attachment-0001.html
More information about the jboss-user
mailing list