Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 10625 invoked by uid 6000); 11 Nov 1999 02:40:16 -0000 Received: (qmail 10394 invoked by uid 2001); 11 Nov 1999 02:40:01 -0000 Date: 11 Nov 1999 02:40:01 -0000 Message-ID: <19991111024001.10393.qmail@hyperreal.org> To: jserv-bugdb@apache.org Cc: apache-bugdb@apache.org, From: "Swaminathan" Subject: jserv/5235 Reply-To: "Swaminathan" Sender: apache-bugdb-owner@apache.org Precedence: bulk The following reply was made to PR mod_jserv/5235; it has been noted by GNATS. From: "Swaminathan" To: Cc: Subject: jserv/5235 Date: Thu, 11 Nov 1999 10:40:38 +0800 This is a multi-part message in MIME format. ------=_NextPart_000_0007_01BF2C31.317C42B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >Number: 5235 >Category: mod_jserv >Synopsis: Unknow Error >Confidential: no >Severity: critical >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Nov 3 01:20:01 PST 1999 >Last-Modified: Wed Nov 3 07:13:00 PST 1999 >Originator: sswamy@hotmail.com >Organization: >Release: ApacheJServ1.3b >Environment: Windows NT, jdk1.2, JSDK2.0 >Description: Exception in thread "main" java.lang.ClassCastException: root.properties = doesn't map to a String object at = org.apache.java.util.Configurations.getString(Configurations.java:186 ) at = org.apache.java.util.Configurations.getString(Configurations.java:161 ) at org.apache.jserv.JServ.start(JServ.java, Compiled Code) at org.apache.jserv.JServ.main(JServ.java, Compiled Code) >How-To-Repeat: The following is the jserv.properties config file I used #########################################################################= ###### # Apache JServ Configuration File = # #########################################################################= ###### ################################ W A R N I N G = ################################ # Unlike normal Java properties, JServ configurations have some = important=20 # extentions: # # 1) commas are used as token separators # 2) multiple definitions of the same key are concatenated in a=20 # comma-separated list. #########################################################################= ###### # # Execution parameters ####################### # The Java Virtual Machine interpreter. # Syntax: wrapper.bin=3D[filename] (String) # Note: specify a full path if the interpreter is not visible in your = path. wrapper.bin=3Dd:\jdk1.1.8\bin\java.exe # Arguments passed to Java interpreter (optional) # Syntax: wrapper.bin.parameters=3D[parameters] (String) # Default: NONE # Apache JServ entry point class (should not be changed) # Syntax: wrapper.class=3D[classname] (String) # Default: "org.apache.jserv.JServ" # Arguments passed to main class after the properties filename (not = used) # Syntax: wrapper.class.parameters=3D[parameters] (String) # Default: NONE # Note: currently not used # PATH environment value passed to the JVM # Syntax: wrapper.path=3D[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 # CLASSPATH environment value passed to the JVM # Syntax: wrapper.classpath=3D[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=3Dd:\apachegroup\ApacheJServ\ApacheJServ.jar wrapper.classpath=3Dd:\jsdk2.0\lib\jsdk.jar wrapper.classpath=3DD:\ApacheGroup\ApacheJServ\sol\ssl.zip wrapper.classpath=3DD:\ApacheGroup\ApacheJServ\sol\ # An environment name with value passed to the JVM # Syntax: wrapper.env=3D[name]=3D[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=3D[name] (String) # Default: NONE # Copies all environment from caller to Java Virtual Machine # Syntax: wrapper.env.copyall=3D[true|false] (boolean) # Default: false # Protocol used for signal handling # Syntax: wrapper.protocol=3D[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=20 # that one can have multiple instances of Apache JServ listening on=20 # the same port number, but different IP addresses on the same machine. # # Syntax: bindaddress=3D[ipaddress] or [localhost] # Default: localhost bindaddress=3Dlocalhost # Set the port Apache JServ listens to. # Syntax: port=3D[1024,65535] (int) # Default: 8007 port=3D8007 # # Servlet Zones parameters ########################### # List of servlet zones Apache JServ manages # Syntax: zones=3D[servlet zone],[servlet zone]... (Comma separated list = of String) # Default: NONE #zones=3DCertReg #zones=3DGlobalID #zones=3DCertRet zones=3Droot # Configuration file for each servlet zone (one per servlet zone) # Syntax: [servlet zone name as on the zones list].properties=3D[full = path to configFile] (String) # Default: NONE # Note: if the file could not be opened, try using absolute paths. root.properties=3Dd:/apachegroup/ApacheJServ/servlets/zone.properties CertReg.properties=3Dd:/ApacheGroup/ApacheJServ/conf/CertReg.properties GlobalID.properties=3Dd:/ApacheGroup/ApacheJServ/conf/GlobalID.properties= CertRet.properties=3Dd:/ApacheGroup/ApacheJServ/conf/CertRet.properties # # Thread Pool parameters ######################### # Enables or disables the use of the thread pool. # Syntax: pool=3D[true|false] (boolean) # Default: false # WARNING: the pool has not been extensively tested and may generate = deadlocks.=20 # For this reason, we advise against using this code in production = environments. pool=3Dfalse # Indicates the number of idle threads that the pool may contain. # Syntax: pool.capacity=3D(int)>0 # Default: 10 # NOTE: depending on your system load, this number should be low for = contantly # loaded servers and should be increased depending on load bursts. pool.capacity=3D10 # Indicates the pool controller that should be used to control the=20 # level of the recycled threads. # Syntax: pool.controller=3D[full class of controller] (String) # Default: org.apache.java.recycle.DefaultController # NOTE: it is safe to leave this unchanged unless special recycle = behavior # is needed. Look at the "org.apache.java.recycle" package javadocs for = more # info on other pool controllers and their behavior. pool.controller=3Dorg.apache.java.recycle.DefaultController root.properties=3DD:\ApacheGroup\ApacheJServ\conf\zone.properties CertReg.properties=3DD:\ApacheGroup\ApacheJServ\conf\CertReg.properties GlobalID.properties=3DD:\ApacheGroup\ApacheJServ\conf\GlobalID.properties= CertRet.properties=3DD:\ApacheGroup\ApacheJServ\conf\CertRet.properties # # Security parameters ##################### # Enable/disable the execution of org.apache.jserv.JServ as a servlet. # This is disabled by default because it may give informations that = should # be restricted. # Note that the execution of Apache JServ as a servlet is filtered by = the web # server modules by default so that both sides should be enabled to let = this=20 # service work. # This service is useful for installation and configuration since it = gives=20 # feedback about the exact configurations Apache JServ is using, but it = should # be disabled when both installation and configuration processes are = done. # Syntax: security.selfservlet=3D[true|false] (boolean) # Default: false # WARNING: disable this in a production environment since may give = reserved # information to untrusted users. security.selfservlet=3Dtrue # Set the maximum number of socket connections Apache JServ may handle=20 # simultaneously. Make sure your operating environment has enough file # descriptors to allow this number. # Syntax: security.maxConnections=3D(int)>1 # Default: 50 security.maxConnections=3D50 # Backlog setting for very fine performance tunning of JServ. # Unless you are familiar to sockets leave this value commented out. # security.backlog=3D5 # List of IP addresses allowed to connect to Apache JServ. This is a = first=20 # security filtering to reject possibly unsecure connections and avoid = the=20 # overhead of connection authentication. # Syntax: security.allowedAddresses=3D[IP address],[IP Address]... = (Comma separated list of IP addresses) # Default: 127.0.0.1 #security.allowedAddresses=3D127.0.0.1 security.allowedAddresses=3D127.0.0.1, 203.127.198.229 # Enable/disable connection authentication.=20 # NOTE: unauthenticated connections are a little faster since = authentication=20 # handshake is not performed at connection creation. # WARNING: authentication is disabled by default because we believe that # connection restriction from all IP addresses but localhost reduces = your # time to get Apache JServ to run. If you allow other addresses to = connect and # you don't trust it, you should enable authentication to prevent = untrusted # execution of your servlets. Beware: if authentication is disabled and = the # IP address is allowed, everyone on that machine can execute your = servlets! # Syntax: security.authentication=3D[true,false] (boolean) # Default: true security.authentication=3Dfalse # Authentication secret key. # The secret key is passed as a file that must be kept secure and must # be exactly the same of those used by clients to authenticate = themselves. # Syntax: security.secretKey=3D[secret key path and filename] (String) # Default: NONE # Note: if the file could not be opened, try using absolute paths. #security.secretKey=3DD:/ApacheJServ/servlets/jserv.secret.key # Length of the randomly generated challenge string (in bytes) used to # authenticate connections. 5 is the lowest possible choice to force a = safe # level of security and reduce connection creation overhead. # Syntax: security.challengeSize=3D(int)>5 # Default: 5 #security.challengeSize=3D5 # # Logging parameters #################### # Enable/disable Apache JServ logging. # WARNING: logging is a very expensive operation in terms of = performance. You # should reduced the generated log to a minumum or even disable it if = fast=20 # execution is an issue. Note that if all log channels (see below) are # enabled, the log may become really big since each servlet request may # generate many Kb of log. Some log channels are mainly for debugging # purposes and should be disabled in a production environment. # Syntax: log=3D[true,false] (boolean) # Default: true log=3Dtrue # Set the name of the trace/log file. To avoid possible confusion about # the location of this file, an absolute pathname is recommended. #=20 # This log file is different than the log file that is in the # jserv.conf file. This is the log file for the Java portion of Apache # JServ. # # On Unix, this file must have write permissions by the owner of the JVM # process. In other words, if you are running Apache JServ in manual = mode # and Apache is running as user nobody, then the file must have its # permissions set so that that user can write to it. # Syntax: log.file=3D[log path and filename] (String) # Default: NONE # Note: if the file could not be opened, try using absolute paths. log.file=3Dd:\apachegroup\ApacheJServ\logs\jserv.log # Enable the timestamp before the log message # Syntax: log.timestamp=3D[true,false] (boolean) # Default: true log.timestamp=3Dtrue # Use the given string as a data format=20 # (see java.text.SimpleDateFormat for the list of options) # Syntax: log.dateFormat=3D(String) # Default: [dd/MM/yyyy HH:mm:ss:SSS zz] log.dateFormat=3D[dd/MM/yyyy HH:mm:ss:SSS zz] =20 # Since all the messages logged are processed by a thread running with # minimum priority, it's of vital importance that this thread gets a = chance # to run once in a while. If it doesn't, the log queue overflow occurs, # usually resulting in the OutOfMemoryError. # # To prevent this from happening, two parameters are used: = log.queue.maxage # and log.queue.maxsize. The former defines the maximum time for the = logged # message to stay in the queue, the latter defines maximum number of # messages in the queue. # # If one of those conditions becomes true (age > maxage || size > = maxsize), # the log message stating that fact is generated and the log queue is # flushed in the separate thread. # # If you ever see such a message, either your system doesn't live up to = its # expectations or you have a runaway loop (probably, but not = necessarily, # generating a lot of log messages). # # WARNING: Default values are lousy, you probably want to tweak them and # report the results back to the development team. # Syntax: log.queue.maxage =3D [milliseconds] # Default: 5000 log.queue.maxage =3D 5000 # Syntax: log.queue.maxsize =3D [integer] # Default: 1000 log.queue.maxsize =3D 1000 # Enable/disable logging the channel name # Default: false # log.channel=3Dfalse # Enable/disable channels, each logging different actions. # Syntax: log.channel.[channel name]=3D[true,false] (boolean) # Default: false # Info channel - quite a lot of informational messages # hopefully you don't need them under normal circumstances # log.channel.info=3Dtrue # Servlets exception, i.e. exception caught during=20 # servlet.service() processing are monitored here # you probably want to have this one switched on log.channel.servletException=3Dtrue # JServ exception, caught internally in jserv # we suggest to leave it on log.channel.jservException=3Dtrue # Warning channel, it catches all the important # messages that don't cause JServ to stop, leave it on log.channel.warning=3Dtrue # Servlet log # All messages logged by servlets. Probably you want=20 # this one to be switched on. log.channel.servletLog=3Dtrue # Critical errors # Messages produced by critical events causing jserv to stop log.channel.critical=3Dtrue # Debug channel # Only for internal debugging purposes # log.channel.debug=3Dtrue >Fix: -- >Audit-Trail: Responsible-Changed-From-To: apache-jserv Responsible-Changed-By: marc Responsible-Changed-When: Wed Nov 3 07:12:59 PST 1999 Responsible-Changed-Why: jserv issue, not Apache. Category-Changed-From-To: config-mod_jserv Category-Changed-By: marc Category-Changed-When: Wed Nov 3 07:12:59 PST 1999 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] ------=_NextPart_000_0007_01BF2C31.317C42B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
>Number:        =20 5235
>Category:      =20 mod_jserv
>Synopsis:       Unknow=20 Error
>Confidential:  =20 no
>Severity:      =20 critical
>Priority:      =20 medium
>Responsible:   =20 jserv
>State:         = =20 open
>Class:          = sw-bug
>Submitter-Id:   = apache
>Arrival-Date:  =20 Wed Nov  3 01:20:01 PST 1999
>Last-Modified:  Wed = Nov  3=20 07:13:00 PST 1999
>Originator:    =20 sswamy@hotmail.com
>Organization:
>Release:   =     =20 ApacheJServ1.3b
>Environment:
Windows NT, jdk1.2,=20 JSDK2.0
>Description:
Exception in thread "main"=20 java.lang.ClassCastException: root.properties doesn't
map to a = String=20 object
        at=20 org.apache.java.util.Configurations.getString(Configurations.java:186
= )
       =20 at=20 org.apache.java.util.Configurations.getString(Configurations.java:161
= )
       =20 at org.apache.jserv.JServ.start(JServ.java, Compiled=20 Code)
        at=20 org.apache.jserv.JServ.main(JServ.java, Compiled=20 Code)
