Skip to main content



      Home
Home » Eclipse Projects » Equinox » Equinox shuts down after 30 seconds of inactivity
Equinox shuts down after 30 seconds of inactivity [message #916039] Tue, 18 September 2012 08:50 Go to next message
Eclipse UserFriend
Hello

I have an 'application' (not an eclipse application, hence the noshutdown and ignoreApp arguments below) that runs in an equinox osgi container. It is a sort of a server and if doesn't get any incoming message it shuts down exactly after 30 seconds. It's definitely not the socket's fault, I've already checked it.
Also, if I start the app with the -console argument the framework doesn't shut down, but leaving it that way is not a good idea for production...
These are the standard args I use:
-consoleLog
-clean
-vmargs
-Declipse.ignoreApp=true
-Dosgi.noShutdown=true
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass

What might cause this automatic shutdown despite the (I think) proper arguments?
Re: Equinox shuts down after 30 seconds of inactivity [message #916087 is a reply to message #916039] Tue, 18 September 2012 10:01 Go to previous messageGo to next message
Eclipse UserFriend
This looks to be bug 310426. What version of Equinox are you using. If it is earlier than 3.7 then try setting the following property:

osgi.framework.activeThreadType=normal

HTH

Tom
Re: Equinox shuts down after 30 seconds of inactivity [message #916093 is a reply to message #916087] Tue, 18 September 2012 10:14 Go to previous message
Eclipse UserFriend
Hello

Based on the org.eclipse.osgi bundle's version we're using 3.5.1 (org.eclipse.osgi_3.5.1.R35x_v20090827.jar).
I inserted the property:
-Dosgi.framework.activeThreadType=normal
and it seems to be working now.

thanks!
david
Previous Topic:Import-Package version matching
Next Topic:Show consumed Application Arguments
Goto Forum:
  


Current Time: Wed Jul 23 00:39:36 EDT 2025

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

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

Back to the top