Re: [JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-07 Thread Neal Sanche
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

Re: [JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-06 Thread Phuwarin . Supawarapong
<[EMAIL PROTECTED]To: [EMAIL PROTECTED], rg> [EMAIL PROTECTED]

Re: [JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-06 Thread Neal Sanche
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

[JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-06 Thread Phuwarin . Supawarapong
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");