cancel
Showing results for 
Search instead for 
Did you mean: 

Change jta-data-source

Former Member
0 Kudos

Hi together,

Is it possible to change the jta-data-source dynamically? Background as follows:

I have an application which should be deployed on multiple server. On each server is a property file containing a data source, which is different on each server.

So there should always be an other jta-data-source respectively to the server.

Is it possible to do that, once the application is deployed on the server? Or is there any other way how to solve that.

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

you are only reference the alias right? you just create the same alias in all the system, no need to change the jta...

Former Member
0 Kudos

Actually we want to deploy a data-soource.xml file with all the data sources. And depending on the system, we want the jta-data-source to link to the relevant alias.

junwu
Active Contributor
0 Kudos

what's the meaning of that?

Former Member
0 Kudos

We don't need to config each server. We can use the aliases from the property file which already exists everywhere.

junwu
Active Contributor
0 Kudos

cannot understand that.

do you know how alias works?

if configuration is required, it is just one time only....what's the big deal?