Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3637

Tuscany JMS binding doesn't work with active mq

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-2.0-M5
    • Java-SCA-2.x
    • None
    • Tuscany 2.0 M5.
      Windows XP SP3
      JDK 1.6

    Description

      When deploy a service with JMS binding, Tuscany will throw an exception for the jms composite file.

      [INFO] Trace
      java.lang.IllegalStateException: org.oasisopen.sca.ServiceRuntimeException: [Con
      tribution: file:tuscany-sca-2.0-SNAPSHOT-src/itest/j
      ms/oneway/target/itest-jms-oneway.jar, Artifact: oneway/OneWayService.composite]

      • Element {http://docs.oasis-open.org/ns/opencsa/sca/200912}

        binding.jms cannot
        be processed. (Line number = -1
        Column number = -1
        System Id = null
        Public Id = null
        Location Uri= null
        CharacterOffset = -1
        )
        at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:173)
        at org.apache.tuscany.maven.plugin.TuscanyRunMojo.execute(TuscanyRunMojo
        .java:105)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
        ...

      The composite file is:

      <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
      targetNamespace="http://itest"
      name="OneWayServiceComposite">

      <component name="OneWayService">
      <implementation.java class="org.apache.tuscany.sca.binding.jms.OneWayServiceImpl"/>
      <service name="OneWayService">
      <binding.jms>
      <destination jndiName="DestQueueA" create="always"/>
      </binding.jms>
      </service>
      </component>

      </composite>

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhaoyi zhaoyi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: