My Oracle Support Banner

How To Configure Webservices Call Timeout (Doc ID 791117.1)

Last updated on JANUARY 27, 2020

Applies to:

Oracle Business Process Management Suite - Version 5.7 to 10.3.1
Information in this document applies to any platform.
***Checked for relevance on 18-Jul-2011***


Goal

How do you set the webservice timeout for BPM?

By default it is configured for 1 minute.  If you pass that one minute mark you may see an exception that looks like the following:

The activity execution failed.
Caused by: Activity '/CreateProduct#Default-1.0/GlobalCreation' task 'StructuredSearch_Router' could not execute successfully.
Caused by: The task could not be successfully executed.
Reason: 'java.net.SocketTimeoutException: Read timed out'.
Caused by: Read timed out

fuego.portal.exception.WapiActivityFailedException: The activity execution failed.
        at fuego.portal.exception.WapiExceptionFactory.create(WapiExceptionFactory.java:382)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at fuego.portal.exception.WapiExceptionFactory.create(WapiExceptionFactory.java:46)
        at fuego.portal.exception.WapiExceptionFactory.getExactWapiException(WapiExceptionFactory.java:412)
        at fuego.portal.exception.WapiExceptionFactory.create(WapiExceptionFactory.java:126)
        at fuego.portal.servlet.ExecutionDispatcher.processRequest(ExecutionDispatcher.java:366)
        at fuego.portal.servlet.ExecutionDispatcher.doPost(ExecutionDispatcher.java:105)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at fuego.portal.servlet.AuthenticatedWamServlet.service(AuthenticatedWamServlet.java:1039)
        at fuego.portal.servlet.SingleThreadPerSession.service(SingleThreadPerSession.java:73)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at fuego.servlet.multipart.BaseMultipartFilter.doFilter(BaseMultipartFilter.java:57)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: fuego.papi.exception.ActivityFailedException: Activity '/CreateProduct#Default-1.0/GlobalCreation' task 'StructuredSearch_Router' could not execute successfully.
        at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
        at fuego.ejbengine.EJBProcessControlAdapter_ryxhmt_EOImpl_921_WLStub.runGlobalActivity(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor346.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:48)
        at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:111)
        at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:66)
        at $Proxy47.runGlobalActivity(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1478)
        at fuego.lang.JavaObject.invoke(JavaObject.java:185)
        at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:197)
        at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:157)
        at fuego.portal.wapi.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
        at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:200)
        at fuego.portal.servlet.ExecutionDispatcher.setExecutionResultAndWaitNext(ExecutionDispatcher.java:556)
        at fuego.portal.servlet.ExecutionDispatcher.processRequest(ExecutionDispatcher.java:154)
        ... 19 more
Caused by: fuego.lang.ComponentExecutionException: The task could not be successfully executed.
Reason: 'java.net.SocketTimeoutException: Read timed out'.
        at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:911)
        at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:395)
        at fuego.server.execution.GlobalTaskExecution.invoke(GlobalTaskExecution.java:106)
        at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:483)
        at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
        at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:618)
        at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:444)
        at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:164)
        at fuego.server.execution.Global.continueCil(Global.java:60)
        at fuego.server.AbstractProcessBean$39.execute(AbstractProcessBean.java:2511)
        at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:291)
        at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:462)
        at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:540)
        at fuego.transaction.TransactionAction.start(TransactionAction.java:213)
        at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:117)
        at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
        at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2504)
        at fuego.ejbengine.EJBProcessControlAdapter.runGlobalActivity(EJBProcessControlAdapter.java:386)
        at fuego.ejbengine.EJBProcessControlAdapter_ryxhmt_EOImpl.runGlobalActivity(EJBProcessControlAdapter_ryxhmt_EOImpl.java:4391)
        at fuego.ejbengine.EJBProcessControlAdapter_ryxhmt_EOImpl_WLSkel.invoke(Unknown Source)
        at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
        ... 40 more
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
        at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
        at org.apache.axis.client.Call.invoke(Call.java:2748)
        at org.apache.axis.client.Call.invoke(Call.java:2424)
        at org.apache.axis.client.Call.invoke(Call.java:2347)
        at org.apache.axis.client.Call.invoke(Call.java:1804)
        at fuego.soaptype.SoapCall.invoke(SoapCall.java:269)
        at fuego.soaptype.SoapObject.invoke(SoapObject.java:277)
        at fuego.lang.Invokeable.invokeImpl(Invokeable.java:220)
        at fuego.lang.Invokeable.invoke(Invokeable.java:161)
        at xobject.Fuego_AutoGenScreenflows.SF_SearchCreate11.prepareResults(_SF_SearchCreate11.java:3749)
        at xobject.Fuego_AutoGenScreenflows.SF_SearchCreate11.PrepareResults_Invocator(_SF_SearchCreate11.java:1900)
        at xobject.Fuego_AutoGenScreenflows.SF_SearchCreate11.PerformStructuredSearch_Router(_SF_SearchCreate11.java:1787)
        at xobject.Fuego_AutoGenScreenflows.SF_SearchCreate11.PerformStructuredSearch_Invocator(_SF_SearchCreate11.java:1737)
        at xobject.Fuego_AutoGenScreenflows.SF_SearchCreate11.ValidateStructuredSearchParameters_Router(_SF_SearchCreate11.java:3343)
        at xobject.Fuego_AutoGenScreenflows.SF_SearchCreate11.ValidateStructuredSearchParameters_Invocator(_SF_SearchCreate11.java:3287)
        at xobject.Fuego_AutoGenScreenflows.SF_SearchCreate11.StructuredSearch_Router(_SF_SearchCreate11.java:3087)
        at xobject.Fuego_AutoGenScreenflows.SF_SearchCreate11.StructuredSearch_Router(_SF_SearchCreate11.java:3106)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:902)
        ... 60 more

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.