Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting WFLYJCA0093 when adding datasource #112

Open
cristalp opened this issue Feb 9, 2021 · 2 comments
Open

Getting WFLYJCA0093 when adding datasource #112

cristalp opened this issue Feb 9, 2021 · 2 comments

Comments

@cristalp
Copy link

cristalp commented Feb 9, 2021

First of all, let me thank you for this great tool!

I just started with it and I'm adding an XA datasource.

Using JBoss EAP 7.3.5, I get a lot of warnings, whenever the datasource is disabled/enabled:

xa-data-source disable --name=MyName
:reload
/subsystem=datasources/xa-data-source=MyName/xa-datasource-properties=Password:remove
/subsystem=datasources/xa-data-source=MyName/xa-datasource-properties=Password:add(value="change-me")
:reload
xa-data-source enable --name=MyName
2021-02-09 18:17:18,610 INFO  (management-handler-thread - 1) [UID=,REQ=#] [org.jboss.as.connector] WFLYJCA0093: The 'disable' operation is deprecated. Use of the 'add' or 'remove' operations is preferred, or if required the 'write-attribute' operation can used to set the deprecated 'enabled' attribute

I don't know whether this is a new warning, but knowing JBoss, enabling/disabling may be removed in a future version.

Any thoughts on this?

@bserdar
Copy link
Owner

bserdar commented Feb 10, 2021

This should be an easy fix to the xa rule file.

@rpelisse @sabre1041 thoughts? I don't have an env to test this atm, but I can do the rule fix.

@rpelisse
Copy link
Collaborator

@bserdar can you paste the fix here (or do a dirty, broken PR), @sabre1041, @hcherukuri or me will take care of integrating it properly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants