Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-2.0-M5
-
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>