We have 3 h2 databases embedded and we connect using the file url.  The 
first one connects and when we attempt the 2nd one - we get the following 
exception.  The one that says NewPortal...is the one that is connected 
already.  The one that says ssharma in the file path is what I am 
attempting to connect and I get this error:
Any help is appreciated.
org.h2.jdbc.JdbcSQLException: IO Exception: 
"C:/Users/ssharma/AppData/Local/Temp/v360-6216063115481358173 outside 
C:/NewPortal/Portal/database/h2" [90028-162]
        at 
org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
        at org.h2.message.DbException.get(DbException.java:169)
        at org.h2.message.DbException.get(DbException.java:146)
        at org.h2.engine.ConnectionInfo.setBaseDir(ConnectionInfo.java:178)
        at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:105)
        at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
        at org.h2.Driver.connect(Driver.java:72)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/ihR1LNZ3CscJ.
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