H2 trying to access "/private/var/empty/test.trace.db",

672 views
Skip to first unread message

Ronald Marin

unread,
Oct 16, 2017, 2:16:33 PM10/16/17
to H2 Database
Why is H2 trying to access this?
org.h2.message.DbException: Log file error: "/private/var/empty/test.trace.db", cause: "java.io.FileNotFoundException: /private/var/empty/test.trace.db (Permission denied)" [90034-195]
org.h2.message.DbException: Log file error: "/private/var/empty/test.trace.db", cause: "java.io.FileNotFoundException: /private/var/empty/test.trace.db (Permission denied)" [90034-195]
at org.h2.message.DbException.get(DbException.java:168)
Thanks, 

Noel Grandin

unread,
Oct 18, 2017, 10:07:55 AM10/18/17
to h2-da...@googlegroups.com, Ronald Marin
probably because you changed your current folder to
/private/var/empty
and then tried to open a H2 database in the current folder.

Ronald Marin

unread,
Oct 18, 2017, 10:34:26 AM10/18/17
to H2 Database
Thanks Noel, but not I did not change my current folder to that. this happened when deploying the application in Tomcat.

Kerry Sainsbury

unread,
Oct 18, 2017, 9:35:44 PM10/18/17
to h2-da...@googlegroups.com
Maybe Tomcat changed your current folder?

http://www.h2database.com/html/features.html describes test.trace.db (I am no expert, just did a Google search)

--
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 h2-database+unsubscribe@googlegroups.com.
To post to this group, send email to h2-da...@googlegroups.com.
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages