7 Replies Latest reply on Oct 5, 2006 5:06 PM by Wing Kwok

    problem in looking up EJB 2.0 in JBoss4.0.4.GA

    Marco Novice

      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