Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-805

Incompatible BPELWSDLLocator between wsdl4j-1.5.2 and wsdl4j-1.6.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • incubation
    • 3.1
    • servicemix-bpe
    • None
    • Linux Java 5

    • Patch Available
    • Regression

    Description

      There is a incompatiblity with the new version of wsdl4j 1.6.2.

      we have this runtime exception when we deploy loan-broker-bpel (sample)
      into the standard SMX.
      java.lang.AbstractMethodError: org.apache.ode.bpe.deployment.bpel.BPELWSDLLocator.close()V
      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
      at org.apache.ode.bpe.deployment.bpel.ExtensibilityArtifacts.getRootWSDL(ExtensibilityArtifacts.java:759)
      at org.apache.ode.bpe.deployment.bpel.ExtensibilityArtifacts.<init>(ExtensibilityArtifacts.java:130)
      at org.apache.ode.bpe.deployment.bpel.BPELRepositoryHandler.<init>(BPELRepositoryHandler.java:92)
      at org.apache.ode.bpe.deployment.bpel.BPELSAXHandler.<init>(BPELSAXHandler.java:63)
      at org.apache.ode.bpe.deployment.bpel.BPELParser.parseBPEL(BPELParser.java:94)
      at org.apache.ode.bpe.deployment.bpel.BPELDeploy.deployJar(BPELDeploy.java:177)
      at org.apache.ode.bpe.bped.unmanaged.BPELDeployerSLImpl.loadDefinition(BPELDeployerSLImpl.java:78)
      at org.apache.servicemix.bpe.BPEDeployer.deploy(BPEDeployer.java:86)

      org.apache.ode.bpe.deployment.bpel.BPELWSDLLocator didn't implements any close method
      to close m_source object attribut.

      NB: to work around use instead wsdl5j-1.5.2.jar

      a first fix could be into org.apache.ode.bpe.deployment.bpel.BPELWSDLLocator

      /**

      • @see javax.wsdl.xml.WSDLLocator#close()
        */
        public void close() { // Nothing To Do, m_source doesn't have any close method }

      Regards

      Grégoire A.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            keo Grégoire A.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: