Skip to content

Instantly share code, notes, and snippets.

@ziparo
Created April 16, 2012 22:12
Show Gist options
  • Save ziparo/2402019 to your computer and use it in GitHub Desktop.
Save ziparo/2402019 to your computer and use it in GitHub Desktop.
Remote queueing problem
Exception publishing to remote commands queue: javax.jms.JMSException: Failed to create session factory
org/hornetq/jms/client/HornetQConnectionFactory.java:605:in `createConnectionInternal'
org/hornetq/jms/client/HornetQConnectionFactory.java:119:in `createConnection'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/connection_factory.rb:58:in `create_connection'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/connection_factory.rb:38:in `with_new_connection'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/destination.rb:94:in `with_session'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/destination.rb:64:in `publish'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/destination.rb:105:in `wait_for_destination'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/destination.rb:63:in `publish'
/opt/apps/madmass/lib/madmass/action/remote_action.rb:68:in `execute'
/opt/apps/madmass/lib/madmass/agent/executor.rb:127:in `process'
/opt/apps/madmass/lib/madmass/agent/executor.rb:75:in `do_it'
/opt/apps/madmass/lib/madmass/agent/executor.rb:47:in `execute'
/opt/apps/madmass/lib/madmass/agent_farm/agent/autonomous_agent.rb:51:in `start'
/opt/apps/geograph-agent-farm/releases/20120416182500/app/models/map_updater.rb:39:in `run'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
/opt/apps/madmass/lib/madmass/transaction/tx_monitor.rb:38:in `tx_monitor'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
/opt/apps/madmass/lib/madmass/transaction/transaction_manager.rb:37:in `transaction'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
/opt/apps/geograph-agent-farm/releases/20120416182500/lib/cloud_tm/transaction_adapter.rb:37:in `transaction'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
/opt/apps/geograph-agent-farm/releases/20120416182500/lib/fenix/fenix_transaction_manager.rb:51:in `withTransaction'
/opt/apps/geograph-agent-farm/releases/20120416182500/lib/cloud_tm/transaction_adapter.rb:36:in `transaction'
org/jruby/RubyKernel.java:2076:in `send'
(__FORWARDABLE__):3:in `transaction'
/opt/apps/madmass/lib/madmass/transaction/transaction_manager.rb:36:in `transaction'
/opt/apps/madmass/lib/madmass/transaction/tx_monitor.rb:37:in `tx_monitor'
/opt/apps/geograph-agent-farm/releases/20120416182500/app/models/map_updater.rb:35:in `run'
/opt/apps/madmass/app/services/madmass/agent_runner.rb:35:in `on_message'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/message_processor.rb:39:in `process!'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/processor_wrapper.rb:32:in `process!'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-transactions-2.0.0/lib/torquebox/transactions.rb:102:in `run'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-transactions-2.0.0/lib/torquebox/transactions.rb:115:in `with_tx'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-transactions-2.0.0/lib/torquebox/transactions.rb:100:in `run'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-transactions-2.0.0/lib/torquebox/transactions.rb:24:in `transaction'
/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/torquebox-messaging-2.0.0-java/lib/torquebox/messaging/processor_wrapper.rb:31:in `process!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment