Ah, that did the trick! I changed ownership to tomcat:tomcat and now the error has disappeared. Thanks very much for the hint Paul :-)
Thanks, too ;) Christian
Paul
Hi Fabrice,
How would I know?
A thought that just crossed my mind: the files of the database are not owned by root or tomcat. Could that be an issue? (I'm not very familiar with unix, so I don't know exactly how ownership of a file effects processes).
Paul
Hi Paul, Is there any basexhttp instance that could have opened the db ?
Best regards, Fabrice Questel/Orbit
-----Message d'origine----- De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de Paul Swennenhuis Envoyé : lundi 17 novembre 2014 22:44 À : basex-talk@mailman.uni-konstanz.de Objet : [basex-talk] Opened by another process
Why would I get a bxerr:BXDB0007 error "Database 'profiles' cannot be updated, as it is opened by another process" when executing these commands from a BaseX client:
open profiles; xquery insert node <profile>abc</profile> into /profiles
Where "profiles" is an existing database, and /profiles an existing root element, and I am quite positive that the database is NOT being used in another process?
When I issue these commands on localhost it is working fine.
Paul