Hi, > jdbc:h2:file:/ourdb/db; > > Since this call is initiated during the startup of the application a new > database is being setup on the server system. Now the problem with Linux is > that, unless the web server is run as root, this initialization fails, since > the web server does not have permission to write to "/".
I don't understand - the URL /ourdb/db doesn't point to the directory "/". It points to the directory "/ourdb/". You do have access to that directory? If not, to what directory do you have access to? Or do you want to use an in-memory database (that's also supported)? > What would be the recommended way to handle this on Linux? This is not related to Linux only. Even on Windows, you can use absolute directories or relative ones, such as: jdbc:h2:file:/data/test (absolute) jdbc:h2:file:data/test (relative to the current working directory) Regards, Thomas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
