I am hitting intermittent failures RUNNING test CXF SOAP over JMS against remote AMQ-7 broker (e.g. running in OpenShift or running in OpenStack provisioned machine). There might be problem in configuration of CXF JMS. It would be great, if this would be examined. I think the problem might be in configuring the timeToLive property. However, I increased the value from 10s to 60seconds. The test became much more stable.
Also in 6.3, we run a lot of test against embedded broker in Karaf. So we haven't seen this problem in our application. Also
I hit this Exception:
java.lang.RuntimeException: Timeout receiving message with correlationId 7d49be8ab54949cbaea2e6ad952b23430000000000000001 at org.apache.cxf.transport.jms.util.JMSUtil.convertJmsException(JMSUtil.java:65) at org.apache.cxf.transport.jms.JMSConduit.sendExchange(JMSConduit.java:161) at org.apache.cxf.transport.jms.MessageStreamUtil$SendingOutputStream.doClose(MessageStreamUtil.java:81) at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:213) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) at org.apache.cxf.transport.jms.JMSConduit.close(JMSConduit.java:101) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:518) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:427) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:328) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:281) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139) at com.sun.proxy.$Proxy33.greet(Unknown Source) at org.jboss.qe.cxf.ws.jms.jms.SoapJmsTest.testJndi(SoapJmsTest.java:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417) Caused by: javax.jms.JMSException: Timeout receiving message with correlationId 7d49be8ab54949cbaea2e6ad952b23430000000000000001 at org.apache.cxf.transport.jms.JMSConduit.sendAndReceiveMessage(JMSConduit.java:237) at org.apache.cxf.transport.jms.JMSConduit.sendExchange(JMSConduit.java:145) ... 39 more
- is duplicated by
-
ENTESB-9837 Intermittent failures when using CXF JAX-RS over JMS connecting to external AMQ-7
- Closed
- relates to
-
ENTESB-9837 Intermittent failures when using CXF JAX-RS over JMS connecting to external AMQ-7
- Closed