Also, starting up the server standalone fails:
*C:\Users\manticore\Documents\vbox>java -jar dist\lib\h2.jar*
TCP server running at tcp://132.10.200.124:9092 (only local connections)
Root cause: General error: "java.nio.file.InvalidPathException: Illegal
char <:>
at index 3: mem:management_db_9092.h2.db" [50000-200]
Exception in thread "main" org.h2.jdbc.JdbcSQLNonTransientException:
General err
or: "java.nio.file.InvalidPathException: Illegal char <:> at index 3:
mem:manage
ment_db_9092.h2.db" [50000-200]
at
org.h2.message.DbException.getJdbcSQLException(DbException.java:505)
at
org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
at org.h2.message.DbException.get(DbException.java:194)
at org.h2.message.DbException.convert(DbException.java:347)
at
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.jav
a:342)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:173)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
at org.h2.Driver.connect(Driver.java:69)
at org.h2.server.TcpServer.initManagementDb(TcpServer.java:96)
at org.h2.server.TcpServer.start(TcpServer.java:254)
at org.h2.tools.Server.start(Server.java:511)
at org.h2.tools.Console.runTool(Console.java:233)
at org.h2.tools.Console.main(Console.java:72)
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 3:
mem:
management_db_9092.h2.db
at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPath.parse(Unknown Source)
at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
at java.nio.file.Paths.get(Unknown Source)
at org.h2.store.fs.FilePathDisk.exists(FilePathDisk.java:188)
at org.h2.store.fs.FileUtils.exists(FileUtils.java:69)
at org.h2.engine.Database.exists(Database.java:485)
at org.h2.engine.Engine.openSession(Engine.java:64)
at org.h2.engine.Engine.openSession(Engine.java:192)
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:171)
at org.h2.engine.Engine.createSession(Engine.java:166)
at org.h2.engine.Engine.createSession(Engine.java:29)
at
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.jav
a:340)
... 8 more
C:\Users\manticore\Documents\vbox>
On Friday, November 22, 2019 at 3:34:40 PM UTC+7, areichel wrote:
>
> Dear All,
>
> on Windows Server 2000, the following connection strings works well with
> 1.4.200 (and previous versions):
>
>
> jdbc:h2:tcp://localhost//C:/Users/manticore/.manticore/ifrsbox;PAGE_SIZE=8192;CACHE_SIZE=200000;AUTO_RECONNECT=TRUE;DB_CLOSE_DELAY=60;DB_CLOSE_ON_EXIT=FALSE;DEFRAG_ALWAYS=true;LOCK_TIMEOUT=10000
>
> It fails with 1.4.201-pre (pulled today) with the following exception:
>
> General error: "java.nio.file.InvalidPathException: Illegal char <:> at
> index 3: mem:management_db_9092.h2.db" [50000-200] Illegal char <:> at
> index 3: mem:management _db_9092.h2.db
>
> Bug or feature? And how am I supposed to point on Windows paths now?
> Best regards
> Andreas
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/h2-database/3bf04a16-0a5d-4325-ba31-e59348807179%40googlegroups.com.