Hi,

I think there is a solution using the jboss.xml file. I have defined the 
UserManagement as an external ref in ejb-jar.xml:

<ejb-ref >
  |   <ejb-ref-name>ejb/UserManagement</ejb-ref-name>
  |   <ejb-ref-type>Session</ejb-ref-type>
  |   <home>session.interfaces.UserManagementHome</home>
  |   <remote>session.interfaces.UserManagement</remote>
  |   <ejb-link>UserManagement</ejb-link>
  | </ejb-ref>
  | 
I also defined in the jboss.xml:

<ejb-ref>
  |  <ejb-ref-name>ejb/UserManagement</ejb-ref-name>
  |  <jndi-name>jnp://remote:1099/ejb/UserManagement</jndi-name>
  | </ejb-ref>

or:
<ejb-ref>
  |  <ejb-ref-name>ejb/UserManagement</ejb-ref-name>
  |  <jndi-name>jnp://remote:1099/UserManagement</jndi-name>
  | </ejb-ref>

When I try to deploy I get always the error:

org.jboss.deployment.DeploymentException: Failed to resolve ejb-link: 
UserManagement make by ejb-name: ejb/UserManagement

No matter if the remote server is running or not.  If I deploy it in the same 
ear file (on the same server) it runs. It seems the jboss server ignores the 
jndi-name tag. Do I have to configure something else?

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to