[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-help-dev] Eclipse infocenter as Windows service - Is it possible?
- From: Konrad Kolosowski <konradk@xxxxxxxxxx>
- Date: Tue, 17 Feb 2004 13:15:34 -0500
- Delivered-to: firstname.lastname@example.org
1. You can eliminate eclipse.exe process by passing -noexec parameter when
2. Make sure that you run Infocenter with minimal set of plug-ins, that do
not include any UI plug-ins. In case any UI plugins got accidentally
activated and Display got created (even without any window shown),
application might have a hard time staying around with display invalidated
when user logs off.
3. The command that starts infocenter
(org.eclipse.help.standalone.Infocenter class) is only a
controller/launcher of the actual Eclipse with infocenter application. You
run another instance of the controller when you shutdown the infocenter
from command line. What might be the problem is that you made a controller
process a service and it launches eclipse as regular application that
Windows might not considered as part of the service. For example: Running
java -cp plugins\org.eclipse.help.base_3.0.0\helpbase.jar
org.eclipse.help.standalone.Infocenter -data ic -command start -port 80
starts the controller that end up launching (you can see this command by
You want the second process to stay around after logging off. Without
changing help code, consider creating a service wrapper for the second
To properly make infocenter a service, I think it is necessary to create
native launcher, similar to eclipse.exe that would load Java VM but would
also properly react to service life cycle events and could be compiled as
such. There might be a need to make a small change in help Java code to
provide a hook for the native code to pass an event to close.
Eclipse Help System
Julia F Yip
Sent by: platform-help-dev@xxxxxxxxxxx
infocenter as Windows service - Is
02/17/2004 10:23 it possible?
Please respond to
We are trying to create a windows service for our Eclipse infocenter 2.1.1.
As we have found out, if the user who started Eclipse server logoffs, the
server will go down. This is not a problem in UNIX as we run Eclipse in the
background but a major problem in Windows. So we will need to create a
Windows service. Our windows service does start up and Eclipse help is
working, but when the user finally logs off, the JVM dies (though
eclipse.exe is still running but as a dangling thread).
Is this due to the fact that Eclipse help infocenter does not return? We
have tried various options against the vm including using "-Xrs" option in
the -vmargs. Nothing seems to work.
Can Eclipse infocenter not run as a Windows service?