>How-To-Repeat:
The following is the jserv.properties = config file=20 I=20 used

#############################################################= ##################
#        &n= bsp;           &nb= sp;  =20 Apache JServ Configuration=20 File           &nb= sp;         =20 #
####################################################################= ###########

################################=20 W A R N I N G ################################
# Unlike normal Java=20 properties, JServ configurations have some important
#=20 extentions:
#
#    1) commas are used as token=20 separators
#    2) multiple definitions of the same = key are=20 concatenated in a
#       = comma-separated=20 list.
################################################################= ###############

#
#=20 Execution parameters
#######################

# The Java = Virtual=20 Machine interpreter.
# Syntax: wrapper.bin=3D[filename] (String)
# = Note:=20 specify a full path if the interpreter is not visible in your=20 path.
wrapper.bin=3Dd:\jdk1.1.8\bin\java.exe

# Arguments = passed to Java=20 interpreter (optional)
# Syntax: = wrapper.bin.parameters=3D[parameters]=20 (String)
# Default: NONE

# Apache JServ entry point class = (should not=20 be changed)
# Syntax: wrapper.class=3D[classname] (String)
# = Default:=20 "org.apache.jserv.JServ"

# Arguments passed to main class after = the=20 properties filename (not used)
# Syntax:=20 wrapper.class.parameters=3D[parameters] (String)
# Default: NONE
# = Note:=20 currently not used

