When installing the xMatters Agent and manually configuring the xa.conf and auth.conf files, I'm receiving this error:
2020-12-16 15:06:56.574 -0500 99510 [main] org.springframework.boot.SpringApplication ERROR --- Application run failed
"java.lang.NumberFormatException: For input string: "8080
Somehow it is not seeing the port as 8080 but rather it see an extra " which is weird.
The auth.conf configuration looks like this:
Why is this happening?
xMatters Agent on Linux
Unix/Linux environments require specific formatting to update the config files manually. If you edit these files in Windows and upload to Linux, you'll need to make sure to convert them to the correct Linux format to avoid erratic behavior.
For example, if you're editing a file in Notepad/Notepad++ (Windows), you'll see that each line terminates with both CR and LF characters. However, on Linux, each line terminates with only LF characters.
We recommend editing the file in a program like Vi Text Editor (Linux) to correctly format the file and ensure a successful startup.