ODE
  1. ODE
  2. ODE-103

ServiceMixMapper mulfunction in ServiceMix 3.1 clustering mode (fow type = jms)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-incubating
    • Fix Version/s: 1.0-incubating
    • Component/s: JBI Integration
    • Labels:
      None
    • Environment:
      WIndowsXP Pro, ServiceMix 3.1

      Description

      1. Set "ode-jbi.messageMapper=org.apache.ode.jbi.msgmap.ServiceMixMapper" in "ode-jbi.properties" of ODE
      2. Set flowName="jms" in <sm:container> of servicemix.xml file, then startup ServiceMix 3.1 in clustering mode.
      3. send a request to BPEL service
      ODE will throw an exception when it receives a response of SP from NMR. The Normalized Message content sent to ServiceMixMapper.toODE() is a StringSource, while the default TransformerFactory set by following lines is Xalan 2.7 in my machine
      ---------------------------------------------------------------------------------------------------
      protected BaseXmlMapper()

      { _transformerFactory = TransformerFactory.newInstance(); }

      ---------------------------------------------------------------------------------------------------
      Xalan throws NAMESPACE_ERR while doing identity transformation with StringSource.

      I replaced the above lines with
      ---------------------------------------------------------------------------------------------------
      protected BaseXmlMapper()

      { _transformerFactory = new net.sf.saxon.TransformerFactoryImpl(); }

      ---------------------------------------------------------------------------------------------------
      to explicitly instantiate a Saxon TransformerFactory, then solved the problem

        Activity

        Matthieu Riou made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Alex Boisvert made changes -
        Field Original Value New Value
        Assignee Alex Boisvert [ boisvert ]
        Fix Version/s 1.0-incubating [ 12312280 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Xuli created issue -

          People

          • Assignee:
            Alex Boisvert
            Reporter:
            Xuli
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development