commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik-Berndt Scheper (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (DAEMON-100) Thread.currentThread().getContextClassLoader() == null when the program is runned by Prunsrv
Date Wed, 31 Mar 2010 07:58:27 GMT

    [ 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=<path to a file with
following content>:
> grant  {
>     permission java.security.AllPermission "", "";
>     permission com.sun.rmi.rmid.ExecPermission "<<ALL FILES>>";
>     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.


Mime
View raw message