Petals BC SOAP

Unable to use interceptor depending on org.apache.xmlbeans:xmlbeans:2.4.0

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.0.7
  • Fix Version/s: 4.1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide
    1. I have an interceptor declaring a dependency on org.apache.xmlbeans:xmlbeans:2.4.0 to parse and bind XML into Java objects.
    2. Configure the component (BC SOAP) with this interceptor:
      • package all needed jar (including xmlbeans-2.4.0.jar),
      • declare the interceptor into the JBI descriptor on both ACCEPT and ACCEPT-RESPONSE phases

    The interceptor is not able to parse and bind my XML.

    After analysis, the problem is due to a library conflict on XmlBeans: the BC SOAP already provides another version of XmlBean: 2.1.0 (xbean-2.1.0.jar through Axis2. Perhaps, a classloader isolation should be implemented to isolate interceptors and the component ?

    Show
    1. I have an interceptor declaring a dependency on org.apache.xmlbeans:xmlbeans:2.4.0 to parse and bind XML into Java objects.
    2. Configure the component (BC SOAP) with this interceptor:
      • package all needed jar (including xmlbeans-2.4.0.jar),
      • declare the interceptor into the JBI descriptor on both ACCEPT and ACCEPT-RESPONSE phases
    The interceptor is not able to parse and bind my XML. After analysis, the problem is due to a library conflict on XmlBeans: the BC SOAP already provides another version of XmlBean: 2.1.0 (xbean-2.1.0.jar through Axis2. Perhaps, a classloader isolation should be implemented to isolate interceptors and the component ?
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Mon, 5 Oct 2015 - 14:27:48 +0200
Field Original Value New Value
Priority Blocker [ 1 ]
Description # I have an interceptor declaring a dependency on {{org.apache.xmlbeans:xmlbeans:2.4.0}} to parse and bind XML into Java objects.
# Configure the component (BC SOAP) with this interceptor:
-- package all needed jar (including {{xmlbeans-2.4.0.jar}}),
-- declare the interceptor into the JBI descriptor on both ACCEPT and ACCEPT-RESPONSE phases
The interceptor is not able to parse and bind my XML.

After analysis, the problem is due to a library conflict on XmlBeans: the BC SOAP already provides another version of XmlBean: 2.1.0 ({{xbean-2.1.0.jar}} through Axis2. Perhaps, a classloader isolation should be implemented to isolate interceptors and the component ?
# I have an interceptor declaring a dependency on {{org.apache.xmlbeans:xmlbeans:2.4.0}} to parse and bind XML into Java objects.
# Configure the component (BC SOAP) with this interceptor:
-- package all needed jar (including {{xmlbeans-2.4.0.jar}}),
-- declare the interceptor into the JBI descriptor on both ACCEPT and ACCEPT-RESPONSE phases

The interceptor is not able to parse and bind my XML.

After analysis, the problem is due to a library conflict on XmlBeans: the BC SOAP already provides another version of XmlBean: 2.1.0 ({{xbean-2.1.0.jar}} through Axis2. Perhaps, a classloader isolation should be implemented to isolate interceptors and the component ?
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 14:35:44 +0200
Link This issue depends on PETALSCDK-149 [ PETALSCDK-149 ]
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 14:37:19 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Blocker [ 1 ] Major [ 3 ]
Assignee Nicolas Oddoux [ noddoux ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 14:37:23 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 14:38:38 +0200

xmlbean is no more embedded in the Petals BC SOAP since the version 4.1.

An issue about classloader isolation for interceptor has been created: PETALSCDK-149

Show
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 14:38:38 +0200 xmlbean is no more embedded in the Petals BC SOAP since the version 4.1. An issue about classloader isolation for interceptor has been created: PETALSCDK-149
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 14:38:38 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 4.1 [ 10186 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1475d 21h
1
Christophe DENEUX
Mon, 5 Oct 2015 - 14:37:19 +0200
Open Open In Progress In Progress
4s
1
Christophe DENEUX
Mon, 5 Oct 2015 - 14:37:23 +0200
In Progress In Progress Resolved Resolved
1m 15s
1
Christophe DENEUX
Mon, 5 Oct 2015 - 14:38:38 +0200



People

Dates

  • Created:
    Tue, 20 Sep 2011 - 17:37:19 +0200
    Updated:
    Mon, 5 Oct 2015 - 14:38:38 +0200
    Resolved:
    Mon, 5 Oct 2015 - 14:38:38 +0200