This project contains an embedded JBoss Xindice service. It also contains supportclasses to make it easy to setup amsterdam channels to work agains xindice.
Usage is documented in the javadoc.
The documenation of the embedded server class is in org.backsource.xindice.server.XindiceService, see that for more info on it. This project also contains the logick to pack it into a sar-file. Build it with:
maven xindice:sar
To install it into a JBoss server one things needs to be done:Copy the amsterdam-xindice-XXX.sar into the deploy directory of JBoss/Amsterdam, i.e server/default/deploy.
For the new openorb.jar to be loaded the server must be restarted. By default the servcice will use the db/xindice as its home, i.e server/default/db/xindice. All data will be saved there. If the server is updated/moved and the data should move with it you have to manually copy it to the new destination. The Xindice config files are in db/xindice/config, so are the openorb files.
If there are problems with openorb, it has to be removed from the sar an copied into jboss. cp openorb-1.2.0.jar into your amsterdam/JBoss server server/default/lib.
Its important to remember that none of the amsterdam libs are includesin the resulting sar, to avoid classloader issuses when used together with amsteram. If you want to run it without amsterdam depoyed, either copy the amsterdam jars to your jboss lib directory or edit project.xml and ad an xindice.bundle property to all the amsterdam dependancies.