Menu

#323 MBean loader is not used for operations

v3.0 Rabbit Hole
closed-fixed
JBossMX (91)
5
2002-04-18
2002-02-19
No

See the
org/jboss/test/jbossmx/implementation/server/ContextCLT
estCase that demonstrates two issues with the current
implementation.

1. The ClassLoader passed in to the createMBean
operation is not set as the Thread context class
loader for the mbean ctor, and so, the ctor fails.

2. The ClassLoader passed in to the createMBean
operation is not set as the Thread context class
loader for operations on the MBean and so interaction
with MarshalledObject fails.

Both of these need to work in order for the 3.0
release to be able to use the jmx implementation with
the new class loader architecture.

Discussion

  • Adrian Brock

    Adrian Brock - 2002-02-19
    • assigned_to: nobody --> nobody
     
  • Adrian Brock

    Adrian Brock - 2002-02-19
    • assigned_to: nobody --> nobody
     
  • Adrian Brock

    Adrian Brock - 2002-02-19
    • assigned_to: nobody --> nobody
     
  • Adrian Brock

    Adrian Brock - 2002-02-19
    • assigned_to: nobody --> ejort
     
  • Scott M Stark

    Scott M Stark - 2002-02-19

    Logged In: YES
    user_id=175228

    The original unit test was not demonstrating the real issue
    seen with Bug#516649. It has been updated to correctly
    demonstrate the problem.

     
  • Adrian Brock

    Adrian Brock - 2002-02-23

    Logged In: YES
    user_id=9459

    This should be fixed for your test.
    I'll add some more tests for all the different methods
    later. e.g. get/setAttribute(), instantiate(), etc.
    Scott, if you are happy, do you want to close this, or wait
    until all the tests have been written?

    Regards,
    Adrian

     
  • Scott M Stark

    Scott M Stark - 2002-04-18
    • status: open --> closed-fixed
     

Log in to post a comment.