Abdulrazak-Alkl / activemessaging

Automatically exported from code.google.com/p/activemessaging
0 stars 0 forks source link

Reliable-msg with activemessging Exception #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am trying to get it run with reliable-msg as a broker. But some exception
was raise. So If any body has same problem or have an solution,plz feel
free to contact me . thanks a lot 

ActiveMessaging: thread[default]: Exception from connection.receive:
Transaction #<UUID:0xb732c820> has completed, or was aborted
(druby://localhost:6438)
/usr/lib/ruby/gems/1.8/gems/reliable-msg-1.1.0/lib/reliable-msg/queue-manager.rb
:593:in
`abort'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/adapters/reliable_msg.rb:122:in `receive'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:34:in `start'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:30:in `start'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:29:in `each'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:29:in `start'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging.rb:109:in `start'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/poller.rb:14
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in `load'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in `start_load'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:253:in `start'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/controller.rb:72:in
`run'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:139:in `run'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`call'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`catch_exceptions'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:138:in `run'
    ./script/poller:21
ActiveMessaging: thread[default]: Exception from connection.receive: There
should not be an existing reliable-msg transaction. {:tid=>MAC:
00:21:70:22:14:79  Sequence: 53892, :qm=>#<DRb::DRbObject:0xb7028a98
@uri="druby://localhost:6438", @ref=nil>}
/home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/
adapters/reliable_msg.rb:105:in
`receive'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:34:in `start'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:30:in `start'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:29:in `each'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:29:in `start'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/lib/activemessaging.rb:109:in `start'
    /home/pinpoint/work/reliable/vendor/plugins/activemessaging/poller.rb:14
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in `load'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in `start_load'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:253:in `start'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/controller.rb:72:in
`run'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:139:in `run'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`call'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`catch_exceptions'
    /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:138:in `run'
    ./script/poller:21
** INT signal received.
Exiting

Original issue reported on code.google.com by CMing...@gmail.com on 25 Feb 2009 at 8:56

GoogleCodeExporter commented 8 years ago
I am getting this same error. Something to do with transactions. Have you found 
a fix?

2010-03-29 17:21:14 ERROR ActiveMessaging: thread[default]: Exception from 
connection.receive: 
Transaction #<UUID:0x18e66c8> has completed, or was aborted
(druby://localhost:6438) 
/Library/Ruby/Gems/1.8/gems/reliable-msg-1.1.0/lib/reliable-msg/queue-
manager.rb:599:in `abort'

I can verify that the reliable-msg gem is working properly, I can send and 
receive messages via q.put and 
q.get commands. 

Original comment by bmish...@gmail.com on 29 Mar 2010 at 9:28

GoogleCodeExporter commented 8 years ago
I use reliable-msg all the time, but I am not getting these, so I have not 
fixed it.

Original comment by kooks...@gmail.com on 29 Mar 2010 at 9:50

GoogleCodeExporter commented 8 years ago
I was able to fix by moving to the latest github source for activemessaging and 
reliable-msg

http://github.com/birkirb/reliable-msg
http://github.com/kookster/activemessaging (yours - thanks!)

I believe the above issue was due to lack of support for uuid 2.0.0 in 
activemessaging from googlecode svn. 

Original comment by bmish...@gmail.com on 30 Mar 2010 at 3:55

GoogleCodeExporter commented 8 years ago
ok - thanks for the follow up, I'll close this then.

Original comment by kooks...@gmail.com on 30 Mar 2010 at 8:51