> The second one is when I am trying to shut down the database,
> I get the following error message
> Exception in thread "main" org.xmldb.api.base.XMLDBException:
> only users in grou p dba may shut down the database at
> stanceManager.java:29) at PutA.main(PutA.java:67)
Make sure that whenever you getCollection you authenticate as the admin.
You do that in the first case in your code, but not in the second one.
On the other hand, I *think* eXist hooks in a shutdown handler, so as long
as the JVM exits gracefully the database will be automatically shut down.
Wolfgang, can you confirm?
Piotr Kaminski (piotr@...)
It's the heart afraid of breaking that never learns to dance.
Get latest updates about Open Source Projects, Conferences and News.