You will need to have the StAX API and an implementation visible in the same classloader as used for SDO.
If you have the SDO impl jars in WEB-INF/lib you should make sure:
* stax-api-1.0.1.jar
* wstx-asl-3.2.0.jar
are in the same place (using the StAX impl from http:// woodstox.codehaus.org).

--
Jeremy


On Mar 1, 2007, at 4:39 AM, Guillaume Dufrêne wrote:

Hi,

I try to package a standalone SCA ws-client. I follow the instructions on http://incubator.apache.org/tuscany/ java_sca_overview.html
But when I launcher the application an exception occured :

Exception in thread "main" java.lang.NoClassDefFoundError: javax/ xml/stream/XMLStreamException at org.apache.tuscany.sdo.util.SDOUtil.createXMLStreamHelper (SDOUtil.java:338) at org.apache.tuscany.databinding.sdo.XMLStreamReader2DataObject.transfor m(XMLStreamReader2DataObject.java:43) at org.apache.tuscany.databinding.sdo.XMLStreamReader2DataObject.transfor m(XMLStreamReader2DataObject.java:37) at org.apache.tuscany.core.databinding.impl.MediatorImpl.mediate (MediatorImpl.java:95) at org.apache.tuscany.core.databinding.impl.Output2OutputTransformer.tran sform(Output2OutputTransformer.java:176) at org.apache.tuscany.core.databinding.impl.MediatorImpl.mediate (MediatorImpl.java:95) at org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.transfo rm(DataBindingInteceptor.java:105) at org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke( DataBindingInteceptor.java:89) at org.apache.tuscany.spi.wire.AbstractOutboundInvocationHandler.invoke (AbstractOutboundInvocationHandler.java:60) at org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke (JDKOutboundInvocationHandler.java:121)
       at $Proxy19.getOperations(Unknown Source)
       at scabank.ClientComponent.getOperations(Unknown Source)
       at scabank.ClientImpl.main(Unknown Source)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tuscany.launcher.MainLauncherBooter.runApplication (MainLauncherBooter.java:107) at org.apache.tuscany.launcher.MainLauncherBooter.main (MainLauncherBooter.java:88)

I have read something about the XMLStreamException dependency on SDO (jira *TUSCANY*-1105) and on http://www.mail-archive.com/[email protected]/ msg14302.html and on http://www.mail-archive.com/[email protected]/ msg12442.html
But don't know if my problem is linked to this or how I can solve it.

I'm using tuscany-sca M2 binaries for windows, JDK 1.5.06.

I hope you can help me.

--
Guillaume Dufrene.
PhD student at LIFL (France), INRIA ADAM team.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to