Really Basic Equinox Problem [message #116032] |
Thu, 14 August 2008 13:02  |
Eclipse User |
|
|
|
All,
I just started trying to run equinox from the command line dutifully
following the instruction in the "Equinox QuickStart Guide" and it doesn't
work. It would appear that the guide is out of date and things have
changed.
I followed the links and downloaded the latest jar file then:
java -jar org.eclipse.osgi_3.4.0.v20080605-1900.jar -consol
Is there a new improved way of doing this? All I want is osgi running in
a separate vm so I can test r-osgi. Ultimately, I want osgi in a servlet
container but one thing at a time.
The error output is below.
!SESSION 2008-08-14 09:56:39.349
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -consol
Command-line arguments: -consol
!ENTRY org.eclipse.osgi 4 0 2008-08-14 09:56:39.693
!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:74)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.main(Eclipse Starter.java:150)
|
|
|
Re: Really Basic Equinox Problem [message #116054 is a reply to message #116032] |
Thu, 14 August 2008 13:30  |
Eclipse User |
|
|
|
Hi Geoffrey,
use -console (missing the "e").
Although it's not fatal to avoid the application message getting logged you
might also want to use eclipse.ignoreApp=true since you're just running the
raw framework.
Try:
java -Declipse.ignoreApp=true -jar
org.eclipse.osgi_3.4.0.v20080605-1900.jar -console
Also see
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/reference/misc/runtime-options.html
HTH
-Simon
"Geoffry Roberts" <geoff.roberts@qinetiq-na.com> wrote in message
news:0fa0e33132eae146807a7b6c548bfde3$1@www.eclipse.org...
> All,
>
> I just started trying to run equinox from the command line dutifully
> following the instruction in the "Equinox QuickStart Guide" and it doesn't
> work. It would appear that the guide is out of date and things have
> changed.
>
> I followed the links and downloaded the latest jar file then:
>
> java -jar org.eclipse.osgi_3.4.0.v20080605-1900.jar -consol
>
> Is there a new improved way of doing this? All I want is osgi running in
> a separate vm so I can test r-osgi. Ultimately, I want osgi in a servlet
> container but one thing at a time.
>
> The error output is below.
>
> !SESSION 2008-08-14
> 09:56:39.349 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_07
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -consol
> Command-line arguments: -consol
>
> !ENTRY org.eclipse.osgi 4 0 2008-08-14 09:56:39.693
> !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:74)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.main(Eclipse Starter.java:150)
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03410 seconds