Normally with a local ref you would lookup a name like "java:comp/env/ejb/...".

Glenn Dickson wrote:

> I get a NameNotFoundException when trying to reference the local entity
> bean at this line of code
>
>
>
> java.lang.Object animalTypeRef = initial.lookup("AnimalType");
>
>
>
>
>
> The xml deployment file has the correct declarations for a local entity
> bean.
>
>
>
> Should I be using "lookup" ?
>
> If anyone can help I would really appreciate it.
>
>
>
> TIA
>
>
>
> Glenn
>


--
_______________________________________________________________________________

Evan Ireland            Sybase EAServer Engineering         [EMAIL PROTECTED]
                           Wellington, New Zealand                +64 4 934-5856

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to