pyactivemq 0.1.0 released

2008-10-05 Thread Albert Strasheim
Hello all, Just a quick message to announce the release of pyactivemq 0.1.0. pyactivemq uses Boost.Python to wrap the ActiveMQ-C++ library. This means that pyactivemq supports both Stomp and Openwire, and all the other AMQCPP features. The pyactivemq API was created to match the CMS and JMS API

Re: CMS: message redelivery question / producer causing segmentation fault

2008-02-09 Thread Albert Strasheim
Hello, Did you ever resolve this issue? If not, please submit a JIRA issue with some sample code (and maybe broker configuration files?) attached. Regards, Albert On Wed, 28 Nov 2007, pfid wrote: > I'm having 2 problems with activemq-cpp-2.1.1 i just cant get rid off. > hopefully someone can

Re: Session.recover() not working

2008-02-09 Thread Albert Strasheim
Hello, Did you ever resolve this issue? If not, please submit a JIRA issue with some sample code attached. Regards, Albert On Fri, 14 Sep 2007, pfid wrote: > > i'm using a 4.1.1 broker, and cms-2.1.1 clients as consumers/producers, > working with queues, CLIENT_ACK mode. > > i noticed some

Re: Active MQ Client crash

2008-02-09 Thread Albert Strasheim
Hello If you could attach some example code to a new JIRA issue, that would be very helpful in investigating this problem. Regards, Albert - Original Message - From: "TheOnlyDan" <[EMAIL PROTECTED]> To: Sent: Friday, February 08, 2008 5:17 PM Subject: Active MQ Client crash Hi

Re: Memory leaks using ActiveMQ CMS with MFC

2008-02-09 Thread Albert Strasheim
Hello, Please submit a JIRA issue for this so that we don't lose track of it. Regards, Albert - Original Message - From: "johnu" <[EMAIL PROTECTED]> To: Sent: Friday, February 08, 2008 11:26 PM Subject: Memory leaks using ActiveMQ CMS with MFC Hi all, I'm building an MFC applic

Re: Unable to comile C++ client on VC++ 2003

2008-01-07 Thread Albert Strasheim
Hello, I have Visual Studio 2003 available, so I'll take a look at this later today. At first glance, it looks like an issue with the covariant returns. I submitted a small patch long ago to fix a few VS2003 issues: https://issues.apache.org/activemq/browse/AMQCPP-48 but nothing in there loo

Re: activemq: command not found

2008-01-02 Thread Albert Strasheim
Hello If "chmod 755 activemq" worked, your current working directory was probably the bin directory. This would lead me to conclude that "bin/activemq" isn't going to work, since you are referring to bin/bin/activemq, which doesn't exist. Change back to the top level directory before runnin

Re: The matching wildcard is strict error with AMQ 5 (was Re: AMQ 4.1 and Spring XML beans)

2007-11-21 Thread Albert Strasheim
the spring xml and it works now. But i guess i cannot use the spring property placeholders for amq:... namespaces.It complains a lot. Hope this helps. Cheers, Albert - Original Message - From: "Albert Strasheim" <[EMAIL PROTECTED]> To: Sent: Friday, September 21, 2007

Re: ActiveMQ - IBM Performance Harness

2007-11-15 Thread Albert Strasheim
For what it's worth, this same problem also occurs with the latest ActiveMQ 5.0 from trunk. It might be a good idea to create a JIRA issue for this so that it might get fixed before 5.0 is released. Regards, Albert - Original Message - From: "Hasnain Muhammad Iqbal" <[EMAIL PROTECT

Re: ActiveMQ C++ (CMS) problems

2007-10-11 Thread Albert Strasheim
Hello, If you could provide us with a basic sample of the code that exhibits the problems you're seeing, that would be very helpful. Even better, you might consider creating a AMQCPP JIRA issue, and attaching the code there. Regards, Albert - Original Message - From: "SteveDicks"

Failed to send to dead letter queue?

