List Info

Thread: Created: (JGRP-752) JGroups leaks thread context classloader to internal t




Created: (JGRP-752) JGroups leaks thread context classloader to internal t
country flaguser name
United States
2008-05-06 14:59:20
JGroups leaks thread context classloader to internal
threads
------------------------------------------------------------


                 Key: JGRP-752
                 URL: http://jir
a.jboss.com/jira/browse/JGRP-752
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.6.2
            Reporter: Brian Stansberry
         Assigned To: Bela Ban
         Attachments: classloader-leak.patch

Follow-up to discussion on the jgroups-dev list of issue
where threads created by JGroups, particularly pool threads,
inherit their TCCL from whatever thread triggers their
creation.  This can leak application classloaders in an
environment where different applications share JGroups
resources.

Attached is a patch for this, against the 2.6 branch.  We
can use this to discuss whether this is worth fixing in
JGroups.  I have a fix in JBoss AS, although I'm concerned
it could prove fragile over time.

The patch is pretty simple, except for TCLAction, an
abstraction used to deal with the presence or absence of a
SecurityManager.  I also tried to handle a J2ME case where
SecurityManager, or even the ClassLoader class, don't exist.
Not sure if that will work, just an effort.

Patch includes a unit test based on the one in JBoss AS.
Hasn't really been properly adapted to all the stuff going
on in the JGroups test environment, but it works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

Updated: (JGRP-752) JGroups leaks thread context classloader to internal t
country flaguser name
United States
2008-05-06 14:59:20
     [ h
ttp://jira.jboss.com/jira/browse/JGRP-752?page=all ]

Brian Stansberry updated JGRP-752:
----------------------------------

    Attachment: classloader-leak.patch

Patch with fix and test case.

> JGroups leaks thread context classloader to internal
threads
>
------------------------------------------------------------

>
>                 Key: JGRP-752
>                 URL: http://jir
a.jboss.com/jira/browse/JGRP-752
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>            Reporter: Brian Stansberry
>         Assigned To: Bela Ban
>         Attachments: classloader-leak.patch
>
>
> Follow-up to discussion on the jgroups-dev list of
issue where threads created by JGroups, particularly pool
threads, inherit their TCCL from whatever thread triggers
their creation.  This can leak application classloaders in
an environment where different applications share JGroups
resources.
> Attached is a patch for this, against the 2.6 branch. 
We can use this to discuss whether this is worth fixing in
JGroups.  I have a fix in JBoss AS, although I'm concerned
it could prove fragile over time.
> The patch is pretty simple, except for TCLAction, an
abstraction used to deal with the presence or absence of a
SecurityManager.  I also tried to handle a J2ME case where
SecurityManager, or even the ClassLoader class, don't exist.
Not sure if that will work, just an effort.
> Patch includes a unit test based on the one in JBoss
AS. Hasn't really been properly adapted to all the stuff
going on in the JGroups test environment, but it works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

Updated: (JGRP-752) JGroups leaks thread context classloader to internal t
country flaguser name
United States
2008-05-12 01:43:22
     [ h
ttp://jira.jboss.com/jira/browse/JGRP-752?page=all ]

Bela Ban updated JGRP-752:
--------------------------

    Fix Version/s: 2.6.3
                   2.7

> JGroups leaks thread context classloader to internal
threads
>
------------------------------------------------------------

>
>                 Key: JGRP-752
>                 URL: http://jir
a.jboss.com/jira/browse/JGRP-752
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>            Reporter: Brian Stansberry
>         Assigned To: Bela Ban
>             Fix For: 2.6.3, 2.7
>
>         Attachments: classloader-leak.patch
>
>
> Follow-up to discussion on the jgroups-dev list of
issue where threads created by JGroups, particularly pool
threads, inherit their TCCL from whatever thread triggers
their creation.  This can leak application classloaders in
an environment where different applications share JGroups
resources.
> Attached is a patch for this, against the 2.6 branch. 
We can use this to discuss whether this is worth fixing in
JGroups.  I have a fix in JBoss AS, although I'm concerned
it could prove fragile over time.
> The patch is pretty simple, except for TCLAction, an
abstraction used to deal with the presence or absence of a
SecurityManager.  I also tried to handle a J2ME case where
SecurityManager, or even the ClassLoader class, don't exist.
Not sure if that will work, just an effort.
> Patch includes a unit test based on the one in JBoss
AS. Hasn't really been properly adapted to all the stuff
going on in the JGroups test environment, but it works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

Closed: (JGRP-752) JGroups leaks thread context classloader to internal th
country flaguser name
United States
2008-05-26 02:39:42
     [ h
ttp://jira.jboss.com/jira/browse/JGRP-752?page=all ]

Bela Ban closed JGRP-752.
-------------------------

    Resolution: Duplicate Issue

Obsolete, new issue is http://jir
a.jboss.com/jira/browse/JGRP-764

> JGroups leaks thread context classloader to internal
threads
>
------------------------------------------------------------

>
>                 Key: JGRP-752
>                 URL: http://jir
a.jboss.com/jira/browse/JGRP-752
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>            Reporter: Brian Stansberry
>         Assigned To: Bela Ban
>             Fix For: 2.6.3, 2.7
>
>         Attachments: classloader-leak.patch
>
>
> Follow-up to discussion on the jgroups-dev list of
issue where threads created by JGroups, particularly pool
threads, inherit their TCCL from whatever thread triggers
their creation.  This can leak application classloaders in
an environment where different applications share JGroups
resources.
> Attached is a patch for this, against the 2.6 branch. 
We can use this to discuss whether this is worth fixing in
JGroups.  I have a fix in JBoss AS, although I'm concerned
it could prove fragile over time.
> The patch is pretty simple, except for TCLAction, an
abstraction used to deal with the presence or absence of a
SecurityManager.  I also tried to handle a J2ME case where
SecurityManager, or even the ClassLoader class, don't exist.
Not sure if that will work, just an effort.
> Patch includes a unit test based on the one in JBoss
AS. Hasn't really been properly adapted to all the stuff
going on in the JGroups test environment, but it works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )