I looks like you are using the trunk code from ActiveMQ-CPP, trunk is
highly unstable at the moment and I wouldn't recommend that you use it
with pyActiveMQ.

The most probable reason for the error is that there is now a required
initialization call that must be made before using the ActiveMQ-CPP
library, shown below:

    activemq::library::ActiveMQCPP::initializeLibrary();

Without this things will most certainly not work and I doubt the python
client has been updated yet to reflect this change.  Your best bet is to
stick with the stable 2.2.3 release code.

Regards
Tim.

On Tue, 2009-01-13 at 06:18 -0800, project2501 wrote:
> Hi,
>   I followed the build instructions for pyactivemq. activemq-cpp builds fine
> and the tests all complete. I installed all the packages I think are needed.
> I am using Ubuntu 8.10 server.
> 
> pyactivemq builds and install fine. The broker is running and I can telnet
> to the port, yet this error occurs for all examples:
> 
> Traceback (most recent call last):
>   File "async.py", line 30, in <module>
>     conn = f.createConnection()
> pyactivemq.CMSException: No Matching Factory Registered for format := tcp
>       FILE: activemq/transport/TransportRegistry.cpp, LINE: 50
>       FILE: activemq/core/ActiveMQConnectionFactory.cpp, LINE: 183
> 
> What could I be missing?
> 
> thank you.
-- 
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/



Reply via email to