Re: [basex-talk] Opened by another process

2014-11-18 Thread Imsieke, Gerrit, le-tex



On 18.11.2014 11:31, Maximilian Gärber wrote:

wow, this has to be nicest tech list on the planet

users thank themselves, receive thanks from the owners ;-)


But there are also nasty subscribers such as myself who pedantically 
insist that said users thank each other (rather than themselves, 
reflexively). So curb your enthusiasm, Max!


Gerrit




2014-11-17 23:51 GMT+01:00 Christian Grün :

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-boun...@mailman.uni-konstanz.de
[mailto:basex-talk-boun...@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 abc 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







--
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit.imsi...@le-tex.de, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vöckler


Re: [basex-talk] Opened by another process

2014-11-18 Thread Maximilian Gärber
wow, this has to be nicest tech list on the planet

users thank themselves, receive thanks from the owners ;-)


2014-11-17 23:51 GMT+01:00 Christian Grün :
>> 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-boun...@mailman.uni-konstanz.de
>>>> [mailto:basex-talk-boun...@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 abc 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
>>>
>>>
>>


Re: [basex-talk] Opened by another process

2014-11-17 Thread Christian Grün
> 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-boun...@mailman.uni-konstanz.de
>>> [mailto:basex-talk-boun...@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 abc 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
>>
>>
>


Re: [basex-talk] Opened by another process

2014-11-17 Thread Paul Swennenhuis

Ah, that did the trick!
I changed ownership to tomcat:tomcat and now the error has disappeared.
Thanks very much for the hint Paul :-)

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-boun...@mailman.uni-konstanz.de 
[mailto:basex-talk-boun...@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 abc 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






Re: [basex-talk] Opened by another process

2014-11-17 Thread Paul Swennenhuis

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-boun...@mailman.uni-konstanz.de 
[mailto:basex-talk-boun...@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 abc 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




Re: [basex-talk] Opened by another process

2014-11-17 Thread Fabrice Etanchaud
Hi Paul,
Is there any basexhttp instance that could have opened the db ?

Best regards,
Fabrice
Questel/Orbit

-Message d'origine-
De : basex-talk-boun...@mailman.uni-konstanz.de 
[mailto:basex-talk-boun...@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 abc 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


[basex-talk] Opened by another process

2014-11-17 Thread Paul Swennenhuis
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 abc 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