I have installed a basic SA on Servicemix that simply passes on the request
to an external webservice. When I use this with the default 3.2
configuration, everything works fine. However, when I modified the
servicemix.xml to use an ST flow and test the same SA, I get a timeout
error. Does anyone know why that's the case and how to fix it?

Thanks in advance,
Derek

Error:

WARN  - jetty                          - Nested in
javax.servlet.ServletException: Failed to process request:
java.lang.Exception: Timeout:
java.lang.Exception: Timeout
        at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:189)
        at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
WARN  - jetty                          - /services/PersonIdentityService/
java.lang.Exception: Timeout
        at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:189)
        at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

servicemix.xml snippet:

    <sm:broker>
      <sm:securedBroker authorizationMap="#authorizationMap">
        <sm:flows>
          <sm:stFlow />
          <!--sm:sedaFlow />
          <sm:jmsFlow jmsURL="${activemq.url}" />
          <sm:jcaFlow connectionManager="#connectionManager"
                      jmsURL="${activemq.url}" /-->
        </sm:flows>
      </sm:securedBroker>
    </sm:broker>

SA xbean.xml snippet:

    <http:endpoint service="ns1:PersonIdentityService"
                   endpoint="PersonIdentityPort_http_int"
                   targetService="ns1:PersonIdentityService"
                   targetEndpoint="PersonIdentityPort"
                   role="provider"
                   soap="true"
                   wsdlResource="classpath:PersonIdentity.wsdl"
                  
locationURI="http://localhost:8080/personIdentity/services/PersonIdentityService";
/>
        
    <http:endpoint service="ns1:PersonIdentityService"
                   endpoint="PersonIdentityPort_http_ext"
                   targetService="ns1:PersonIdentityService"
                   targetEndpoint="PersonIdentityPort"
                   role="consumer"
                   soap="true"
                  
locationURI="http://0.0.0.0:8192/services/PersonIdentityService";
                   defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; />
-- 
View this message in context: 
http://www.nabble.com/ST-Flow-Timeout-error-tf4964066s12049.html#a14219220
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to