1 Reply Latest reply on Apr 19, 2005 3:03 PM by felandres

    ClassCastException invoking LocalHome finder methods on BMPs

    felandres

      Hi all (again...),

      I'm having problems on invoking BMPs finder-methods (only those that returns various Value Objects within a Collection) through their local home interface. If I call them from the home interface it works pretty fine, but when I call from the local home I get a ClassCastException...
      I'm using a Stateless Session Bean to encapsulate the business logic, so they're in the same VM.

      PS: I also tried to call a testing method in the (Facade) Session Bean that referenciates the local home interface of the EJBs, but I got the same error.

      I didn't find any reason for this...
      Any help is very welcome!

      Thankx.