This content has been marked as final.
Show 1 reply
-
1. Re: AdminAPI, Resource Adapter per Connection
rareddy Apr 9, 2019 11:36 AM (in response to mtawk)Due to a long-standing issue with JCA spec and Wildfly implementation, one cannot change existing JCA connection. You would need to add a new (different name) resource-adapter and connection based on that resource adapter. The createDataSource method on AdminAPI should automatically handle this for you as long as you provide a new name with original rar name. Unfortunately, that means redeploy of the VDB to update the JNDI name. I guess you try extend this method to use the same JNDI name, but only after deleting the previous resource-adapter (not sure if this works but simple to try). I do not think we want to consider this as an enhancement on Teiid, but could be your extension.