0 Replies Latest reply on Jan 30, 2002 6:17 AM by nickbuus

    instantDB not bound???

    nickbuus

      I am trying to deploy an ejb1.1 cmp entitybean but get the error that instantDB is not bound:
      Could someone please help me solve the problem.
      The server log writes this:

      Auto deploy of file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/EntityTestDeploy.jar
      [12:15:45,150,J2eeDeployer] Deploy J2EE application: file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/EntityTestDeploy.jar
      [12:15:45,210,J2eeDeployer] Create application EntityTestDeploy.jar
      [12:15:45,210,J2eeDeployer] install EJB module EntityTestDeploy.jar
      [12:15:46,310,ContainerFactory] Deploying:file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/EntityTestDeploy.jar
      [12:15:46,580,ContainerFactory] Verifying file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/EntityTestDeploy.jar/ejb1003.jar
      [12:15:46,740,ContainerFactory] UserBean: Verified.
      [12:15:46,740,ContainerFactory] Deploying UserBean
      [12:15:46,910,JRMPContainerInvoker] Container Invoker RMI Port='4444'
      [12:15:46,910,JRMPContainerInvoker] Container Invoker Client SocketFactory='Default'
      [12:15:46,910,JRMPContainerInvoker] Container Invoker Server SocketFactory='Default'
      [12:15:46,910,JRMPContainerInvoker] Container Invoker Server SocketAddr='Default'
      [12:15:46,910,JRMPContainerInvoker] Container Invoker Server sslDomain='Default'
      [12:15:46,910,JRMPContainerInvoker] Container Invoker Optimize='true'
      [12:15:47,070,EntityInstancePool] config - MaximumSize=100, strictMaximumSize=false, feederPolicy=null
      [12:15:47,180,EntityContainer] Begin java:comp/env for EJB: UserBean
      [12:15:47,180,EntityContainer] TCL: java.net.URLClassLoader@4e1bea
      [12:15:47,180,EntityContainer] End java:comp/env for EJB: UserBean
      [12:15:47,240,JRMPContainerInvoker] JRMP 1.3 CI initialized
      [12:15:47,240,JAWSPersistenceManager] Initializing JAWS plugin for UserBean
      [12:15:47,460,JAWSPersistenceManager] Loading standardjaws.xml : file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/catalina/standardjaws.xml
      [12:15:47,730,JAWSPersistenceManager] jar:file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/EntityTestDeploy.jar/ejb1003.jar!/META-INF/jaws.xml found. Overriding defaults
      [12:15:47,730,ContainerFactory] DeploymentError
      org.jboss.deployment.DeploymentException: InstantDB not bound
      at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.init(JawsApplicationMetaData.java:154)
      at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:77)
      at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:133)
      at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersistenceManager.java:83)
      at org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManager.java:110)
      at org.jboss.ejb.EntityContainer.init(EntityContainer.java:292)
      at org.jboss.ejb.Application.init(Application.java:202)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)
      [12:15:47,840,BaseLocalContainerInvoker] Cleared method maps
      [12:15:47,840,JRMPContainerInvoker] Cleared method maps
      [12:15:47,840,J2eeDeployer] Starting EntityTestDeploy.jar failed!
      [12:15:47,840,Default] org.jboss.deployment.DeploymentException: Could not deploy file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/EntityTestDeploy.jar, Cause: org.jboss.deployment.DeploymentException: InstantDB not bound
      [12:15:47,900,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:403)
      [12:15:47,900,Default]
      [12:15:47,900,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
      [12:15:47,900,Default]
      [12:15:47,900,Default] at java.lang.reflect.Method.invoke(Native Method)
      [12:15:47,900,Default]
      [12:15:47,900,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [12:15:47,900,Default]
      [12:15:47,900,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [12:15:47,900,Default]
      [12:15:47,900,Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
      [12:15:47,950,Default]
      [12:15:47,950,Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      [12:15:47,950,Default]
      [12:15:47,950,Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      [12:15:47,950,Default]
      [12:15:47,950,Default] at java.lang.reflect.Method.invoke(Native Method)
      [12:15:47,950,Default]
      [12:15:47,950,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [12:15:47,950,Default]
      [12:15:47,950,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [12:15:47,950,Default]
      [12:15:47,950,Default] at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      [12:15:47,950,Default]
      [12:15:47,950,Default] at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      [12:15:47,950,Default]
      [12:15:47,950,Default] at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      [12:15:48,010,Default]
      [12:15:48,010,Default] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      [12:15:48,010,Default]
      [12:15:48,010,Default] at java.lang.reflect.Method.invoke(Native Method)
      [12:15:48,010,Default]
      [12:15:48,010,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [12:15:48,010,Default]
      [12:15:48,010,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [12:15:48,010,Default]
      [12:15:48,010,Default] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      [12:15:48,010,Default]
      [12:15:48,010,Default] at $Proxy0.start(Unknown Source)
      [12:15:48,010,Default]
      [12:15:48,010,Default] at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      [12:15:48,060,Default]
      [12:15:48,060,Default] at java.lang.reflect.Method.invoke(Native Method)
      [12:15:48,060,Default]
      [12:15:48,060,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [12:15:48,060,Default]
      [12:15:48,060,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [12:15:48,060,Default]
      [12:15:48,060,Default] at org.jboss.Main.(Main.java:208)
      [12:15:48,060,Default]
      [12:15:48,060,Default] at org.jboss.Main$1.run(Main.java:110)
      [12:15:48,060,Default]
      [12:15:48,060,Default] at java.security.AccessController.doPrivileged(Native Method)
      [12:15:48,060,Default]
      [12:15:48,060,Default] at org.jboss.Main.main(Main.java:106)
      [12:15:48,060,Default]
      [12:15:48,120,J2eeDeployer] Module EntityTestDeploy.jar is not running
      [12:15:48,120,J2eeDeployer] Destroying application EntityTestDeploy.jar
      [12:15:48,120,AutoDeployer] DeploymentInfo failed:file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/EntityTestDeploy.jar
      org.jboss.deployment.J2eeDeploymentException: Error while starting EntityTestDeploy.jar: Could not deploy file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/EntityTestDeploy.jar, Cause: org.jboss.deployment.DeploymentException: Could not deploy file:/C:/JBoss-2.4.4/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/EntityTestDeploy.jar, Cause: org.jboss.deployment.DeploymentException: InstantDB not bound
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:518)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)