Hi Evgenij, One more thing is that the following is my application's H2 DB URL:
*jdbc:h2:%base%data\nim-sm-customizations;AUTO_SERVER=TRUE* *And with the h2 jar version 1.4.199 I couldn't see any issues even if the URL contains AUTO_SERVER=TRUE but with 1.4.200 only it was giving an error below:* WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ca-nim-sm_h2DB] appears to have started a thread named [H2 TCP Server (tcp://10.230.44.99:55171)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.net.DualStackPlainSocketImpl.accept0(Native Method) *Can we find any documentation that shows the differences between the versions 1.4.199 and 1.4.200 to understand what has been changed?* Thanks, Balamurali On Tue, May 11, 2021 at 1:28 PM Balamurali Krishna Ippili < balamurali.ipp...@broadcom.com> wrote: > Hi Evgenij, > > If the AUTO_SERVER=TRUE has been removed , can the external applications > still be able to access the DB? > > > > Thanks, > Balamurali > > On Wed, May 5, 2021 at 7:36 PM Evgenij Ryazanov <kat...@gmail.com> wrote: > >> Hello. >> >> Don't use AUTO_SERVER in web applications, their lifecycle is different >> from standalone applications. Web applications should either use an >> embedded database or connections to a separate H2 Server process. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to h2-database+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/h2-database/bf14bddc-d495-4a16-a956-c35bab1ecafan%40googlegroups.com >> <https://groups.google.com/d/msgid/h2-database/bf14bddc-d495-4a16-a956-c35bab1ecafan%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/CAG6_yCAKrmdBoz1fC8om06%2BiO_kP6zn5GpNPbE_z6VvtZ6qCHQ%40mail.gmail.com.
smime.p7s
Description: S/MIME Cryptographic Signature