Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] Changing keepAlive property of ECF Generic

Hi folks!

I am getting the "ECFException Request timed out after 30000ms" [1]
when a service lasts more than 30 sec. As my services are
computationally expensive, I changed the keepalive property adding the
next argument to the Program Arguments (or in the VM arguments) in the
Launch Configuration:


However, I still getting the same exception of 30000ms [1].

Is this property correctly setted?

Also, I take the opportunity to ask another question. How to avoid the
BrokenPipe exception when a remote service leaves? (for example,
closing a remote equinox). Service is correctly managed with the
"unbind" local method, but just to avoid print the exception in the
screen, for example :)

Thanks in advance!

Exception in thread "Thread-5" org.osgi.framework.ServiceException:
Service exception on remote service proxy
	at org.eclipse.ecf.remoteservice.AbstractRemoteService.invoke(
	at $Proxy1.start(Unknown Source)
	at es.ugr.osgiliath.experimentlauncher.Launcher$
	at Source)
Caused by: org.eclipse.ecf.core.util.ECFException: Request timed out
after 30000ms
	at org.eclipse.ecf.provider.remoteservice.generic.RegistrySharedObject.callSynch(
	at org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceImpl.callSync(
	at org.eclipse.ecf.remoteservice.AbstractRemoteService.invokeSync(
	at org.eclipse.ecf.remoteservice.AbstractRemoteService.invoke(
	... 3 more
Caused by: org.eclipse.equinox.concurrent.future.TimeoutException
	... 7 more
Pablo García Sánchez
Departamento de Arquitectura y Tecnología de Computadores
Universidad de Granada

Back to the top