8 Replies Latest reply on Jan 12, 2015 7:12 AM by Bill Robinson

    Blcli Webservice timeout issue.

      Team,

       

      We are using the BLCLI webservices and trying to execute a deploy job which takes around 15mins.

       

      However while executing the webservice for executeJobAndWait we are getting connection-reset exception.

       

      Can you please help us in setting the timeout to unlimited. So that we can avoid the following exception

       

      {errorMessage=Connection reset;returnCode=-1;Result=-1;status=;exception=java.net.SocketException: Connection reset

        at java.net.SocketInputStream.read(SocketInputStream.java:196)

        at java.net.SocketInputStream.read(SocketInputStream.java:122)

        at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)

        at sun.security.ssl.InputRecord.read(InputRecord.java:480)

        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)

        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)

        at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)

        at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166)

        at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:90)

        at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:281)

        at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92)

        at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62)

        at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)

        at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)

        at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)

        at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)

        at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)

        at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)

        at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:717)

        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:522)

        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)

        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)

        at com.hp.oo.content.commons.util.http.OOHttpClient.execute(OOHttpClient.java:104)

        at com.hp.oo.content.commons.util.http.OOHttpClient.execute(OOHttpClient.java:94)

        at com.hp.oo.content.commons.util.http.OOHttpClientRequestExecutor.executeRequest(OOHttpClientRequestExecutor.java:81)

        at com.iconclude.content.actions.webservice.InvokeMethodV2.executePostRaw(InvokeMethodV2.java:389)

        at com.iconclude.content.actions.webservice.InvokeMethodV2.execute(InvokeMethodV2.java:252)

        at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at com.hp.oo.sdk.plugins.abstracts.BaseActionPlugin.execute(BaseActionPlugin.java:53)

        at sun.reflect.GeneratedMethodAccessor409.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at com.hp.oo.maven.PluginAdapterImpl.executePlugin(PluginAdapterImpl.java:314)

        at com.hp.oo.maven.PluginAdapterImpl.execute(PluginAdapterImpl.java:240)

        at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:85)

        at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at com.hp.oo.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:51)

        at com.hp.oo.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:612)

        at com.hp.oo.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:123)

        at com.hp.oo.execution.services.SimpleExecutionRunnable.doRun(SimpleExecutionRunnable.java:128)

        at com.hp.oo.execution.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:88)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at com.hp.oo.execution.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:23)

        at java.lang.Thread.run(Thread.java:745)

      ;responseTimeInMs=0;documentStripped=;returnResult=-1;document=;httpResult=;sessionId=;pageLoadTimeInMs=0;resultText=GENERAL_ERROR;URL=https://blwebservices.es.ad.adp.com:9843/services/CLITunnelService;}