[jboss-user] [Beginner's Corner] - Incomplete specification of datasource for h2

David Goldstein do-not-reply at jboss.com
Thu Jun 17 15:28:13 EDT 2010


David Goldstein [http://community.jboss.org/people/drdaveg] created the discussion

"Incomplete specification of datasource for h2"

To view the discussion, visit: http://community.jboss.org/message/548589#548589

--------------------------------------------------------------
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 at 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 at 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
[http://community.jboss.org/message/548589#548589]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100617/03afed52/attachment.html 


More information about the jboss-user mailing list