Incompatible BPELWSDLLocator between wsdl4j-1.5.2 and wsdl4j-1.6.1
------------------------------------------------------------------

                 Key: SM-805
                 URL: https://issues.apache.org/activemq/browse/SM-805
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-bpe
    Affects Versions: incubation
         Environment: Linux Java 5
            Reporter: Grégoire A.
         Attachments: BPELWSDLLocator.java.diff


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to