Support Article
java.lang.IllegalStateException: ADM is not configured
Summary
User has a seven node Pega cluster in which the nodes are configured as below,
- Two servers run the Pega front end
- Two servers run the Visual Business Director (VBD), Pega Adaptive Decision Manager (ADM), and Decision Data Store (DDS)
- Three servers run the data flow (Kafka)
Errors are generated in the data flow logs that the ADM is not configured. The ADM is running in a Normal state and the Tomcat files are all executable.
Error Messages
( api.dataflow.DataFlow) ERROR - Exception occurred during data flow RuleKeys{[email protected], name=DF_CaptureInteraction} execution
com.pega.dsm.dnode.api.ExceptionWithInputRecord: java.lang.IllegalStateException: ADM is not configured
at com.pega.dsm.dnode.impl.dataflow.SaveStageProcessor.onNext(SaveStageProcessor.java:141) ~[d-node.jar:?]
at com.pega.dsm.dnode.api.dataflow.DataFlowStageBatchProcessor.commitBatchInternal(DataFlowStageBatchProcessor.java:134) ~[d-node.jar:?]
;
;
;
Caused by: java.lang.IllegalStateException: ADM is not configured
at com.pega.decision.adm.client.ClientFactory.getInstance(ClientFactory.java:160) ~[adm-client.jar:?]
at com.pega.decision.adm.persistence.prpc.ADMDataSetSaveOperation$1.emit(ADMDataSetSaveOperation.java:69) ~[adm-service.jar:?]
Steps to Reproduce
Start the DataFlow node
Root Cause
A defect or configuration issue in the operating environment.
If any active Real Time DataFlow runs are present and if they receive any response during the DataFlow tier nodes startup, the nodes attempt to determine the ADM client which is not yet started.
Resolution
Make the following change to the operating environment:
- Pause all the Real Time DataFlow runs.
- Restart the DataFlow tier node.
- Wait for the Pega node to start.
- Log in to the Pega application from the DataFlowtier URL.
- Switch to Decision Manager Sample application or an Omni application.
- Access the Model Management page. In the DataFlowtier's Catalina or PegaRULES log, the ADM started in the client mode displays a message as below:
INFO - Successfully started service [ADM.Default] in client mode - Resume the Real Time DataFlow runs.
Published July 9, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.