2007-09-24 Thread Albert Strasheim
Hello all I'm trying to use third party software (GridGain) with ActiveMQ 5.0-SNAPSHOT (built from trunk a few minutes ago). Each time GridGain sends a "discovery" message to a topic, the broker prints the following message: WARN RegionBroker - Failed to send ActiveMQObje

Re: The matching wildcard is strict error with AMQ 5 (was Re: AMQ 4.1 and Spring XML beans)

2007-09-21 Thread Albert Strasheim
Found the bug somewhere between the chair and the keyboard. - Original Message - From: "Albert Strasheim" <[EMAIL PROTECTED]> To: Sent: Friday, September 21, 2007 10:16 PM Subject: The matching wildcard is strict error with AMQ 5 (was Re: AMQ 4.1 and Spring XML

The matching wildcard is strict error with AMQ 5 (was Re: AMQ 4.1 and Spring XML beans)

2007-09-21 Thread Albert Strasheim
Hello all I'm experiencing this same error with ActiveMQ 5.0 trunk revision 578254. ERROR: Failed to instantiate Spring bean factory: Line 9 in XML document from file [C:\gridgain-1.5.1\config\gridgain.xml] is invalid; nested excepti on is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c:

Re: BytesMessage constness

2007-09-21 Thread Albert Strasheim
Hello Maybe MessageListener::onMessage should be fixed to pass a non-const Message instead of pretending that BytesMessage::read is const when it isn't (also consider something like std::istream::read, which isn't const). In my experience mutable is typically used when you have a getter that

Re: AMQ-CPP flow-control and server congestion handling problem

2007-08-24 Thread Albert Strasheim
Hello Could you provide a basic C++ program that reproduces the problem? Fixing this shouldn't be too hard once we have that. You might consider creating an issue in the AMQCPP JIRA and attaching the program there. Cheers, Albert - Original Message - From: "Anlin" <[EMAIL PROTECTED

Re: error Platform does not support any of the standard UUID types

2007-07-23 Thread Albert Strasheim
http://activemq.apache.org/cms/building.html Since CentOS is a Red Hat/Fedora derivative, you probably want to install the e2fsprogs-devel package. Cheers, Albert - Original Message - From: "Tommy O" <[EMAIL PROTECTED]> To: Sent: Monday, July 23, 2007 8:05 PM Subject: error Platfo

Re: Unable to compile Active MQ cpp client on QNX

2007-07-06 Thread Albert Strasheim
Hello I suspect GCC 3.3 might be a bit on the old side for compiling ActiveMQ-CPP. You probably want to use GCC 3.4 or later. It might be possible to make a few modifications to the code to get it to compile with GCC 3.3, but judging from the error messages, this might turn out to be hard wo

Re: Pythin and MapMessage

2007-06-15 Thread Albert Strasheim
On Fri, 15 Jun 2007, Elliotte Harold wrote: > Has anyone gotten PyActiveMQ to work with ActiveMQ and MapMessages? Are > there known bugs with this configuration? > > One of our Python folks is pushing me to use TextMessages instead of > MapMessages because (he claims) MapMessages don't work in Py

Re: Pythin and MapMessage

2007-06-15 Thread Albert Strasheim
Hello On Fri, 15 Jun 2007, Elliotte Harold wrote: > Has anyone gotten PyActiveMQ to work with ActiveMQ and MapMessages? Are > there known bugs with this configuration? > > One of our Python folks is pushing me to use TextMessages instead of > MapMessages because (he claims) MapMessages don't wor

Re: Building ActiveMQ CPP on openSUSE 10.2 x86_64

2007-06-12 Thread Albert Strasheim
Hello, On Tue, 12 Jun 2007, Oleg Deribas wrote: > It seems that I found workaround for this problem. > > >But when I'm run ./autogen.sh I see the following error: > > I've noticed there was warning message regarding AM_PATH_CPPUNIT macro > shown before error message. So I just commented out li

Re: Integrating C++ Client with MDB

2007-06-06 Thread Albert Strasheim
Hello You could try using JMX to look at the queues and topics on the broker. Maybe JNDI is adding something to name, as you said. If I pass the string "foo" to Session::createTopic, I end up with a topic called "foo" which I can see in JMX. Cheers, Albert

