0 Replies Latest reply on Aug 23, 2004 8:23 PM by desarrolladores hrs

    JBoss3.2.5 and CMP Beans don't work

    desarrolladores hrs Newbie

      I have developed a CMP entity Bean that access a table in a database in Postgres, but an error occurs.

      I have especified a postgres-ds.xml with a datasource named "JDataSourceDS" that is the jndi-name, and i copied it in server/default/deploy. On the other hand I have also copied the JDBC driver. I know that this is working OK because I've developed a BMP bean and I could access the database without problems, but I cannot do the same with CMP beans.

      I have installed JBoss Application Server 3.2.5. Do I have to install something else? It seems that the server doesn't support CMP beans...

      Here is the error

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss.j2ee:jndiName=Expedientes,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error: can't find data source: JDataSourceDS; - nested throwable: (javax.naming.NameNotFoundException: JDataSourceDS not bound)
      Cause: org.jboss.deployment.DeploymentException: Error: can't find data source: JDataSourceDS; - nested throwable: (javax.naming.NameNotFoundException: JDataSourceDS not bound)
      ObjectName: jboss.j2ee:jndiName=Expedientes,plugin=pool,service=EJB
      state: CREATED
      I Depend On:
      Depends On Me:
      -----------------

      where Expendientes is the name of the bean

      and previously the following exceptions where thrown

      -------------------
      07:50:27,470 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=Expedientes,service=EJB

      org.jboss.deployment.DeploymentException: Error: can't find data source: JDataSourceDS; - nested throwable: (javax.naming.NameNotFoundException: JDataSourceDS not bound)

      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:143)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:428)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:365)

      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147)

      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)

      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)

      at $Proxy18.start(Unknown Source)

      at org.jboss.system.ServiceController.start(ServiceController.java:367)

      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy37.start(Unknown Source)

      at org.jboss.ejb.EjbModule.startService(EjbModule.java:367)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)

      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)

      at $Proxy18.start(Unknown Source)

      at org.jboss.system.ServiceController.start(ServiceController.java:367)

      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy14.start(Unknown Source)

      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:570)

      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)

      at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy7.deploy(Unknown Source)

      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)

      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)

      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)

      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)

      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)

      at $Proxy0.start(Unknown Source)

      at org.jboss.system.ServiceController.start(ServiceController.java:367)

      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy4.start(Unknown Source)

      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)

      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy5.deploy(Unknown Source)

      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)

      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)

      at org.jboss.Main.boot(Main.java:145)

      at org.jboss.Main$1.run(Main.java:399)

      at java.lang.Thread.run(Thread.java:534)

      Caused by: javax.naming.NameNotFoundException: JDataSourceDS not bound

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)

      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)

      at javax.naming.InitialContext.lookup(InitialContext.java:347)

      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:139)

      ... 121 more

      07:50:27,800 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=Expedientes,service=EJB

      MBeanException: org.jboss.deployment.DeploymentException: Error: can't find data source: JDataSourceDS; - nested throwable: (javax.naming.NameNotFoundException: JDataSourceDS not bound)
      Cause: org.jboss.deployment.DeploymentException: Error: can't find data source: JDataSourceDS; - nested throwable: (javax.naming.NameNotFoundException: JDataSourceDS not bound)

      at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:91)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)

      at $Proxy18.start(Unknown Source)

      at org.jboss.system.ServiceController.start(ServiceController.java:367)

      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy37.start(Unknown Source)

      at org.jboss.ejb.EjbModule.startService(EjbModule.java:367)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)

      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)

      at $Proxy18.start(Unknown Source)

      at org.jboss.system.ServiceController.start(ServiceController.java:367)

      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy14.start(Unknown Source)

      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:570)

      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)

      at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy7.deploy(Unknown Source)

      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)

      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)

      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)

      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)

      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)

      at $Proxy0.start(Unknown Source)

      at org.jboss.system.ServiceController.start(ServiceController.java:367)

      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy4.start(Unknown Source)

      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)

      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)

      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

      at $Proxy5.deploy(Unknown Source)

      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)

      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)

      at org.jboss.Main.boot(Main.java:145)

      at org.jboss.Main$1.run(Main.java:399)

      at java.lang.Thread.run(Thread.java:534)

      Caused by: org.jboss.deployment.DeploymentException: Error: can't find data source: JDataSourceDS; - nested throwable: (javax.naming.NameNotFoundException: JDataSourceDS not bound)

      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:143)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:428)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:365)

      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147)

      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)

      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)

      ... 111 more

      Caused by: javax.naming.NameNotFoundException: JDataSourceDS not bound

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)

      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)

      at javax.naming.InitialContext.lookup(InitialContext.java:347)

      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:139)

      ... 121 more