[jboss-user] [EJB/JBoss] - problem in looking up EJB 2.0 in JBoss4.0.4.GA

MmarcoM do-not-reply at jboss.com
Fri Sep 22 09:52:00 EDT 2006


hi all,
 i have deployed an .ear application that contains EJB 2.0 ejbs on jboss4.0.4.GA..
while my bUSINessDelegate looks up EJB, i always receive a ClassCastException as a result of the ejb lookup.
when i went to see what was the actual object being returned, i got that its class was $Proxy88 (which tells nothing to me.)

here' ssummaryof exception
 java.lang.ClassCastException: $Proxy88

i read some notes bout jboss4.0 not being compliant with J2EE 1.4 and some modifications needed to be done....

can anyone tell me why jboss is returning a proxy and why i cannot cast it to my bean local home?

thanks in advance and regards
 marco



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973564#3973564

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973564



More information about the jboss-user mailing list