Skip to content

Fix for WFLY-21956, Stale datasource reference left in 'ee' subsystem after removing the configured datasource via CLI - #6853

Draft
jfdenise wants to merge 1 commit into
wildfly:mainfrom
jfdenise:datasource_default_handling
Draft

Fix for WFLY-21956, Stale datasource reference left in 'ee' subsystem after removing the configured datasource via CLI#6853
jfdenise wants to merge 1 commit into
wildfly:mainfrom
jfdenise:datasource_default_handling

Conversation

@jfdenise

@jfdenise jfdenise commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

@wildfly-ci

Copy link
Copy Markdown

Core -> Full Integration (with SecurityManager) Build 263 outcome was FAILURE using a merge of f963da3
Summary: Tests failed: 1 (1 new), passed: 8163, ignored: 150 Build time: 08:16:01

Failed tests

org.jboss.as.test.clustering.cluster.web.DistributableTestCase.serialized(URL): org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.jboss.as.test.clustering.cluster.web.DistributableTestCase.serialized(DistributableTestCase.java:94)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
------- Stdout: -------
node-3 2026-07-20 15:58:52,532 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0211: Suspending server with 60000 ms timeout.
node-3 2026-07-20 15:58:52,539 INFO  [org.jboss.as.ejb3] (UndertowEventHandlerAdapterService - 3) WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete
node-3 2026-07-20 15:58:52,541 INFO  [org.jboss.as.txn] (ServerService Thread Pool -- 95) WFLYTX0048: Transactions subsystem: waiting for in-flight transactions to terminate
node-3 2026-07-20 15:58:52,542 INFO  [org.jboss.as.txn] (ServerService Thread Pool -- 95) WFLYTX0049: Transactions subsystem: all in-flight transactions terminated
node-3 2026-07-20 15:58:52,542 INFO  [org.jboss.as.txn] (ServerService Thread Pool -- 95) WFLYTX0046: Transactions subsystem: starting transactions recovery suspension
node-3 2026-07-20 15:58:52,543 INFO  [org.jboss.as.txn] (ServerService Thread Pool -- 95) WFLYTX0047: Transactions subsystem: transactions recovery suspension completed
node-3 2026-07-20 15:58:52,546 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
node-3 2026-07-20 15:58:52,570 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
node-3 2026-07-20 15:58:52,571 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0019: Host default-host stopping
node-3 2026-07-20 15:58:52,571 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
node-3 2026-07-20 15:58:52,572 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTPS listener https suspending
node-3 2026-07-20 15:58:52,577 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 93) [Context=org.infinispan.CONFIG] ISPN100008: Updating cache members list [node-1, node-2], topology id 32
node-3 2026-07-20 15:58:52,579 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 93) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-3 2026-07-20 15:58:52,579 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 94) [Context=org.infinispan.CONFIG] ISPN100008: Updating cache members list [node-1, node-2], topology id 32
node-3 2026-07-20 15:58:52,580 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 94) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-3 2026-07-20 15:58:52,581 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 93) ISPN000390: Persisted state, version=16.0.13 timestamp=2026-07-20T15:58:52.581011460Z
node-3 2026-07-20 15:58:52,582 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 94) ISPN000390: Persisted state, version=16.0.13 timestamp=2026-07-20T15:58:52.582070881Z
node-3 2026-07-20 15:58:52,584 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 90) [Context=org.infinispan.CONFIG] ISPN100008: Updating cache members list [node-1, node-2], topology id 32
node-3 2026-07-20 15:58:52,586 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 90) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-3 2026-07-20 15:58:52,590 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 90) ISPN000390: Persisted state, version=16.0.13 timestamp=2026-07-20T15:58:52.589921432Z
node-3 2026-07-20 15:58:52,594 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to [::1]:8643
node-1 2026-07-20 15:58:52,599 INFO  [org.infinispan.LIFECYCLE] (thread-8,ejb,node-1(v=16.0.13)) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-1 2026-07-20 15:58:52,600 INFO  [org.infinispan.LIFECYCLE] (thread-8,ejb,node-1(v=16.0.13)) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-3 2026-07-20 15:58:52,601 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0019: Stopped Driver service with driver-name = h2
node-2 2026-07-20 15:58:52,605 INFO  [org.infinispan.LIFECYCLE] (thread-9,ejb,node-2(v=16.0.13)) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-2 2026-07-20 15:58:52,607 INFO  [org.infinispan.LIFECYCLE] (thread-9,ejb,node-2(v=16.0.13)) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-2 2026-07-20 15:58:52,608 INFO  [org.infinispan.LIFECYCLE] (thread-9,ejb,node-2(v=16.0.13)) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-2 2026-07-20 15:58:52,609 INFO  [org.infinispan.LIFECYCLE] (non-blocking-thread--p5-t1) [Context=org.infinispan.CONFIG] ISPN100010: Finished rebalance with members [node-1, node-2], topology id 33
node-2 2026-07-20 15:58:52,611 INFO  [org.infinispan.LIFECYCLE] (non-blocking-thread--p10-t7) [Context=org.infinispan.CONFIG] ISPN100010: Finished rebalance with members [node-1, node-2], topology id 33
node-2 2026-07-20 15:58:52,616 INFO  [org.infinispan.LIFECYCLE] (non-blocking-thread--p8-t5) [Context=org.infinispan.CONFIG] ISPN100010: Finished rebalance with members [node-1, node-2], topology id 33
node-1 2026-07-20 15:58:52,619 INFO  [org.infinispan.LIFECYCLE] (thread-8,ejb,node-1(v=16.0.13)) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-1 2026-07-20 15:58:52,621 INFO  [org.infinispan.LIFECYCLE] (non-blocking-thread--p7-t3) [Context=org.infinispan.CONFIG] ISPN100010: Finished rebalance with members [node-1, node-2], topology id 33
node-1 2026-07-20 15:58:52,623 INFO  [org.infinispan.LIFECYCLE] (non-blocking-thread--p11-t2) [Context=org.infinispan.CONFIG] ISPN100010: Finished rebalance with members [node-1, node-2], topology id 33
node-1 2026-07-20 15:58:52,621 INFO  [org.infinispan.LIFECYCLE] (non-blocking-thread--p9-t4) [Context=org.infinispan.CONFIG] ISPN100010: Finished rebalance with members [node-1, node-2], topology id 33
node-3 2026-07-20 15:58:52,636 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 97) MODCLUSTER000002: Initiating mod_cluster shutdown
node-3 2026-07-20 15:58:52,640 INFO  [org.infinispan.CLUSTER] (blocking-thread--p51-t2) [Context=http-remoting-connector] ISPN100008: Updating cache members list [node-1, node-2], topology id 32
node-3 2026-07-20 15:58:52,642 INFO  [org.infinispan.CLUSTER] (blocking-thread--p51-t2) [Context=http-remoting-connector] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-3 2026-07-20 15:58:52,643 INFO  [org.jboss.as.clustering.infinispan] (blocking-thread--p51-t2) WFLYCLINF0003: Stopped http-remoting-connector cache from ejb container
node-1 2026-07-20 15:58:52,647 INFO  [org.infinispan.LIFECYCLE] (thread-8,ejb,node-1(v=16.0.13)) [Context=http-remoting-connector] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-3 2026-07-20 15:58:52,649 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
node-2 2026-07-20 15:58:52,651 INFO  [org.infinispan.LIFECYCLE] (thread-9,ejb,node-2(v=16.0.13)) [Context=http-remoting-connector] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-2 2026-07-20 15:58:52,655 INFO  [org.infinispan.LIFECYCLE] (non-blocking-thread--p14-t7) [Context=http-remoting-connector] ISPN100010: Finished rebalance with members [node-1, node-2], topology id 33
node-1 2026-07-20 15:58:52,658 INFO  [org.infinispan.LIFECYCLE] (non-blocking-thread--p4-t1) [Context=http-remoting-connector] ISPN100010: Finished rebalance with members [node-1, node-2], topology id 33
node-3 2026-07-20 15:58:52,661 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 95) [Context=org.infinispan.CONFIG] ISPN100008: Updating cache members list [node-1, node-2], topology id 32
node-3 2026-07-20 15:58:52,663 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 95) [Context=org.infinispan.CONFIG] ISPN100002: Starting rebalance with members [node-1, node-2], phase READ_OLD_WRITE_ALL, topology id 33
node-3 2026-07-20 15:58:52,663 INFO  [org.infinispan.CLUSTER] (thread-8,ejb,node-3(v=16.0.13)) [Context=http-remoting-connector] ISPN100009: Advancing to rebalance phase READ_ALL_WRITE_ALL, topology id 34


… after removing the configured datasource via CLI
@jfdenise
jfdenise force-pushed the datasource_default_handling branch from f963da3 to 7decac6 Compare July 21, 2026 10:24
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.

@github-actions github-actions Bot added the Stale label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants