Re: onMessage() called by multiple threads - synchronization needed?

2010-04-09 Thread Denis Bazhenov
MessageListener interface strictly define behavior of listeners in multithreaded environment (http://java.sun.com/j2ee/1.4/docs/api/javax/jms/MessageListener.html). Session should serialize dispatching of messages to listener, so you don't need any additional synchronization primitives over Mes

Failover and Fail BACK

2010-04-09 Thread sm...@edmunds.com
Hello there! We are using 5.3.1 deployed as a HA failover cluster via an NFS mount. We are able to kill a broker (which we are calling the HOT broker) and get a second broker (or COLD broker) to take over with only a few messages lost in transition (353 out of 1.3 Million) which are chalking up t

Re: Derby is not stopped when undeploying app from WLS

2010-04-09 Thread engr
https://issues.apache.org/activemq/browse/AMQ-2692 Gary Tully wrote: > > > Can you raise an enhancement for this? > > -- View this message in context: http://old.nabble.com/Derby-is-not-stopped-when-undeploying-app-from-WLS-tp28181591p28195558.html Sent from the ActiveMQ - User mailing lis

Re: Kaha Indexing exception

2010-04-09 Thread Vishist Mandapaka
We've nfsv4 deployed, but I can double-check. I'm aware of v3 issues with locks, and decided to migrate to v4. Anything on ActiveMQ side that I need to configure specifically for production environment, though it works fine with other environments? thanks, Vish. On Fri, Apr 9, 2010 at 3:54 AM, Ga

Re: StompExample not working?

2010-04-09 Thread jmarks
That did it! Many thanks. jmarks wrote: > > I tried running StompExample after starting ActiveMQ using the following > command line from Windows: > > bin\activemq.bat xbean:conf/activemq-stomp.xml > > ActiveMQ then indicated that it had started the two stomp connectors. When > I tried to run t

Re: (ActiveMQ Scheduler) - Memory usage change from: 413% of available memory, to: 414% of available memory

2010-04-09 Thread Gary Tully
glad that helped. There is a policyEntry expireMessagesPeriod for a destination, it defaults to 3 milliseconds so you can reduce that which will ease the processing of large queue depths or set it to 0 if you don't use a message time to live. On 9 April 2010 14:33, moacsjr wrote: > > Thanks

Re: (ActiveMQ Scheduler) - Memory usage change from: 413% of available memory, to: 414% of available memory

2010-04-09 Thread moacsjr
Thanks Gary! I have tried 5.3.1 and my application doesn't die. But the "Memory usage" message is still there. I have discovery that in production I have a lot of messages in queues that doesn't have any consumers. So the ActiveMQ Scheduler was working hard on every message on this queues at very

onMessage() called by multiple threads - synchronization needed?

2010-04-09 Thread frbo
I'm sorry if this question has been answered before, but it is not clear to me yet what the safe way is to update class fields from the 'onMessage()' method of an asynchronous consumer. I am using ActiveMQ 5.3.0 with the default settings (Java 1.6). The following example code shows that 'onMessag

Re: Error in Compiling Activemq-cpp using aCC in HP-UX

2010-04-09 Thread Timothy Bish
On Fri, 2010-04-09 at 00:11 -0700, Radha Manickam wrote: > Hi, > > Even i tried with the latest version 3.1.2. > > It also shows me the same error. > > It is creating only the .d, .i and .lo files. But .o files are not at all > created. > > Thanks & Regards, > Radha. You can review this issue

Re: Kaha Indexing exception

2010-04-09 Thread Gary Tully
you need a nfs version that supports shared distributed locks, on your production box. nfsv4 should do the trick. On 9 April 2010 01:33, Vishist Mandapaka wrote: > Hi, > We've two brokers running on shared data-store mounted through NFS. > Broker version is 5.3.0 and jdk is 1.6.0. > Everything

Re: ActiveMQ running on Amazon EC2 (Elastic Compute Cloud)

2010-04-09 Thread mjustin
Hello Dejan, currently I try to configure ActiveMQ with Java Service Wrapper 3.4.0, which is now able to install the service. So the ActiveMQ broker service it will start when the computer boots: http://wrapper.tanukisoftware.org/doc/english/launch-nix.html This new feature in release 3.4.0 als

Re: StompExample not working?

2010-04-09 Thread Dejan Bosanac
Hi, the problem was in changed StompConnection API, as now the connect() method do all the checks. It's fixed on the trunk, and you can also fix it in your distro by removing StompFrame connect = connection.receive(); if (!connect.getAction().equals(Stomp.Responses.CONNECTED)) { throw new Excepti

Re: Error in Compiling Activemq-cpp using aCC in HP-UX

2010-04-09 Thread Radha Manickam
Hi, Even i tried with the latest version 3.1.2. It also shows me the same error. It is creating only the .d, .i and .lo files. But .o files are not at all created. Thanks & Regards, Radha. -- View this message in context: http://old.nabble.com/Error-in-Compiling-Activemq-cpp-using-aCC-in-HP-