6 Replies Latest reply on Apr 30, 2002 1:02 PM by nrichards

    DeploymentException - database not bound

    nrichards Novice

      Hi,

      I'm pretty new to JBoss, and although I have now figured out how to get JDBC working with SQLAnywhere, I'm having trouble deploying an entity bean for the same database (called stb). I'm guessing my jboss.jcml is ok, but have no idea where the problem may lie.
      Here's the relevant log entries - I've also included my ejb-jar.xml, jaws.xml, and jboss.jcml. Could someone tell me where I'm going wrong ?

      Many thanks,
      Neil

      [17:31:06,270,AutoDeployer] Auto deploy of file:/C:/JBoss-2.4.4/deploy/HotelEJB.jar
      [17:31:06,330,J2eeDeployer] Deploy J2EE application: file:/C:/JBoss-2.4.4/deploy/HotelEJB.jar
      [17:31:06,330,J2eeDeployer] Create application HotelEJB.jar
      [17:31:06,330,J2eeDeployer] install EJB module HotelEJB.jar
      [17:31:06,760,ContainerFactory] Deploying:file:/C:/JBoss-2.4.4/tmp/deploy/Default/HotelEJB.jar
      [17:31:06,870,ContainerFactory] Verifying file:/C:/JBoss-2.4.4/tmp/deploy/Default/HotelEJB.jar/ejb1002.jar
      [17:31:06,930,ContainerFactory] HotelEJB: Verified.
      [17:31:06,930,ContainerFactory] Deploying HotelEJB
      [17:31:06,980,JRMPContainerInvoker] Container Invoker RMI Port='4444'
      [17:31:06,980,JRMPContainerInvoker] Container Invoker Client SocketFactory='Default'
      [17:31:06,980,JRMPContainerInvoker] Container Invoker Server SocketFactory='Default'
      [17:31:06,980,JRMPContainerInvoker] Container Invoker Server SocketAddr='Default'
      [17:31:06,980,JRMPContainerInvoker] Container Invoker Server sslDomain='Default'
      [17:31:06,980,JRMPContainerInvoker] Container Invoker Optimize='true'
      [17:31:07,090,EntityInstancePool] config - MaximumSize=100, strictMaximumSize=false, feederPolicy=null
      [17:31:07,150,EntityContainer] Begin java:comp/env for EJB: HotelEJB
      [17:31:07,150,EntityContainer] TCL: java.net.URLClassLoader@14a18d
      [17:31:07,150,EntityContainer] End java:comp/env for EJB: HotelEJB
      [17:31:07,200,JRMPContainerInvoker] JRMP 1.3 CI initialized
      [17:31:07,200,JAWSPersistenceManager] Initializing JAWS plugin for HotelEJB
      [17:31:07,310,JAWSPersistenceManager] Loading standardjaws.xml : file:/C:/JBoss-2.4.4/conf/default/standardjaws.xml
      [17:31:07,420,JAWSPersistenceManager] jar:file:/C:/JBoss-2.4.4/tmp/deploy/Default/HotelEJB.jar/ejb1002.jar!/META-INF/jaws.xml found. Overriding defaults
      [17:31:07,420,ContainerFactory] DeploymentError
      org.jboss.deployment.DeploymentException: stb 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)
      [17:31:07,480,BaseLocalContainerInvoker] Cleared method maps
      [17:31:07,480,JRMPContainerInvoker] Cleared method maps
      [17:31:07,480,J2eeDeployer] Starting HotelEJB.jar failed!
      [17:31:07,530,Default] org.jboss.deployment.DeploymentException: Could not deploy file:/C:/JBoss-2.4.4/tmp/deploy/Default/HotelEJB.jar, Cause: org.jboss.deployment.DeploymentException: stb not bound
      [17:31:07,530,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:403)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at java.lang.reflect.Method.invoke(Native Method)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at java.lang.reflect.Method.invoke(Native Method)
      [17:31:07,530,Default]
      [17:31:07,530,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [17:31:07,530,Default]
      [17:31:07,590,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at java.lang.reflect.Method.invoke(Native Method)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at $Proxy0.start(Unknown Source)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at java.lang.reflect.Method.invoke(Native Method)
      [17:31:07,590,Default]
      [17:31:07,590,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [17:31:07,590,Default]
      [17:31:07,640,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [17:31:07,640,Default]
      [17:31:07,640,Default] at org.jboss.Main.(Main.java:208)
      [17:31:07,640,Default]
      [17:31:07,640,Default] at org.jboss.Main$1.run(Main.java:110)
      [17:31:07,640,Default]
      [17:31:07,640,Default] at java.security.AccessController.doPrivileged(Native Method)
      [17:31:07,640,Default]
      [17:31:07,640,Default] at org.jboss.Main.main(Main.java:106)
      [17:31:07,640,Default]
      [17:31:07,640,J2eeDeployer] Module HotelEJB.jar is not running
      [17:31:07,640,J2eeDeployer] Destroying application HotelEJB.jar
      [17:31:07,640,AutoDeployer] DeploymentInfo failed:file:/C:/JBoss-2.4.4/deploy/HotelEJB.jar
      org.jboss.deployment.J2eeDeploymentException: Error while starting HotelEJB.jar: Could not deploy file:/C:/JBoss-2.4.4/tmp/deploy/Default/HotelEJB.jar, Cause: org.jboss.deployment.DeploymentException: Could not deploy file:/C:/JBoss-2.4.4/tmp/deploy/Default/HotelEJB.jar, Cause: org.jboss.deployment.DeploymentException: stb 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)
      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)

      ejb-jar.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
      <ejb-jar>
      <display-name>Hotel11JAR</display-name>
      <enterprise-beans>

      <display-name>Hotel11EJB</display-name>
      <ejb-name>HotelEJB</ejb-name>
      com.noblestar.server.ejb.entitybean.HotelHome11
      com.noblestar.server.ejb.entitybean.Hotel11
      <ejb-class>com.noblestar.server.ejb.entitybean.HotelBean11</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>com.noblestar.server.ejb.entitybean.HotelPK11</prim-key-class>
      False
      <cmp-field><field-name>id</field-name></cmp-field>
      <cmp-field><field-name>chainID</field-name></cmp-field>
      <cmp-field><field-name>address</field-name></cmp-field>
      <cmp-field><field-name>state</field-name></cmp-field>
      <cmp-field><field-name>countryCode</field-name></cmp-field>

      </enterprise-beans>
      <assembly-descriptor>
      <security-role>
      Role representing everyone with full access to this bean
      <role-name>everyone</role-name>
      </security-role>

      <method-permission>
      <role-name>everyone</role-name>

      <ejb-name>HotelEJB</ejb-name>
      <method-name>*</method-name>

      </method-permission>

      <container-transaction>

      <ejb-name>HotelEJB</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>

      </assembly-descriptor>
      </ejb-jar>

      jaws.xml


      stb
      <type-mapping>Sybase</type-mapping>
      <enterprise-beans>

      <ejb-name>HotelEJB</ejb-name>
      <table-name>HOTEL</table-name>
      <create-table>false</create-table>
      <cmp-field>
      <field-name>id</field-name>
      <column-name>HOTEL_ID</column-name>
      ...

      </enterprise-beans>


      jboss.jcml

      <?xml version="1.0" encoding="UTF-8"?>

      ...

      <!--attribute name="Drivers">org.hsqldb.jdbcDriver</attribute-->
      com.sybase.jdbc2.jdbc.SybDriver, org.hsqldb.jdbcDriver



      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
      stb
      <!-- attribute name="URL">jdbc:sybase:Tds:host.domain.com:2638/stb</attribute -->
      <!-- attribute name="URL">jdbc:sybase:Tds:host.domain.com:4100/stb</attribute-->
      jdbc:sybase:Tds:localhost:4100?ServiceName=stb
      dba
      sql



      1476
      true
      default
      false



      DefaultDS
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:hsqldb:hsql://localhost:1476
      1200000
      sa
      10

      false
      false
      false
      true
      120000
      1800000
      false
      false
      1.0
      0


        • 1. Re: DeploymentException - database not bound
          David Jencks Master

          check the startup log to see why your datasource isn't deploying. It looks ok to me, but if it's not bound... Also check jndiview (via port 8082) to make sure it isn't bound, and the mbean for it for more info.

          • 2. Re: DeploymentException - database not bound
            nrichards Novice

            Thanks David.

            The exception was thrown on start-up - here are all the references to datasource stb prior to the exception.

            [12:42:59,510,ConfigurationService] Drivers set to com.sybase.jdbc2.jdbc.SybDriver, org.hsqldb.jdbcDriver in DefaultDomain:service=JdbcProvider
            [12:42:59,510,ConfigurationService] DataSourceClass set to org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl in DefaultDomain:service=XADataSource,name=stb
            [12:42:59,570,ConfigurationService] PoolName set to stb in DefaultDomain:service=XADataSource,name=stb
            [12:42:59,570,ConfigurationService] URL set to jdbc:sybase:Tds:localhost:4100?ServiceName=stb in DefaultDomain:service=XADataSource,name=stb
            [12:42:59,570,ConfigurationService] JDBCUser set to dba in DefaultDomain:service=XADataSource,name=stb
            [12:42:59,570,ConfigurationService] Password set to sql in DefaultDomain:service=XADataSource,name=stb
            ...
            [12:42:59,730,ConfigurationService] Detected JMX Bug: Server reports attribute 'Blocking' is not writeable for MBean 'DefaultDomain:name=stb,service=XADataSource'
            ...
            [12:43:02,040,stb] Initializing
            [12:43:02,040,stb] Initialized
            ...
            [12:43:07,810,StatelessSessionContainer] Begin java:comp/env for EJB: TestEJB
            [12:43:07,810,StatelessSessionContainer] TCL: java.net.URLClassLoader@a8ce2
            [12:43:07,810,StatelessSessionContainer] Binding env-entry: envEntry of type: java.lang.String to value:abcde
            [12:43:07,810,StatelessSessionContainer] Binding an EJBReference ejb/HotelHome11
            [12:43:07,810,StatelessSessionContainer] Binding ejb/HotelHome11 to external JNDI source: HotelEJB
            [12:43:07,810,StatelessSessionContainer] Binding resource manager: java:/stb to JDNI ENC as: jdbc/stb
            [12:43:07,810,StatelessSessionContainer] End java:comp/env for EJB: TestEJB
            [12:43:07,810,StatelessSessionContainer] Mapped Container method remove HASH -1842617161
            [12:43:07,810,StatelessSessionContainer] Mapped Container method getEJBHome HASH -993218923
            [12:43:07,810,StatelessSessionContainer] Mapped Container method getHandle HASH 1182305581
            [12:43:07,810,StatelessSessionContainer] Mapped Container method getPrimaryKey HASH -131865408
            [12:43:07,810,StatelessSessionContainer] Mapped Container method isIdentical HASH 285457048
            [12:43:07,810,StatelessSessionContainer] Mapped sendMessage -1880855816to public void com.noblestar.server.ejb.sessionbean.TestBean11.sendMessage(java.lang.String) throws java.rmi.RemoteException
            [12:43:07,810,StatelessSessionContainer] Mapped getHotel -765873575to public com.noblestar.framework.databean.HotelDataBean com.noblestar.server.ejb.sessionbean.TestBean11.getHotel() throws java.rmi.RemoteException,javax.ejb.FinderException,javax.naming.NamingException
            [12:43:07,810,StatelessSessionContainer] Mapped getCountries -153100711to public java.util.ArrayList com.noblestar.server.ejb.sessionbean.TestBean11.getCountries() throws java.rmi.RemoteException
            [12:43:07,810,StatelessSessionContainer] Mapping remove
            [12:43:07,810,StatelessSessionContainer] Mapping remove
            [12:43:07,810,StatelessSessionContainer] Mapping getEJBMetaData
            [12:43:07,810,StatelessSessionContainer] Mapping getHomeHandle
            [12:43:07,810,StatelessSessionContainer] Mapping create
            [12:43:07,970,JRMPContainerInvoker] JRMP 1.3 CI initialized
            [12:43:08,030,JRMPContainerInvoker] Bound TestEJB to TestEJB
            [12:43:08,030,TestEJB] Initializing
            [12:43:08,030,TestEJB] Initialized
            [12:43:08,030,TestEJB] Starting
            [12:43:08,030,TestEJB] Started
            [12:43:08,030,ContainerFactory] Deployed application: file:/C:/JBoss-2.4.4/tmp/deploy/Default/TestEJB.jar
            [12:43:08,030,J2eeDeployer] J2EE application: file:/C:/JBoss-2.4.4/deploy/TestEJB.jar is deployed.


            ... and this is the jndiview - although I'm not too sure what this indicates:

            The operation

            was successfully invoked for the MBean [DefaultDomain:service=JNDIView].
            The operation returned with the value:


            Application: file:/C:/JBoss-2.4.4/tmp/deploy/Default/TestEJB.jar
            java:comp namespace of the TestEJB bean:
            +- env (class: org.jnp.interfaces.NamingContext)
            | +- jdbc (class: org.jnp.interfaces.NamingContext)
            | | +- stb[link -> java:/stb] (class: javax.naming.LinkRef)
            | +- envEntry (class: java.lang.String)
            | +- ejb (class: org.jnp.interfaces.NamingContext)
            | | +- HotelHome11[link -> HotelEJB] (class: javax.naming.LinkRef)

            java: Namespace
            +- stb (class: org.jboss.pool.jdbc.xa.XAPoolDataSource)
            +- jaas (class: javax.naming.Context)
            +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter)
            +- JmsXA (class: org.jboss.jms.ra.JmsConnectionFactoryImpl)
            +- MinervaSharedLocalCMFactory (class: org.jboss.pool.connector.jboss.MinervaSharedLocalCMFactory)
            +- DefaultDS (class: org.jboss.pool.jdbc.xa.XAPoolDataSource)
            +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
            +- MinervaXACMFactory (class: org.jboss.pool.connector.jboss.MinervaXACMFactory)
            +- TransactionManager (class: org.jboss.tm.TxManager)
            +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory)
            +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
            +- DefaultJMSProvider (class: org.jboss.jms.jndi.JBossMQProvider)
            +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
            +- Mail (class: javax.mail.Session)
            +- MinervaDS (class: org.jboss.pool.connector.jdbc.JDBCDataSource)
            +- timedCacheFactory (class: javax.naming.Context)
            Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
            +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
            +- comp (class: javax.naming.Context)
            +- MinervaNoTransCMFactory (class: org.jboss.pool.connector.jboss.MinervaNoTransCMFactory)

            Global JNDI Namespace
            +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
            +- TopicConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
            +- UserTransactionSessionFactory (class: org.jboss.tm.usertx.server.UserTransactionSessionFactoryImpl)
            +- RMIXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
            +- QueueConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
            +- topic (class: org.jnp.interfaces.NamingContext)
            | +- example (class: org.jboss.mq.SpyTopic)
            | +- testTopic (class: org.jboss.mq.SpyTopic)
            | +- bob (class: org.jboss.mq.SpyTopic)
            +- jmx:i0r1b2:rmi (class: org.jboss.jmx.server.RMIConnectorImpl)
            +- queue (class: org.jnp.interfaces.NamingContext)
            | +- D (class: org.jboss.mq.SpyQueue)
            | +- C (class: org.jboss.mq.SpyQueue)
            | +- B (class: org.jboss.mq.SpyQueue)
            | +- A (class: org.jboss.mq.SpyQueue)
            | +- controlQueue (class: org.jboss.mq.SpyQueue)
            | +- testQueue (class: org.jboss.mq.SpyQueue)
            | +- ex (class: org.jboss.mq.SpyQueue)
            | +- DLQ (class: org.jboss.mq.SpyQueue)
            | +- F (class: org.jboss.mq.SpyQueue)
            | +- E (class: org.jboss.mq.SpyQueue)
            +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
            +- RMIConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
            +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
            +- TestEJB (proxy: $Proxy2 implements com.noblestar.server.ejb.sessionbean.TestHome11)
            +- invokers (class: org.jnp.interfaces.NamingContext)
            | +- TestEJB (class: org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker)
            +- jmx (class: org.jboss.jmx.server.JMXAdaptorImpl)
            +- servercollector (class: org.jboss.management.ServerDataCollector)
            +- UILXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
            +- UILConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)


            I'm afraid it's still no clearer to me - is it to you ?

            Thanks again,
            Neil

            • 3. Re: DeploymentException - database not bound
              David Jencks Master

              Maybe the problem is simpler. Try


              java:/stb

              in your jaws.xml

              • 4. Re: DeploymentException - database not bound
                nrichards Novice

                I've changed the datasource from stb to java:/stb but I'm still getting the same exception. What I don't understand is that using JDBC I could query the database. Presumably it has to be bound for that to work ?

                Neil

                • 5. Re: DeploymentException - database not bound
                  Jose Miguel Guzman Newbie

                  I got a similar problem when trying to configure JBoss to work with MySQL.
                  - I copied the mm.mysql-2.0.11-bin.jar file to the $JBOSS_DIST/lib directory
                  - I deployed the mysql-service.xml revision 1.5 from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosscx/src/etc/example-config/mysql-service.xml, following the embedded directions (e.g. modifying the login-conf.xml file as indicated)
                  - I modified the standardjaws.xml and standardjbosscmp-jdbc.xml files, changing the references from java:/DefaultDS to java:/MySqlDS

                  During the startup, I got nothing strange regarding mm.mysql and mysql-services.xml:

                  [ . . . . deleted messages. . . . ]
                  2002-04-29 23:16:50,178 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/lib/mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,188 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/lib/mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,298 DEBUG [org.jboss.deployment.JARDeployer] no xmls found
                  2002-04-29 23:16:50,299 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.JARDeployer@96c1b02002-04-29 23:16:50,401 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/lib/mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,404 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/lib/mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,406 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/lib/mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,428 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,429 DEBUG [org.jboss.deployment.MainDeployer] start step for deployment file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/lib/mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,431 DEBUG [org.jboss.deployment.MainDeployer] Final (start) deployment step successfully completed on package: mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,433 INFO [org.jboss.deployment.MainDeployer] Successfully completed deployment of package: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/lib/mm.mysql-2.0.11-bin.jar
                  2002-04-29 23:16:50,436 DEBUG [org.jboss.deployment.SARDeployer] deployed classes for file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/lib/mm.mysql-2.0.11-bin.jar
                  [ . . . . deleted messages. . . . ]
                  2002-04-29 23:19:47,754 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.0RC1_tom
                  cat-4.0.3/server/default/deploy/mysql-service.xml
                  2002-04-29 23:19:47,758 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/usr/local/jbo
                  ss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/mysql-service.xml
                  2002-04-29 23:19:47,768 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.SARDeployer@292d26
                  2002-04-29 23:19:47,892 DEBUG [org.jboss.deployment.SARDeployer] about to copy 0 local directories
                  2002-04-29 23:19:47,921 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3
                  /server/default/deploy/mysql-service.xml
                  2002-04-29 23:19:47,924 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/ser
                  ver/default/deploy/mysql-service.xml
                  2002-04-29 23:19:47,925 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/usr/local/jboss-3.0.0RC1_tomcat-4
                  .0.3/server/default/deploy/mysql-service.xml
                  2002-04-29 23:19:47,927 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, create step: url file:/usr/local/jboss-3.0.0RC1_tomc
                  at-4.0.3/server/default/deploy/mysql-service.xml
                  2002-04-29 23:19:47,933 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=LocalTxCM,name=MySqlDS
                  2002-04-29 23:19:47,934 DEBUG [org.jboss.system.ServiceCreator] code: org.jboss.resource.connectionmanager.LocalTxConnectionManager
                  2002-04-29 23:19:48,007 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss.jca:service=LocalTxCM,name=MySqlDS
                  2002-04-29 23:19:49,049 DEBUG [org.jboss.system.ServiceConfigurator] SecurityDomainJndiName set to java:/jaas/MySqlDbRealm in jboss.
                  jca:service=LocalTxCM,name=MySqlDS
                  2002-04-29 23:19:49,054 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:49,055 DEBUG [org.jboss.system.ServiceCreator] code: org.jboss.resource.connectionmanager.RARDeployment
                  2002-04-29 23:19:49,098 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss.jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:49,998 DEBUG [org.jboss.system.ServiceConfigurator] JndiName set to MySqlDS in jboss.jca:service=LocalTxDS,name=MyS
                  qlDS
                  2002-04-29 23:19:50,004 DEBUG [org.jboss.system.ServiceConfigurator] ManagedConnectionFactoryProperties set to
                  <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://sol:3306/test</config-property>
                  <config-property name="DriverClass" type="java.lang.String">org.gjt.mm.mysql.Driver</config-property>
                  <!--set these only if you want only default logins, not through JAAS
                  <config-property name="UserName" type="java.lang.String"></config-property>
                  <config-property name="Password" type="java.lang.String"></config-property>
                  -->
                  in jboss.jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:50,008 DEBUG [org.jboss.system.ServiceController] recording that jboss.jca:service=LocalTxDS,name=MySqlDS depends o
                  n jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
                  2002-04-29 23:19:50,010 DEBUG [org.jboss.system.ServiceConfigurator] considering OldRarDeployment with object name jboss.jca:service
                  =RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
                  2002-04-29 23:19:50,012 DEBUG [org.jboss.system.ServiceController] recording that jboss.jca:service=LocalTxCM,name=MySqlDS depends o
                  n jboss.jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:50,013 DEBUG [org.jboss.system.ServiceConfigurator] considering ManagedConnectionFactoryName with object name jboss
                  .jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:50,018 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=LocalTxPool,name=MySqlDS
                  2002-04-29 23:19:50,019 DEBUG [org.jboss.system.ServiceCreator] code: org.jboss.resource.connectionmanager.JBossManagedConnectionPoo
                  l
                  2002-04-29 23:19:50,047 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss.jca:service=LocalTxPool,name=MySqlDS
                  2002-04-29 23:19:50,050 DEBUG [org.jboss.system.ServiceConfigurator] MinSize set to 0 in jboss.jca:service=LocalTxPool,name=MySqlDS
                  2002-04-29 23:19:50,052 DEBUG [org.jboss.system.ServiceConfigurator] MaxSize set to 50 in jboss.jca:service=LocalTxPool,name=MySqlDS
                  2002-04-29 23:19:50,054 DEBUG [org.jboss.system.ServiceConfigurator] BlockingTimeoutMillis set to 5000 in jboss.jca:service=LocalTxP
                  ool,name=MySqlDS
                  2002-04-29 23:19:50,057 DEBUG [org.jboss.system.ServiceConfigurator] IdleTimeoutMinutes set to 15 in jboss.jca:service=LocalTxPool,n
                  ame=MySqlDS
                  2002-04-29 23:19:50,955 DEBUG [org.jboss.system.ServiceConfigurator] Criteria set to ByContainer in jboss.jca:service=LocalTxPool,na
                  me=MySqlDS
                  2002-04-29 23:19:50,958 DEBUG [org.jboss.system.ServiceController] recording that jboss.jca:service=LocalTxCM,name=MySqlDS depends o
                  n jboss.jca:service=LocalTxPool,name=MySqlDS
                  2002-04-29 23:19:50,959 DEBUG [org.jboss.system.ServiceConfigurator] considering ManagedConnectionPool with object name jboss.jca:se
                  rvice=LocalTxPool,name=MySqlDS
                  2002-04-29 23:19:50,962 DEBUG [org.jboss.system.ServiceController] recording that jboss.jca:service=LocalTxCM,name=MySqlDS depends o
                  n jboss.jca:service=CachedConnectionManager
                  2002-04-29 23:19:50,964 DEBUG [org.jboss.system.ServiceConfigurator] considering CachedConnectionManager with object name jboss.jca:
                  service=CachedConnectionManager
                  2002-04-29 23:19:51,862 DEBUG [org.jboss.system.ServiceConfigurator] TransactionManager set to java:/TransactionManager in jboss.jca
                  :service=LocalTxCM,name=MySqlDS
                  2002-04-29 23:19:51,865 DEBUG [org.jboss.system.ServiceController] recording that jboss.jca:service=LocalTxCM,name=MySqlDS depends o
                  n jboss.jca:service=RARDeployer
                  2002-04-29 23:19:51,866 DEBUG [org.jboss.system.ServiceConfigurator] considering with object name jboss.jca:service=RARD
                  eployer
                  2002-04-29 23:19:51,870 DEBUG [org.jboss.system.ServiceController] waiting in create jboss.jca:service=LocalTxCM,name=MySqlDS waitin
                  g on jboss.jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:51,872 WARN [org.jboss.system.ServiceController] jboss.jca:service=LocalTxDS,name=MySqlDS does not implement any S
                  ervice methods
                  2002-04-29 23:19:51,877 DEBUG [org.jboss.system.ServiceController] waiting in create jboss.jca:service=LocalTxDS,name=MySqlDS waitin
                  g on jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
                  2002-04-29 23:19:51,880 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Creating
                  2002-04-29 23:19:51,883 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Created
                  2002-04-29 23:19:51,887 DEBUG [org.jboss.system.ServiceController] waiting in create jboss.jca:service=LocalTxCM,name=MySqlDS waitin
                  g on jboss.jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:51,889 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying mysql-service.xml
                  2002-04-29 23:19:51,890 DEBUG [org.jboss.deployment.MainDeployer] start step for deployment file:/usr/local/jboss-3.0.0RC1_tomcat-4.
                  0.3/server/default/deploy/mysql-service.xml
                  2002-04-29 23:19:51,892 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, start step: url file:/usr/local/jboss-3.0.0RC1_tomca
                  t-4.0.3/server/default/deploy/mysql-service.xml
                  2002-04-29 23:19:51,896 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.jca:service=LocalTxCM,name=MySqlDS on jbos
                  s.jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:51,900 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.jca:service=LocalTxDS,name=MySqlDS on jbos
                  s.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
                  2002-04-29 23:19:51,902 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Starting
                  2002-04-29 23:19:51,905 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Started
                  2002-04-29 23:19:51,910 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.jca:service=LocalTxCM,name=MySqlDS on jbos
                  s.jca:service=LocalTxDS,name=MySqlDS
                  2002-04-29 23:19:51,911 DEBUG [org.jboss.deployment.MainDeployer] Final (start) deployment step successfully completed on package: m
                  ysql-service.xml
                  2002-04-29 23:19:51,913 INFO [org.jboss.deployment.MainDeployer] Successfully completed deployment of package: file:/usr/local/jbos
                  s-3.0.0RC1_tomcat-4.0.3/server/default/deploy/mysql-service.xml
                  2002-04-29 23:19:51,916 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/usr/local/jboss-3.0.0RC1_tomc
                  at-4.0.3/server/default/deploy/mysql-service.xml -> file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/mysql-service.
                  xml

                  The Problem:

                  When I tried to deploy a EJB-test.jar module (that deploys fine in JBoss 2.4.4 + MySQL), I got:

                  23:42:56,145 INFO [MainDeployer] Undeploying file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar
                  23:42:56,158 INFO [EjbModule] Destroying
                  23:42:56,333 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBModule,name=EJB-test.jar
                  23:42:56,341 INFO [EjbModule] Destroyed
                  23:42:56,470 INFO [MainDeployer] Cleaned Deployment file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar
                  23:42:56,473 INFO [MainDeployer] Undeployed file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar
                  23:42:56,500 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar
                  23:42:57,715 INFO [EjbModule] Creating
                  23:42:57,960 INFO [EjbModule] Deploying ItemEJB
                  23:42:59,219 ERROR [EntityContainer] Exception in service lifecyle operation: create
                  org.jboss.deployment.DeploymentException: MySqlDS not bound

                  at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.create(JawsApplicationMetaData.java:137)
                  at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:85)
                  at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:139)
                  at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:102)
                  at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
                  at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
                  at org.jboss.ejb.Container.invoke(Container.java:790)
                  at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy22.create(Unknown Source)
                  at org.jboss.ejb.EjbModule.createService(EjbModule.java:381)
                  at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  at org.jboss.system.ServiceController.create(ServiceController.java:211)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy5.create(Unknown Source)
                  at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:376)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:626)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
                  at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy4.deploy(Unknown Source)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
                  23:42:59,445 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBModule,name=EJB-test.jar
                  23:42:59,454 ERROR [EjbModule] Initialization failed
                  org.jboss.deployment.DeploymentException: MySqlDS not bound

                  at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.create(JawsApplicationMetaData.java:137)
                  at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:85)
                  at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:139)
                  at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:102)
                  at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
                  at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
                  at org.jboss.ejb.Container.invoke(Container.java:790)
                  at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy22.create(Unknown Source)
                  at org.jboss.ejb.EjbModule.createService(EjbModule.java:381)
                  at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  at org.jboss.system.ServiceController.create(ServiceController.java:211)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy5.create(Unknown Source)
                  at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:376)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:626)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
                  at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy4.deploy(Unknown Source)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
                  23:42:59,491 ERROR [MainDeployer] could not create deployment :file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar
                  org.jboss.deployment.DeploymentException: error in create of EjbModule: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar; - nested throwable is: org.jboss.deployment.DeploymentException: MySqlDS not bound
                  org.jboss.deployment.DeploymentException: MySqlDS not bound
                  at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.create(JawsApplicationMetaData.java:137)
                  at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:85)
                  at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:139)
                  at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:102)
                  at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
                  at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
                  at org.jboss.ejb.Container.invoke(Container.java:790)
                  at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy22.create(Unknown Source)
                  at org.jboss.ejb.EjbModule.createService(EjbModule.java:381)
                  at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  at org.jboss.system.ServiceController.create(ServiceController.java:211)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy5.create(Unknown Source)
                  at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:376)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:626)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
                  at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy4.deploy(Unknown Source)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
                  org.jboss.deployment.DeploymentException: error in create of EjbModule: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar; - nested throwable is: org.jboss.deployment.DeploymentException: MySqlDS not bound
                  at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:380)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:626)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
                  at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy4.deploy(Unknown Source)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
                  Caused by: org.jboss.deployment.DeploymentException: MySqlDS not bound
                  at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.create(JawsApplicationMetaData.java:137)
                  at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:85)
                  at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:139)
                  at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:102)
                  at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
                  at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
                  at org.jboss.ejb.Container.invoke(Container.java:790)
                  at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy22.create(Unknown Source)
                  at org.jboss.ejb.EjbModule.createService(EjbModule.java:381)
                  at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  at org.jboss.system.ServiceController.create(ServiceController.java:211)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy5.create(Unknown Source)
                  at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:376)
                  ... 14 more
                  23:42:59,560 ERROR [MainDeployer] Couldn't deploy URL file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar
                  org.jboss.deployment.DeploymentException: error in create of EjbModule: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar; - nested throwable is: org.jboss.deployment.DeploymentException: MySqlDS not bound
                  org.jboss.deployment.DeploymentException: MySqlDS not bound
                  at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.create(JawsApplicationMetaData.java:137)
                  at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:85)
                  at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:139)
                  at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:102)
                  at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
                  at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
                  at org.jboss.ejb.Container.invoke(Container.java:790)
                  at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy22.create(Unknown Source)
                  at org.jboss.ejb.EjbModule.createService(EjbModule.java:381)
                  at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  at org.jboss.system.ServiceController.create(ServiceController.java:211)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy5.create(Unknown Source)
                  at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:376)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:626)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
                  at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy4.deploy(Unknown Source)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
                  org.jboss.deployment.DeploymentException: error in create of EjbModule: file:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/server/default/deploy/EJB-test.jar; - nested throwable is: org.jboss.deployment.DeploymentException: MySqlDS not bound
                  at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:380)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:626)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
                  at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy4.deploy(Unknown Source)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
                  Caused by: org.jboss.deployment.DeploymentException: MySqlDS not bound
                  at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.create(JawsApplicationMetaData.java:137)
                  at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:85)
                  at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:139)
                  at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:102)
                  at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
                  at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
                  at org.jboss.ejb.Container.invoke(Container.java:790)
                  at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy22.create(Unknown Source)
                  at org.jboss.ejb.EjbModule.createService(EjbModule.java:381)
                  at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
                  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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:271)
                  at org.jboss.system.ServiceController.create(ServiceController.java:211)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
                  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                  at $Proxy5.create(Unknown Source)
                  at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:376)
                  ... 14 more

                  Some idea?

                  Thanks, in advance.
                  JM

                  • 6. Re: DeploymentException - database not bound
                    nrichards Novice

                    I'm getting this at start-up. I'm using v 2.4.4 by the way. I've messed about with the xml files - and it is definitely the datasource reference in jaws.xml that is the problem. What does jboss do having got the datasource name from jaws which results in the 'stb not bound' exception ?

                    tia,
                    Neil