Page 1 of 1

Configuring oXygen to use eXist for XQuery

Posted: Thu Jun 08, 2006 12:33 pm
by tkrueger
Hello,

I am having a problem with getting oXygen to connect to a running eXist database. The problem is that when I tro to refresh the list of known collections in the oXygen configuration under XML/[XSLT/FO/XQUERY]/XQuery/eXist, I get the following error:

eXist libraries are not present in file:/opt/oxygen/lib/ directory. Please check the XQuery section from the user manual for instructions.

Obviously, I cannot execute XQuery statements against the eXist instance, they result in the same error.

The thing is, the libraries are there, and they should be accessible. I am running Ubuntu Linux and using oXygen Version 7.2 Exist version 1.0-dev, using Sun's JDK 1.5.0_03. The files I copied over to [oxygen install]/dir are:
- exist.jar
- xmlrpc-1.2-patched.jar
- xmldb.jar,
as requested by the help. File ownership and permissions seem ok. Yet it seems oXygen cannot find them.

Any more hints on this?

Thanks in advance
Thorsten Krüger

Posted: Thu Jun 08, 2006 12:39 pm
by sorin_ristache
Hello,

Did you restart <oXygen/> after adding the eXist jars to the lib folder as required by step 2 of the procedure ?

Regards,
Sorin

Posted: Thu Jun 08, 2006 12:50 pm
by tkrueger
Thanks for the quick answer.

Yes, I did restart it. Several times by now, including the whole system. Still the same, strangely enough.

Re: Configuring oXygen to use eXist for XQuery

Posted: Thu Jun 08, 2006 2:44 pm
by sorin_ristache
Hello,
tkrueger wrote:I get the following error:

eXist libraries are not present in file:/opt/oxygen/lib/ directory. Please check the XQuery section from the user manual for instructions.

...

The files I copied over to [oxygen install]/dir are:
Did you copy the 3 jar files to /opt/oxygen/lib/ before restarting <oXygen/> ? The dir subdirectory does not exist.

Regards,
Sorin

Posted: Thu Jun 08, 2006 5:34 pm
by tkrueger
Sorry, I meant [oxygen install]/lib, typo in my reply.

And yes, I did copy them before. As I said, they are in there now, and oXygen has been restarted several times. A 'ls -al /opt/oxygen/lib' shows them with the same rights and owner as the rest (which is my normal non-root user, the same oXygen is started with).

Come to think of it, oXygen did run when I copied them, and I did restart it afterwards. But that shouldn't result in any permanent lock, should it?

Puzzled greetings
Thorsten

Posted: Thu Jun 08, 2006 5:44 pm
by tkrueger
I am saved! :wink:

Still not sure what was wrong, but I just deleted the .com.oxygemxml/ folder in my home directory, just in case. Works like a charm now. It seems there was some configuration information from previous versions of oXygen that somehow messed things up.

Thanks for the time and effort!

Regards
Thorsten