Receiving the following error during an attempt to start a web-based viewlet for running SAM server
Error: ERROR Initializing Application java.lang.reflect.InvocationTargetException'
Smarts 10.X / 2.X
Due to specifics of the dashboard application, all the parameters uploading into context.html MUST be typed accurately (typical errors/mistyping can be upper/lower case, incorrect spelling or an instance of a particular class which does not exist in a system).
Example:
1. Argument com.smarts.launch.class=Router was mistakenly placed all in lower case.
2. Argument com.smarts.launch.instance=moto-gw.smarts.com had a misspelling (instance mottto-gw.smarts.com doesn t exist in a system)
3. Finally, correct settings in that case were looking as:
http://XX.X.XX.XX:8080/templates/context.html?class=com.smarts.webapps.SmWebMapApp&com.smarts.launch.class=Router&com.smarts.launch.instance=moto-gw.smarts.com&com.smarts.propertiesFile=dashboard.properties&com.smarts.launch.globalMgr=INCHARGE-27718-SAM&com.smarts.autoAttachDM=INCHARGE-27718-SAM