Facing error while launching child TIBCO Business Studio.

Facing error while launching child TIBCO Business Studio.

book

Article ID: KB0074632

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in Development Kit 6.x

Description

While launching the child TIBCO Business Studio, got the following exception:
​--------------------
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:78)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
--------------------

Issue/Introduction

Users may face the following error while launching child TIBCO Business Studio. -------- java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini). --------

Environment

All Supported Platforms

Resolution

This exception occurs because due to the default "bw-runtime Platform" is still being used in the project. To resolve this issue, change the Target platform to "Running Platform(Active)"  by following path mentioned below:
​--------------------
Go to Window -> Preferences -> Plug-in Development -> Target Platform, set 'Running Platform' as active target platform.
--------------------

1) If ‘Running  Platform' is not in the Target Platform list, please follow the document to add a 'Running Platform' into the target platform:
https://docs.tibco.com/pub/bwpdk/6.1.2/doc/html/GUID-600D9E5E-397F-4514-8A0B-F5294BBABD60.html

2) If you are using TIBCO ActiveMatrix BusinessWorks Plug-in Development Kit 6.2.x, please follow this document to change the target platform:
https://docs.tibco.com/pub/bwpdk/6.2.1/doc/html/GUID-5C8F4512-B348-4668-83A3-B1AD58D5B134.html