Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 42411 invoked from network); 31 Mar 2010 07:58:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Mar 2010 07:58:49 -0000 Received: (qmail 50452 invoked by uid 500); 31 Mar 2010 07:58:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 50230 invoked by uid 500); 31 Mar 2010 07:58:49 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 50161 invoked by uid 99); 31 Mar 2010 07:58:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 07:58:48 +0000 X-ASF-Spam-Status: No, hits=-1181.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 07:58:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3B5BB234C4C5 for ; Wed, 31 Mar 2010 07:58:27 +0000 (UTC) Message-ID: <154367723.598971270022307242.JavaMail.jira@brutus.apache.org> Date: Wed, 31 Mar 2010 07:58:27 +0000 (UTC) From: "Erik-Berndt Scheper (JIRA)" To: issues@commons.apache.org Subject: [jira] Issue Comment Edited: (DAEMON-100) Thread.currentThread().getContextClassLoader() == null when the program is runned by Prunsrv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DAEMON-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851760#action_12851760 ] Erik-Berndt Scheper edited comment on DAEMON-100 at 3/31/10 7:58 AM: --------------------------------------------------------------------- Note that the DaemonLoader class (used by jsvc) also suffers from this issue, so ideally the code above should be added to the DaemonLoader. (and WinNT style should be started using the DaemonLoader). was (Author: fbascheper): Note that the DaemonLoader class (used by jsvc) also suffers from this issue. > Thread.currentThread().getContextClassLoader() == null when the program is runned by Prunsrv > -------------------------------------------------------------------------------------------- > > Key: DAEMON-100 > URL: https://issues.apache.org/jira/browse/DAEMON-100 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun > Environment: Win XP, jre1.5.0_11, -Djava.security.policy=: > grant { > permission java.security.AllPermission "", ""; > permission com.sun.rmi.rmid.ExecPermission "<>"; > permission com.sun.rmi.rmid.ExecOptionPermission "*"; > }; > Reporter: Anton Vodonosov > > Thread.currentThread().getContextClassLoader() == null when the program is runned by Prunsrv, but when we run the same system using java.exe, Thread.currentThread().getContextClassLoader() is not null. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.