Re: Locale dependent reflection methods.

2010-02-16 Thread akos
Sorry, but I don't have jira account. Is it possible to create a jira anonymously? Gary Tully wrote: thanks for the input. Can you raise an jira for this bug so it is not lost? On 15 February 2010 13:35, akos akos.ba...@p92.hu wrote: Hi, I've found a small bug in amq. The

Re: Locale dependent reflection methods.

2010-02-16 Thread Dejan Bosanac
Hi, you can create your account here https://issues.apache.org/activemq/secure/Signup!default.jspa Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue,

Re: Locale dependent reflection methods.

2010-02-16 Thread akos
jira #: AMQ-2608 Gary Tully wrote: thanks for the input. Can you raise an jira for this bug so it is not lost? On 15 February 2010 13:35, akos akos.ba...@p92.hu wrote: Hi, I've found a small bug in amq. The org.apache.activemq.util.IntrospectionSupport.findSetterMethod uses

Re: Bytesmessage and http transport

2010-02-16 Thread muadd
Hi, I've encountered similar problem with http transport. When I try to get a message with 100KB+ payload (tried TextMessage and MapMessage), I get: 2010-02-16 09:37:28,147 | WARN | / | org.mortbay.log | btpool0-1 - / java.io.UTFDataFormatException: encoded string too long: 219486 bytes

Re: Bytesmessage and http transport

2010-02-16 Thread Dejan Bosanac
Hi, thanks for raising the issue. Is there a chance you can provide a reproducible test case? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Feb

Re: Bytesmessage and http transport

2010-02-16 Thread muadd
Hi, in order to reproduce this, it should be enough to follow these steps (I'm assuming 5.2.0 windows binaries): 1) Add transportConnector name=http uri=http://172.18.131.66:61223; / to your activemq.xml config file in transportConnectors (change the uri to match your ip address) 2) run consumer

Re: Bytesmessage and http transport

2010-02-16 Thread Timothy Bish
On Tue, 2010-02-16 at 05:13 -0800, muadd wrote: Hi, in order to reproduce this, it should be enough to follow these steps (I'm assuming 5.2.0 windows binaries): 1) Add transportConnector name=http uri=http://172.18.131.66:61223; / to your activemq.xml config file in transportConnectors

Re: problems with openwire C library

2010-02-16 Thread Timothy Bish
On Mon, 2010-02-15 at 21:27 -0800, krishna81m wrote: How come many of the openwire-c error messages like this were unanswered and the last commit was in 2006. Are there any test cases for this API? There's currently not an active maintainer of the C client, we could use some help in that

Re: Bytesmessage and http transport

2010-02-16 Thread Dejan Bosanac
Thanks for pointing to this fix Tim. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Feb 16, 2010 at 2:42 PM, Timothy Bish tabish...@gmail.com wrote:

Re: ActiveMQ reconnect issue with consumer.prefetchSize=0

2010-02-16 Thread Pavel
Hi Gary, prefetch=1 alone would not work for my case; We build CXF web services with JMS transport on top of ActiveMQ. And syncronous cyclic (client)-A-B-A calls sometimes lead to deadlock: B-A message gets into prefetch buffer of the very same consumer that currently handles (client)-A

activemq-admin stop does not work

2010-02-16 Thread wrfeldmann
I've searched both forums and have found nothing specific to the problem I'm having. I'm using activemq 5.3.0 with 2 servers running. I've enabled all of the jmx components in the activemq.xml file managementContext managementContext

Re: activemq-admin stop does not work

2010-02-16 Thread Dejan Bosanac
There has been some work in that area after 5.3.0 release. Can you try latest snapshot and see if the problem is still there? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog -

Re: activemq-admin stop does not work

2010-02-16 Thread wrfeldmann
The snapshot of 5.3.0 or 5.3.1? Dejan Bosanac wrote: There has been some work in that area after 5.3.0 release. Can you try latest snapshot and see if the problem is still there? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/

Re: activemq-admin stop does not work

2010-02-16 Thread Dejan Bosanac
Hi, Both 5.3.1 and 5.4 snapshots should contain same changes https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/apache-activemq/ Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action -

Re: Bytesmessage and http transport

2010-02-16 Thread muadd
I've tried the 5.4 snapshot and it works, thanks a lot Timothy Bish wrote: This issue should be fixed in the 5.4 SNAPSHOT builds, I'd recommend you give that a try. The same issue was reported previously, see: https://issues.apache.org/activemq/browse/AMQ-1308 Regards --

Re: Bytesmessage and http transport

2010-02-16 Thread Rob Davies
Did you try this on 5.4-SNAPSHOT ?- I think there's a fix in trunk On 16 Feb 2010, at 13:13, muadd wrote: Hi, in order to reproduce this, it should be enough to follow these steps (I'm assuming 5.2.0 windows binaries): 1) Add transportConnector name=http uri=http:// 172.18.131.66:61223 /

