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

[WFLY-19790] Replaces -ds.xml deprecated filed with Jakarta's DataSou… #973

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

emmartins
Copy link
Contributor

@emmartins emmartins commented Oct 30, 2024

@emmartins emmartins force-pushed the WFLY-19790 branch 2 times, most recently from 20375e9 to 44ee411 Compare October 30, 2024 19:54
@emmartins
Copy link
Contributor Author

@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?

@emmartins
Copy link
Contributor Author

@jfdenise FYI it seems Glow is not aware of DataSourceDefinition annotation and reports the following error in this project, if you remove the failOnError

[ERROR] * unbound datasources error: java:jboss/datasources/batch-processingDS

@emmartins
Copy link
Contributor Author

@liweinan IMHO this is still a work in progress, after all it currently replaces one warn with another, and then there is the provisioning error... I suspect we will need server side and glow side changes to make it "proper"!

@kstekovi WDYT?

@liweinan
Copy link
Contributor

liweinan commented Nov 1, 2024

@emmartins cool!

@emmartins
Copy link
Contributor Author

emmartins commented Nov 15, 2024

@tadamski can you please have a look at #973 (comment) above once you have a chance?

@emmartins
Copy link
Contributor Author

@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.

@jfdenise
Copy link
Contributor

@emmartins @liweinan ,
DataSourceDefinition is going to be natively supported by WildFly Glow. We have the following PR opened:

You would then have to remove the explicit h2-datasource add-on, and the fail-on-error.

@emmartins
Copy link
Contributor Author

emmartins commented Nov 22, 2024

thanks @jfdenise , I will keep this open till that happens.

@emmartins
Copy link
Contributor Author

@tadamski hello?

@jfdenise
Copy link
Contributor

jfdenise commented Dec 2, 2024

@emmartins , FYI, The changes in WildFly have been merged. We are waiting for a new WildFly Maven Plugin release that integrates the support.

@emmartins
Copy link
Contributor Author

@tadamski please please? ^^

@darranl darranl requested a review from tadamski December 20, 2024 10:29
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

Successfully merging this pull request may close these issues.

3 participants