-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[WFLY-19790] Replaces -ds.xml deprecated filed with Jakarta's DataSou… #973
base: main
Are you sure you want to change the base?
Conversation
20375e9
to
44ee411
Compare
@tadamski I am seeing the following warning when using the DataSourceDefinition instead of the -ds.xml 20:12:46,089 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ServerService Thread Pool -- 46) IJ000407: No lazy enlistment available for batch-processing_batch-processing_batch-processing_java:jboss/datasources/batch-processingDS Perhaps there is a property we need to add to the DataSourceDefinition to prevent this? |
@jfdenise FYI it seems Glow is not aware of DataSourceDefinition annotation and reports the following error in this project, if you remove the failOnError
|
@emmartins cool! |
@tadamski can you please have a look at #973 (comment) above once you have a chance? |
@kstekovi for the record I don't think we should merge this till we have that new warning suppressed or documented, we should not replace one warning with another. |
@emmartins @liweinan ,
You would then have to remove the explicit h2-datasource add-on, and the fail-on-error. |
thanks @jfdenise , I will keep this open till that happens. |
@tadamski hello? |
@emmartins , FYI, The changes in WildFly have been merged. We are waiting for a new WildFly Maven Plugin release that integrates the support. |
@tadamski please please? ^^ |
@emmartins @darranl sorry for this huge lag! In order to get rid of the warning cached connection manager has to be turned on, but I don't see such possibility for annotated datasource. I'm going to create a ironjacamar fix for that but I think this PR can be merged. FYI I have downgraded logging to DEBUG (JBJCA-1513). CCM is problematic in itself and requires refactor (see JBJCA-1494). It is perfectly fine that it is off by default in datasource annotation parsing and shouldn't introduce any cofusing warn messages. |
@tadamski thanks for your feedback, personally I see no interest in making this change till the warning is gone, after all this would be replacing one warning (that is already documented) with another. |
@emmartins This warning is only informative, tbh I was considering removing it, but after it was downgraded to debug it won't be visible anyway in standard configuration |
@tadamski does this means that WFLY 36 will no longer produce this warning? |
@emmartins yes |
…rceDefinition
Issue: https://issues.redhat.com/browse/WFLY-19790