Skip to content

Commit

Permalink
[CBRD-24063] Fix "Cannot communicate with the broker" error (#22)
Browse files Browse the repository at this point in the history
http://jira.cubrid.org/browse/CBRD-24063

This PR fixes a regression caused by 3807c2b. In ExecuteThreadStatus.DESTROY status, UServerSideConnection.close(I) also be called, and It causes "Cannot communicate with the broker" error at the end of calling Java Stored procedure.
  • Loading branch information
hgryoo committed Oct 14, 2021
1 parent 3807c2b commit 3b27935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jdbc/cubrid/jdbc/jci/UServerSideConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ protected void closeInternal() {
new Class[] {},
this.curThread,
new Object[] {});
if (currentStatus == CALL) {
if (currentStatus != INVOKE) {
disconnect();
UJCIUtil.invoke(
"com.cubrid.jsp.ExecuteThread",
Expand Down

0 comments on commit 3b27935

Please sign in to comment.