search cancel

RA Web Service REST agent does not start.

book

Article ID: 215965

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The RA Web Service REST agent does not start. A forced trace file is created in the agent/temp directory.

20210525/175850.796 - 14     java.io.FileNotFoundException: ./inner_jarfiles/WebServiceRest/FastInfoset.jar (Permission denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(FileOutputStream.java:270)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
        at com.uc4.extensibility.util.ExtensibleFrameworkClassLoader.loadSubJarFile(ExtensibleFrameworkClassLoader.java:898)
        at com.uc4.extensibility.util.ExtensibleFrameworkClassLoader.loadJarFile(ExtensibleFrameworkClassLoader.java:740)
        at com.uc4.extensibility.util.ExtensibleFrameworkClassLoader.<init>(ExtensibleFrameworkClassLoader.java:356)
        at com.uc4.ex.cit.SolutionCache.loadAgent(SolutionCache.java:181)
        at com.uc4.ex.cit.SolutionCache.getSolution(SolutionCache.java:101)
        at com.uc4.ex.cit.UCXJCITX.initAgent(UCXJCITX.java:285)
        at com.uc4.ex.cit.UCXJCITX$1.call(UCXJCITX.java:233)
        at com.uc4.ex.cit.UCXJCITX$1.call(UCXJCITX.java:230)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

20210525/175850.800 - 14
20210525/175850.800 - 14     --------- Location from where the trace was called --------
20210525/175850.800 - 14     java.lang.Exception: Log Stack
        at com.uc4.ex.logging.LogService.forcedTrace(LogService.java:514)
        at com.uc4.ex.logging.LogService.log(LogService.java:465)
        at com.uc4.ex.logging.LogService.log(LogService.java:642)
        at com.uc4.ex.cit.SolutionCache.getSolution(SolutionCache.java:107)
        at com.uc4.ex.cit.UCXJCITX.initAgent(UCXJCITX.java:285)
        at com.uc4.ex.cit.UCXJCITX$1.call(UCXJCITX.java:233)
        at com.uc4.ex.cit.UCXJCITX$1.call(UCXJCITX.java:230)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

The log file shows the following entries:

20210525/175840.773 - U00003620 Routine 'UCEX_R' forces trace because of error.
20210525/175840.774 - U02000048 TRACE file opened with flags '0000000000000001', max.trace: '9', memory trace: '0', search type: 'S', search string: ''.
20210525/175850.816 - U00003449 Output to the TRACE file is finished.
20210525/175850.817 - U02013310 Failed to load RA Agent.

Environment

Release : 4.5

Component : RA WEB SERVICE REST

Cause

Configuration.

Resolution

The folder inner_jarfiles inside the agent/bin directory was owned by root.

Once this is changed the agent can be started again:

chown user:group -R inner_jarfiles