You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Laws <si...@googlemail.com> on 2008/05/27 11:56:49 UTC
Build problems...
Just done an update and am seeing...
[INFO]
------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA Axis2-based WS Binding
Extension (d
uring install)
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
C:\simon\tuscany\java-trunk\sca\modules\binding-ws-axis2\target\
surefire-reports for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA Domain Manager Application
(during
install)
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
C:\simon\tuscany\java-trunk\sca\modules\domain-manager\target\su
refire-reports for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA OpenEJB Host Extension (during
inst
all)
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Anyone else got build problems? The binding-ws-axis2 issue is the most
troublesome as it knocks a load of other things out. Here's the error...
testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparam
s.WSSecurityIntegrityTestCase) Time elapsed: 4.328 sec <<< ERROR!
org.osoa.sca.ServiceRuntimeException: org.apache.axis2.AxisFault:
WSDoAllReceive
r: Error in converting to Document
at
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
eptor.invoke(DataTransformationInterceptor.java:136)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:286)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:154)
at $Proxy2.getGreetings(Unknown Source)
at
org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMComponent.
getGreetings(HelloWorldOMComponent.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
ionInvoker.invoke(JavaImplementationInvoker.java:110)
at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)
at
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
indingInvoker.java:61)
at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:286)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:154)
at $Proxy2.getGreetings(Unknown Source)
at
org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.Ab
stractHelloWorldOMTestCase.testHelloWorld(AbstractHelloWorldOMTestCase.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.
java:35)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in converting
to D
ocument
at
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
.java:67)
at
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:
72)
at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:377)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
peration.java:374)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
InAxisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:
163)
at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.run(Axi
s2BindingInvoker.java:128)
at
java.security.AccessController.doPrivileged(AccessController.java:242
)
at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTar
get(Axis2BindingInvoker.java:126)
at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Ax
is2BindingInvoker.java:94)
at
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
eptor.invoke(DataTransformationInterceptor.java:78)
... 39 more
Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in converting
to D
ocument
at
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
ava:196)
at
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
.java:64)
... 51 more
Caused by: org.apache.ws.security.WSSecurityException: Error in converting
SOAP
Envelope to Document; nested exception is:
javax.xml.stream.XMLStreamException: Underlying stream encoding
UTF-8 an
d input paramter for writeStartDocument() method utf-8 do not match.
at
org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
il.java:157)
at
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
ava:194)
... 52 more
Caused by: javax.xml.stream.XMLStreamException: Underlying stream encoding
UTF-8
and input paramter for writeStartDocument() method utf-8 do not match.
at
com.sun.xml.stream.writers.XMLStreamWriterImpl.writeStartDocument(XML
StreamWriterImpl.java:1187)
at
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SO
APEnvelopeImpl.java:193)
at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
ntImpl.java:756)
at
org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:34
5)
at
org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:38
3)
at
org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
il.java:148)
... 53 more
Re: Build problems...
Posted by Simon Laws <si...@googlemail.com>.
On Tue, May 27, 2008 at 11:38 AM, Simon Laws <si...@googlemail.com>
wrote:
>
>
> On Tue, May 27, 2008 at 11:17 AM, Vamsavardhana Reddy <c1...@gmail.com>
> wrote:
>
>> I am at rev 660441 and am able to build binding-ws-axis2 module without a
>> problem.
>>
>> ++Vamsi
>>
>> On Tue, May 27, 2008 at 3:44 PM, Mark Combellack <mc...@apache.org>
>> wrote:
>>
>> > Hi Simon,
>> >
>> > I've just been doing an SVN update to the latest version (revision
>> 660435).
>> > I've not got this error. I've rebuilt the binding-ws-axis2 module
>> without
>> > any problems.
>> >
>> >
>> > I wanted to try and identify which JUnit test your build was failing.
>> > I did a search through my JUnit output and I could not find the text
>> > "testHelloWorld(org.apache" as detailed in your error. This might be
>> > because
>> > my tests do not fail.
>> >
>> > What is the Class name and test of the unit test that is failing for
>> you?
>> >
>> > Mark
>> >
>> > > -----Original Message-----
>> > > From: Simon Laws [mailto:simonslaws@googlemail.com]
>> > > Sent: 27 May 2008 10:57
>> > > To: tuscany-dev
>> > > Subject: Build problems...
>> > >
>> > > Just done an update and am seeing...
>> > >
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Error for project: Apache Tuscany SCA Axis2-based WS Binding
>> > > Extension (d
>> > > uring install)
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] There are test failures.
>> > >
>> > > Please refer to
>> > > C:\simon\tuscany\java-trunk\sca\modules\binding-ws-axis2\target\
>> > > surefire-reports for the individual test results.
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Error for project: Apache Tuscany SCA Domain Manager
>> Application
>> > > (during
>> > > install)
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] There are test failures.
>> > >
>> > > Please refer to
>> > > C:\simon\tuscany\java-trunk\sca\modules\domain-manager\target\su
>> > > refire-reports for the individual test results.
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Error for project: Apache Tuscany SCA OpenEJB Host Extension
>> > > (during
>> > > inst
>> > > all)
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Failed to resolve artifact.
>> > >
>> > >
>> > > Anyone else got build problems? The binding-ws-axis2 issue is the most
>> > > troublesome as it knocks a load of other things out. Here's the
>> error...
>> > >
>> > >
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.confi
>> > > gparam
>> > > s.WSSecurityIntegrityTestCase) Time elapsed: 4.328 sec <<< ERROR!
>> > > org.osoa.sca.ServiceRuntimeException: org.apache.axis2.AxisFault:
>> > > WSDoAllReceive
>> > > r: Error in converting to Document
>> > > at
>> > > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
>> > > eptor.invoke(DataTransformationInterceptor.java:136)
>> > > at
>> > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
>> > > KInvocationHandler.java:286)
>> > > at
>> > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
>> > > KInvocationHandler.java:154)
>> > > at $Proxy2.getGreetings(Unknown Source)
>> > > at
>> > > org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMComponent.
>> > > getGreetings(HelloWorldOMComponent.java:31)
>> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > > at
>> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> > > java:64)
>> > > at
>> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> > > sorImpl.java:43)
>> > > at java.lang.reflect.Method.invoke(Method.java:615)
>> > > at
>> > > org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
>> > > ionInvoker.invoke(JavaImplementationInvoker.java:110)
>> > > at
>> > > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
>> > > nvoke(PassByValueInterceptor.java:108)
>> > > at
>> > > org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
>> > > indingInvoker.java:61)
>> > > at
>> > > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
>> > > nvoke(PassByValueInterceptor.java:108)
>> > > at
>> > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
>> > > KInvocationHandler.java:286)
>> > > at
>> > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
>> > > KInvocationHandler.java:154)
>> > > at $Proxy2.getGreetings(Unknown Source)
>> > > at
>> > > org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.Ab
>> > >
>> >
>> stractHelloWorldOMTestCase.testHelloWorld(AbstractHelloWorldOMTestCase.jav
>> > > a:43)
>> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > > at
>> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> > > java:64)
>> > > at
>> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> > > sorImpl.java:43)
>> > > at java.lang.reflect.Method.invoke(Method.java:615)
>> > > at junit.framework.TestCase.runTest(TestCase.java:168)
>> > > at junit.framework.TestCase.runBare(TestCase.java:134)
>> > > at junit.framework.TestResult$1.protect(TestResult.java:110)
>> > > at
>> junit.framework.TestResult.runProtected(TestResult.java:128)
>> > > at junit.framework.TestResult.run(TestResult.java:113)
>> > > at junit.framework.TestCase.run(TestCase.java:124)
>> > > at junit.framework.TestSuite.runTest(TestSuite.java:232)
>> > > at junit.framework.TestSuite.run(TestSuite.java:227)
>> > > at
>> > > org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.
>> > > java:35)
>> > > at
>> > > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
>> > > java:62)
>> > > at
>> > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
>> > > tSet(AbstractDirectoryTestSuite.java:138)
>> > > at
>> > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
>> > > stractDirectoryTestSuite.java:125)
>> > > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > > at
>> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> > > java:64)
>> > > at
>> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> > > sorImpl.java:43)
>> > > at java.lang.reflect.Method.invoke(Method.java:615)
>> > > at
>> > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
>> > > refireBooter.java:308)
>> > > at
>> > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
>> > > ava:879)
>> > > Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
>> > > converting
>> > > to D
>> > > ocument
>> > > at
>> > > org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
>> > > .java:67)
>> > > at
>> > > org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:
>> > > 72)
>> > > at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
>> > > at
>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
>> > > at
>> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:377)
>> > > at
>> > > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
>> > > peration.java:374)
>> > > at
>> > > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
>> > > InAxisOperation.java:211)
>> > > at
>> > > org.apache.axis2.client.OperationClient.execute(OperationClient.java:
>> > > 163)
>> > > at
>> > > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.run(Axi
>> > > s2BindingInvoker.java:128)
>> > > at
>> > > java.security.AccessController.doPrivileged(AccessController.java:242
>> > > )
>> > > at
>> > > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTar
>> > > get(Axis2BindingInvoker.java:126)
>> > > at
>> > > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Ax
>> > > is2BindingInvoker.java:94)
>> > > at
>> > > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
>> > > eptor.invoke(DataTransformationInterceptor.java:78)
>> > > ... 39 more
>> > > Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
>> > > converting
>> > > to D
>> > > ocument
>> > > at
>> > > org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
>> > > ava:196)
>> > > at
>> > > org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
>> > > .java:64)
>> > > ... 51 more
>> > > Caused by: org.apache.ws.security.WSSecurityException: Error in
>> > converting
>> > > SOAP
>> > > Envelope to Document; nested exception is:
>> > > javax.xml.stream.XMLStreamException: Underlying stream
>> encoding
>> > > UTF-8 an
>> > > d input paramter for writeStartDocument() method utf-8 do not match.
>> > > at
>> > > org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
>> > > il.java:157)
>> > > at
>> > > org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
>> > > ava:194)
>> > > ... 52 more
>> > > Caused by: javax.xml.stream.XMLStreamException: Underlying stream
>> > encoding
>> > > UTF-8
>> > > and input paramter for writeStartDocument() method utf-8 do not
>> match.
>> > > at
>> > > com.sun.xml.stream.writers.XMLStreamWriterImpl.writeStartDocument(XML
>> > > StreamWriterImpl.java:1187)
>> > > at
>> > > org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SO
>> > > APEnvelopeImpl.java:193)
>> > > at
>> > > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
>> > > ntImpl.java:756)
>> > > at
>> > > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:34
>> > > 5)
>> > > at
>> > > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:38
>> > > 3)
>> > > at
>> > > org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
>> > > il.java:148)
>> > > ... 53 more
>> >
>> >
>>
>
> Thanks chaps.
>
> So it must be something strange in my environment. The first
> binding-ws-axis2 test that fails is:
>
> Running
> org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.WSSecurityIntegrityTestCase
>
> Simon
>
Ok, a clean of my local repo seems to have got me past this. Thanks
Mark/Vamsi.
Simon
Re: Build problems...
Posted by Simon Laws <si...@googlemail.com>.
On Tue, May 27, 2008 at 11:17 AM, Vamsavardhana Reddy <c1...@gmail.com>
wrote:
> I am at rev 660441 and am able to build binding-ws-axis2 module without a
> problem.
>
> ++Vamsi
>
> On Tue, May 27, 2008 at 3:44 PM, Mark Combellack <mc...@apache.org>
> wrote:
>
> > Hi Simon,
> >
> > I've just been doing an SVN update to the latest version (revision
> 660435).
> > I've not got this error. I've rebuilt the binding-ws-axis2 module without
> > any problems.
> >
> >
> > I wanted to try and identify which JUnit test your build was failing.
> > I did a search through my JUnit output and I could not find the text
> > "testHelloWorld(org.apache" as detailed in your error. This might be
> > because
> > my tests do not fail.
> >
> > What is the Class name and test of the unit test that is failing for you?
> >
> > Mark
> >
> > > -----Original Message-----
> > > From: Simon Laws [mailto:simonslaws@googlemail.com]
> > > Sent: 27 May 2008 10:57
> > > To: tuscany-dev
> > > Subject: Build problems...
> > >
> > > Just done an update and am seeing...
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Error for project: Apache Tuscany SCA Axis2-based WS Binding
> > > Extension (d
> > > uring install)
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] There are test failures.
> > >
> > > Please refer to
> > > C:\simon\tuscany\java-trunk\sca\modules\binding-ws-axis2\target\
> > > surefire-reports for the individual test results.
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Error for project: Apache Tuscany SCA Domain Manager Application
> > > (during
> > > install)
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] There are test failures.
> > >
> > > Please refer to
> > > C:\simon\tuscany\java-trunk\sca\modules\domain-manager\target\su
> > > refire-reports for the individual test results.
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Error for project: Apache Tuscany SCA OpenEJB Host Extension
> > > (during
> > > inst
> > > all)
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Failed to resolve artifact.
> > >
> > >
> > > Anyone else got build problems? The binding-ws-axis2 issue is the most
> > > troublesome as it knocks a load of other things out. Here's the
> error...
> > >
> > >
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.confi
> > > gparam
> > > s.WSSecurityIntegrityTestCase) Time elapsed: 4.328 sec <<< ERROR!
> > > org.osoa.sca.ServiceRuntimeException: org.apache.axis2.AxisFault:
> > > WSDoAllReceive
> > > r: Error in converting to Document
> > > at
> > > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
> > > eptor.invoke(DataTransformationInterceptor.java:136)
> > > at
> > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> > > KInvocationHandler.java:286)
> > > at
> > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> > > KInvocationHandler.java:154)
> > > at $Proxy2.getGreetings(Unknown Source)
> > > at
> > > org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMComponent.
> > > getGreetings(HelloWorldOMComponent.java:31)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > java:64)
> > > at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:43)
> > > at java.lang.reflect.Method.invoke(Method.java:615)
> > > at
> > > org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
> > > ionInvoker.invoke(JavaImplementationInvoker.java:110)
> > > at
> > > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> > > nvoke(PassByValueInterceptor.java:108)
> > > at
> > > org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
> > > indingInvoker.java:61)
> > > at
> > > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> > > nvoke(PassByValueInterceptor.java:108)
> > > at
> > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> > > KInvocationHandler.java:286)
> > > at
> > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> > > KInvocationHandler.java:154)
> > > at $Proxy2.getGreetings(Unknown Source)
> > > at
> > > org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.Ab
> > >
> >
> stractHelloWorldOMTestCase.testHelloWorld(AbstractHelloWorldOMTestCase.jav
> > > a:43)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > java:64)
> > > at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:43)
> > > at java.lang.reflect.Method.invoke(Method.java:615)
> > > at junit.framework.TestCase.runTest(TestCase.java:168)
> > > at junit.framework.TestCase.runBare(TestCase.java:134)
> > > at junit.framework.TestResult$1.protect(TestResult.java:110)
> > > at junit.framework.TestResult.runProtected(TestResult.java:128)
> > > at junit.framework.TestResult.run(TestResult.java:113)
> > > at junit.framework.TestCase.run(TestCase.java:124)
> > > at junit.framework.TestSuite.runTest(TestSuite.java:232)
> > > at junit.framework.TestSuite.run(TestSuite.java:227)
> > > at
> > > org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.
> > > java:35)
> > > at
> > > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
> > > java:62)
> > > at
> > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> > > tSet(AbstractDirectoryTestSuite.java:138)
> > > at
> > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> > > stractDirectoryTestSuite.java:125)
> > > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > java:64)
> > > at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:43)
> > > at java.lang.reflect.Method.invoke(Method.java:615)
> > > at
> > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> > > refireBooter.java:308)
> > > at
> > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> > > ava:879)
> > > Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
> > > converting
> > > to D
> > > ocument
> > > at
> > > org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
> > > .java:67)
> > > at
> > > org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:
> > > 72)
> > > at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
> > > at
> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
> > > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:377)
> > > at
> > > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
> > > peration.java:374)
> > > at
> > > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
> > > InAxisOperation.java:211)
> > > at
> > > org.apache.axis2.client.OperationClient.execute(OperationClient.java:
> > > 163)
> > > at
> > > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.run(Axi
> > > s2BindingInvoker.java:128)
> > > at
> > > java.security.AccessController.doPrivileged(AccessController.java:242
> > > )
> > > at
> > > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTar
> > > get(Axis2BindingInvoker.java:126)
> > > at
> > > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Ax
> > > is2BindingInvoker.java:94)
> > > at
> > > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
> > > eptor.invoke(DataTransformationInterceptor.java:78)
> > > ... 39 more
> > > Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
> > > converting
> > > to D
> > > ocument
> > > at
> > > org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
> > > ava:196)
> > > at
> > > org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
> > > .java:64)
> > > ... 51 more
> > > Caused by: org.apache.ws.security.WSSecurityException: Error in
> > converting
> > > SOAP
> > > Envelope to Document; nested exception is:
> > > javax.xml.stream.XMLStreamException: Underlying stream encoding
> > > UTF-8 an
> > > d input paramter for writeStartDocument() method utf-8 do not match.
> > > at
> > > org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
> > > il.java:157)
> > > at
> > > org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
> > > ava:194)
> > > ... 52 more
> > > Caused by: javax.xml.stream.XMLStreamException: Underlying stream
> > encoding
> > > UTF-8
> > > and input paramter for writeStartDocument() method utf-8 do not match.
> > > at
> > > com.sun.xml.stream.writers.XMLStreamWriterImpl.writeStartDocument(XML
> > > StreamWriterImpl.java:1187)
> > > at
> > > org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SO
> > > APEnvelopeImpl.java:193)
> > > at
> > > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > > ntImpl.java:756)
> > > at
> > > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:34
> > > 5)
> > > at
> > > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:38
> > > 3)
> > > at
> > > org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
> > > il.java:148)
> > > ... 53 more
> >
> >
>
Thanks chaps.
So it must be something strange in my environment. The first
binding-ws-axis2 test that fails is:
Running
org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.WSSecurityIntegrityTestCase
Simon
Re: Build problems...
Posted by Vamsavardhana Reddy <c1...@gmail.com>.
I am at rev 660441 and am able to build binding-ws-axis2 module without a
problem.
++Vamsi
On Tue, May 27, 2008 at 3:44 PM, Mark Combellack <mc...@apache.org>
wrote:
> Hi Simon,
>
> I've just been doing an SVN update to the latest version (revision 660435).
> I've not got this error. I've rebuilt the binding-ws-axis2 module without
> any problems.
>
>
> I wanted to try and identify which JUnit test your build was failing.
> I did a search through my JUnit output and I could not find the text
> "testHelloWorld(org.apache" as detailed in your error. This might be
> because
> my tests do not fail.
>
> What is the Class name and test of the unit test that is failing for you?
>
> Mark
>
> > -----Original Message-----
> > From: Simon Laws [mailto:simonslaws@googlemail.com]
> > Sent: 27 May 2008 10:57
> > To: tuscany-dev
> > Subject: Build problems...
> >
> > Just done an update and am seeing...
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error for project: Apache Tuscany SCA Axis2-based WS Binding
> > Extension (d
> > uring install)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] There are test failures.
> >
> > Please refer to
> > C:\simon\tuscany\java-trunk\sca\modules\binding-ws-axis2\target\
> > surefire-reports for the individual test results.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error for project: Apache Tuscany SCA Domain Manager Application
> > (during
> > install)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] There are test failures.
> >
> > Please refer to
> > C:\simon\tuscany\java-trunk\sca\modules\domain-manager\target\su
> > refire-reports for the individual test results.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error for project: Apache Tuscany SCA OpenEJB Host Extension
> > (during
> > inst
> > all)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> >
> > Anyone else got build problems? The binding-ws-axis2 issue is the most
> > troublesome as it knocks a load of other things out. Here's the error...
> >
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.confi
> > gparam
> > s.WSSecurityIntegrityTestCase) Time elapsed: 4.328 sec <<< ERROR!
> > org.osoa.sca.ServiceRuntimeException: org.apache.axis2.AxisFault:
> > WSDoAllReceive
> > r: Error in converting to Document
> > at
> > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
> > eptor.invoke(DataTransformationInterceptor.java:136)
> > at
> > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> > KInvocationHandler.java:286)
> > at
> > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> > KInvocationHandler.java:154)
> > at $Proxy2.getGreetings(Unknown Source)
> > at
> > org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMComponent.
> > getGreetings(HelloWorldOMComponent.java:31)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > at
> > org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
> > ionInvoker.invoke(JavaImplementationInvoker.java:110)
> > at
> > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> > nvoke(PassByValueInterceptor.java:108)
> > at
> > org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
> > indingInvoker.java:61)
> > at
> > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> > nvoke(PassByValueInterceptor.java:108)
> > at
> > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> > KInvocationHandler.java:286)
> > at
> > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> > KInvocationHandler.java:154)
> > at $Proxy2.getGreetings(Unknown Source)
> > at
> > org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.Ab
> >
> stractHelloWorldOMTestCase.testHelloWorld(AbstractHelloWorldOMTestCase.jav
> > a:43)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > at junit.framework.TestCase.runTest(TestCase.java:168)
> > at junit.framework.TestCase.runBare(TestCase.java:134)
> > at junit.framework.TestResult$1.protect(TestResult.java:110)
> > at junit.framework.TestResult.runProtected(TestResult.java:128)
> > at junit.framework.TestResult.run(TestResult.java:113)
> > at junit.framework.TestCase.run(TestCase.java:124)
> > at junit.framework.TestSuite.runTest(TestSuite.java:232)
> > at junit.framework.TestSuite.run(TestSuite.java:227)
> > at
> > org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.
> > java:35)
> > at
> > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
> > java:62)
> > at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> > tSet(AbstractDirectoryTestSuite.java:138)
> > at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> > stractDirectoryTestSuite.java:125)
> > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > at
> > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> > refireBooter.java:308)
> > at
> > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> > ava:879)
> > Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
> > converting
> > to D
> > ocument
> > at
> > org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
> > .java:67)
> > at
> > org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:
> > 72)
> > at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
> > at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
> > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:377)
> > at
> > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
> > peration.java:374)
> > at
> > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
> > InAxisOperation.java:211)
> > at
> > org.apache.axis2.client.OperationClient.execute(OperationClient.java:
> > 163)
> > at
> > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.run(Axi
> > s2BindingInvoker.java:128)
> > at
> > java.security.AccessController.doPrivileged(AccessController.java:242
> > )
> > at
> > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTar
> > get(Axis2BindingInvoker.java:126)
> > at
> > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Ax
> > is2BindingInvoker.java:94)
> > at
> > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
> > eptor.invoke(DataTransformationInterceptor.java:78)
> > ... 39 more
> > Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
> > converting
> > to D
> > ocument
> > at
> > org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
> > ava:196)
> > at
> > org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
> > .java:64)
> > ... 51 more
> > Caused by: org.apache.ws.security.WSSecurityException: Error in
> converting
> > SOAP
> > Envelope to Document; nested exception is:
> > javax.xml.stream.XMLStreamException: Underlying stream encoding
> > UTF-8 an
> > d input paramter for writeStartDocument() method utf-8 do not match.
> > at
> > org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
> > il.java:157)
> > at
> > org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
> > ava:194)
> > ... 52 more
> > Caused by: javax.xml.stream.XMLStreamException: Underlying stream
> encoding
> > UTF-8
> > and input paramter for writeStartDocument() method utf-8 do not match.
> > at
> > com.sun.xml.stream.writers.XMLStreamWriterImpl.writeStartDocument(XML
> > StreamWriterImpl.java:1187)
> > at
> > org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SO
> > APEnvelopeImpl.java:193)
> > at
> > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> > ntImpl.java:756)
> > at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:34
> > 5)
> > at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:38
> > 3)
> > at
> > org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
> > il.java:148)
> > ... 53 more
>
>
RE: Build problems...
Posted by Mark Combellack <mc...@apache.org>.
Hi Simon,
I've just been doing an SVN update to the latest version (revision 660435).
I've not got this error. I've rebuilt the binding-ws-axis2 module without
any problems.
I wanted to try and identify which JUnit test your build was failing.
I did a search through my JUnit output and I could not find the text
"testHelloWorld(org.apache" as detailed in your error. This might be because
my tests do not fail.
What is the Class name and test of the unit test that is failing for you?
Mark
> -----Original Message-----
> From: Simon Laws [mailto:simonslaws@googlemail.com]
> Sent: 27 May 2008 10:57
> To: tuscany-dev
> Subject: Build problems...
>
> Just done an update and am seeing...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error for project: Apache Tuscany SCA Axis2-based WS Binding
> Extension (d
> uring install)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> C:\simon\tuscany\java-trunk\sca\modules\binding-ws-axis2\target\
> surefire-reports for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error for project: Apache Tuscany SCA Domain Manager Application
> (during
> install)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> C:\simon\tuscany\java-trunk\sca\modules\domain-manager\target\su
> refire-reports for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error for project: Apache Tuscany SCA OpenEJB Host Extension
> (during
> inst
> all)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
>
> Anyone else got build problems? The binding-ws-axis2 issue is the most
> troublesome as it knocks a load of other things out. Here's the error...
>
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.confi
> gparam
> s.WSSecurityIntegrityTestCase) Time elapsed: 4.328 sec <<< ERROR!
> org.osoa.sca.ServiceRuntimeException: org.apache.axis2.AxisFault:
> WSDoAllReceive
> r: Error in converting to Document
> at
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
> eptor.invoke(DataTransformationInterceptor.java:136)
> at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:286)
> at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:154)
> at $Proxy2.getGreetings(Unknown Source)
> at
> org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMComponent.
> getGreetings(HelloWorldOMComponent.java:31)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
> ionInvoker.invoke(JavaImplementationInvoker.java:110)
> at
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> nvoke(PassByValueInterceptor.java:108)
> at
> org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
> indingInvoker.java:61)
> at
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> nvoke(PassByValueInterceptor.java:108)
> at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:286)
> at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:154)
> at $Proxy2.getGreetings(Unknown Source)
> at
> org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.Ab
> stractHelloWorldOMTestCase.testHelloWorld(AbstractHelloWorldOMTestCase.jav
> a:43)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.
> java:35)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
> java:62)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.java:125)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:308)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:879)
> Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
> converting
> to D
> ocument
> at
> org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
> .java:67)
> at
> org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:
> 72)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:377)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
> peration.java:374)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
> InAxisOperation.java:211)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:
> 163)
> at
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.run(Axi
> s2BindingInvoker.java:128)
> at
> java.security.AccessController.doPrivileged(AccessController.java:242
> )
> at
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTar
> get(Axis2BindingInvoker.java:126)
> at
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Ax
> is2BindingInvoker.java:94)
> at
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
> eptor.invoke(DataTransformationInterceptor.java:78)
> ... 39 more
> Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
> converting
> to D
> ocument
> at
> org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
> ava:196)
> at
> org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender
> .java:64)
> ... 51 more
> Caused by: org.apache.ws.security.WSSecurityException: Error in converting
> SOAP
> Envelope to Document; nested exception is:
> javax.xml.stream.XMLStreamException: Underlying stream encoding
> UTF-8 an
> d input paramter for writeStartDocument() method utf-8 do not match.
> at
> org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
> il.java:157)
> at
> org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.j
> ava:194)
> ... 52 more
> Caused by: javax.xml.stream.XMLStreamException: Underlying stream encoding
> UTF-8
> and input paramter for writeStartDocument() method utf-8 do not match.
> at
> com.sun.xml.stream.writers.XMLStreamWriterImpl.writeStartDocument(XML
> StreamWriterImpl.java:1187)
> at
> org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SO
> APEnvelopeImpl.java:193)
> at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:756)
> at
> org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:34
> 5)
> at
> org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:38
> 3)
> at
> org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Ut
> il.java:148)
> ... 53 more