# PATH environment value passed to the = JVM
#=20 Syntax: wrapper.path=3D[path] (String)
# Default:=20 "/bin:/usr/bin:/usr/local/bin" for Unix=20 systems
#         =20 "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
# Notes: = if more=20 than one line is supplied these will be concatenated=20 using
#        ":" or ";" = (depending=20 wether Unix or Win32) = characters
#       =20 Under Win32 (windows-dir) and (windows-system-dir) will=20 be
#        automatically = evaluated to=20 match your system requirements

# CLASSPATH environment value = passed to=20 the JVM
# Syntax: wrapper.classpath=3D[path] (String)
# Default: = NONE (Sun's=20 JDK/JRE already have a default classpath)
# Note: if more than one = line is=20 supplied these will be concatenated=20 using
#       ":" or ";" (depending = wether Unix=20 or Win32) characters. JVM must = be
#       able=20 to find JSDK and JServ classes and any utility classes used=20 by
#       your servlets.
# Note: = the=20 classes you want to be automatically reloaded upon=20 modification
#       MUST NOT be in = this=20 classpath or the classpath of the = shell
#      =20 you start the Apache=20 from.

wrapper.classpath=3Dd:\apachegroup\ApacheJServ\ApacheJServ.j= ar
wrapper.classpath=3Dd:\jsdk2.0\lib\jsdk.jar
wrapper.classpath=3D= D:\ApacheGroup\ApacheJServ\sol\ssl.zip
wrapper.classpath=3DD:\ApacheGr= oup\ApacheJServ\sol\

