IBM Support

ITM Agent Insights: Agent Builder fails to launch reporting "Exception launching the Eclipse Platform"

Technical Blog Post


Abstract

ITM Agent Insights: Agent Builder fails to launch reporting "Exception launching the Eclipse Platform"

Body

Newly installed Agent Builder on Windows can fail to start with pop-up window indicating an error occurred:

image

 

Example contents of this log:
!SESSION Tue Mar 01 21:18:08 EST 2016 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2016-03-01 21:18:08.763
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader.findClass(URLClassLoader.java:666)
    at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:773)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:750)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:727)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:617)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

 

Installation was performed running "setup.bat" with "Run as Administrator".

Review of the installation log - IBM_Agent_Builder_Install_03_01_2016_17_03_09.xml - shows that each "action" reports a status of "successful", and no errors are reported during the install.

The Agent Builder icon is created on the desktop.

image

The failure to launch the Agent Builder on a new environment with java.lang.ClassNotFoundException with above stack is the result of cached data leftover under the "home" directory from the initial install.

Deleting these directories will allow the Agent Builder to launch.

Check the output of "set" command to locate the "home" directory.

From "set" output:
HOMEDRIVE=C:
HOMEPATH=\Users\Administrator

Delete the following directories from the "home" directory:

a) p2 directory
b).agentbuilder_config

image
Deleting these directories will allow the Agent Builder to start.

image

 

Keywords:  
drd401709  
5724C04BR  
5725U05AB 

 

 

Additional ITM Agent Insights series of IBM Tivoli Monitoring Agent blogs are indexed under ITM Agent Insights: Introduction.

 

Tutorials Point

Subscribe and follow us for all the latest information directly on your social feeds:

 

imageimageimage

Check out all our other posts and updates:

Academy Blogs
Academy Videos
Academy Google+
Academy Twitter

image

 

[{"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":""}]

UID

ibm11083147