[jboss-jira] [JBoss JIRA] (WFLY-8488) Usage of JGroups JDBC_PING attempts to delete row too late
Paul Ferraro (JIRA)
issues at jboss.org
Mon Jan 15 11:25:00 EST 2018
[ https://issues.jboss.org/browse/WFLY-8488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13517258#comment-13517258 ]
Paul Ferraro edited comment on WFLY-8488 at 1/15/18 11:24 AM:
--------------------------------------------------------------
[~meetoblivion] Yes, the data-source attribute is new as of WF11.
e.g.
{code:xml}<jdbc-protocol type="JDBC_PING" data-source="ExampleDS"/>{code}
Prior to WF11, the protocol would need to supply a "datasource_jndi_name" property containing the JNDI name of a database.
was (Author: pferraro):
Yes, the data-source attribute is new as of WF11.
e.g.
{code:xml}<jdbc-protocol type="JDBC_PING" data-source="ExampleDS"/>{code}
Prior to WF11, the protocol would need to supply a "datasource_jndi_name" property containing the JNDI name of a database.
> Usage of JGroups JDBC_PING attempts to delete row too late
> ----------------------------------------------------------
>
> Key: WFLY-8488
> URL: https://issues.jboss.org/browse/WFLY-8488
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.1.0.Final
> Reporter: John Ament
> Assignee: Paul Ferraro
>
> I was recently working on spinning up a Keycloak cluster. We're deployed to AWS, can't leverage UDP and wanted to have a discovery mechanism that was easy to use, so tried out JDBC_PING. While I got the cluster running, when shutting down a node I would receive an exception on the console when attempting to remove the node from the cluster. It attempts to do a delete on the row in the database after the DataSource has been shut down.
> In my setup, I'm pointing JGroups at the same DataSource as Keycloak, I'm not using the properties approach. I can switch to the properties approach, but I would prefer a single pool rather than multiple connections.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list