#=20 An environment name with value passed to the JVM
# Syntax:=20 wrapper.env=3D[name]=3D[value] (String)
# Default: NONE on Unix=20 Systems
#          = SystemDrive=20 and SystemRoot with appropriate values on Win32 systems

# An = environment=20 name with value copied from caller to Java Virtual Machine
# Syntax:=20 wrapper.env.copy=3D[name] (String)
# Default: NONE

# Copies = all=20 environment from caller to Java Virtual Machine
# Syntax:=20 wrapper.env.copyall=3D[true|false] (boolean)
# Default: = false

# Protocol=20 used for signal handling
# Syntax: wrapper.protocol=3D[name] = (String)
#=20 Default: ajpv12

#
# General=20 parameters
######################

# Set the default IP address = or=20 hostname Apache JServ binds (or listens) to.
#
# If you have a = machine=20 with multiple IP addresses, this address
# will be the one used. If = you set=20 the value to localhost, it
# will be resolved to the IP address = configured=20 for the locahost
# on your system (generally this is 127.0.0.1). This = feature=20 is so
# that one can have multiple instances of Apache JServ = listening on=20
# the same port number, but different IP addresses on the same=20 machine.
#
# Syntax: bindaddress=3D[ipaddress] or [localhost]
# = Default:=20 localhost
bindaddress=3Dlocalhost

