Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » osgi always terminates
osgi always terminates [message #109031] Fri, 02 May 2008 12:36 Go to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

OSX, Java 1.5, Eclipse 3.3.2

I can launch OSGI outside eclipse using
java -jar plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar -console -clean
with no problem.

but if I create a simple osgi launch config,
only bundle org.eclipse.osgi marked
program arguments: -console -clean
vm arguments: -Declipse.ignoreApp=true -Dosgi.noShutdown=true
and let it Run, then it starts,
>OSGI appears on the console
but soon after this the console terminates

any ideas, what could be wrong ?
I know that I made it in the past ;-)

thx
ekke
Re: osgi always terminates [message #109071 is a reply to message #109031] Fri, 02 May 2008 14:15 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
This looks good to me. Perhaps try "clearing the configuration before
launching" on the Settings tab
Failing that try debugging through EclipseStarter main and run and you'll
probably be able to figure out the problem pretty quickly.
-Simon

"ekke" <ekkehard@gentz-software.de> wrote in message
news:2c5e36b9204ab65c0d0f667f88330c57$1@www.eclipse.org...
> OSX, Java 1.5, Eclipse 3.3.2
>
> I can launch OSGI outside eclipse using
> java -jar
> plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar -console -clean
> with no problem.
>
> but if I create a simple osgi launch config,
> only bundle org.eclipse.osgi marked
> program arguments: -console -clean
> vm arguments: -Declipse.ignoreApp=true -Dosgi.noShutdown=true
> and let it Run, then it starts,
>>OSGI appears on the console
> but soon after this the console terminates
>
> any ideas, what could be wrong ?
> I know that I made it in the past ;-)
>
> thx
> ekke
>
Re: osgi always terminates [message #109083 is a reply to message #109071] Sat, 03 May 2008 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

Simon,
thanks for your answer - I did some more tests:
* running osgi from Java app using EclipseStarter.startup()
works well

but running the OSGI launch config still doesnt work,
debugged the EclipseStarter and all looks well

then tried running the apple JDK 6.0 on OSX
same result: osgi console terminated

then did exactly the same configuration on windows in my parallels vm -
and there all OSGI launch configs run well

so there must be a difference between OSX and windows

any idea ?

thx for help

ekke
Simon Kaegi wrote:

> This looks good to me. Perhaps try "clearing the configuration before
> launching" on the Settings tab
> Failing that try debugging through EclipseStarter main and run and you'll
> probably be able to figure out the problem pretty quickly.
> -Simon

> "ekke" <ekkehard@gentz-software.de> wrote in message
> news:2c5e36b9204ab65c0d0f667f88330c57$1@www.eclipse.org...
>> OSX, Java 1.5, Eclipse 3.3.2
>>
>> I can launch OSGI outside eclipse using
>> java -jar
>> plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar -console -clean
>> with no problem.
>>
>> but if I create a simple osgi launch config,
>> only bundle org.eclipse.osgi marked
>> program arguments: -console -clean
>> vm arguments: -Declipse.ignoreApp=true -Dosgi.noShutdown=true
>> and let it Run, then it starts,
>>>OSGI appears on the console
>> but soon after this the console terminates
>>
>> any ideas, what could be wrong ?
>> I know that I made it in the past ;-)
>>
>> thx
>> ekke
>>
Re: osgi always terminates [message #109095 is a reply to message #109083] Sat, 03 May 2008 21:12 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
All I can think of is either something funky going on in the console or bad
file permissions.
We're in the final stages of 3.4 now, could you please try to see if you can
reproduce what you're seeing in 3.4M7.
If so log a bug against the framework.
Thanks.
-Simon


"ekke" <ekkehard@gentz-software.de> wrote in message
news:58137acb9bdc65c30c43d764fc6f1da4$1@www.eclipse.org...
> Simon,
> thanks for your answer - I did some more tests:
> * running osgi from Java app using EclipseStarter.startup()
> works well
>
> but running the OSGI launch config still doesnt work,
> debugged the EclipseStarter and all looks well
>
> then tried running the apple JDK 6.0 on OSX
> same result: osgi console terminated
>
> then did exactly the same configuration on windows in my parallels vm -
> and there all OSGI launch configs run well
>
> so there must be a difference between OSX and windows
>
> any idea ?
>
> thx for help
>
> ekke
> Simon Kaegi wrote:
>
>> This looks good to me. Perhaps try "clearing the configuration before
>> launching" on the Settings tab
>> Failing that try debugging through EclipseStarter main and run and you'll
>> probably be able to figure out the problem pretty quickly.
>> -Simon
>
>> "ekke" <ekkehard@gentz-software.de> wrote in message
>> news:2c5e36b9204ab65c0d0f667f88330c57$1@www.eclipse.org...
>>> OSX, Java 1.5, Eclipse 3.3.2
>>>
>>> I can launch OSGI outside eclipse using
>>> java -jar
>>> plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar -console -clean
>>> with no problem.
>>>
>>> but if I create a simple osgi launch config,
>>> only bundle org.eclipse.osgi marked
>>> program arguments: -console -clean
>>> vm arguments: -Declipse.ignoreApp=true -Dosgi.noShutdown=true
>>> and let it Run, then it starts,
>>>>OSGI appears on the console
>>> but soon after this the console terminates
>>>
>>> any ideas, what could be wrong ?
>>> I know that I made it in the past ;-)
>>>
>>> thx
>>> ekke
>>>
>
>
Re: osgi always terminates [message #109109 is a reply to message #109095] Sun, 04 May 2008 08:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

thx simon,
I'll test it again with 3.4M7 and if it still happens,
I'll report a bug
ekke
Re: osgi always terminates [message #109118 is a reply to message #109109] Sun, 04 May 2008 09:25 Go to previous message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

hi simon,

just tested against 3.4M7
all works as expected :-)
no problem for me because I'm just in the process switching my dev
environment to 3.4

thx again for help
ekke
Previous Topic:NullPointer exception while installing (possibly incompatible) plugin
Next Topic:Running a servlet under Eclipse 3.2 workbench
Goto Forum:
  


Current Time: Sat Oct 16 16:19:09 GMT 2021

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

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

Back to the top