Hi alex ,

  From accessing ejb bean from separate jar,you did not need to specify
the ejblink tag.Maybe that is u problems.
  Specify ejb-link for accessing ejb bean in the same jar.

  I test to accessing ejb bean in separate jar using jboss without any
problems.Furthermore in jboss , is very simple than
  other ejb container.

  Hope that help. wt
 

alex zhanov wrote:
> 
> Hello,
> I tried to follow instructions from jboss manual with no apparent success.
> One bean(A) points to and uses another bean(B), what is suppose to go into bean(A) 
>under <ejb-ref>
> to make it to work at least deployed on the same machine? As in my case, the lookup 
>always throws
> exception.
> 
> Thanks,
> Alex
> 
> Bean A ejb-jar.xml
> ...
> <ejb-ref>
>         <ejb-ref-name>ejb/beanB</ejb-ref-name>
>         <ejb-ref-type>Session</ejb-ref-type>
>         <home>com.path.BeanBHome</home>
>         <remote>com.path.BeanB</remote>
> </ejb-ref>
> ...
> 
> jboss.xml
> ...
> <ejb-ref>
>     <ejb-ref-name>ejb/beanB</ejb-ref-name>
>     <ejb-link>jndi://localhost:1099/beanB</ejb-link>
> </ejb-ref>
> 
> --
> alex zhanov
> [EMAIL PROTECTED] - email
> 
> __________________________________________________
> FREE voicemail, email, and fax...all in one place.
> Sign Up Now! http://www.onebox.com
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to