LAC Tomcat Restart Error

Document ID : KB000121631
Last Modified Date : 31/01/2019
Show Technical Document Details
Issue:
After creating a DB2 connection and adding a table in the schema filter, we are getting the following while trying to restart the Tomcat:

2018-11-12 10:32:49.148:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@6276ae34{/,file:/opt/lac/CALiveAPICreator-Jetty-5.0/CALiveAPICreator/webapps/CALiveAPICreator/,STARTING}{webapps/CALiveAPICreator} java.lang.RuntimeException: com.kahuna.server.KahunaException: Internal server error: Error inserting A truncation error was encountered trying to shrink VARCHAR '"KEY_ID", "KEY_ID", "KEY_ID", "KEY_ID", "KEY_ID", "KEY_ID", &' to length 500. admin:relationships
Cause:
This error is due to an invalid data source definition in the JSON file.
Resolution:
To resolve this error, do the following:
 
1. Back up your LAC repository
2. Delete the JSON file from your repository
3. Start the LAC