SYSVAPPS failing to start with RC100, below is what is shown in the joblog. What could be the reason for such exception?
JVMJZBL2007E Stack trace follows:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lifeCycleLogger': Injection of au
towired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'server.address'
in value "server.hostname:${server.address}"
Configuration file application.yml file has syntax issues
After reviewing the application.yml and comparing it with the one that works, the issue was found, the z/OSMF section has a missing '---' at the beginning. The nature of the issue is YAML syntax, those 3 dashes are used to split logical documents. In SYSVAPPS it is used to separate the SYSVIEW REST API part of configuration dn z/OSMF.
When it's missing SYSVAPPS will ignore the whole application.yml.
# z/OSMF configuration options
---
spring.config.activate.on-profile: zosmf