> Jesse W. Hathaway wrote:
>> I am brand new to AMQP as well as QPID
>>
>> When attempting to use the Ruby bindings with
>> the example code I get the same error message from M4
>> as well as from the trunk.
>>
>> /home/jwh/tmp/qpid-svn/trunk/qpid/ruby/lib/qpid/connection.rb:139:in
>>   `start': Qpid::Timeout (Qpid::Timeout)
>>   from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
>>   from /home/jwh/tmp/qpid-svn/trunk/qpid/ruby/lib/qpid/connection.rb:137:in 
>> `start'
>>   from examples/hello-world.rb:32
>>
>> I am running the default server configuration.
>>   
>
> Are you using the Java server or the C++ server?

The Java server, I haven't made any changes to the default configuration other
than increasing the logging.

> If you run qpid-tool, can you connect to the server? Can you run the  
> example programs from other languages?

qpid-tool just hangs, but never timeouts, if I telnet to 5672 and enter
some characters the server does respond with `AMQP`

example programs from other languages seem to result in the same type of
errors either timing out or just hanging.

I would suspect that the server was not working at all, but with the tmm1-amqp
ruby library I do get connected even though a bunch of errors are thrown on 
the client side as well as in the server log, as I posted earlier

Is there something else I need to configure on the server other than
running ./qpid-server?

Here is the server startup output:

2009-04-24 09:34:08,015 WARN  [main] management.AMQUserManagementMBean 
(AMQUserManagementMBean.java:387) - Access rights contains user 'admin' but 
there is no authentication data for that user
2009-04-24 09:34:08,018 WARN  [main] management.AMQUserManagementMBean 
(AMQUserManagementMBean.java:387) - Access rights contains user 'user' but 
there is no authentication data for that user
2009-04-24 09:34:08,065 INFO  [main] store.MemoryMessageStore 
(MemoryMessageStore.java:68) - Using capacity 50000 for hash tables
2009-04-24 09:34:08,117 WARN  [main] access.ACLManager (ACLManager.java:52) - 
No ACL Plugin specified. Using default ACL Plugin 'AllowAll' for 
VirtualHost:'localhost'
2009-04-24 09:34:08,123 INFO  [main] store.MemoryMessageStore 
(MemoryMessageStore.java:68) - Using capacity 50000 for hash tables
2009-04-24 09:34:08,152 WARN  [main] access.ACLManager (ACLManager.java:52) - 
No ACL Plugin specified. Using default ACL Plugin 'AllowAll' for 
VirtualHost:'development'
2009-04-24 09:34:08,156 INFO  [main] store.MemoryMessageStore 
(MemoryMessageStore.java:68) - Using capacity 50000 for hash tables
2009-04-24 09:34:08,169 WARN  [main] access.ACLManager (ACLManager.java:52) - 
No ACL Plugin specified. Using default ACL Plugin 'AllowAll' for 
VirtualHost:'test'
2009-04-24 09:34:08,174 INFO  [main] server.Main (Main.java:274) - Starting 
Qpid Broker M4 build: exported
2009-04-24 09:34:08,378 WARN  [main] transport.ConnectorConfiguration 
(ConnectorConfiguration.java:114) - Using Mina IO Processing
2009-04-24 09:34:08,492 INFO  [main] server.Main (Main.java:434) - Qpid.AMQP 
listening on non-SSL address 0.0.0.0/0.0.0.0:5672
2009-04-24 09:34:08,522 INFO  [main] server.Main (Main.java:456) - Qpid Broker 
Ready :M4 build: exported

thanks,

-- 
Jesse W. Hathaway
Senior Systems Administrator
Chapdelaine & Co.
(w) 312-704-2000
(c) 917-418-8423

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to