Studio-tools utility fails with error ClassNotFoundException: com.tibco.cep.Bootstrap .

Studio-tools utility fails with error ClassNotFoundException: com.tibco.cep.Bootstrap .

book

Article ID: KB0090464

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
=========
Studio-tools fails with error ClassNotFoundException: com.tibco.cep.Bootstrap .

Environment:
==========
TIBCO Product name and version: TIBCO BusinessEvents (BE) 5.1
Operating System(s): All

Symptoms:
========
Complete Error trace follows:
+++++++++++++++++
java.lang.NoClassDefFoundError: com/tibco/cep/Bootstrap
    at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.&ltclinit>(Unknown Source)
    at com.tibco.cep.studio.cli.studiotools.StudioToolsApplication.start(Unknown Source)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.ClassNotFoundException: com.tibco.cep.Bootstrap
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 15 more
+++++++++++++++++

Resolution:
========
Make sure variable java.property.BE_HOME points to correct BE_Home  in $BE_HOME\be\5.1\studio\bin\studio-tools.tra file. There are two variables named BE_HOME. Both should point to the correct BE_Home.

Issue/Introduction

Studio-tools utility fails with error ClassNotFoundException: com.tibco.cep.Bootstrap .