Communicator e3000 MPE/iX Release 6.5 Express 2 (Software Release C.65.02) (30216-90322)

36 Chapter3
Technical Articles
Java Servlets for MPE/iX
release of Java Servlets for MPE/iX and should not be used.
The jsdk.jar class library file is installed in /APACHE/PUB/lib for standard Apache and in
/APACHE/SECURE/lib for WebWise.
All servlets use the class definitions in jsdk.jar. Because the servlet engine is itself a
servlet, the jsdk.jar file is also required for the servlet engine to run.
The JSDK2.0 API documentation is also distributed in its complete and unmodified form
with your installation at http://yourhost.com/JSDK2.0/doc/apidoc. This includes:
a servlet tutorial
example servlets
class source code
servlet API documentation, Version 2.0
Additional components of the JSDK2.0 are available by downloading the entire package
from Sun's site at http://java.sun.com/products/servlet. The JSDK2.0 is not an HP
product and is not supported by HP.
jserv.conf
This is the first of three new configuration files. This configuration file contains directives
for Apache only and is not read by the servlet engine. It contains directives which, for
example, indicate whether mod_jserv.so should be loaded and whether the servlet engine
will be run automatically or be manually started. Automatic launching of the servlet
engine is not supported on MPE/iX. The ApJServManual directive should always be set to
true:
ApJServManual on
The grammar for this file follows the grammar used by other Apache configuartion files:
DirectiveName value
This file is read once at Apache startup or restart.
jserv.properties
This is the second of three new configuration files. This file contains all the properties
required by the servlet engine. Some properties are passed to the Java Virtual Machine
(JVM) and others include various security preferences, settings for internal
communication between the servlet engine and the Apache web server, properties for
enabling logging, and a list of all servlet zones and their respective property files.
The grammar for this file follows a grammar similar to Java property files:
property_name=value, value, …
This file is read by both mod_jserv and by the servlet engine. It is loaded once at startup,
so changes are available only after restart of the web server and of the JVM.
root.properties
This is the third of three new configuration files. Each servlet zone requires its own
properties file. The installation and configuration processes set up one servlet zone called