Oracle Oracle9i Application Manual page 59

Release 1.0.2 for aix-based systems, compaq tru64 unix, hp 9000 series hp-ux, linux intel, and sun solaris intel
Hide thumbs Also See for Oracle9i:
Table of Contents

Advertisement

Edit jserv2.properties as follows:
3.
port=8002
log.file=/usr/local/jserv/logs/jserv2.log
If your HTTP server will be running on a different host than
Note:
the JServ processes, you must also add the IP address of the host
running the HTTP server to the security.allowedAddresses
parameter in each jserv.properties file.
If JServ is included in your CLASSPATH, you can start the JServ processes with
these commands:
java JServ jserv1.properties
java JServ jserv2.properties
To start and stop the processes and the web server, it is convenient to use scripts.
Samples are included in the $ORACLE_HOME/Apache/Apache/bin/ directory
(startJServ. sh and stopJServ.sh).
Modifying jserv.conf to distribute the load
Set the flag to start processes manually.
1.
ApJServManual on
Indicate where the servlet request is to be sent.
2.
Locate the ApJServMount directive.
a.
ApJServMount /servlets /root
If the user requests http://your.server.com/servlets/testServlet, the
ApJServMount directive above will execute testServlet in the zone called
/root.
Change the zone identifier from /root to balance://set/root and
b.
then add the directives needed to describe the processes sharing the load:
ApJServMount /servlets balance://JServ_set/root
ApJServBalance JServ_set JServ1
ApJServBalance JServ_set JServ2 2
ApJServHost JServ1 ajpv12://127.0.0.1:8001
Optimizing Servlet Performance
Optimizing Apache JServ 5-5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Oracle9i and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Oracle9i application server

Table of Contents