# Set the port Apache JServ = listens=20 to.
# Syntax: port=3D[1024,65535] (int)
# Default:=20 8007
port=3D8007

#
# Servlet Zones=20 parameters
###########################

# List of servlet zones = Apache=20 JServ manages
# Syntax: zones=3D[servlet zone],[servlet zone]... = (Comma=20 separated list of String)
# Default:=20 NONE

#zones=3DCertReg
#zones=3DGlobalID
#zones=3DCertRet
= zones=3Droot

#=20 Configuration file for each servlet zone (one per servlet zone)
# = Syntax:=20 [servlet zone name as on the zones list].properties=3D[full path to = configFile]=20 (String)
# Default: NONE
# Note: if the file could not be opened, = try=20 using absolute=20 paths.
root.properties=3Dd:/apachegroup/ApacheJServ/servlets/zone.prop= erties
CertReg.properties=3Dd:/ApacheGroup/ApacheJServ/conf/CertReg.pr= operties
GlobalID.properties=3Dd:/ApacheGroup/ApacheJServ/conf/GlobalI= D.properties
CertRet.properties=3Dd:/ApacheGroup/ApacheJServ/conf/Cert= Ret.properties


#
#=20 Thread Pool parameters
#########################

# Enables or = disables=20 the use of the thread pool.
# Syntax: pool=3D[true|false] = (boolean)
#=20 Default: false
# WARNING: the pool has not been extensively tested = and may=20 generate deadlocks.
# For this reason, we advise against using this = code in=20 production environments.
pool=3Dfalse

# Indicates the number = of idle=20 threads that the pool may contain.
# Syntax: = pool.capacity=3D(int)>0
#=20 Default: 10
# NOTE: depending on your system load, this number should = be low=20 for contantly
# loaded servers and should be increased depending on = load=20 bursts.
pool.capacity=3D10

# Indicates the pool controller = that should=20 be used to control the
# level of the recycled threads.
# Syntax: = pool.controller=3D[full class of controller] (String)
# Default:=20 org.apache.java.recycle.DefaultController
# NOTE: it is safe to leave = this=20 unchanged unless special recycle behavior
# is needed. Look at the=20 "org.apache.java.recycle" package javadocs for more
# info on other = pool=20 controllers and their=20 behavior.
pool.controller=3Dorg.apache.java.recycle.DefaultController<= BR>root.properties=3DD:\ApacheGroup\ApacheJServ\conf\zone.properties
C= ertReg.properties=3DD:\ApacheGroup\ApacheJServ\conf\CertReg.propertiesGlobalID.properties=3DD:\ApacheGroup\ApacheJServ\conf\GlobalID.propertie= s
CertRet.properties=3DD:\ApacheGroup\ApacheJServ\conf\CertRet.propert= ies

#
#=20 Security parameters
#####################

