Skip to main content



      Home
Home » Eclipse Projects » Equinox » Really Basic Equinox Problem
Really Basic Equinox Problem [message #116032] Thu, 14 August 2008 13:02 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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)
>
>
Previous Topic:How to shutdown OSGi?
Next Topic:p2 for RPC with non-eclipse installer
Goto Forum:
  


Current Time: Thu May 08 01:26:40 EDT 2025

Powered by FUDForum. Page generated in 0.03358 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top