book
Article ID: 304150
calendar_today
Updated On:
Issue/Introduction
Symptoms:
Error: ERROR Initializing Application java.lang.reflect.InvocationTargetException'
The error appears during an attempt to start a web-based viewlet for running SAM server
Environment
VMware Smart Assurance - SMARTS
Cause
Incorrect name of a class instance.
Resolution
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://10.1.17.47: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