Hi, I found the problem, it will be fixed in the next release. It seems to be happening only in Windows by the way.
Regards, Thomas On Tuesday, May 6, 2014, Stefan Beigel <[email protected]> wrote: > Hi > > I am using windows 8.1 > I don't use basedir > > stacktrace from webinterface > A file path that is implicitly relative to the current working directory > is not allowed in the database URL "jdbc:h2:tcp://localhost//data". Use an > absolute path, ~/name, ./name, or the baseDir setting instead. > [90011-178]<http://192.168.178.22:8082/login.do?jsessionid=1f11c71bfd1d3c8e3702e85cef26f179#>90011/90011 > (Hilfe)<http://h2database.com/javadoc/org/h2/constant/ErrorCode.html#c90011> > org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to > the current working directory is not allowed in the database URL > "jdbc:h2:tcp://localhost//data". Use an absolute path, ~/name, ./name, or > the baseDir setting instead. [90011-178] > at > org.h2.message.DbException.getJdbcSQLException(DbException.java:344<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=344&build=178>) > > at > org.h2.message.DbException.get(DbException.java:178<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=178&build=178>) > > at > org.h2.message.DbException.get(DbException.java:154<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=154&build=178>) > > at > org.h2.engine.ConnectionInfo.getName(ConnectionInfo.java:392<http://h2database.com/html/source.html?file=org/h2/engine/ConnectionInfo.java&line=392&build=178>) > > at > org.h2.engine.Engine.openSession(Engine.java:42<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=42&build=178>) > > at > org.h2.engine.Engine.openSession(Engine.java:164<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=164&build=178>) > > at > org.h2.engine.Engine.createSessionAndValidate(Engine.java:142<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=142&build=178>) > > at > org.h2.engine.Engine.createSession(Engine.java:125<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=125&build=178>) > > at > org.h2.server.TcpServerThread.run(TcpServerThread.java:150<http://h2database.com/html/source.html?file=org/h2/server/TcpServerThread.java&line=150&build=178>) > > at java.lang.Thread.run(Unknown Source) > > at > org.h2.engine.SessionRemote.done(SessionRemote.java:610<http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=610&build=178>) > > at > org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:129<http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=129&build=178>) > > at > org.h2.engine.SessionRemote.connectServer(SessionRemote.java:434<http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=434&build=178>) > > at > org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:315<http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=315&build=178>) > > at > org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107<http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcConnection.java&line=107&build=178>) > > at > org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91<http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcConnection.java&line=91&build=178>) > > at > org.h2.Driver.connect(Driver.java:74<http://h2database.com/html/source.html?file=org/h2/Driver.java&line=74&build=178>) > > at > org.h2.server.web.WebServer.getConnection(WebServer.java:684<http://h2database.com/html/source.html?file=org/h2/server/web/WebServer.java&line=684&build=178>) > > at > org.h2.server.web.WebApp.login(WebApp.java:958<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=958&build=178>) > > at > org.h2.server.web.WebApp.process(WebApp.java:212<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=212&build=178>) > > at > org.h2.server.web.WebApp.processRequest(WebApp.java:171<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=171&build=178>) > > at > org.h2.server.web.WebThread.process(WebThread.java:138<http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=138&build=178>) > > at > org.h2.server.web.WebThread.run(WebThread.java:94<http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=94&build=178>) > > at java.lang.Thread.run(Unknown Source) > > Iam using older version now. > Maybe switching to jdbc:h2:tcp://localhost//~/data. > > > > Am Montag, 5. Mai 2014 07:46:15 UTC+2 schrieb Thomas Mueller: >> >> Hi, >> >> I can't reproduce the problem with your database URL. Do you use Windows? >> Do you use the "baseDir" setting? Could you post the complete error message >> including all stack traces please? >> >> Regards, >> Thomas >> >> >> On Sunday, May 4, 2014, Thomas Mueller <[email protected]> wrote: >> >>> Hi, >>> >>> Hm, I think your url should work, as it's absolute due to double slash >>> (database in the root directory). I will investigate. >>> >>> Regards, Thomas >>> >>> On Saturday, May 3, 2014, Stefan Beigel <[email protected]> wrote: >>> >>>> Hi guys >>>> >>>> Getting this exception while starting h2: >>>> "A file path that is implicitly relative to the current working >>>> directory is not allowed in the database URL" >>>> My jdbc string is jdbc:h2:tcp://localhost//data >>>> >>>> This happens only with version >>>> Version 1.4.178 (2014-05-02), Beta >>>> >>>> yours sincerely >>>> ______ >>>> Stefan >>>> >>>> -- >>>> 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. >>>> >>> -- > 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]<javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');> > . > To post to this group, send email to > [email protected]<javascript:_e(%7B%7D,'cvml','[email protected]');> > . > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- 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.
