Unable to launch gogo shell out of eclipse [message #1689101] |
Sun, 22 March 2015 18:27 |
Prakash Chauhan Messages: 1 Registered: March 2015 |
Junior Member |
|
|
Hi All ,
I am having hard time in launching gogo shell out of eclipse , but I am able to do the same in Eclipse Kepler IDE .
To run it out of eclipse , I have put all required jars in a directory along with a valid config.ini .
JAR USED :
========
org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar
org.apache.felix.gogo.command_0.10.0.v201209301215.jar
org.apache.felix.gogo.shell_0.10.0.v201212101605.jar
org.eclipse.osgi_3.10.2.v20150203-1939.jar
org.eclipse.equinox.console_1.1.0.v20140131-1639.jar
CONFIG.INI
=========
osgi.bundles=./org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar@start,\
./org.apache.felix.gogo.command_0.10.0.v201209301215.jar@start,\
./org.apache.felix.gogo.shell_0.10.0.v201212101605.jar@start,\
./org.eclipse.osgi_3.10.2.v20150203-1939.jar@start,\
./org.eclipse.equinox.console_1.1.0.v20140131-1639.jar@start,\
osgi.console.enable.builtin=false
osgi.console=1234
Now nothing happens when I run the command :
java -jar "org.eclipse.osgi_3.10.2.v20150203-1939.jar" -console -configuration=K:\OSGi\gogo_shell\config.ini
Even though org.eclipse.equinox.console jar is in place but the log says that its missing.
LOG
===========================
!SESSION 2015-03-22 23:49:57.194 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN
Framework arguments: -configuration=K:\OSGi\gogo_shell\config.ini
Command-line arguments: -console -configuration=K:\OSGi\gogo_shell\config.ini
!ENTRY org.eclipse.osgi 4 0 2015-03-22 23:49:57.855
!MESSAGE Could not find bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
at org.eclipse.core.runtime.internal.adaptor.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:58)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:331)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:231)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:208)
!ENTRY org.eclipse.osgi 4 0 2015-03-22 23:49:57.872
!MESSAGE Application error
!STACK 1
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 org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:208)
I am unable to activate the gogo shell .
NEED HELP .
|
|
|
Powered by
FUDForum. Page generated in 0.03396 seconds