2 Replies Latest reply on Aug 21, 2002 3:39 AM by Brendan Murphy

    Problem with deploying & testing EJBs

    Brendan Murphy Newbie

      Hi,

      I'm new to EJBs and JBoss so any help would be greatly appreciated.

      I'm working with JBuilder 6 and I've created 3 entity beans (BMP) and 1 stateless session bean.

      When I deploy ejb.jar all seems to go well except for the following warnings:


      2002-08-20 10:44:06,277 INFO [org.jboss.ejb.EJBDeployer]
      Bean : Material
      Section: 12.2.2
      Warning: null

      2002-08-20 10:44:06,297 INFO [org.jboss.ejb.EJBDeployer]
      Bean : MaterialVariant
      Section: 12.2.2
      Warning: null

      2002-08-20 10:44:06,307 INFO [org.jboss.ejb.EJBDeployer]
      Bean : MaterialType
      Section: 12.2.2
      Warning: null



      If I ignore the above warnings and proceed to run a test client using my entity beans, all System.out.println's do not get printed on the JBoss terminal. Also, the following errors get thrown in JBuilder:

      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
      java.rmi.ServerException: Could not instantiate bean; nested exception is:
      java.lang.InstantiationException; nested exception is:
      java.rmi.ServerException: Could not instantiate bean; nested exception is:
      java.lang.InstantiationException

      java.rmi.ServerException: Could not instantiate bean; nested exception is:
      java.lang.InstantiationException; nested exception is:
      java.rmi.ServerException: Could not instantiate bean; nested exception is:
      java.lang.InstantiationException



      Does anyone have any idea what I am doing wrong? Thanks.