What operation is required for database disconnection and reconnection in javadatabaseMBS.getConnection?

In web applications, JavaDatabaseMBS. getConnection failed to connect to the database again.


Again? Did it work before?
Do you get an exception or error?

It is also a threading issue. If the VM needs to be created under the module, reconnecting it under the APP will fail.

You may need to initialize VM in main thread and connect there.