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
--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]
"There's got to be more to life than compile-and-go."
----
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".