Issue was in the wrapper.conf where the java wrapper command was not getting resolved. It worked if I give the absolute path – ‘wrapper.java.command=/path/to/my/jdk/bin/java’
This could be an issue with an environment on a host.. not sure.
Few things that helped me in troubleshooting this –
- log level changed to DEBUG in wrapper.conf
- comments given in the wrapper.conf!
Thanks all for chiming in! Appreciate your inputs.