JCLCheck REST API startup failed: Error creating bean with name 'apimlRegistrator'
search cancel

JCLCheck REST API startup failed: Error creating bean with name 'apimlRegistrator'

book

Article ID: 433467

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

JCLCheck REST API failed to start.  The following error is displayed in the SYSOUT: 

...WARN 83886448 --- .....  Error creating bean with name 'apimlRegistrator': Injection of autowired dependencies failed; nested exception is java.lang.
 IllegalArgumentException: Could not resolve placeholder 'IP_32' in value "${IP_32}"

...ERROR 83886448 --- [           main] o.s.boot.SpringApplication               : Application run failed

Resolution

In file jclcheck.yml, section apiml,  change from: 

apiml:
    enabled: true
    service:
        hostname: hostname
        ipAddress: xx.xxx.xx.xx
       .....

to 

apiml:
    enabled: true
    service:
        hostname: hostname
        serviceIpAddress: xx.xxx.xx.xx
       .....