Hi,

Could you find out what the final database URL is? It looks like some kind
of formatting problem, but I'm not sure.

Regards,
Thomas



On Fri, Mar 13, 2015 at 2:43 PM, Jason <[email protected]
<javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:

> Sorry, here's the entire trace.  I'm using Mybatis for object-relational
> mapping.
>
> Exception in thread "main"
> org.apache.ibatis.exceptions.PersistenceException:
> ### Error querying database.  Cause: org.h2.jdbc.JdbcSQLException: Error
> while creating file "mem:C:" [90062-178]
> ### The error may exist in
> com/mmm/his/cer/framework/pfp/test/access/SelectAllTester.java (best guess)
> ### The error may involve
> com.mmm.his.cer.framework.pfp.test.access.SelectAllTester.allApgDx
> ### The error occurred while executing a query
> ### Cause: org.h2.jdbc.JdbcSQLException: Error while creating file
> "mem:C:" [90062-178]
> at
> org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)
> at
> org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:111)
> at
> org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)
> at
> org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:119)
> at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:63)
> at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
> at com.sun.proxy.$Proxy2.allApgDx(Unknown Source)
> at
> com.mmm.his.cer.framework.pfp.test.access.TestDatasourceModes.run(TestDatasourceModes.java:57)
> at
> com.mmm.his.cer.framework.pfp.test.access.TestDatasourceModes.main(TestDatasourceModes.java:119)
> Caused by: org.h2.jdbc.JdbcSQLException: Error while creating file
> "mem:C:" [90062-178]
> at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
> at org.h2.message.DbException.get(DbException.java:178)
> at org.h2.message.DbException.get(DbException.java:154)
> at org.h2.store.fs.FilePathDisk.createDirectory(FilePathDisk.java:264)
> at org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:43)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:298)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:297)
> at org.h2.store.FileStore.<init>(FileStore.java:74)
> at org.h2.store.FileStore.open(FileStore.java:130)
> at org.h2.store.FileStore.open(FileStore.java:111)
> at org.h2.engine.Database.openFile(Database.java:523)
> at org.h2.store.PageStore.openNew(PageStore.java:303)
> at org.h2.store.PageStore.open(PageStore.java:292)
> at org.h2.engine.Database.getPageStore(Database.java:2369)
> at org.h2.engine.Database.open(Database.java:674)
> at org.h2.engine.Database.openDatabase(Database.java:262)
> at org.h2.engine.Database.<init>(Database.java:256)
> at org.h2.engine.Engine.openSession(Engine.java:57)
> at org.h2.engine.Engine.openSession(Engine.java:164)
> at org.h2.engine.Engine.createSessionAndValidate(Engine.java:142)
> at org.h2.engine.Engine.createSession(Engine.java:125)
> at org.h2.engine.Engine.createSession(Engine.java:27)
> at
> org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:335)
> at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)
> at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)
> at org.h2.Driver.connect(Driver.java:74)
> at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:191)
> at org.h2.jdbcx.JdbcDataSource.getConnection(JdbcDataSource.java:162)
> at
> org.apache.ibatis.transaction.jdbc.JdbcTransaction.openConnection(JdbcTransaction.java:134)
> at
> org.apache.ibatis.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java:61)
> at
> org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:279)
> at
> org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:72)
> at
> org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:59)
> at
> org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)
> at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:137)
> at
> org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:96)
> at
> org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:77)
> at
> org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:108)
> ... 7 more
>
>
>
>
> On Friday, March 13, 2015 at 6:25:45 AM UTC-4, Noel Grandin wrote:
>>
>> You trimmed off part of the exception. We need that part :-)
>>
>>  --
> 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.

Reply via email to