Hi,

I reproduced this error and it is caused by SpringBeansTest is not shutdown the bus rightly.
So I created a JIRA[1] for it and will commit a fix shortly.

[1]https://issues.apache.org/jira/browse/CXF-3326

Willem

On 2/10/11 7:18 AM, Dennis Sosnoski wrote:
Oh, and I'm running "mvn clean install" with Maven 2.2.1.

   - Dennis


On 02/10/2011 12:17 PM, Dennis Sosnoski wrote:
I'm getting a test failure with Simple Frontend:

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running org.apache.cxf.frontend.soap.SoapBindingSelectionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.263 sec
Running org.apache.cxf.frontend.spring.ClientServerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec
Running org.apache.cxf.frontend.spring.SpringBeansTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.607 sec
Running org.apache.cxf.service.factory.RountripTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.347
sec<<<  FAILURE!
testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)
Time elapsed: 0.076 sec<<<  ERROR!
java.lang.IllegalStateException: Local destination does not have a
MessageObserver on address http://localhost/Hello
         at
org.apache.cxf.transport.local.LocalConduit.dispatchViaPipe(LocalConduit.java:114)
         at
org.apache.cxf.transport.local.LocalConduit.prepare(LocalConduit.java:59)
         at
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
         at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
         at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
         at org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)
         ...

Running org.apache.cxf.service.factory.ServerFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.413 sec
Running org.apache.cxf.service.factory.ClientFactoryBeanTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
Running org.apache.cxf.service.factory.ReflectionServiceFactoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
Running org.apache.cxf.service.stax.StaxDatabindingTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec

Results :

Tests in error:
   testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)

Tests run: 17, Failures: 0, Errors: 1, Skipped: 0

Any suggestions? This is with the latest code, but I also saw the same
problem when I tried to build a couple of days ago with the
then-latest code.

I'm running on Linux, using Sun/Oracle 1.5.0_15 and 1.6.0_10 JVMs.

   - Dennis

--

Dennis M. Sosnoski
Java SOA and Web Services Consulting
<http://www.sosnoski.com/consult.html>
Axis2/CXF/Metro SOA and Web Services Training
<http://www.sosnoski.com/training.html>
Web Services Jump-Start<http://www.sosnoski.com/jumpstart.html>




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Reply via email to