Frequently Asked Questions about SVNIndexer and SVNIndexer-webapplication
SVNSearcher is composed of two application: SVNIndexer (creates and updates index) and SVNIndexer-webapplication (using index files to searching and provides user interface).
You can use them apart and the only information needed to integrate them is included in configuration file and in index files.
Yes you can, but currently SVNIndexer enable set only one URL (in property file)
per one start SVNIndexer.
Nevertheless SVNIndexer add information about indexed repository URL to index after each indexing.
If you start SVNIndexer many times, each start with other configuration in property file,
you will have added many repository names and URLs to index.
In result each next start will update all before added to index repositories.
Note that currently version of SVNIndexer doesn't wirte in index authorization configuration, so each repository you added must have the same authorization options or have disabled authorization option.
SVNIndexer, during writing to index files, creates temporary lock file in your temporary directory (depends on operation system).
This file informs that index files are currently occupied and any other application can't write on them.
SVNIndexer always deletes lock file after finished indexing, but when application is terminated
(process is killed) this lock file isn't deleted and you have to delete it manually before next starting SVNIndexer.
This error can also occured when other instance of SVNIndexer application is run.
For example when you use SVN hooks to index repository after each commit,
next start of SVNIndexer should be after previous instance (SVNIndexer) finished.
Currently used authorization module is a external libray (in 'C').
This library has strong relation with SVN verision, Operation system version
so it has to be compiled on each system which use SVNSearcher authorization option.
If you are going to use authorization option you have to set authorization=true in property file
(default the file has name conf.properties).
You also have to set path to SVN authorization file in access property in proterties file.
If you installed SVNIndexer-webapplication on other machine than SVN server and you can't set path to currently using SVN authorization file, you must copy this file on machine with SVNIndexer-webapplication.
Note that in this case all changes in this file on SVN server should be copied to file using in SVNIndexer-webapplication.
Before you use Makefile to create the module, you have to install and prepare:
Now you can execute make in Authorization directory
After building libAuthorization.so copy this file to $CATALINA_HOME/shared/lib.
and export viarable $LD_LIBRARY_PATH
This variable must be always exported when you start Tomcat.
Remember that if you start Tomcat from root account, this variable must be
set for root enviroment and using sudo isn't equals to start Tomcat from root enviroment.
After this SVNIndexer-webapplication will try to authorize user
got from session to access for each found document.
Probably you have not set correctly $LD_LIBRARY_PATH to directory with libAuthorization.so module.
Make sure that enviroment which starts Tomcat has exported:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/shared/lib.Remember that if you start Tomcat from root account, this variable must be
Acrobat, Adobe, PDF and Reader are registered trademarks of Adobe Systems Incorporated.
Linux is a registered trademark of Linus Torvalds.
Microsoft, Word, Excel, PowerPoint, Office, Windows are registered trademarks of Microsoft Corporation.
EJB, Enterprise JavaBeans, Java, JavaServer, JDBC, JSP, J2EE, Solaris, Sun Microsystems, Java Naming and Directory Interface, SOAP with Attachments API for Java, JavaServer Pages and SunSoft are trademarks of Sun Microsystems, Inc.
UNIX is a registered trademark in the United States and other countries, exclusively licensed through X/Open Company, Ltd.
Apache, Apache POI and POI, Apache Tomcat and Tomcat, Xerces-C, Apache Lucene and Lucene, log4j, Apache Maven and Maven are trademarks of the Apache Software Foundation
Subversion, SVN are a trademark of Subversion Corporation
All other marks are the property of their respective owners