This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteCond %{DOCUMENT_ROOT}%{SCRIPT_FILENAME} -f | |
RewriteRule ^(.*)$ $1 [L] | |
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f | |
RewriteCond %{SCRIPT_FILENAME} !maintenance.html | |
RewriteRule ^.*$ %{DOCUMENT_ROOT}/system/maintenance.html [L] | |
ProxyPass / http://local.oddthesis.org:8080/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Caused by: java.lang.NoSuchMethodError: org.jcodings.unicode.UnicodeEncoding.<init>(Ljava/lang/String;II[I[[I)V | |
at org.jcodings.specific.BaseUTF8Encoding.<init>(BaseUTF8Encoding.java:33) | |
at org.jcodings.specific.NonStrictUTF8Encoding.<init>(NonStrictUTF8Encoding.java:25) | |
at org.jcodings.specific.NonStrictUTF8Encoding.<clinit>(NonStrictUTF8Encoding.java:52) | |
at java.lang.Class.forName0(Native Method) | |
at java.lang.Class.forName(Class.java:169) | |
at org.jcodings.Encoding.load(Encoding.java:474) | |
at org.jruby.util.KCode.getEncoding(KCode.java:95) | |
at org.jruby.parser.DefaultRubyParser.parse(DefaultRubyParser.java:3875) | |
at org.jruby.parser.Parser.parse(Parser.java:106) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Caused by: java.lang.NoSuchMethodError: org.jruby.util.ByteList.fill(II)V | |
at org.jruby.util.Sprintf.rubySprintfToBuffer(Sprintf.java:458) | |
at org.jruby.util.Sprintf.rubySprintfToBuffer(Sprintf.java:210) | |
at org.jruby.util.Sprintf.sprintf(Sprintf.java:184) | |
at org.jruby.RubyString.opFormatCommon(RubyString.java:988) | |
at org.jruby.RubyString.op_format(RubyString.java:975) | |
at org.jruby.RubyString$i_method_1_0$RUBYINVOKER$op_format.call(org/jruby/RubyString$i_method_1_0$RUBYINVOKER$op_format.gen) | |
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:310) | |
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:149) | |
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define_instance_states do | |
start.to( :pending ) .automatically | |
pending.to( :running ) .automatically | |
pending.to( :stopped ) .on( :stop ) | |
running.to( :running ) .on( :reboot ) | |
running.to( :shutting_down ) .on( :stop ) | |
shutting_down.to( :stopped ) .automatically |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph instance_states { | |
rankdir=LR; | |
start | |
[ | |
label="Start", | |
labelloc="c", | |
fontsize="12.0", | |
fontname="Liberation Sans Bold", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Queue { | |
void setServer(Server server); | |
Server getServer(); | |
void setName(String name); | |
String getName(); | |
void start() { | |
getServer().createQueue( getName() ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:39 bobmcw: miclorb: hey dude | |
16:39 miclorb: hey | |
16:39 bobmcw: around for a design discussion? I've got a mental block. | |
16:39 bobmcw: torquebox now supports config/queues.yml and config/topics.yml to deploy a-la-carte queues and topics | |
16:39 miclorb: have a call in 15 mins with john graham and kurt - they wanted to talk about productisatino stuff (drools) | |
16:39 miclorb: ok | |
16:40 miclorb: nice re yml | |
16:40 bobmcw: I still like my app/queues/foo_queue.rb for easy async task stuff | |
16:40 bobmcw: those, though, define their own queue, as an impl detail | |
16:40 bobmcw: thinking about moving that to app/tasks/foo.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bob McWhirter | |
Chief Architect, Cloud Computing, Middleware, Red Hat | |
As the Chief Architect for middleware cloud computing at Red Hat, Bob McWhirter | |
leads a team of several engineers that is paving the way for the enterprise cloud | |
computing paradigm shift. Named a Red Hat Fellow in 2009, McWhirter joined Red Hat | |
in 2007 and is responsible for navigating the cloud as it relates to JBoss middleware. | |
He also leads the TorqueBox project, creating a Ruby application server on top of | |
the core JBoss AS. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
require 'torquebox/messaging/container' | |
container = TorqueBox::Messaging::Container.new { | |
agents { | |
map 'queues/foo', 'MyAgent' | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'torquebox/messaging/client' | |
TorqueBox::Messaging::Client.new do | |
send( '/queues/foo', "howdy" ) | |
end |