Vadim Gritsenko wrote:

Jonathan Melhuish wrote:

"Could not locate Xindice driver class! Ensure the necessary jars are on your classpath: xindice.jar, xmldb.jar, xmldb-sdk.jar is a good guess"


Add to your JSP:

 <%= new org.apache.xindice.client.xmldb.embed.DatabaseImpl() %>

If it fails you'll know that classpath is the problem. You have to have xindice-*.jar and all xmldb-*.jar's in WEB-INF/lib of your webapp.

Thanks, that was indeed the problem. I didn't realise that, even if you've already installed the WAR, you still have to:


* Download and extract the source tarball
* Run "build"
* Copy the resulting xindice.jar from "dist" to the webapp's "lib" directory


I don't quite understand why this is necessary.

I think the current migration notes on the Wiki are a little confusing if you are trying to install a release version (from a WAR file, for example). Should I write a "migrating to a stable 1.1 release" how-to?

Cheers,

Jon

Reply via email to