Re: Consumer and Failover

2010-02-16 Thread Jean-Yves LEBLEU
On Tue, Feb 16, 2010 at 4:54 PM, James Strachan james.strac...@gmail.com wrote: On 16 February 2010 15:38, Jean-Yves LEBLEU jleb...@gmail.com wrote: Hi all, I am trying to use the failover transport (failover:(tcp://localhost:61618)), and I have some questions : I did a test with a simple

Re: Consumer and Failover

2010-02-16 Thread James Strachan
Which version are you using BTW? On 16 February 2010 16:17, Jean-Yves LEBLEU jleb...@gmail.com wrote: On Tue, Feb 16, 2010 at 4:54 PM, James Strachan james.strac...@gmail.com wrote: On 16 February 2010 15:38, Jean-Yves LEBLEU jleb...@gmail.com wrote: Hi all, I am trying to use the failover

HOW TO: confirm copyMessageOnSend is working???

2010-02-16 Thread bob.deremer
Hi all ActiveMQ gurus, BACKGROUND: I'm using AMQ 5.3 with the local vm:// transport and wish to make use of the copyMessageOnSend = FALSE convention to send my messages by reference [instead of by value]. Given the dynamic nature of our ObjectMessage-based messages and varying size of the

Re: Slow sending of messages

2010-02-16 Thread Adrian A
Hi Maarten Kinda. MapMessages are significantly more expensive but no real surprise there. I upgraded the machine and did significant optimising on the GC, paying particular attention to parallel / conc mark sweep eg -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing

Re: HOW TO: confirm copyMessageOnSend is working???

2010-02-16 Thread Gary Tully
have you set: factory.setObjectMessageSerializationDefered(true); http://activemq.apache.org/how-should-i-use-the-vm-transport.html On 16 February 2010 16:49, bob.deremer bob.dere...@burningskysoftware.comwrote: Hi all ActiveMQ gurus, BACKGROUND: I'm using AMQ 5.3 with the local vm://

Re: Topic-expired Messages are still in the Queue

2010-02-16 Thread AGT
No slow consumer is defined. -AGT Gary Tully wrote: does the advice on slow consumer handinghttp://activemq.apache.org/slow-consumer-handling.html help? On 12 February 2010 14:02, AGT ajitgu...@hotmail.com wrote: We are using Topic to send and consume messages. All Messages

Re: Slow sending of messages

2010-02-16 Thread Adrian A
you are running separate sessions for each of those dequeue/enqueue stats? in my flow control tests even when one particular session was hung other sessions to the same broker was fine, just when I overwhelmed broker and GC / disk checkpointing occurred that it got really bad. have you turned

Re: HOW TO: confirm copyMessageOnSend is working???

2010-02-16 Thread bob.deremer
Sorry for not posting this update sooner... I managed to figure out what is going on by downloading the 5.3.0 source code and digging into the ActiveMQConnection and Session classes. I can see that the object being set as the payload of an ObjectMessage must have the Serializable tag interface.

Re: activemq-admin stop does not work

2010-02-16 Thread Marc Schöchlin
Hi, maybe the following init-script might be an option. https://issues.apache.org/activemq/browse/AMQ-2453 This script is also capable to run multiple instances of activemq. -- Usage: $ ./activemq INFO: loading '/home/mschoechlin/.activemqrc' INFO: useing java

Re: activemq-admin stop does not work

2010-02-16 Thread wrfeldmann
Not really. We're running 2 servers for failover reasons, and would really like to run them in a cluster with failover. Multiple instances on 1 server won't provide failover. activemq-admin stop --all does not stop the jvm if the server is waiting for the exclusive lock. it does stop the

Is ActiveMQ good fit for our project?

2010-02-16 Thread msbaw
Hi, We are starting a new project and wanted some input/feedback to validate if ActiveMQ is a good fit. We have a single central server and thousands of remote clients. Clients maybe located behind a NAT or Firewall. Every now and then we would like to send a message from central server to a

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-16 Thread Mats Henrikson
Hi Gary, I checked out your test case and seeing that that worked fine set out to figure out why my test case didn't. As it turns out it is because of my tempUsage: systemUsage systemUsage memoryUsage memoryUsage limit=100 mb/