1 Reply Latest reply on Jan 5, 2006 12:51 PM by Ravi Rajamiyer

    EJB3 Client Problem

    Ravi Rajamiyer Newbie


      I created a simple StatelessSessionBean using EJB3 and deployed it in JBoss-4.0.3SP1. When I tried to invoke the bean from the client, I got the following stacktrace with a NullPointerException:

      at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalPro
      at $Proxy0.add(Unknown Source)

      I also see some wiered messages in the server.log file while the server is trying to load the ear file.

      2006-01-04 11:51:53,035 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/C:/jboss-4.0.3SP1/server/default/deploy/ejb3-sample.ear
      2006-01-04 11:51:53,051 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
      2006-01-04 11:51:53,051 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: ejb3-sample.ejb3
      2006-01-04 11:51:53,051 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/application.xml
      2006-01-04 11:51:53,066 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@94791226 { url=file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp8425ejb3-sample.ear-contents/ejb3-sample.ejb3 }
      deployer: null
      status: null
      state: CONSTRUCTED
      watch: file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp8425ejb3-sample.ear-contents/ejb3-sample.ejb3
      altDD: null
      lastDeployed: 0
      lastModified: 0

      Any idea what could be wrong?. Thanks