[jboss-user] [Datasource Configuration] - Re: JBoss 7 multiple data source declarations for multiple applications

Shadow Creeper do-not-reply at jboss.com
Wed May 30 14:55:26 EDT 2012


Shadow Creeper [https://community.jboss.org/people/shadowcreeper] created the discussion

"Re: JBoss 7 multiple data source declarations for multiple applications"

To view the discussion, visit: https://community.jboss.org/message/738861#738861

--------------------------------------------------------------
It sounds like you haven't setup your driver correctly.

In standalone/configuration/standalone.xml (or domain or whatever you are using) there is a subsystem node with {code:xml}<datasources><datasource jndi-name=...>{code} (you may build an entry for your datasource here which should use the name mentioned later -- likely {code:xml}<driver>ORACLE</driver>{code}) there should also be (in that same subsystem node) {code:xml}<datasources><drivers><driver>{code} nodes (at least one should already exist by default with name="h2", you now need to add one with name="ORACLE" or whatever you prefer -- to be used in the above {code:xml}<datasources><datasource><driver>{code} node).

Note: The name attribute may not work if you put punctuation marks in it as some of those appear to be treated special (like ".").
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/738861#738861]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

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


More information about the jboss-user mailing list