jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajesh <rajes...@skava.com>
Subject Re: Jackrabbit oak : RDBDocumentNodeStore is failing due to java.sql.SQLException: Data source is closed
Date Tue, 25 Sep 2018 12:36:30 GMT

I'm using the below code to start embedded h2 server.

  public Server embeddedH2Server() throws SQLException {
    String h2TcpPort = hibernateProperties.getPort();  
    h2TcpServer = Server.createTcpServer("-tcp", "-tcpAllowOthers",
"-tcpPort", h2TcpPort).start();
    LOGGER.info("embedded h2 server initialized with  port : {}",
    return h2TcpServer;

Yes mem option is for In-memory (named) db.

Should I configure any connection pooling mechanism here?

Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Users-f510167.html

View raw message