Can someone help me please ? On Wed, Sep 30, 2015 at 3:46 PM, Ashish Srivastava <[email protected]> wrote:
> Hi All, > > I am facing an issue with accessing H2 db ( opening connection for > read/write ) from shared location from 2 processes concurrently. I have > appended AUTO_SERVER=TRUE in url and same url is being used to open DB > connection from 2 tomcat servers. > > Example url - jdbc:h2:%base%data\nim-sm-customizations;AUTO_SERVER=TRUE > > When 2 server processes try to open connection exactly at same time, I hit > below issue - > > *Database may be already in use: "Locked by another process". Possible > solutions: close all other connection(s); use the server mode [90020-164]* > > Can someone explain me why I hit above issue in AUTO_SERVER=TRUE ? > > Quick response is highly appreciated. > > > Thanks > Ashish > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
