Created
October 21, 2011 14:40
-
-
Save flazz/1304010 to your computer and use it in GitHub Desktop.
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' | |
topic = TorqueBox::Messaging::Topic.new '/topics/assign_port' | |
topic.publish 'foo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NativeException: javax.naming.NamingException: Could not dereference object
[] at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-naming-1.1.2-java/lib/torquebox/naming/ext/javax_naming_context.rb:21
connect at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-messaging-1.1.2-java/lib/torquebox/messaging/client.rb:57
call at org/jruby/RubyProc.java:274
call at org/jruby/RubyProc.java:229
connect at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-naming-1.1.2-java/lib/torquebox/naming.rb:83
reconfigure_on_error at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-naming-1.1.2-java/lib/torquebox/naming.rb:94
connect at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-naming-1.1.2-java/lib/torquebox/naming.rb:80
connect at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-messaging-1.1.2-java/lib/torquebox/messaging/client.rb:56
publish at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-messaging-1.1.2-java/lib/torquebox/messaging/destination.rb:48
call at org/jruby/RubyProc.java:274
call at org/jruby/RubyProc.java:229
wait_for_destination at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-messaging-1.1.2-java/lib/torquebox/messaging/destination.rb:126
publish at /Users/franco.lazzarino/.rvm/gems/jruby-1.6.4/gems/torquebox-messaging-1.1.2-java/lib/torquebox/messaging/destination.rb:47
(root) at assign.rb:4