Hi im new to activemq and using ruby ive got everything sorted out scripts
are all working but ive hit a problem with the ruby listener.rb and ruby
publisher.rb every time i try to run the script for ruby listener i get this
error message


C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/connection/netio.rb:165:in
`initialize': No connection could be made because the target machine
actively refused it. - connect(2) (Errno::ECONNREFUSED)
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/connection/netio.rb:165:in
`open'
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/connection/netio.rb:165:in
`block in open_tcp_socket'
        from C:/Ruby193/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/connection/netio.rb:164:in
`open_tcp_socket'
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/connection/netio.rb:293:in
`open_socket'
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/connection/utils.rb:110:in
`block in socket'
        from <internal:prelude>:10:in `synchronize'
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/connection/utils.rb:103:in
`socket'
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/stomp/connection.rb:118:in
`initialize'
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/stomp/connection.rb:141:in
`new'
        from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/stomp-1.2.6/lib/stomp/connection.rb:141:in
`open'
        from listener.rb:22:in `<main>'

and im not sure what is happanin or what is wrong also i get same error with
ruby publisher when i run that

Im using activemq 5.7.0, ruby 193, stomp 1.2.6

I hope that makes sense to everyone and thanks for any help

TONY



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/help-ruby-listener-publisher-tp4659540.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to