Petals ESB Container

Impossible to cast the TransactionManager in a component when the classloader isolation is activated

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.1
  • Fix Version/s: 5.0.0
  • Component/s: Classloader
  • Security Level: Public
  • Description:
    Hide

    When PEtALS isolates the components classloaders, it is not possible to cast the TransactionManager instance in the component.
    The problem is that the ComponentContext interface defines a method that return an Object, not the TransactionManager, and that the TransactionManager instance is in fact a fractal binding which is a runtime generated class. It is thus not possible to defines the class in the isolated component classloader!
    The result is that it is not possible to use transaction when classloader isolation is activated!

    Show
    When PEtALS isolates the components classloaders, it is not possible to cast the TransactionManager instance in the component. The problem is that the ComponentContext interface defines a method that return an Object, not the TransactionManager, and that the TransactionManager instance is in fact a fractal binding which is a runtime generated class. It is thus not possible to defines the class in the isolated component classloader! The result is that it is not possible to use transaction when classloader isolation is activated!
  • Environment:
    OS:all

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
28m 37s
1
Roland Naudin
Fri, 16 Jul 2010 - 11:35:16 +0200
Open Open In Progress In Progress
1777d 2h 52m
1
Victor NOËL
Thu, 28 May 2015 - 14:28:09 +0200
In Progress In Progress Resolved Resolved
6m 51s
1
Victor NOËL
Thu, 28 May 2015 - 14:35:00 +0200

People

Dates

  • Created:
    Fri, 16 Jul 2010 - 11:06:39 +0200
    Updated:
    Thu, 28 May 2015 - 15:51:13 +0200
    Resolved:
    Thu, 28 May 2015 - 14:35:00 +0200