WS Binding throws ServiceRuntimeException: No callback wire found for / under load ------------------------------------------------------------------------------------
Key: TUSCANY-1927 URL: https://issues.apache.org/jira/browse/TUSCANY-1927 Project: Tuscany Issue Type: Bug Components: Java SCA Axis Binding Extension Affects Versions: Java-SCA-1.0 Reporter: Lou Amodeo When running callbacks over the Web Services binding an intemittent exception occurs when running under load with concurrent clients. [11/28/07 4:14:51:906 CST] 0000004b SystemErr R org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: No callback wire found for / [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:216) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:133) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at com.ibm.ws.soa.sca.runtime.impl.RuntimeExtensionManager.invokeNextInterceptor(RuntimeExtensionManager.java:211) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at com.ibm.ws.soa.sca.runtime.impl.RuntimeExtensionManager.processMessage(RuntimeExtensionManager.java:96) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at com.ibm.ws.soa.sca.runtime.impl.RuntimeTuscanyInterceptor.invoke(RuntimeTuscanyInterceptor.java:131) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:83) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:259) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:156) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at $Proxy73.priceQuoteCallByItem(Unknown Source) [11/28/07 4:14:51:906 CST] 0000004b SystemErr R at pqclientcb.sca.ws.PriceQuoteCBClientComponentImpl.getPriceQuotes(PriceQuoteCBClientComponentImpl.java:64) This is caused by the Axis2 EndpointReference being shared by multiple threads. I applied the following local fix and they problem has been resolved. Axis2BindingInvoker.java // If target endpoint was not specified when this invoker was created, // use dynamically specified target endpoint passed in on this call EndpointReference toEPR = options.getTo(); if (toEPR == null) { ep = msg.getTo(); toEPR = new EndpointReference(ep.getURI()); } else toEPR = new EndpointReference(toEPR.getAddress()); // <== added this "else" to create a new instance of EPR. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]