Community

Incomplete specification of datasource for h2

created by David Goldstein in Beginner's Corner - View the full discussion

I think this is trivial.  I am trying to configure a datasource "testDS" for using H2 under JBoss.

 

<?xml version="1.0" encoding="UTF-8"?>
<datasources>
  <local-tx-datasource>
    <jndi-name>jdbc/testDS</jndi-name>
    <connection-url>jdbc:h2:mem:mydb</connection-url>
    <driver-class>org.h2.jdbcx.JdbcDataSource</driver-class>
    <user-name>sa</user-name>
    <password></password>
  </local-tx-datasource>
</datasources>

 

and get the following - what am I missing?  Thanks in advance!

 

David


--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@a4c217e { url=file:/C:/ blah blah path /jboss-4.2.3.GA/server/default/deploy/testDS.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/Documents and Settings/  blah blah path  /jboss-4.2.3.GA/server/default/deploy/testDS.xml
  altDD: null
  lastDeployed: 1276802264395
  lastModified: 1276802264379
  mbeans:

 

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@a4c217e { url=file:/C:/ blah blah path  jboss-4.2.3.GA/server/default/deploy/testDS.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/ blah blah path  /jboss-4.2.3.GA/server/default/deploy/testDS.xml
  altDD: null
  lastDeployed: 1276802264395
  lastModified: 1276802264379
  mbeans:

 

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:unitName=default
  State: NOTYETINSTALLED
  I Depend On:
    jboss.jca:name=testDS,service=DataSourceBinding

 

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=testDS,service=DataSourceBinding
  State: NOTYETINSTALLED
  Depends On Me:
    persistence.units:unitName=default

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community