Application fails to start after binding to NewRelic monitoring system
search cancel

Application fails to start after binding to NewRelic monitoring system

book

Article ID: 297114

calendar_today

Updated On:

Products

Support Only for Spring

Issue/Introduction

We are trying to deploy a springboot app a PCF foundation in one datacenter. The application does not start and reports the following error:
2020-07-28T14:05:34.630-04:00 [APP/PROC/WEB/4] [OUT] JVM Memory Configuration: -Xmx402202K -Xss1M -XX:ReservedCodeCacheSize=240M -XX:MaxDirectMemorySize=10M -XX:MaxMetaspaceSize=134373K
2020-07-28T14:05:34.742-04:00 [APP/PROC/WEB/4] [ERR] Error: Could not find or load main class 09382557d2242f83efd681ba9ad0823e485dNRAL
2020-07-28T14:05:34.761-04:00 [APP/PROC/WEB/4] [OUT] Exit status 1
2020-07-28T14:05:34.768-04:00 [CELL/SSHD/4] [OUT] Exit status 0
2020-07-28T14:05:35.002-04:00 [CELL/5] [OUT] Starting health monitoring of container
2020-07-28T14:05:35.371-04:00 [CELL/3] [OUT] Starting health monitoring of container
2020-07-28T14:05:35.384-04:00 [APP/PROC/WEB/5] [OUT] JVM Memory Configuration: -Xmx402202K -Xss1M -XX:ReservedCodeCacheSize=240M -XX:MaxDirectMemorySize=10M -XX:MaxMetaspaceSize=134373K
2020-07-28T14:05:35.394-04:00 [CELL/1] [OUT] Starting health monitoring of container
2020-07-28T14:05:35.473-04:00 [APP/PROC/WEB/5] [ERR] Error: Could not find or load main class 09382557d2242f83efd681ba9ad0823e485dNRA
The same app however gets deployed to another datacenter without any issues. This is currently blocking deployment to production

Resolution

Customer had bound NewRelic to the app; an error in the NR config resulted in the error during app restart. Corrected NR config. 

The ISV (independent software vendor) New Relic had to be engaged, because they had the expertise to correct the errors in the config file.