On a whim, I tried adding the DbStarter listener to our web.xml file.

Web.xml relevant code:

    <context-param>
        <param-name>db.url</param-name>
        <param-value>jdbc:h2:file:$PATH</param-value>
    </context-param>
    <context-param>
        <param-name>db.user</param-name>
        <param-value>$USER</param-value>
    </context-param>
    <context-param>
        <param-name>db.password</param-name>
        <param-value>$PASSWD</param-value>
    </context-param>
    <context-param>
        <param-name>db.tcpServer</param-name>
        <param-value>-tcpAllowOthers</param-value>
    </context-param>

    <listener>
         <listener-class>org.h2.server.web.DbStarter</listener-class>
    </listener>

It didn't work, as the H2 db directory still contained a lock file
after the server established a connection.   Still hoping someone can
point me in the right direction.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to