[jboss-user] [Beginners Corner] - Re: invoking an EJB over iiop

HibsMax do-not-reply at jboss.com
Mon Jun 4 18:12:36 EDT 2007


I don't know if this helps but when I change my EJB Home name from:
iiop/interop.InteropHome
to
iiop/interop.InteropHome/remote

when the servlet tries to access it I get this error message:
18:05:07,560 ERROR [orb] no adapter activator exists for EJBHome&%interop.InteropHome
  | 18:05:07,598 ERROR [STDERR] javax.naming.NotContextException: IOR:0000000000000041524D493A7765626C6F6769632E71612E74657374732E656A6232302E696E7465726F702E496E7465726F70486F6D653A30303030303030303030303030303030000000000000000200000000000000D4000102000000000F3137322E31382E3133362E31323800000DC80000000000284A426F73732F454A42486F6D652625696E7465726F702E496E7465726F70486F6D652FACED000570000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000001900000034000000000000002C687474703A2F2F7261703A383038332F576562434C5B696E7465726F702E496E7465726F704265616E5D2F000000002000000004000000000000001F0000000400000003000000010000005C00000000000000030000001900000034000000000000002C687474703A2F2F7261703A383038332F576562434C5B696E7465726F702E496E7465726F704265616E5D2F000000002000000004000000000000001F0000000400000003 is not a Context

This makes no sense to me since I am not expecting a Context.  I'm expecting a reference to an EJB to be found in the Context.  Removing the trailing /remote from the EJB name gets me back to where I was before i.e. a Null being returned when processing the PortableRemoteObject.narrow method.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051130#4051130

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051130



More information about the jboss-user mailing list