Connection object not visible sometimes in RA BO agent.
search cancel

Connection object not visible sometimes in RA BO agent.

book

Article ID: 263617

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

Installed RA agent business object agent version 21.0.5 with connection to UC4 application 21.0.5 and BO solution 4.0.2, 
Connection object  sometimes visible and sometimes not in RA agent. RA agent is not possible to start, because connection object doesn’t exist.

Agent log has below information :

20230301/102610.337 - U02013309 RA Agent is starting ...
20230301/102612.867 - U02013341 Automatic restart of Jobs is disabled.
20230301/102613.275 - U02013310 Failed to load RA Agent.
20230301/102613.285 - U00003620 Routine 'UCEX_R' forces trace because of error.
20230301/102613.289 - U02000048 TRACE file opened with flags '0000000000000001', max.trace: '9', memory trace: '0', search type: 'S', search string: ''.
20230301/102613.340 - U00003449 Output to the TRACE file is finished.
20230301/102613.340 - U07001001 Charset used by the Agent: 'ISO-8859-15'
20230301/102613.340 - U02000041 Shutdown Agent 'XXXXXXXXXX'.
20230301/102613.356 -           agentStopped XXXXXXXXXX
20230301/102613.356 - U02000002 Agent 'XXXXXXXXX' version '21.0.5+hf.1.build.1678470297345' ended abnormally.
20230301/102613.371 - U02000010 Connection to Server '/10.100.192.138:2221' terminated.

20230301/102613.320 - 32     java.lang.RuntimeException: Connection object does not exist for xmlName: connection
 at com.uc4.extensibility.objs.ConnectionsData.getConnectionData(ConnectionsData.java:61)
 at com.uc4.extensibility.objs.ConnectionsData$getConnectionData.call(Unknown Source)
 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
 at BusinessObjectsImpl.agentInitialization(BusinessObjects.groovy:242)
 at com.uc4.ex.cit.UCXJCITX.initAgent(UCXJCITX.java:344)
 at com.uc4.ex.cit.UCXJCITX$1.call(UCXJCITX.java:233)
 at com.uc4.ex.cit.UCXJCITX$1.call(UCXJCITX.java:230)
 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 at java.base/java.lang.Thread.run(Thread.java:829)

Environment

Release : 21.0.5

Resolution

* Make sure you have copied the below jar files to bin/lib folder RA agent .

dsws-bicatalog.jar
dsws-biplatform.jar
dsws-common.jar
dsws-common-util.jar
dsws-publish.jar
dsws-reportengine.jar
dsws-session.jar
dsws-webishared-provider.jar
TraceLog.jar

Check the below link. 

https://docs.automic.com/documentation/webhelp/english/ALL/components/RA_BUSINESSOBJECTS/latest/Agent%20Guide/Content/RA/BusinessObjects/All/Putting_Business_Objects_.jar_Files_on_the_Agent_Machine.htm

* Make sure that certificate Imported to cacerts file in Java.