Discussion
TCS
IN
Last activity: 17 Mar 2016 4:48 EDT
Unable to start server after deploying DSM
We are unable to re-start the server after installing ADM and VBD.
On verifying the logs we can see below exceptions.
Exception 1:
[ PegaRULES-Batch-2] [ STANDARD] [ ] [ PegaDM:07.10] ( adm.server.ServerWrapper) ERROR - Connection to ADM server failed
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://localhost:9090/adm7/ADMServer]; nested exception is java.net.SocketTimeoutException: Read timed out
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:216)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:147)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy88.getModelUpdates(Unknown Source)
at com.pega.decision.adm.server.ServerWrapper$11.execute(ServerWrapper.java:191)
at com.pega.decision.adm.server.ServerWrapper$11.execute(ServerWrapper.java:189)
at com.pega.decision.adm.server.ServerWrapper.executeCommand(ServerWrapper.java:81)
at com.pega.decision.adm.server.ServerWrapper.executeCommand(ServerWrapper.java:64)
at com.pega.decision.adm.server.ServerWrapper.getModelUpdates(ServerWrapper.java:189)
at com.pega.decision.adm.client.impl.ClientImpl.updateModels(ClientImpl.java:650)
at com.pega.decision.adm.client.impl.ClientImpl.<init>(ClientImpl.java:131)
at com.pega.decision.adm.client.impl.ClientImpl.create(ClientImpl.java:116)
at com.pega.decision.adm.client.ClientFactory.initialize(ClientFactory.java:164)
at com.pega.decision.adm.client.ClientFactory.initializeRemoteServer(ClientFactory.java:156)
at com.pega.decision.adm.client.ClientFactory.initializeClient(ClientFactory.java:85)
at com.pegarules.generated.pzGetADMClient_071017_5Mv359_fpWjNHJtzx0feQQ.pzGetADMClient07_10_17(pzGetADMClient_071017_5Mv359_fpWjNHJtzx0feQQ.java:103)
at com.pegarules.generated.pzGetADMClient_071017_5Mv359_fpWjNHJtzx0feQQ.invoke(pzGetADMClient_071017_5Mv359_fpWjNHJtzx0feQQ.java:78)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9000)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
at com.pegarules.generated.pega_decisionengine_adm.pzGetADMClient(pega_decisionengine_adm.java:519)
at com.pegarules.generated.activity.ra_action_pxupdatemodels_38abbc3929ac0035ce20ea8f790609ef.step1_circum0(ra_action_pxupdatemodels_38abbc3929ac0035ce20ea8f790609ef.java:166)
at com.pegarules.generated.activity.ra_action_pxupdatemodels_38abbc3929ac0035ce20ea8f790609ef.perform(ra_action_pxupdatemodels_38abbc3929ac0035ce20ea8f790609ef.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3505)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:721)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:602)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:945)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1259)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:901)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:670)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at com.pega.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at com.pega.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at com.pega.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at com.pega.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1374)
at com.pega.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1833)
at com.pega.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1591)
at com.pega.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:996)
at com.pega.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at com.pega.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at com.pega.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.pega.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:325)
at com.pega.decision.util.spring.IgnorantHttpInvokerRequestExecutor.executePostMethod(IgnorantHttpInvokerRequestExecutor.java:250)
at com.pega.decision.util.spring.IgnorantHttpInvokerRequestExecutor.doExecuteRequest(IgnorantHttpInvokerRequestExecutor.java:168)
at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:138)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:194)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:176)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144)
... 34 more
Exception 2:
2015-12-02 21:59:34,494 [ PegaRULES-Batch-2] [ STANDARD] [ ] [ PegaDM:07.10] ( client.impl.ClientImpl) ERROR - Exception thrown while trying to update ADM models (ignored)
com.pega.decision.adm.client.ADMException: Cannot connect to Adaptive Decision Manager
at com.pega.decision.adm.client.ADMException.raise(ADMException.java:39)
at com.pega.decision.adm.server.ServerStub.getModelUpdates(ServerStub.java:96)
at com.pega.decision.adm.server.ServerWrapper$11.execute(ServerWrapper.java:191)
at com.pega.decision.adm.server.ServerWrapper$11.execute(ServerWrapper.java:189)
at com.pega.decision.adm.server.ServerWrapper.executeCommand(ServerWrapper.java:88)
at com.pega.decision.adm.server.ServerWrapper.executeCommand(ServerWrapper.java:64)
at com.pega.decision.adm.server.ServerWrapper.getModelUpdates(ServerWrapper.java:189)
at com.pega.decision.adm.client.impl.ClientImpl.updateModels(ClientImpl.java:650)
at com.pega.decision.adm.client.impl.ClientImpl.<init>(ClientImpl.java:131)
at com.pega.decision.adm.client.impl.ClientImpl.create(ClientImpl.java:116)
at com.pega.decision.adm.client.ClientFactory.initialize(ClientFactory.java:164)
at com.pega.decision.adm.client.ClientFactory.initializeRemoteServer(ClientFactory.java:156)
at com.pega.decision.adm.client.ClientFactory.initializeClient(ClientFactory.java:85)
at com.pegarules.generated.pzGetADMClient_071017_5Mv359_fpWjNHJtzx0feQQ.pzGetADMClient07_10_17(pzGetADMClient_071017_5Mv359_fpWjNHJtzx0feQQ.java:103)
at com.pegarules.generated.pzGetADMClient_071017_5Mv359_fpWjNHJtzx0feQQ.invoke(pzGetADMClient_071017_5Mv359_fpWjNHJtzx0feQQ.java:78)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9000)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
at com.pegarules.generated.pega_decisionengine_adm.pzGetADMClient(pega_decisionengine_adm.java:519)
at com.pegarules.generated.activity.ra_action_pxupdatemodels_38abbc3929ac0035ce20ea8f790609ef.step1_circum0(ra_action_pxupdatemodels_38abbc3929ac0035ce20ea8f790609ef.java:166)
at com.pegarules.generated.activity.ra_action_pxupdatemodels_38abbc3929ac0035ce20ea8f790609ef.perform(ra_action_pxupdatemodels_38abbc3929ac0035ce20ea8f790609ef.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3505)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:721)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:602)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:945)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1259)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:901)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:670)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532)
at java.lang.Thread.run(Thread.java:745)