Apache web server Mutiple Jserv setup
ApJservManual determines how JServ is started.
The directive ApJServManual directive in $ORACLE_HOME/Apache/Jserv/etc/jserv.conf can have 3 different values :
* off : In this case the Jserv engine is started up together with apache i.e. apachectl start will start up a series of http-processes and one or more Jserv process.
* on : This basicly means that Jserv needs to be started up manually.
* auto : This means that one or more Jserv processes will be started automatically together with the apache listener.
How many Jserv processes?
-------------------------
How many Jserv processes are started? Well, Apache scans the jserv.conf file for a series of mount points. These mount points are found on the basis of two series of directives :
=== if ApJServManual = auto
directives ApJServGroup, ApJServGroupSecretKey and ApJServGroupMount.
ApJServGroup , so if you want 2 jvm for group1 set
ApJServGroup group1 2 1 $OH/Apache/Jserv/etc/jserv.properties
In jserv.properties file:
- If the total number of processes specified in jserv.conf is n, then at least
n ports should be specified. Take into consideration that n is the number of
processes for all the groups. You can set an higher value, for example:
port=8007-8017
The directive ApJServManual directive in $ORACLE_HOME/Apache/Jserv/etc/jserv.conf can have 3 different values :
* off : In this case the Jserv engine is started up together with apache i.e. apachectl start will start up a series of http-processes and one or more Jserv process.
* on : This basicly means that Jserv needs to be started up manually.
* auto : This means that one or more Jserv processes will be started automatically together with the apache listener.
How many Jserv processes?
-------------------------
How many Jserv processes are started? Well, Apache scans the jserv.conf file for a series of mount points. These mount points are found on the basis of two series of directives :
=== if ApJServManual = auto
directives ApJServGroup, ApJServGroupSecretKey and ApJServGroupMount.
ApJServGroup , so if you want 2 jvm for group1 set
ApJServGroup group1 2 1 $OH/Apache/Jserv/etc/jserv.properties
In jserv.properties file:
- If the total number of processes specified in jserv.conf is n, then at least
n ports should be specified. Take into consideration that n is the number of
processes for all the groups. You can set an higher value, for example:
port=8007-8017
<< Home