Try looking up 'HBean' instead of 'java:comp/env/HBean'. The second form
will only work inside a container and generally (at this point) clients
(including servlets) don't run in a container.
On Thu, 15 Feb 2001, Deepak Kumar wrote:
> Hi,
>
> I have developea an EJB and calling it from the Servlet and i am getting the
> following error.
>
> Unable to resolve comp/env/HBean/ Resolved: 'comp/env' Unresolved:'HBean'
>
> Please tell me the solution of this problem
>
> Thanks in advance
> Deepak
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> ===========================================================================
> 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".
>
--
Dan Christopherson (danch)
nVisia Technical Architect (www.nvisia.com)
Opinions expressed are mine and do not neccessarily reflect any
position or opinion of nVISIA.
---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
-Eben Moglen
===========================================================================
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".