Re: Integrating C++ Client with MDB

2007-06-06 Thread Albert Strasheim
Hello On Wed, 06 Jun 2007, alexvs wrote: > I am just trying to replicate what's bound to Java's JNDI. > (java:topic/SciTegic). Also when I output the message to the console from > the MDB, I get this: > > 3:37:45,280 INFO [STDOUT] onMessage() - SpyTextMessage { > Header { >jmsDestination

Re: Integrating C++ Client with MDB

2007-06-06 Thread Albert Strasheim
On Wed, 06 Jun 2007, alexvs wrote: > destination = session->createTopic( "TOPIC.SciTegic" ); // IS THIS THE RIGHT > NAME TO USE? I think you just want "SciTegic". Do you know of any documentation that would indicate that you should prepend "TOPIC." ? Cheers, Albert

Re: Monitor ActiveMQ from the remote host

2007-06-01 Thread Albert Strasheim
Hello On Fri, 01 Jun 2007, Oleg Deribas wrote: > When I'm connecting from localhost it works. But when I'm replacing > "localhost" with remote host name, like this: > > service:jmx:rmi:///jndi/rmi://myhostname:1099/jmxrmi > > it doesn't work. Could someone help me? http://java.sun.com/javase/

Re: How to adjust the configuration file to make Activemq more effective

2007-05-28 Thread Albert Strasheim
Hello On Sun, 27 May 2007, Jiang wrote: > > I download Activemq4.1.1 and use the default activemq.xml to run the Broker. > Now I want to adjust the activemq.xml to make the broker works more > effectively. Is there any document I can reference . > Any help is welcome. > Thanks. I found the foll

Re: Licensing and Porting Issue for the CMS (ActiveMQ-CPP) on Visual Studio 6 from Visual Studio 8

2007-05-25 Thread Albert Strasheim
Hello all On Fri, 25 May 2007, Albert Strasheim wrote: > Hello > > On Fri, 25 May 2007, Nathan Mittler wrote: > > > FYI, we're not planning on making any changes to activemq-cpp to address the > > shortcomings of other compilers. > > > > Regarding the

Re: Licensing and Porting Issue for the CMS (ActiveMQ-CPP) on Visual Studio 6 from Visual Studio 8

2007-05-25 Thread Albert Strasheim
Hello On Fri, 25 May 2007, Nathan Mittler wrote: > FYI, we're not planning on making any changes to activemq-cpp to address the > shortcomings of other compilers. > > Regarding the destroy methods for deallocating amq-cpp resources, do you > think this would be required for clients that are built

Re: Licensing and Porting Issue for the CMS (ActiveMQ-CPP) on Visual Studio 6 from Visual Studio 8

2007-05-25 Thread Albert Strasheim
Hello all On Fri, 25 May 2007, Some user wrote: > Hi Albert! > > >>but maybe we should rather spend some > >>time getting AMQCPP to build as a DLL with VC++ 2005 Express (which is > >>free to use, even for commercial applications) which you can then link > >>into your VS6-compiled application

Re: Licensing and Porting Issue for the CMS (ActiveMQ-CPP) on Visual Studio 6 from Visual Studio 8

2007-05-18 Thread Albert Strasheim
Hello This isn't so much about the licensing, but you might want to reconsider backporting AMQCPP to VS6. That compiler really isn't your friend. I'm not 100% certain if this will work (I'm mainly concerned about multiple runtime memory allocation issues) and whether this is feasible will depe

Re: Is ActiveMQMessageProducer.send thread safe?

2007-03-01 Thread Albert Strasheim
Hello all On Thu, 01 Mar 2007, Paul French wrote: > Is ActiveMQMessageProducer.send thread safe? You might want to check the JMS specification, but from what I remember, you can share a Connection between threads, but everything from a Session on down (i.e. everything you make from a Session a

Kaha persistence/UsageManager.waitForSpace and fast producer/slow consumer again

2007-02-28 Thread Albert Strasheim
Hello all/Rob We're still having problems with Kaha persistence when running a fast producer/slow consumer. The last time I ran our test, we saw that messages would arrive out of order, presumably when they were being retrieved from the Kaha store and sent out (since they were definately being

Re: Kaha store corrupted?

2007-02-20 Thread Albert Strasheim
o it could definately be a problem. Thanks for the help. Cheers, Albert On 20 Feb 2007, at 15:55, Albert Strasheim wrote: Correction: we experimented with changing the consumers' acknowledge mode from DUPS_OK_ACKNOWLEDGDE to AUTO_ACKNOWLEDGE, which seems to have caused this problem. I will investigate some more.

Re: Kaha store corrupted?

2007-02-20 Thread Albert Strasheim
Hello all On Tue, 20 Feb 2007, Albert Strasheim wrote: > Hey Rob > > On Tue, 20 Feb 2007, Rob Davies wrote: > > > Hey - I'm just finishing up some testing around some fixes - > > hopefully be finished today > This afternoon I tried to reproduce this with

Re: Kaha store corrupted?

2007-02-20 Thread Albert Strasheim
Hey Rob On Tue, 20 Feb 2007, Rob Davies wrote: > Hey - I'm just finishing up some testing around some fixes - > hopefully be finished today First off, thanks for all your hard work. I can see our app steadily becoming more stable with each checkin from you. :-) While the VMPendingSubscriberM

Re: Kaha store corrupted?

2007-02-20 Thread Albert Strasheim
Hey Rob On Sat, 17 Feb 2007, Rob Davies wrote: > Hi Albert, > > if you get a chance - could you try with the latest from SVN - to see > if you still have the issue with Kaha ? > > cheers, > > Rob Still running into UsageManager issues in my attempts to test the Kaha stuff. There are at lea

Re: Kaha store corrupted?

2007-02-16 Thread Albert Strasheim
lbert - Original Message - From: "Rob Davies" <[EMAIL PROTECTED]> To: Sent: Saturday, February 17, 2007 1:55 AM Subject: Re: Kaha store corrupted? I wonder if there's a way you could produce a junit test case - to help narrow down the problem ? cheers, Rob On 15

Re: JConsole Problem

2007-02-16 Thread Albert Strasheim
Hello all - Original Message - From: "cronos" <[EMAIL PROTECTED]> To: Sent: Friday, February 16, 2007 1:56 PM Subject: JConsole Problem Hello, We have installed activemq 4.1.0 (binary) on our virtual server running J2SE 5.0 update 8. We have been trying to get jconsole to connec

Re: Kaha store corrupted?

2007-02-15 Thread Albert Strasheim
I reported the same (or a very similar) issue here: https://issues.apache.org/activemq/browse/AMQ-1082 Maybe you could add some pertinent comments about your setup there. Might be that I got the wrong issue though. Cheers, Albert On Thu, 15 Feb 2007, drvillo wrote: > I'm using a kaha store

Re: building activemq cpp latest repository code on linux

2007-02-15 Thread Albert Strasheim
Try installing the glibc-devel or libc6-dev package (depending on your distribution). Cheers, Albert - Original Message - From: "Lalit Nagpal" <[EMAIL PROTECTED]> To: Sent: Thursday, February 15, 2007 3:45 PM Subject: building activemq cpp latest repository code on linux We tried

Re: Fast producer, slow consumer with spooling to disk?

2007-02-02 Thread Albert Strasheim
Hello all, On Fri, 02 Feb 2007, Rob Davies wrote: > Hi Albert, > > what is the behavior you are expecting ? > > cheers, > > Rob Hey Rob. What we'd like to happen in our fast producer/slow consumer scenario when the broker runs out of space (in memory) is that it blocks the producers for a w

Re: Fast producer, slow consumer with spooling to disk?

2007-02-02 Thread Albert Strasheim
Hello all On Mon, 29 Jan 2007, Albert Strasheim wrote: > Hey Rob, > > Thanks, I'll try this suggestion. > > I'm seeing a few issues with the new code (producer getting stuck, > consumer not getting any messages). I'm working on a test case to show > the