# Enable/disable the = execution of org.apache.jserv.JServ as a servlet.
# This is disabled = by=20 default because it may give informations that should
# be = restricted.
#=20 Note that the execution of Apache JServ as a servlet is filtered by the = web
#=20 server modules by default so that both sides should be enabled to let = this
#=20 service work.
# This service is useful for installation and = configuration=20 since it gives
# feedback about the exact configurations Apache = JServ is=20 using, but it should
# be disabled when both installation and = configuration=20 processes are done.
# Syntax: security.selfservlet=3D[true|false]=20 (boolean)
# Default: false
# WARNING: disable this in a production = environment since may give reserved
# information to untrusted=20 users.
security.selfservlet=3Dtrue

# Set the maximum number of = socket=20 connections Apache JServ may handle
# simultaneously. Make sure your = operating environment has enough file
# descriptors to allow this=20 number.
# Syntax: security.maxConnections=3D(int)>1
# Default:=20 50
security.maxConnections=3D50

# Backlog setting for very = fine=20 performance tunning of JServ.
# Unless you are familiar to sockets = leave this=20 value commented out.
# security.backlog=3D5

# List of IP = addresses=20 allowed to connect to Apache JServ. This is a first
# security = filtering to=20 reject possibly unsecure connections and avoid the
# overhead of = connection=20 authentication.
# Syntax: security.allowedAddresses=3D[IP = address],[IP=20 Address]... (Comma separated list of IP addresses)
# Default:=20 127.0.0.1
#security.allowedAddresses=3D127.0.0.1
security.allowedAd= dresses=3D127.0.0.1,=20 203.127.198.229

# Enable/disable connection authentication.
# = NOTE:=20 unauthenticated connections are a little faster since authentication =
#=20 handshake is not performed at connection creation.
# WARNING: = authentication=20 is disabled by default because we believe that
# connection = restriction from=20 all IP addresses but localhost reduces your
# time to get Apache = JServ to=20 run. If you allow other addresses to connect and
# you don't trust = it, you=20 should enable authentication to prevent untrusted
# execution of your = servlets. Beware: if authentication is disabled and the
# IP address = is=20 allowed, everyone on that machine can execute your servlets!
# = Syntax:=20 security.authentication=3D[true,false] (boolean)
# Default:=20 true
security.authentication=3Dfalse

# Authentication secret = key.
#=20 The secret key is passed as a file that must be kept secure and = must
# be=20 exactly the same of those used by clients to authenticate = themselves.
#=20 Syntax: security.secretKey=3D[secret key path and filename] = (String)
# Default:=20 NONE
# Note: if the file could not be opened, try using absolute=20 paths.
#security.secretKey=3DD:/ApacheJServ/servlets/jserv.secret.key<= BR>
#=20 Length of the randomly generated challenge string (in bytes) used = to
#=20 authenticate connections. 5 is the lowest possible choice to force a = safe
#=20 level of security and reduce connection creation overhead.
# Syntax:=20 security.challengeSize=3D(int)>5
# Default:=20 5
#security.challengeSize=3D5

#
# Logging=20 parameters
####################

# Enable/disable Apache JServ=20 logging.
# WARNING: logging is a very expensive operation in terms of = performance. You
# should reduced the generated log to a minumum or = even=20 disable it if fast
# execution is an issue.  Note that if all = log=20 channels (see below) are
# enabled, the log may become really big = since each=20 servlet request may
# generate many Kb of log. Some log channels are = mainly=20 for debugging
# purposes and should be disabled in a production=20 environment.
# Syntax: log=3D[true,false] (boolean)
# Default:=20 true
log=3Dtrue

# Set the name of the trace/log file.  To = avoid=20 possible confusion about
# the location of this file, an absolute = pathname is=20 recommended.
#
# This log file is different than the log file = that is in=20 the
# jserv.conf file. This is the log file for the Java portion of=20 Apache
# JServ.
#
# On Unix, this file must have write = permissions by=20 the owner of the JVM
# process. In other words, if you are running = Apache=20 JServ in manual mode
# and Apache is running as user nobody, then the = file=20 must have its
# permissions set so that that user can write to = it.
#=20 Syntax: log.file=3D[log path and filename] (String)
# Default: = NONE
# Note:=20 if the file could not be opened, try using absolute=20 paths.
log.file=3Dd:\apachegroup\ApacheJServ\logs\jserv.log

