Thanx
----- Original Message -----
From: "Maris Orbidans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 11:29 PM
Subject: RE: [JBoss-user] Local interface problem


hi

You should have  <ejb-local-ref> instead of <ejb-ref> in depl. descriptor.

for example:

<ejb-local-ref>
                <description />
                <ejb-ref-name>BackEndSession</ejb-ref-name>
                <ejb-ref-type>Session</ejb-ref-type>

<local-home>localinterfaces.BackEndSessionLocalHome</local-home>
                <local>localinterfaces.BackEndSessionLocal</local>
                <ejb-link>BackEndSession</ejb-link>
</ejb-local-ref>

You can get full example of local interfaces from:

http://www.datapro.lv/~mariso/ejb/LocalInterfaces.zip


regards,
Maris Orbidans

> -----Original Message-----
> From: Vijay@winfoware [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 5:05 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Local interface problem
>
>
> Hi friends,
>
>     How to access Entity Bean from Session Bean Using Local interface.
>
>     ejb-jar.xml is attached and in session bean when i lookup it give
> following error
>     "[INFO,Default] javax.naming.NameNotFoundException:
> CDBean not bound
> [ERROR,CDCollectionBean] TRANSACTION ROLLBACK EXCEPTION"
>
> Thanks.
> Vijay
>


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to