A step further:

It seems that the ejb-ref in ejb-jar.xml is not necessary (as expected) and 
this is equivalent to specifying a @EJB annotation.

Furthermore as the two EARs use separate class loaders we need this in the 
jboss.xml


  |             <ejb-ref>
  |                 <ejb-ref-name>ejb/Esb</ejb-ref-name>
  |                 
<jndi-name>jnp://localhost:1100/someVendor/Adpater</jndi-name> 
  |             </ejb-ref>
  | 
  | 

however now I get:

Unable to inject jndi dependency: env/ejb/Adapter into field protected 
com.vendor.EsbAdapterHome test.OutflowMdb.sifHome

with a reason:

javax.naming.NameNotFoundException: com.vendor.EsbAdapterHome not bound as a 
result of org.jnp.interfaces.NamingContext.resolveLink

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to