Hi!
We have a following problem happening only on linux environment. The
H2 version is 1.0.78 and we are using in-memory DB.
Where H2 tries to create this temp file by default and is it somehow
configurable?
Thank you!
Caused by: org.h2.jdbc.JdbcSQLException: IO Exception:
java.io.IOException: Permission denied; mem:appDB[90031-78]
at org.h2.message.Message.getSQLException(Message.java:103)
at org.h2.message.Message.convertIOException(Message.java:271)
at org.h2.engine.SessionRemote.createTempFile(SessionRemote.java:459)
at org.h2.value.ValueLob.initLarge(ValueLob.java:375)
at org.h2.value.ValueLob.createFromReader(ValueLob.java:201)
at org.h2.value.ValueLob.createClob(ValueLob.java:169)
at org.h2.jdbc.JdbcConnection.createClob(JdbcConnection.java:1500)
at
org.h2.jdbc.JdbcPreparedStatement.setCharacterStream(JdbcPreparedStatement.java:
945)
at
org.h2.jdbc.JdbcPreparedStatement.setCharacterStream(JdbcPreparedStatement.java:
917)
at
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setCharacterStream(WrappedPreparedStatement.java:
491)
at org.hibernate.type.TextType.set(TextType.java:22)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:116)
at org.hibernate.type.ComponentType.nullSafeSet(ComponentType.java:
307)
at
org.hibernate.persister.collection.AbstractCollectionPersister.writeElement(AbstractCollectionPersister.java:
755)
at
org.hibernate.persister.collection.AbstractCollectionPersister.recreate(AbstractCollectionPersister.java:
1143)
... 38 more
Caused by: java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1793)
at org.h2.store.fs.FileSystemDisk.createTempFile(FileSystemDisk.java:
157)
at org.h2.util.FileUtils.createTempFile(FileUtils.java:158)
at org.h2.engine.SessionRemote.createTempFile(SessionRemote.java:457)
... 51 more
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2
Database" group.
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
-~----------~----~----~----~------~----~------~--~---