zacsek / activemessaging

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

Cannot run example from TenMinute example #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create project
2. Do steps in example.
3. Run poller
4. want to send message
5. error

What is the expected output? What do you see instead?
=> Subscribing to /queue/HelloWorld (processed by HelloWorldProcessor)    

Dispatch exception: undefined method `prepare_application_for_dispatch' for
ActionController::Dispatcher:Class
/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:192:
in
`prepare_application'      

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:205:
in
`dispatch'         

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:203:
in
`synchronize'      

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:203:
in
`dispatch'         

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:45:i
n
`start'             

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:32:i
n
`start'             

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:31:i
n
`each'              

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:31:i
n
`start'             

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging.rb:114:in
`start'                    
        /home/roman/Documents/ruby on rails/Messaging/lib/poller.rb:24    

/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load_without_new_constant_marking'

/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load'                             

/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:521:in
`new_constants_in'                 

/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load'                             

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in
`start_load'                                            

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:253:in
`start'                                                 

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/controller.rb:72:in `run'

        /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:139:in `run' 

        /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`call'                                                      
        /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`catch_exceptions'                                          
        /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:138:in `run' 

        script/poller:25                                                  

All connection threads have died...                                       

Cleaning up...                                                            

Starting thread default to finish processing last message...              

Dispatch exception: undefined method `prepare_application_for_dispatch' for
ActionController::Dispatcher:Class                          
/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:192:
in
`prepare_application'                                

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:205:
in
`dispatch'                                   

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:203:
in
`synchronize'                                

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:203:
in
`dispatch'                                   

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:95:i
n
`stop'                                        

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:92:i
n
`start'                                       

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:92:i
n
`stop'                                        

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:82:i
n
`each'                                        

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:82:i
n
`stop'                                        

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:69:i
n
`start'                                       

/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging.rb:114:in
`start'                                              
        /home/roman/Documents/ruby on rails/Messaging/lib/poller.rb:24    

/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load_without_new_constant_marking'

/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load'                             

/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:521:in
`new_constants_in'                 

/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load'                             

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in
`start_load'                                            

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:253:in
`start'                                                 

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/controller.rb:72:in `run'

        /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:139:in `run'
        /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`call'
        /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`catch_exceptions'
        /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:138:in `run'
        script/poller:25
^C/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:10
5:in
`sleep': Interrupt
        from
/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:105:
in
`stop'
        from
/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging/gateway.rb:69:i
n
`start'
        from
/var/lib/gems/1.8/gems/activemessaging-0.6.1/lib/activemessaging.rb:114:in
`start'
        from /home/roman/Documents/ruby on rails/Messaging/lib/poller.rb:24
        from
/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load_without_new_constant_marking'
        from
/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load'
        from
/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:521:in
`new_constants_in'
        from
/home/roman/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:145:in
`load'
        from
/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in
`start_load'
        from
/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:253:in `start'
        from
/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/controller.rb:72:in `run'
        from /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:139:in `run'
        from
/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `call'
        from
/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`catch_exceptions'
        from /var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:138:in `run'
        from script/poller:25

What version of the product are you using? On what operating system?
operation system, linux, windows

gems:
actionmailer (2.3.2)
actionpack (2.3.2)
ActionPool (0.0.1)
activemessaging (0.6.1)
activerecord (2.3.2)
activeresource (2.3.2)
activesupport (2.3.2)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastthread (1.0.7)
gem_plugin (0.2.3)
linecache (0.43)
macaddr (1.0.0)
rails (2.3.2)
rake (0.8.4)
reliable-msg (1.1.0)
rubigen (1.5.2)
ruby-debug-base (0.10.3)
ruby-debug-ide (0.4.5)
stomp (1.1)
uuid (2.0.2)

ruby:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

broker:
fuse-message-broker-5.3.0.0

Please provide any additional information below.

Original issue reported on code.google.com by selmeci....@gmail.com on 17 Jun 2009 at 5:06

GoogleCodeExporter commented 8 years ago
I'll have a look at this on Monday.

Original comment by don...@gmail.com on 4 Jul 2009 at 11:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I encountered the same problem with latest version of activemessaging gem, but
it worked with the activemessaging plugin. 

I'm using rails 2.3.2.

Original comment by xichens...@gmail.com on 16 Jul 2009 at 4:36