Solprovider Lenya Kongregate Registration for Free Flash Games and Chat with solprovider

Searching Publications on Unix-like Operating Systems

This supplements Searching Publications on Windows with the changes necessary for running on Linux.

Packaging Bug

apache-lenya-1.2.2-src.tar.gz includes lucene-1.3-final.jar and lucene-1.4.1.jar. Search will error:

The method search(Query) in the type Searcher is not applicable for the arguments (Query, Sort)

unless you delete:


The Windows BAT file will not work on Linux. Create this shell file:
FILE: /opt/apache-lenya-1.2.2/tools/bin/
#! /bin/sh
# LENYA_BUILD contains the "bin" and "pubs" directories.
./ant -f $LENYA_BUILD/bin/crawl_and_index.xml -Dlucene.xconf=$LENYA_BUILD/pubs/$LENYAPUB/config/search/lucene-live.xconf index

This assumes apache-lenya-1.2.2 was installed to the /opt directory. Adjust the filepaths and the publication id appropriately.

chmod +x
chown lenya:lenya

This assumes user "lenya" runs Lenya. Adjust to your user.

An IOException could be caused if the user cannot write to (Issue was found on FreeBSD).

FILE: /opt/apache-lenya-1.2.2/tools/bin/
(Copy from Windows version.)

Fix the server bug and create the publication files as in the Windows version.

Add /opt/apache-lenya-1.2.2/tools/bin/ to cron

<< Easy DownloadWindows >>

Contact Solprovider
Paul Ercolino