Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2013-07-10T20:56:58Z by LaraZiosi
PNMF_Mohamed_Noohu
PNMF_Mohamed_Noohu
1 Post
ACCEPTED ANSWER

Pinned topic Error when validating SCA project

‏2013-07-03T10:59:36Z |

Whenever I validate SCA project always gives 'An internal error occurred during: "Validating"'. When I see the Error Log, following exception stack trace is written. Can any one provide a solution how to resolve this error.

 

java.lang.NoClassDefFoundError: com/ibm/ws/webservices/engine/transport/jms/JMSURLParser
at org.apache.tuscany.sca.binding.ws.xml.WebServiceBindingProcessor.getDestinationName(Unknown Source)
at org.apache.tuscany.sca.binding.ws.xml.WebServiceBindingProcessor.read(Unknown Source)
at org.apache.tuscany.sca.binding.ws.xml.WebServiceBindingProcessor.read(Unknown Source)
at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.read(Unknown Source)
at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.read(Unknown Source)
at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.read(Unknown Source)
at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.read(Unknown Source)
at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.read(Unknown Source)

 

I think the error is raised when the syntax of uri attribute in binding.ws element is parsed in the below given project composite file.

 

<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:soapjms="http://www.ibm.com/xmlns/prod/websphere/sca/1.0/2007/06" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" autowire="false" name="TopDownSCA1Composite" targetNamespace="http://topdown.sca1/composite">
  <component name="TopDownSCA1Component">
    <implementation.java class="test.topdownsca1.TopDownSCA1Impl"/>
    <service name="TopDownSCA1">
      <interface.wsdl interface="http://www.example.org/TopDownSCA1/#wsdl.interface(TopDownSCA1)"/>
      <binding.ws wsdlElement="http://www.example.org/TopDownSCA1/#wsdl.port(TopDownSCA1/TopDownSCA1SOAP)" uri="jms:jndi:jms/HelloWorldReq?" soapjms:activationSpec="jms/HelloWorldActivationSpec" soapjms:responseConnectionFactory="jms/HelloWorldRes_CF"/>
    </service>
    <reference name="topDownSca2">
      <interface.wsdl interface="http://www.example.org/TopDownSCA2/#wsdl.interface(TopDownSCA2)"/>
      <binding.ws wsdlElement="http://www.example.org/TopDownSCA2Component/TopDownSCA2#wsdl.port(TopDownSCA2Service/TopDownSCA2Port)"/>
    </reference>
  </component>
</composite>

 

  • LaraZiosi
    LaraZiosi
    12 Posts
    ACCEPTED ANSWER

    Re: Error when validating SCA project

    ‏2013-07-10T20:56:58Z  in response to PNMF_Mohamed_Noohu

    Hello,

    This issue has been recognized as a product defect, due to the uri="jms: in the ws.binding element.

    If you need a TestFix, I advise you to open a support case.

    Thank you and regards, Lara Ziosi