users@glassfish.java.net

Re: iiop and ssl

From: <forums_at_java.net>
Date: Wed, 4 Apr 2012 22:12:31 -0500 (CDT)

Hi, Alessandro, Looks like your xml snippets are not displayed correctly. But
from what I can gather so far, you will need to declare a ejb-ref in your
caller ejb-jar, with either ejb-jar.xml, or @EJB annotation. For example,
with ejb-jar.xml, since you are using lookup: <?xml version="1.0"
encoding="UTF-8"?> CallEjbBean ejb/BankServiceBean Session
xx.xx.xx.xx.BankService Then in your glassfish-ejb-jar.xml, map this ejb-ref
to its global jndi name: ejb/BankServiceBean
corbaname:iiop_at_192.168.0.4:3700#xx.xx.xx.BankService The xx.xx... part is the
global jndi name of your target EJB, you can find it in the target host's
server.log after deploying it. If you still see problems, pls post your test
app.

--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/884788