Thanks, Robbie. I did generate an example keystore using the script, and edited the config file to point to it; I didn't catch the distinction between config.xml and transient_/persistent_config.xml before, though -- I'll use the base config from here out.
Virtualhost makes more sense, and that gives me a point of reference for studying the AMQP documentation. And thanks for the pointer to the jmsexample package, I'll be spending some quality time with that shortly. :) -- Carl Burke cbu...@mitre.org ________________________________________ From: Robbie Gemmell [robbie.gemm...@gmail.com] Sent: Thursday, April 08, 2010 2:11 PM To: users@qpid.apache.org Subject: RE: Newbie trying, failing to get simple Client/Server to run Hi Carl, The config.xml file that is loaded by default is what you should use, its the basis for what development and testing is done against. To start the broker out of the box using the config.xml you will need to either edit config.xml to disable mangement SSL, or use the provided scripts in the bin directory to create example keystore and place them in the etc directory. The transient_config.xml an persistent_config.xml files are old and have been removed since 0.6 branched for release, im not sure they were ever used during 0.6 development and so they quite possibly don't set the broker up correctly. 'vistrulhost' seems like it is a typo of 'virtualhost' in the code that generates that error, and I imagine its generation is linked to the use of the transient_config.xml since 'test' is the VirtualHost used for all our testing and so should be present. A VirtualHost is part of the broker model of AMQP and they are configured in the config.xml file but you shouldn't need to do that at this stage, especially when using the examples. I haven't actually used the org.apache.qpid.example.simple.reqresp example so I'm not sure if it works, but for the Java broker wed recommend looking at the org.apache.qpid.example.jmsexample package as some of the other examples are actually written to work against the C++ broker and in the 0.6 release won't work against the Java broker due to protocol support differences. Robbie > -----Original Message----- > From: Burke, Carl D. [mailto:cbu...@mitre.org] > Sent: 08 April 2010 18:24 > To: users@qpid.apache.org > Subject: Newbie trying, failing to get simple Client/Server to run > > I've gotten a Java broker running using the transient_config shipped > with the qpid 0.6 release. I'm trying to connect to that using the > simple Java Client/Server classes in > org.apache.qpid.example.simple.reqresp, but I'm not having any success. > With either of those classes (modified to use the broker machine rather > than localhost, of course, but with no other changes), I get > 'javax.jms.JMSException: Error creating connection: Unknown vistrulhost > 'test''. What does this mean, and how do I fix it? I can't find any > search results for 'vistrulhost' other than an older thread from this > list, and that doesn't tell me what a vistrulhost is or how/where to > specify one. > > -- > Carl Burke > cbu...@mitre.org > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:users-subscr...@qpid.apache.org --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscr...@qpid.apache.org --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscr...@qpid.apache.org