Skip to content

Commit

Permalink
[CBRD-24642] [p11_2] Add checking JVM is loaded in SA_MODE not to ret…
Browse files Browse the repository at this point in the history
  • Loading branch information
hgryoo authored Jan 27, 2023
1 parent eb87f92 commit f0e52cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transaction/boot_sr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2296,7 +2296,7 @@ boot_restart_server (THREAD_ENTRY * thread_p, bool print_restart, const char *db
#if defined (SA_MODE)
// Initialize java stored procedure server for standalone mode
jsp = prm_get_bool_value (PRM_ID_JAVA_STORED_PROCEDURE);
if (jsp)
if (jsp && !jsp_jvm_is_loaded ())
{
jsp_port = prm_get_integer_value (PRM_ID_JAVA_STORED_PROCEDURE_PORT);
error_code = jsp_start_server (db_name, db->pathname, jsp_port);
Expand Down

0 comments on commit f0e52cb

Please sign in to comment.