users@glassfish.java.net

Re: Call Remote EJB over SSL from WebClient

From: <glassfish_at_javadesktop.org>
Date: Mon, 26 Jul 2010 06:35:26 PDT

Both v2 and v3 are running on the same machine?

From what you said in your first post:

"But when I try to call the EJB over the port 3920 it doesn't work. The web client uses the following annotation:
@EJB(mappedName="corbaname:iiop:localhost:3920#ejb/CtrRemote")
I get the following error message:"

Do you have other ejb-ref via @EJB or <ejb-ref> descriptor element that may also cause this exception? The stacktrace seems to point to another ejb-ref:

Exception attempting to inject Remote ejb-ref name=psiCtrBeanEjb,Remote 3.x interface =ems.ebs.control.PsiCtrRemote,ejb-link=null,lookup=null,mappedName=,jndi-name=corbaname:iiop:localhost:3920#ems.ebs.control.PsiCtrRemote,refType=Session into class psigui.control.SessionBeanGeneral
[Message sent by forum member 'cf126330']

http://forums.java.net/jive/thread.jspa?messageID=478571