JBoss Community

Provide one datasource with two different JNDI names

created by Wolf-Dieter Fink in JNDI and Naming - View the full discussion

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