I have configured Apache1.3.9 with ApacheJServ1.1
in Sun Solaris2.6 after sucessful configuration of both
I tried to start apache by using "apachectl start" and it is working
fine. But when I tried to invoke servlets through browser
it logs error in mod_jserv.log. But I started Jserv manually
then I can able to invoke servlets through browser.
I am herewith attaching the logs as well as the jserv.properties file
Mod_jserv.log
**********************************
[07/03/2000 10:14:23:988] (ERROR) wrapper: printing debugging information
(command line, env)
[07/03/2000 10:14:23:988] (ERROR) wrapper: argument[ 0] /bin/jre
[07/03/2000 10:14:23:988] (ERROR) wrapper: argument[ 1] /nm/shared/home/ravarada/JSDK2.0/lib/jsdk.jar:/data/Ramesh/jserv/libexec/ApacheJServ.jar
[07/03/2000 10:14:23:988] (ERROR) wrapper: argument[ 2] org.apache.jserv.JServ
[07/03/2000 10:14:23:988] (ERROR) wrapper: argument[ 3] /data/Ramesh/jserv/etc/jserv.properties
[07/03/2000 10:14:23:988] (ERROR) wrapper: environment[ 0] CLASSPATH=/nm/shared/home/ravarada/JSDK2.0/lib/jsdk.jar:/data/Ramesh/jserv/libexec/ApacheJServ.jar
[07/03/2000 10:14:23:989] (ERROR) wrapper: environment[ 1] PATH=/usr/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/bin
***********************
jserv.properties
**********************************
# Execution parameters
#######################
# 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=/nm/tools/sol/bin/jre
#wrapper.bin=/opt/CSCOpx/lib/jre/bin/jre
wrapper.bin=/bin/jre
#wrapper.bin=/data/Ramesh/OPAS/jdk1.2/bin/java
# Arguments passed to Java interpreter (optional)
# Syntax: wrapper.bin.parameters=[parameters] (String)
# Default: NONE
wrapper.bin.parameters= /nm/shared/home/ravarada/JSDK2.0/lib/jsdk.jar:/data/Ramesh/jserv/libexec/ApacheJServ.jar
# Apache JServ entry point class (should not be changed)
# Syntax: wrapper.class=[classname] (String)
# Default: "org.apache.jserv.JServ"
# Arguments passed to main class after the properties filename (not
used)
# Syntax: wrapper.class.parameters=[parameters] (String)
# Default: NONE
# Note: currently not used
# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path] (String)
# Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
# "c:\(windows-dir);c:\(windows-system-dir)"
for Win32 systems
# Notes: if more than one line is supplied these will be concatenated
using
# ":" or ";" (depending wether
Unix or Win32) characters
# Under Win32 (windows-dir)
and (windows-system-dir) will be
# automatically evaluated
to match your system requirements
wrapper.path=/usr/bin:/usr/local/bin
# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Note: if more than one line is supplied these will be concatenated
using
# ":" or ";" (depending wether
Unix or Win32) characters. JVM must be
# able to find JSDK and JServ classes
and any utility classes used by
# your servlets.
# Note: the classes you want to be automatically reloaded upon modification
# MUST NOT be in this classpath
or the classpath of the shell
# you start the Apache from.
#
wrapper.classpath=/nm/shared/home/ravarada/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/data/Ramesh/jserv/libexec/ApacheJServ.jar
# An environment name with value passed to the JVM
# Syntax: wrapper.env=[name]=[value] (String)
# Default: NONE on Unix Systems
# SystemDrive
and SystemRoot with appropriate values on Win32 systems
# An environment name with value copied from caller to Java Virtual
Machine
# Syntax: wrapper.env.copy=[name] (String)
# Default: NONE
# Copies all environment from caller to Java Virtual Machine
# Syntax: wrapper.env.copyall=[true|false] (boolean)
# Default: false
# Protocol used for signal handling
# Syntax: wrapper.protocol=[name] (String)
# Default: ajpv12
#
# General parameters
######################
# Set the default IP address or hostname Apache JServ binds (or listens)
to.
#
# If you have a machine with multiple IP addresses, this address
# will be the one used. If you set the value to localhost, it
# will be resolved to the IP address configured for the locahost
# on your system (generally this is 127.0.0.1). This feature is so
# that one can have multiple instances of Apache JServ listening on
# the same port number, but different IP addresses on the same machine.
# Use bindaddress=* only if you know exactly what you are doing here,
# as it could let JServ wide open to the internet.
# You must understand that JServ has to answer only to Apache, and
should not
# be reachable by nobody but mod_jserv. So localhost is usually a
# good option. The second best choice would be an internal network
address
# (protected by a firewall) if JServ is running on another machine
than Apache.
# Ask your network admin.
# "*" _may_ be used on boxes where some of the clients get connected
using
# "localhost"and others using another IP addr.
#
# Syntax: bindaddress=[ipaddress] or [localhost] or [*]
# Default: localhost
bindaddress=localhost
# Set the port Apache JServ listens to.
# Syntax: port=[1024,65535] (int)
# Default: 8007
port=8007
..
..
********************
am I missing something in the parameters supplied in jserv.properties.
Thanks in Advance
-- Ramesh V
----------------------------------------------------------------
V. Ramesh,
Member Technical Staff, { { { Make Others Happy } } }
HCL-Technologies,
Ph:3741939-42 Extn: 2018
----------------------------------------------------------------
To talk goodness is not good... Only to do it is. -Chinese Proverb
