Commons Daemon
  1. Commons Daemon
  2. DAEMON-100

Thread.currentThread().getContextClassLoader() == null when the program is runned by Prunsrv

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.4
    • Component/s: Procrun
    • Labels:
      None
    • Environment:

      Description

      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.

      1. __apxJavaWorkerThread.txt
        3 kB
        Antony Scerri
      2. DaemonLoader.patch
        0.7 kB
        Erik-Berndt Scheper

        Issue Links

          Activity

          Anton Vodonosov created issue -
          Anton Vodonosov made changes -
          Field Original Value New Value
          Environment Win XP, jre1.5.0_11, -Djava.security.policy=<path to the file with following content>: 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 "*";
          };
          Mladen Turk made changes -
          Component/s Procrun [ 12313432 ]
          Erik-Berndt Scheper made changes -
          Link This issue is related to DAEMON-157 [ DAEMON-157 ]
          Erik-Berndt Scheper made changes -
          Attachment DaemonLoader.patch [ 12440325 ]
          Antony Scerri made changes -
          Attachment __apxJavaWorkerThread.txt [ 12448089 ]
          Mladen Turk made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Mladen Turk [ mturk@apache.org ]
          Fix Version/s 1.0.4 [ 12315226 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Mladen Turk
              Reporter:
              Anton Vodonosov
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development