Configuring the Personalization Portal for Load-Balancing

set classpath=%classpath%;ORACLE_HOME\jsp\lib\ojsp.jar set classpath=%classpath%;ORACLE_HOME\lib\servlet.jar

set classpath=%classpath%;ORACLE_HOME\Apache\BC4J\lib\jndi.jar set classpath=%classpath%;ORACLE_HOME\lib\xmlparserv2.jar set classpath=%classpath%;<WE_HOME>\lib\client.zip

set classpath=%classpath%;<WE_HOME>\lib\server.zip

set classpath=%classpath%;<WE_HOME>\lib\caboshare-opt-1_0_0.zip set classpath=%classpath%;<WE_HOME>\lib\marlin-opt-1_0_0.zip set classpath=%classpath%;<WE_HOME>\lib\ocelot-opt-1_0_0.zip set classpath=%classpath%;<WE_HOME>\lib\share-opt-1_1_7.zip set classpath=%classpath%;<<WE_HOME>>\lib\tecate-opt-1_0_0.zip set classpath=%classpath%;<WE_HOME>\lib\regexp.jar

set classpath=%classpath%;<WE_HOME>\lib\sax2.jar

set classpath=%classpath%;<WE_HOME>\lib\activation.jar set classpath=%classpath%;<WE_HOME>\lib\mail.jar

set classpath=%classpath%;<WE_HOME>\lib\ldap.jar set classpath=%classpath%;<WE_HOME>\lib\ldapbp.jar

set classpath=%classpath%;<WE_HOME>\lib\providerutil.jar set classpath=%classpath%;<WE_HOME>\lib\sdoapi.jar

set classpath=%classpath%;<WE_HOME>\lib\sdovis.jar set classpath=%classpath%;<WE_HOME>\lib\MapQuestX.jar set classpath=%classpath%;<WE_HOME>\lib\MQJavaCore.jar

set classpath=%classpath%;<WE_HOME>\lib\RoutingJServerClient.jar set classpath=%classpath%;<WE_HOME>\lib\jai_codec.jar

set classpath=%classpath%;WE_HOME\lib\classes%1

REM Add other classpath entries here for specific features or hooks implemented REM by the customer.

java -c %org.apache.jserv.JServ ORACLE_HOME\Apache\JServ\conf\jserv%1.properties

This script (in the example, jservmanual.sh) can be used in the following manner to start and stop a Jserv instance:

To start instance 1, use: jservmanual.sh 1

To stop an instance, use: jservmanual.sh 1 -s

Multiple JVM Support and Load Balancing 5-13

Page 73
Image 73
Oracle Audio Technologies 9i manual Set classpath=%classpath%WEHOME\lib\server.zip