0 Replies Latest reply on May 21, 2003 4:38 PM by luisfpg

    EJB Method Invocation Error

    luisfpg Newbie

      Hi guys!

      I have the following problem:

      I'm writing a framework, so I need some EJB operations to be flexible.

      I have an interface for the entity beans. For loading an object, for example, I call data.load, wich does the following:

      get the Entity Bean home;
      call, via reflection, the findByPrimaryKey method;
      return the result.

      When I use that interface outside JBoss, it runs fine, but when I run it on a Session Bean, and try the reflection method call, I get a EJBException:
      Invalid invocation, check your deployment packaging, method=public final dbserver.piloto.persistence.ejb.usertype.UserType $Proxy282.findByPrimaryKey(java.lang.Long) throws java.rmi.RemoteException,javax.ejb.FinderException.

      Is there any issue about reflection method invocations on JBoss?