IBM Support

Agents appearing offline on the UI with error - java.lang.NoSuchMethodError: org/bouncycastle/asn1/ASN1Integer.<init>(I)V in the agent logs

Troubleshooting


Problem

UrbanCode Deploy (UCD) agents are running on the host but they appear offline under UI -> Resources -> Agents.
You see java.lang.NoSuchMethodError: org/bouncycastle/asn1/ASN1Integer.<init>(I)V in the agent.out logs.

Symptom

The error stack that you encounter in agent.out log when the agents are appearing offline is:
2021-01-20 12:15:05,610 EST FATAL AgentWorkerThread com.urbancode.air.agent.AgentWorker - java.lang.NoSuchMethodError: org/bouncycastle/asn1/ASN1Integer.(I)V
(loaded from file:/clientlink/required_support_files/jre/ibm-java-ppc64-80/lib/ext/bcprov-ext-jdk15on-159.jar by sun.misc.Launcher$ExtClassLoader@6146f729) called from class org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder (loaded from file:/clientlink/required_support_files/ucd_web/lib/bcpkix-jdk15on-147.jar by com.urbancode.launcher.LauncherClassLoader@117e8872). java.lang.NoSuchMethodError: org/bouncycastle/asn1/ASN1Integer.(I)V (loaded from file:/clientlink/required_support_files/jre/ibm-java-ppc64-80/lib/ext/bcprov-ext-jdk15on-159.jar by sun.misc.Launcher$ExtClassLoader@6146f729) called from class org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder (loaded from file:/clientlink/required_support_files/ucd_web/lib/bcpkix-jdk15on-147.jar by com.urbancode.launcher.LauncherClassLoader@117e8872).
at org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder.createPSSParams(Unknown Source)
at org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder.(Unknown Source)
at com.urbancode.air.keytool.KeytoolHelper.buildWithExtensions(KeytoolHelper.java:122)
at com.urbancode.air.devilfish.jms.secure.registration.CertificateStore.generateSelfSignedCertificate(CertificateStore.java:175)
at com.urbancode.air.devilfish.jms.secure.registration.CertificateStore.generateSelfSignedCertificate(CertificateStore.java:163)
at com.urbancode.air.agent.AgentWorker.prepareCertificateStore(AgentWorker.java:1009)
at com.urbancode.air.agent.AgentWorker.startWebAgentComm(AgentWorker.java:945)
at com.urbancode.air.agent.AgentWorker.startAgent(AgentWorker.java:518) at com.urbancode.air.agent.AgentWorker.execute(AgentWorker.java:288)
at com.urbancode.air.agent.AgentWorker.access$100(AgentWorker.java:134) at com.urbancode.air.agent.AgentWorker$1.run(AgentWorker.java:196)

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"ARM Category":[{"code":"a8m50000000CehXAAS","label":"UrbanCode Deploy-\u003EAgents"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
05 April 2021

UID

ibm16434635