Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 17524 invoked by uid 6000); 5 Jan 2000 03:40:06 -0000 Received: (qmail 17466 invoked by uid 2001); 5 Jan 2000 03:40:00 -0000 Received: (qmail 17149 invoked by uid 2012); 5 Jan 2000 03:38:38 -0000 Message-Id: <20000105033838.17148.qmail@hyperreal.org> Date: 5 Jan 2000 03:38:38 -0000 From: Joseph Chiu Reply-To: joseph@swap.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: mod_jserv/5538: log not initialized when calling fail Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 5538 >Category: mod_jserv >Synopsis: log not initialized when calling fail >Confidential: no >Severity: serious >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Jan 4 19:40:00 PST 2000 >Last-Modified: >Originator: joseph@swap.com >Organization: apache >Release: Apache 1.3.9 + JServ 1.1b3 >Environment: RH 6.0 + Apache 1.3.9 + JServ 1.1b3 >Description: java org.apache.jserv.JServ $properties $SC_SITE/web/etc/jserv.properties -s java.lang.NullPointerException: at org.apache.jserv.JServ.fail(JServ.java:520) at org.apache.jserv.JServ.fail(JServ.java:513) at org.apache.jserv.JServ.signal(JServ.java:495) at org.apache.jserv.JServ.main(JServ.java:138) When I send a stop or a restart request, the AuthenticatedSocket call fails with connection refused -- the exception handling for this dies because the log channel is not initialized. File: JServ.java ** * JServ is the entry point to the Java part of JServ *

* It sets up the server, initalizes everything, and listens on a TCP * port for requests for the server. When it gets a request, it * launches a JServConnection thread. * * @author Stefano Mazzocchi * @version $Revision: 1.48 $ $Date: 1999/10/12 01:51:14 $ */ >How-To-Repeat: >Fix: Make the exception handler spit out error to System.println before calling fail(msg, e); Thanks. Joseph >Audit-Trail: >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! ]