Repository navigation
Replies: 2 comments
|
This answered. |
0 replies
8000
|
This answered. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
📄 Issue Summary
Version 26.2.4 was working perfectly in my test environment. However, after upgrading to the newly released version 26.2.5, I started seeing error logs in the console.
🔧 cache-ispn.xml Configuration
This configuration was working fine with version 26.2.4:
🛠 Temporary Fix
Initially, the cluster node data was not being inserted into the JGROUPS_PING table. I updated the following line:
insert_single_sql="INSERT INTO ${env.KC_DB_SCHEMA:dbo}.JGROUPS_PING (address, name, cluster_name, ip, coord) values (?, ?, ?, '${env.JGROUPS_DISCOVERY_EXTERNAL_IP:127.0.0.1}', ?);"
to:
insert_single_sql="INSERT INTO ${env.KC_DB_SCHEMA:dbo}.JGROUPS_PING (address, name, cluster_name, ip, coord) VALUES (?, ?, ?, ?, ?);"
After this change, node data started appearing in the table correctly.
❗ Console Error
Despite the insertion working correctly, the following error occurs during table cleanup:
2025-05-29 02:22:44,595 ERROR [org.jgroups.protocols.JDBC_PING2] (main) a0f8ca45903c-14147: failed clearing the table for cluster ISPN: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'jgroups'.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:270)
...
at org.jgroups.protocols.JDBC_PING2.clearTable(JDBC_PING2.java:389)
🔍 Observation
After fixing insert_single_sql, data is correctly inserted into the table.
However, when the clearTable method is triggered (likely due to remove_all_data_on_view_change="true"), the following SQL error occurs:
Invalid object name 'jgroups'
This suggests that the JDBC_PING2 protocol might not be resolving the schema-qualified table name correctly during the DELETE or TRUNCATE operation.
All reactions