|
Re: [CDO] Installing server as windows service [message #1713736 is a reply to message #1713349] |
Fri, 06 November 2015 10:29 |
|
Am 03.11.2015 um 15:38 schrieb Greg Babcock:
> I would like to deploy a CDO server as a windows service. This can easy be done Apache Procrun or another service
> wrapper. My concern is that as a DB application that does caching, it is preferable to close it gracefully from
> either the osgi console, or a telnet session.
>
> A. Am I being overly concerned about performing a clean shutdown
Yes and no.
Yes, because the DBStore has automatic crash detection and damage repair at startup time built in. BTW., "damage" sounds
more severe than it probably is. All damage that can happen is related to some internal counters that *optimize* the
startup time; i.e., only information that can be recomputed from the "safe parts" of the overall data can be lost after
ungraceful shutdown. Information such as the last ID that was assigned to an object.
No, because I agree it would be great to be able to perform a clean shutdown when the service stops, but I'm not sure
how that could be done. I suspect it depends on the concrete service wrapper. I'm not very familiar with the different
technologies that are available, nor with what that would mean for CDO. Are you?
> B. Is anybody aware of a service runner that provides a hook into the shutdown event to allow a graceful shutdown.
Unfortunately I'm not. It would be great if others could share their expertise on service wrappers...
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: [CDO] Installing server as windows service [message #1713755 is a reply to message #1713736] |
Fri, 06 November 2015 12:52 |
|
Hi Greg,
I quickly searched the web and found http://yajsw.sourceforge.net/ , which I think looks quite promising. Are you
interested in evaluating it and, in case it's a good match, discussing your findings in a new bugzilla?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 06.11.2015 um 11:29 schrieb Eike Stepper:
> Am 03.11.2015 um 15:38 schrieb Greg Babcock:
>> I would like to deploy a CDO server as a windows service. This can easy be done Apache Procrun or another service
>> wrapper. My concern is that as a DB application that does caching, it is preferable to close it gracefully from
>> either the osgi console, or a telnet session.
>>
>> A. Am I being overly concerned about performing a clean shutdown
> Yes and no.
>
> Yes, because the DBStore has automatic crash detection and damage repair at startup time built in. BTW., "damage"
> sounds more severe than it probably is. All damage that can happen is related to some internal counters that
> *optimize* the startup time; i.e., only information that can be recomputed from the "safe parts" of the overall data
> can be lost after ungraceful shutdown. Information such as the last ID that was assigned to an object.
>
> No, because I agree it would be great to be able to perform a clean shutdown when the service stops, but I'm not sure
> how that could be done. I suspect it depends on the concrete service wrapper. I'm not very familiar with the different
> technologies that are available, nor with what that would mean for CDO. Are you?
>
>> B. Is anybody aware of a service runner that provides a hook into the shutdown event to allow a graceful shutdown.
> Unfortunately I'm not. It would be great if others could share their expertise on service wrappers...
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03762 seconds