Klaus Thiele wrote:
> 
> conclusion:
>  my definitions in ejb-jar.xml/jonas-ejb-jar.xml are ok but
>  jonas-2-1-1 currently cannot handle this (2.0 does).
> 
Hi Klaus,

I'm not agree with you.
Your definitions in ejb-jar.xml/jonas-ejb-jar.xml are NOT correct.
In the standard xml deployment descriptor, 'ejb/users' is the name
of an ejb-ref, while in the JOnAS specific deployment descriptor,
'ejb-users' is the name of a resource-ref.
There is confusion between ejb-ref and resource-ref !

Kind regards.
H�l�ne.

ejb-jar.xml:
>       <session>
>          <ejb-name>UserBean</ejb-name>
>          <ejb-ref>
> =>         <ejb-ref-name>ejb/users</ejb-ref-name> <=
>            <ejb-ref-type>Entity</ejb-ref-type>
>            <home>com.PIAG.ejb.entity.usersHome</home>
>            <remote>com.PIAG.ejb.entity.users</remote>
>            <ejb-link>usersBean</ejb-link>
>          </ejb-ref>

jonas-ejb-jar.xml:
>    <jonas-session>
>     <ejb-name>UserBean</ejb-name>
>     <jndi-name>p2001.User</jndi-name>
>     <jonas-resource>
>      <jndi-name>p2001.users</jndi-name>
> =>    <res-ref-name>ejb/users</res-ref-name> <= points to...
>     </jonas-resource>
>    </jonas-session>
-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
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