ActiveMQ Rollback And Redelivery Holding Queue

2007-11-14 Thread greenbean
We are using activemq 4.1 with Jencks MDBs. The MDB acts as a SOAP client to make a request to a remote resource. If the connection to the soap server is refused, the transaction is rolled back, and the message rolls back to the queue for redelivery. We have noticed that if a certain number of

Re: ActiveMQ - IBM Performance Harness

2007-11-14 Thread yolcuabbas
Hi, if you create a JMS Message with CorrellationID ( byte [] x = new byte []{0,0,0} ), then you receive such exceptions. I dont know whether it is a bug or a feature ... Hasnain Muhammad Iqbal wrote: > > Hi, > > I am running IBM Performance Harness with ActiveMQ 4.1.1 and it is giving > me

Re: Possible Bug: CMS "MessageNotWriteableException"

2007-11-14 Thread Timothy Bish
I don't see any reason why this shouldn't work. I've modified our example and can set that property without causing an error while using queues. I don't think that the c++ client would be causing it. However, if you can create a sample app that causes this to happen then I'd create an issue and

Re: Possible Bug: CMS "MessageNotWriteableException"

2007-11-14 Thread JohnOldman
Yes, the error message is coming out in the ActiveMQ console window. In the C++ module that sends a message into ActiveMQ we are using: void MQProducer::sendMessage(const std::string &gameMessage, const std::string& tag) { std::auto_ptr message(session->createTextMessage(gameMessage)); me

Re: Possible Bug: CMS "MessageNotWriteableException"

2007-11-14 Thread Timothy Bish
You are going to need provide a little more information than this. What are you doing in the C++ code. Can you provide a sample app that demonstrates the problem? I assume that this is coming out in the ActiveMQ console window, not from the c++ client as a BrokerError? Regards Tim. On Wed, 2

Possible Bug: CMS "MessageNotWriteableException"

2007-11-14 Thread JohnOldman
Hi Running SUSE 10.2 using CMS 2.1.1 with ActiveMQ 4.1 and stomp. Set up is one producer and two consumers (for failover). We have set JMSXGroupID in the producer, to make failover work, so only one consumer consumes. And on receiving messages the producer dumps the following errors: <-sn

ActiveMQ - IBM Performance Harness

2007-11-14 Thread Hasnain Muhammad Iqbal
Hi, I am running IBM Performance Harness with ActiveMQ 4.1.1 and it is giving me bad string error (Caused by: java.io.UTFDataFormatException: bad string) when it is unmashalling the data on correlationId ... the database is Derby and i am using jdbcPersistance adapter for persistence. Can someone

Re: Amq client crash when losing connection to broker

2007-11-14 Thread Timothy Bish
Great, glad to hear you got it working pfid wrote: Nevermind, i came across the solution when i wrote the sample code. The problem was caused by my internal thread handling, and is now solved. Works like a charm now, plus i got 2.1.1 now :) Thanks for your help. Mittler, Nathan wrote: Why

Re: jms correlation id

2007-11-14 Thread James Strachan
Compliant JMS providers should preserve the JMSCorrelationID you set. On 14/11/2007, Bas Schulte <[EMAIL PROTECTED]> wrote: > Hi all, > > i'm slightly confused about jms correlation id. Am I free to use it > *and* can I expect the jms provider (in this case activemq) to leave > it alone or could t

Re: performance issues with slow consumers

2007-11-14 Thread Dan Washusen
Thanks for the response Rob, I'll give it a try. Switch to AMQ 5.0 - release candidate is here: http://people.apache.org/~chirino/apache-activemq-5.0.0-RC3/maven2/ org/apache/activemq/apache-activemq/5.0.0/ maven 2 repo: http://people.apache.org/~chirino/apache-activemq-5.0.0- RC3/maven2 mav

Apache ServiceMix – ActiveMQ Crash!

2007-11-14 Thread goldi
Hy everybody, we are using Apache - Servicemix. In our Test-Environment (WinXP, CPU 2,8 GHz, 2,0 GB RAM) everything works fine, also under heavy throughput. Running nearly the same Configuration in our productive environment: Windows Server 2003 x64 Edition, CPU 3,0 GHZ, 8,00 GB, Java “jdk1.5.0_1

Re: jms correlation id

2007-11-14 Thread Rob Davies
As long as the JMS provider is compliant with the spec - they won't change the correlation id - so you should be save - as long as you stick with ActiveMQ ;) On Nov 14, 2007, at 8:41 AM, Bas Schulte wrote: Hi all, i'm slightly confused about jms correlation id. Am I free to use it *and* c

jms correlation id

2007-11-14 Thread Bas Schulte
Hi all, i'm slightly confused about jms correlation id. Am I free to use it *and* can I expect the jms provider (in this case activemq) to leave it alone or could there be cases where the jms provider sticks something in there? I've read mixed stories, stating that the app can use it but