Tomcat3.1Beta > jserv.properties
Previous Page Contents Next Page
OOP-Reserch HOME

Mail to Me

jserv.properties for JServ and Tomcat3.1Beta

Any quetions and comments are welcome to me.
Please make the subject of your mail to begin with 'OOP[tomcat]' (quotes are not required.). I'll reply to you soon.

The path for this configuration file must be pointed by 'ApJServProperties' directive in 'jserv.conf'. This file describes how the servlet server is started by the JServ module. The path to Java interpriter, the class name of the starter class, the class path which is passed to the Java interpriter and other environment variables can be specified in this file. With such information is provided, the JServ module can successfuly start the servlet server as the user of 'nobody'. The following is the example of this file with some explanation. The template file for this configuration file supplied with the distribution has more entries, but the entries other than ones listed in the example below can be omitted. (They are required if we use the original JServ as the servlet server.)

# The Java Virtual Machine interpreter.
# Syntax: wrapper.bin=[filename] (String)
# Note: specify a full path if the interpreter is not visible in your path.
wrapper.bin=/export/home/soft/lib/jdk/bin/java

# Arguments passed to Java interpreter (optional)
# Syntax: wrapper.bin.parameters=[parameters] (String)
# Default: NONE
wrapper.bin.parameters=-Dtomcat.home=/export/home/soft/lib/java2/jakarta-tomcat/

# Apache JServ entry point class (should not be changed)
# Syntax: wrapper.class=[classname] (String)
# Default: "org.apache.jserv.JServ"
# The 'main' method of the class specified by this
# property is called by the JServ module.
wrapper.class=org.apache.tomcat.startup.TomcatJServ

# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Don't forget to add the path to 'tools.jar', which is
# required to compile 'JSP' sources.
wrapper.classpath=/export/home/soft/lib/java2/jakarta-tomcat/lib/jasper.jar
wrapper.classpath=/export/home/soft/lib/java2/jakarta-tomcat/lib/servlet.jar
wrapper.classpath=/export/home/soft/lib/java2/jakarta-tomcat/lib/webserver.jar
wrapper.classpath=/export/home/soft/lib/java2/jakarta-tomcat/lib/xml.jar
wrapper.classpath=/export/home/soft/lib/jdk/lib/tools.jar

wrapper.protocol=ajpv12
bindaddress=jun_tomcat
port=8007

security.selfservlet=false
security.authentication=false

Now that the JServ module is configured to start the Tomcat servlet server. The next step is to set up Tomcat to work with the JServ module.

Java and all Java-based trademarks and logos are trademarks or registered of Sun Microsystems, Inc. in the United States and other countries.


Previous Page Contents Next Page
OOP-Reserch HOME

Mail to Me


ALL CONTENTS COPYRIGHT 2000, Jun Inamori. All rights reserved.
Any questions and comments are welcome to Jun Inamori .