# = Enable the=20 timestamp before the log message
# Syntax: = log.timestamp=3D[true,false]=20 (boolean)
# Default: true
log.timestamp=3Dtrue

# Use the = given string=20 as a data format
# (see java.text.SimpleDateFormat for the list of=20 options)
# Syntax: log.dateFormat=3D(String)
# Default: = [dd/MM/yyyy=20 HH:mm:ss:SSS zz]
log.dateFormat=3D[dd/MM/yyyy HH:mm:ss:SSS zz]
=
# Since=20 all the messages logged are processed by a thread running with
# = minimum=20 priority, it's of vital importance that this thread gets a chance
# = to run=20 once in a while. If it doesn't, the log queue overflow occurs,
# = usually=20 resulting in the OutOfMemoryError.
#
# To prevent this from = happening, two=20 parameters are used: log.queue.maxage
# and log.queue.maxsize. The = former=20 defines the maximum time for the logged
# message to stay in the = queue, the=20 latter defines maximum number of
# messages in the queue.
#
# = If one of=20 those conditions becomes true (age > maxage || size > = maxsize),
# the=20 log message stating that fact is generated and the log queue is
# = flushed in=20 the separate thread.
#
# If you ever see such a message, either = your=20 system doesn't live up to its
# expectations or you have a runaway = loop=20 (probably, but not necessarily,
# generating a lot of log=20 messages).
#
# WARNING: Default values are lousy, you probably = want to=20 tweak them and
# report the results back to the development = team.

#=20 Syntax: log.queue.maxage =3D [milliseconds]
# Default: = 5000
log.queue.maxage=20 =3D 5000

# Syntax: log.queue.maxsize =3D [integer]
# Default:=20 1000
log.queue.maxsize =3D 1000

# Enable/disable logging the = channel=20 name
# Default: false
# log.channel=3Dfalse

# = Enable/disable=20 channels, each logging different actions.
# Syntax: = log.channel.[channel=20 name]=3D[true,false] (boolean)
# Default: false

# Info channel = - quite a=20 lot of informational messages
# hopefully you don't need them under = normal=20 circumstances
# log.channel.info=3Dtrue

# Servlets exception, = i.e.=20 exception caught during
# servlet.service() processing are monitored = here
# you probably want to have this one switched=20 on
log.channel.servletException=3Dtrue

# JServ exception, = caught=20 internally in jserv
# we suggest to leave it=20 on
log.channel.jservException=3Dtrue

# Warning channel, it = catches all=20 the important
# messages that don't cause JServ to stop, leave it=20 on
log.channel.warning=3Dtrue

# Servlet log
# All messages = logged by=20 servlets. Probably you want
# this one to be switched=20 on.
log.channel.servletLog=3Dtrue

# Critical errors
# = Messages=20 produced by critical events causing jserv to=20 stop
log.channel.critical=3Dtrue

# Debug channel
# Only for = internal=20 debugging purposes
#=20 log.channel.debug=3Dtrue
>Fix:
--
>Audit-Trail:
Respons= ible-Changed-From-To:=20 apache-jserv
Responsible-Changed-By: = marc
Responsible-Changed-When: Wed=20 Nov  3 07:12:59 PST 1999
Responsible-Changed-Why:
jserv = issue, not=20 Apache.
Category-Changed-From-To: = config-mod_jserv
Category-Changed-By:=20 marc
Category-Changed-When: Wed Nov  3 07:12:59 PST=20 1999

>Unformatted:
[In order for any reply to be added to = the PR=20 database, you need]
[to include <apbugs@Apache.Org> in the Cc = line and=20 make sure the]
[subject line starts with the report component and = number,=20 with ]
[or without any 'Re:' prefixes (such as "general/1098:"=20 or      ]
["Re: general/1098:").  If = the=20 subject doesn't match this       = ]
[pattern,=20 your message will be misfiled and ignored. =20 The       ]
["apbugs" address is not = added to=20 the Cc line of messages from  ]
[the database automatically = because of=20 the potential for mail   ]
[loops.  If you do not = include this=20 Cc, your reply may be ig-   ]
[nored unless you are = responding to=20 an explicit request from a  ]
[developer.  Reply only with = text; DO=20 NOT SEND ATTACHMENTS!    =20 ]


------=_NextPart_000_0007_01BF2C31.317C42B0--