Oracle Ultra Search User's Guide Release 9.0.3 Part Number B10043-01 |
|
|
View PDF |
The Ultra Search crawler is a pure Java application that runs in a Java virtual machine. A Java virtual machine uses the Java classpath to find classes during runtime. When Ultra Search is installed, the default crawler classpath is stored in the database. Whenever a new Ultra Search instance is created, this default classpath is copied and used as the crawler classpath for that specific instance.
Usually, you do not need to alter the crawler Java classpath. However, there may be certain reasons for you to do so. One reason could be to replace the JavaMail™ reference implementation with a third party JavaMail implementation.
The crawler classpath is the classpath of a crawler that runs on the same host that the Ultra Search Server component is installed. However, Ultra Search allows remote crawlers to be run on other hosts for scalability.
Remote crawler activation uses Java remote method invocation (RMI) technology. As a result, the classpath setting of a remote crawler is inherited from the classpath settings of the RMI registry and RMI daemon.
$ORACLE_HOME/ultrasearch/admin/wk0cpath.sql
.wk0cpath
.sql
script as the WKSYS
superuser or as a database user that has been granted the WKADMIN
role.$ORACLE_HOME/ultrasearch/tools/remotecrawler/scripts/unix/define_env
. If the host is a windows NT machine, locate the file $ORACLE_HOME/ultrasearch/tools/remotecrawler/scripts/winnt/define_env
.bat
.define_env
file specifies all environment settings used by the RMI subsystem. To alter the classpath, use a text editor to modify the APPLICATION_CLASSPATH
variable.See Also:
Appendix C, "Using the Remote Crawler" for more details on starting up the RMI subsystem |