<div dir="ltr"><div>Oops, disregard that, looks like it is actually not defined in any of our pre-defined modules.<br><br></div><div>What is the full stack trace you get when you include the path in your jboss-deployment-structure.xml ? (and what does this file look like)<br></div><div><br></div>Stuart<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 15 Feb 2016 at 09:44 Stuart Douglas <<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>You should be able to use this if you have a dependency on the sun.jdk module.<br><br></div></div><div dir="ltr">Stuart<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 15 Feb 2016 at 09:41 Michael Musgrove <<a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I am attempting to lookup a remote EJB from WildFly to WLS.</div><div><br></div><div>If I use COSNaming as required by [1] (by setting INITIAL_CONTEXT_FACTORY to "com.sun.jndi.cosnaming.CNCtxFactory") I get the following error on the WildFly end:</div><div> "ClassNotFoundException: com.sun.jndi.cosnaming.CNCtxFactory"</div><div><br></div><div>If I use the default wildfly name service (new InitialContext().lookup("corbaname:iiop:localhost:7001/NameService#SessionBean")) I get the following error on the WLS end (presumably because I am not using CNCtxFactory):</div><div> "A RuntimeException was generated by the RMI server: weblogic.corba.cos.naming.RootNamingContextImpl.resolve([Lorg.omg.CosNaming.NameComponent"</div><div><br></div><div>I did try adding the CosNaming dependency (<path name="com/sun/jndi/cosnaming"/>) to modules/system/layers/base/sun/jdk/main/module.xml or to jboss-deployment-structure.xml in my deployment but that approach did not work.</div><div><br></div><div> </div><div>[1] row 3 of Table 2-1 in <a href="https://docs.oracle.com/cd/E13222_01/wls/docs81/rmi_iiop/rmiiiop2.html" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:orange" target="_blank">https://docs.oracle.com/cd/E13222_01/wls/docs81/rmi_iiop/rmiiiop2.html</a></div><div><br></div>-- <br><div><div dir="ltr"><div>Michael Musgrove</div><div>Transactions Team</div><div>e: <a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a></div><div>t: +44 191 243 0870</div><div><br></div><div>Registered in England and Wales under Company Registration No. 03798903</div><div>Directors: Michael Cunningham (US), Paul Hickey (Ireland), Matt Parson</div><div>(US), Charles Peters (US)</div><div><br></div><div>Michael Cunningham (US), Charles Peters (US), Matt Parson (US), Michael O'Neill(Ireland)</div></div></div>
</div>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></blockquote></div></blockquote></div>