I meant within the <session> tag in ejb-jar.xml I shouldn't need 
something like the following:
<ejb-ref>
        <ejb-ref-name>blah</ejb-ref-name>
        <ejb-ref-type>Entity</ejb-ref-type>
        <home>blahHome</home>
        <remote>blahEJB</remote>
</ejb-ref>
I should only need this if I'm trying to refer to an EJB in a different
jar file? I might then need the ejb-link tag aswell. 
But anyhow, I did put these in just to check, but it didn't make any 
difference. 

I guess I didn't explain things very well below. The beans all work,
I can look them all up and use them from the associated web application
and Orion doesn't grumble about anything on start up. It's only the bean 
to bean lookup that fails. This is why I'm confused as to what is going on. 

Chris. 
 

-----Original Message-----
From: Magnus Rydin [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2002 12:00
To: Orion-Interest
Subject: SV: javax.naming.NameNotFoundException


Hi Chris,

You only need a application-client.xml for your application-clients.

Your EJBs DO want to have references to any resources they are to use in
their ejb-jar.xml entries.
Why did you NOT put them there (ie what are you refering when you say that
you dont need to) ?

WR

> -----Ursprungligt meddelande-----
> Från: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]För Chris Francis
> Skickat: den 22 januari 2002 12:21
> Till: Orion-Interest
> Ämne: FW: javax.naming.NameNotFoundException
>
>
>
>
> Hi All,
> I'm tearing my hair out trying to get this to work.
> I have a couple of entity beans and a session bean.
> Everything deploys OK. The session needs to access the
> two entities. I've seen the examples but they look to be
> the same as what I've got. The ejb's are not in a jar but
> all live in the same package hence directory. This means
> I shouldn't need ejb-ref tags within my ejb-jar.xml, and
> I shouldn't need a application-client.xml at all. However,
> it appears to make little difference as to whether they are
> there or not. So it's something else. The only thing is,
> I've run out of ideas! Anyone out there suggest something?
>
> Chris.


Reply via email to