Hi Asier,

Many thanks for the TODO.

We did something similar with ruote-rest project and glassfish in the
past. It worked pretty fine (well, the rackup part was special, since
good'ol'ruote-rest wasn't a Sinatra app), but we faced a problem we
still haven't solved. The thing is that when you stop the application
server, we can't access the workflow engine and invoke the methods for
a graceful stop (via :INT signal). Right now the only way for us to go
is using a URL like "/engine/off" that invokes all this methods. After
that, we can stop the application server.

Do you know a better way to face this problem? We posted a (yet
unanswered) discussion about this in the JRuby-Rack forums[1] --
Another thing we'd like to try is LifecycleListeners[2], but we have
only a drafty, non-working implementation of this interface :-(

[1] http://kenai.com/projects/jruby-rack/lists/talk/archive/2009-06/message/2
[2] http://docs.sun.com/app/docs/doc/820-4336/beamc?a=view

Best regards.
Nando and Gonzalo.







On Thu, Sep 9, 2010 at 12:04 PM, John Mettraux <[email protected]> wrote:
>
> On Thu, Sep 09, 2010 at 11:52:56AM +0200, Asier wrote:
>>
>> My little contribution based on my experiences with JRuby and ruote
>>
>> (...)
>
> Meravilloso !
>
> may I add it to the wiki ?
>
>
> Many thanks,
>
> --
> John Mettraux - http://jmettraux.wordpress.com
>
> --
> you received this message because you are subscribed to the "ruote users" 
> group.
> to post : send email to [email protected]
> to unsubscribe : send email to [email protected]
> more options : http://groups.google.com/group/openwferu-users?hl=en

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to