Skip to content

Instantly share code, notes, and snippets.

#
# TEST 4
class Test4 < OpenWFE::ProcessDefinition
sequence :on_error => 'parent_rescue' do
_print '0'
sequence :on_error => 'rescue' do
_print '1'
alpha
_print '1'
=CRASH REPORT==== 7-Jan-2009::14:22:31 ===
crasher:
pid: <0.100.0>
registered_name: herault_srv
exception exit: {undef,
[{natter_connection,start_link,
[[{authorized_jids,
["admin@localhost",
"herault@localhost/herault",
"integration@localhost",
~/src/vertebra/vertebra-rb $ >rake integration
(in /Users/raphael/src/vertebra/vertebra-rb)
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/gempackagetask.rb:13:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009.
Vertebra client
Detected running herault, using it.
require 'rubygems'
require 'eventmachine'
module MyHandler
def notify_readable
puts "YYYEEEEEEHAAAA"
end
end
r,w = IO.pipe
diff --git a/ext/ed.cpp b/ext/ed.cpp
index 9253550..1188ad4 100644
--- a/ext/ed.cpp
+++ b/ext/ed.cpp
@@ -175,6 +175,7 @@ ConnectionDescriptor::ConnectionDescriptor
ConnectionDescriptor::ConnectionDescriptor (int sd, EventMachine_t *em):
EventableDescriptor (sd, em),
bConnectPending (false),
+ bRecentlyAttached (false),
bNotifyReadable (false),
<iq xml:lang=\"en\" type=\"error\" to=\"herault@localhost/herault\" id=\"962490\">
<result xmlns=\"http://xmlschema.engineyard.com/agent/api\" token=\"053745c2adbcaed02cd432378567c495:f44edfd01af6bebc28bd18e9000e937b\">
<list name=\"result\"></list>
</result>
<error type=\"modify\" code=\"400\">
<bad-request xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\"></bad-request>
</error>
</iq>
<iq id="595852" type="set" xml:lang="en" to="vertebra-client@localhost/agent" from="herault@localhost/herault">
<result xmlns="http://xmlschema.engineyard.com/agent/api" token="07efc788d1caa9f9600e4a60edd73440:e40839661e250f16436825eb000c1458">
<list name="result"></list>
</result>
</iq>
~/src/vertebra/integration (master*)$ vertebractl herault live
Erlang (BEAM) emulator version 5.6.5 [source] [async-threads:0] [hipe] [kernel-poll:false]
=PROGRESS REPORT==== 3-Mar-2009::14:31:59 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.39.0>},
{name,alarm_handler},
{mfa,{alarm_handler,start_link,[]}},
{restart_type,permanent},
~/src/vertebra/integration (master*)$ vertebractl herault live
Erlang (BEAM) emulator version 5.6.5 [source] [async-threads:0] [hipe] [kernel-poll:false]
=PROGRESS REPORT==== 3-Mar-2009::14:31:59 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.39.0>},
{name,alarm_handler},
{mfa,{alarm_handler,start_link,[]}},
{restart_type,permanent},
#!/bin/bash
usage()
{
echo "$(basename $0) app-name [start|stop|live|initdb]"
echo "$(basename $0) app-name [started|waitfor] erlang-app"
}
APP=$1; shift