[jboss-user] [JNDI and Naming] - Provide one datasource with two different JNDI names

Wolf-Dieter Fink do-not-reply at jboss.com
Fri Nov 19 03:14:14 EST 2010

Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Provide one datasource with two different JNDI names"

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

I've two application ear with a persistence.xml point to a different jta-data-source.
The EARs should not be changed, but in the deployment both applications should use the same DB schema, and for sure the same connection pool.

Is it possible to create such simple link via an extra deployment file or adding alias to the datasource ds.xml file?

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community

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

More information about the jboss-user mailing list