2 Replies Latest reply on Jun 26, 2002 7:37 PM by Troy DesBarres

    I dont understand: "Could not instantiate bean"

    Joao Clemente Newbie

      I'm trying to use an app that has a session and and entity bean. The session works fine and I can fill in a form with values that will get in the entity bean.
      When I submit the form, the entity bean gives out an error.

      I think that something is wrong in some descriptor file regarding to this entity bean (or maybe I need a jwas.xml file that I don't have) cause this is running fine in a Sun reference implementation machine.

      The error I get is

      [ERROR,MemberEJB] TRANSACTION ROLLBACK EXCEPTION:
      javax.transaction.TransactionRolledbackException: Could not instantiate bean; nested exception is:
      java.lang.InstantiationException: puc/enterprise/MemberBean; nested exception is:
      java.rmi.ServerException: Could not instantiate bean; nested exception is:
      java.lang.InstantiationException: puc/enterprise/MemberBean
      java.rmi.ServerException: Could not instantiate bean; nested exception is:
      java.lang.InstantiationException: puc/enterprise/MemberBean



      As U see, I get a lot of "Could not instatiate bean" an therefore I think this is somewhat related or to Jaws...

      Anyone has seen this kind of error?