You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jan Arend Jansen (JIRA)" <ji...@apache.org> on 2008/02/09 13:35:36 UTC

[jira] Created: (SM-1221) Make CXF BC/SE timeouts configurable

Make CXF BC/SE timeouts configurable
------------------------------------

                 Key: SM-1221
                 URL: https://issues.apache.org/activemq/browse/SM-1221
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-cxf-bc, servicemix-cxf-se
    Affects Versions: 3.2
            Reporter: Jan Arend Jansen


I have a service that is exposed on the NMR through the cxf-se component. It seems that the default timeout for a synchronous message exchange to this service is 10 seconds. This is too short for my service. 

The service is exposed externally over a cxf-bc component. This is the component that throws the apparent timeout. 
How do I set the timeout on the cxf-bc component? 

Thanks, 

Jan Arend 

Stacktrace: 
08-Feb-2008 15:12:54 org.apache.cxf.phase.PhaseInterceptorChain doIntercept 
INFO: Interceptor has thrown exception, unwinding now 
org.apache.cxf.interceptor.Fault 
        at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.handleMessage(CxfBcConsumer.java:466) 
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) 
        at org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:185) 
        at org.apache.servicemix.cxfbc.CxfBcConsumer.process(CxfBcConsumer.java:182) 
        at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiInvokerInterceptor.handleMessage(CxfBcConsumer.java:442) 
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) 
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77) 
        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:297) 
        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:243) 
        at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54) 
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) 
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) 
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) 
        at org.mortbay.jetty.Server.handle(Server.java:324) 
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) 
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) 
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) 
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) 
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) 
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) 
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-1221) Make CXF BC/SE timeouts configurable

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SM-1221.
------------------------------

    Resolution: Fixed

commit fix 
http://svn.apache.org/viewvc?rev=634506&view=rev for 3.3 branch
http://svn.apache.org/viewvc?rev=634509&view=rev for 3.2.2 branch

now customer can add attribute
timeout="n" // as second

for cxfbc:consumer to specify the timeout 

> Make CXF BC/SE timeouts configurable
> ------------------------------------
>
>                 Key: SM-1221
>                 URL: https://issues.apache.org/activemq/browse/SM-1221
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2
>            Reporter: Jan Arend Jansen
>            Assignee: Freeman Fang
>
> I have a service that is exposed on the NMR through the cxf-se component. It seems that the default timeout for a synchronous message exchange to this service is 10 seconds. This is too short for my service. 
> The service is exposed externally over a cxf-bc component. This is the component that throws the apparent timeout. 
> How do I set the timeout on the cxf-bc component? 
> Thanks, 
> Jan Arend 
> Stacktrace: 
> 08-Feb-2008 15:12:54 org.apache.cxf.phase.PhaseInterceptorChain doIntercept 
> INFO: Interceptor has thrown exception, unwinding now 
> org.apache.cxf.interceptor.Fault 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.handleMessage(CxfBcConsumer.java:466) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:185) 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer.process(CxfBcConsumer.java:182) 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiInvokerInterceptor.handleMessage(CxfBcConsumer.java:442) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) 
>         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:297) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:243) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54) 
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) 
>         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) 
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) 
>         at org.mortbay.jetty.Server.handle(Server.java:324) 
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) 
>         at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) 
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) 
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) 
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) 
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) 
>         at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SM-1221) Make CXF BC/SE timeouts configurable

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine reassigned SM-1221:
---------------------------------

    Assignee: Freeman Fang  (was: Chris Custine)

> Make CXF BC/SE timeouts configurable
> ------------------------------------
>
>                 Key: SM-1221
>                 URL: https://issues.apache.org/activemq/browse/SM-1221
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2
>            Reporter: Jan Arend Jansen
>            Assignee: Freeman Fang
>
> I have a service that is exposed on the NMR through the cxf-se component. It seems that the default timeout for a synchronous message exchange to this service is 10 seconds. This is too short for my service. 
> The service is exposed externally over a cxf-bc component. This is the component that throws the apparent timeout. 
> How do I set the timeout on the cxf-bc component? 
> Thanks, 
> Jan Arend 
> Stacktrace: 
> 08-Feb-2008 15:12:54 org.apache.cxf.phase.PhaseInterceptorChain doIntercept 
> INFO: Interceptor has thrown exception, unwinding now 
> org.apache.cxf.interceptor.Fault 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.handleMessage(CxfBcConsumer.java:466) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:185) 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer.process(CxfBcConsumer.java:182) 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiInvokerInterceptor.handleMessage(CxfBcConsumer.java:442) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) 
>         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:297) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:243) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54) 
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) 
>         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) 
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) 
>         at org.mortbay.jetty.Server.handle(Server.java:324) 
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) 
>         at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) 
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) 
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) 
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) 
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) 
>         at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SM-1221) Make CXF BC/SE timeouts configurable

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine reassigned SM-1221:
---------------------------------

    Assignee: Chris Custine

> Make CXF BC/SE timeouts configurable
> ------------------------------------
>
>                 Key: SM-1221
>                 URL: https://issues.apache.org/activemq/browse/SM-1221
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2
>            Reporter: Jan Arend Jansen
>            Assignee: Chris Custine
>
> I have a service that is exposed on the NMR through the cxf-se component. It seems that the default timeout for a synchronous message exchange to this service is 10 seconds. This is too short for my service. 
> The service is exposed externally over a cxf-bc component. This is the component that throws the apparent timeout. 
> How do I set the timeout on the cxf-bc component? 
> Thanks, 
> Jan Arend 
> Stacktrace: 
> 08-Feb-2008 15:12:54 org.apache.cxf.phase.PhaseInterceptorChain doIntercept 
> INFO: Interceptor has thrown exception, unwinding now 
> org.apache.cxf.interceptor.Fault 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.handleMessage(CxfBcConsumer.java:466) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:185) 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer.process(CxfBcConsumer.java:182) 
>         at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiInvokerInterceptor.handleMessage(CxfBcConsumer.java:442) 
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) 
>         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:297) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:243) 
>         at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54) 
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) 
>         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) 
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) 
>         at org.mortbay.jetty.Server.handle(Server.java:324) 
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) 
>         at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) 
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) 
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) 
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) 
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) 
>         at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.