Hi Phuwarin,
I didn't mean to say you should use a Class.forName(), I was
suggesting that in your earlier code you should print out the name of
the class you were getting back from the InitialContext.lookup()
call. Basically what you want to do is create an InitialContext as
you have done, cal
<[EMAIL PROTECTED]To: [EMAIL PROTECTED],
rg> [EMAIL PROTECTED]
On Wednesday 06 November 2002 10:49 pm,
[EMAIL PROTECTED] wrote:
> I'm facing a problem when try to lookup to local home entity bean
> with error "java.lang.ClassCastException". But I've no problem with
> lookup to remote home.
>
> InitialContext ic = new InitialContext();
> out.print("JSP
I'm facing a problem when try to lookup to local home entity bean with
error "java.lang.ClassCastException". But I've no problem with lookup to
remote home.
InitialContext ic = new InitialContext();
out.print("JSP Done, Initial Context" + "");
Object objRef = ic.lookup("RadiusHome");