Klaus Thiele wrote:
> 
> Hello,
> 
> i'm testing/evaluating some ejb-products (sun,ibm,inprise,weblogic,...) and now
> i think i've found the "dream-team" -> apache/resin/jonas-2.0 :)
> 
> but now the problem:
> 
> in my session-bean i tried to resolve a entity-bean:
> (works fine with other containers, fails with jonas)
> 
>       try {
>          objref = initial.lookup("java:comp/env/ejb/mandant");
>          if (verboseMode) System.out.println("== PersonBean: "+id()+" Whoow, mandant 
>resolved! ==");
>          manHome = (mandantHome)PortableRemoteObject.narrow(objref, 
>mandantHome.class);
>       } catch (Exception ex) {
> 
> >>>>
> >>>> javaURLContext: No context for this component
> >>>>
> 
> ejb-jar.xml:
>       <session>
>          <ejb-ref>
>            <ejb-ref-name>ejb/mandant</ejb-ref-name>
>            <ejb-ref-type>Entity</ejb-ref-type>
>            <home>com.PIAG.ejb.entity.mandantHome</home>
>            <remote>com.PIAG.ejb.entity.mandant</remote>
>            <ejb-link>mandantBean</ejb-link>
> ByTheWay: i must specify the "<ejb-link>"-tag - bug or feature?
>          </ejb-ref>
> 
> jonas-ejb-jar.xml:
>    <jonas-session>
>      <ejb-name>PersonBean</ejb-name>
>      <jndi-name>p2001.Person</jndi-name>
>      <jonas-resource>
>         <res-ref-name>ejb/mandant</res-ref-name>
>         <jndi-name>p2001.mandant</jndi-name>
>      </jonas-resource>
> 
> any Idea?
> thanks a lot
>   klaus

Hi Klaus,

Unfortunately, ejb references are not already implemented in
the current version of JOnAS.

Kind regards.
H�l�ne.
-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to