Hi Kenneth,
Thanks a lot for your prompt reply and your commitment.
I have some success with ruote-kit on win32 so far with one remark:
C:\Users\Alex\Documents\IT\ruote-kit>ruby -e 'puts
Signal.list.keys.join(" ")'
TERM SEGV KILL EXIT INT FPE ABRT ILL
So I had to comment out lines 56 - 66 in initializer.rb as follows:
C:/Ruby/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.10/lib/daemon_kit/
initializer.rb
def initialize_logger
return if DaemonKit.logger
unless logger = configuration.logger
logger = AbstractLogger.new( configuration.log_path )
logger.level = configuration.log_level
logger.copy_to_stdout = configuration.log_stdout
end
DaemonKit.logger = logger
DaemonKit.logger.info "DaemonKit (#{DaemonKit::VERSION}) booting
in #{DAEMON_ENV} mode"
# configuration.trap("USR1") {
# DaemonKit.logger.level =
DaemonKit.logger.debug? ? :info : :debug
# DaemonKit.logger.info "Log level changed to #
{DaemonKit.logger.debug? ? 'DEBUG' : 'INFO' }"
# }
# configuration.trap("USR2") {
# DaemonKit.logger.level = :debug
# DaemonKit.logger.info "Log level changed to DEBUG"
# }
# configuration.trap("HUP") {
# DaemonKit.logger.close
# }
end
I know this is awful but it's my best so far. :)
Well it starts:
C:\Users\Alex\Documents\IT\ruote-kit>ruby bin\ruote-kit
C:/Ruby/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.10/lib/daemon_kit/
initializer.rb: DaemonKit (0.1.7.10) booting in develo
pment mode
C:/Ruby/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.10/lib/daemon_kit/
initializer.rb: Setting up trap for INT
C:/Ruby/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.10/lib/daemon_kit/
initializer.rb: Setting up trap for TERM
C:/Ruby/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.10/lib/daemon_kit/
initializer.rb: DaemonKit (0.1.7.10) booted, now runni
ng ruote-kit
C:/Users/Alex/Documents/IT/ruote-kit/lib/ruote-kit.rb: Configuring
engine
C:/Users/Alex/Documents/IT/ruote-kit/lib/ruote-kit.rb: Configuring
Sinatra
>> Thin web server (v1.2.4 codename Flaming Astroboy)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:8080, CTRL+C to stop
127.0.0.1 - - [18/Nov/2009 08:13:21] "GET /processes/new HTTP/1.1" 200
2965 0.0730
127.0.0.1 - - [18/Nov/2009 08:13:21] "GET /base.css HTTP/1.1" 304 -
0.0080
127.0.0.1 - - [18/Nov/2009 08:13:22] "GET /style.css HTTP/1.1" 304 -
0.0090
127.0.0.1 - - [18/Nov/2009 08:13:38] "GET /workitems HTTP/1.1" 404
1880 0.0300
I loaded one XML simple process definition through "Launch a new
process" and it seems persistent over server restarts. Is there any
kind of fluo available in ruote-kit? Also the process list shows only
the number of processes at the moment.
Can you help me please with the way how to define participants?
I found some of generators available:
[amqp, cron, cucumber, jabber, nanite_agent, rspec, ruote]
and generated jabber and ruote samples. Can someone give me a hint how
to start them?
I wonder if there is a way to run ruote-kit/thin as a service on win32
similar to mongrel_service.
At the moment I have huge lack of even basic ruote knowledge so I
apologies for my newbish questions and appreciate any help.
Best regards,
----
Alex
--
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