Re: Message stuck on queue : Same Issue Both 5.2.0 and 5.4.2

2011-03-07 Thread KRISHNADASANTS
hi , Yes prasad. I already posted a similar thread and still it is pending. what i noticed is that the problem in my system is related with an application restart.when we restart an application in between incoming requests, sometimes consumers are not registering.there is no error in application

Re: Missing RDF

2011-03-07 Thread Bruce Snyder
On Mon, Mar 7, 2011 at 7:28 PM, jelder wrote: > http://repo.fusesource.com/maven2/org/apache/activemq/activemq-core/5.3.1-fuse-02-00/activemq-core-5.3.1-fuse-02-00.xsd > > The above URL worked as recently as Thursday, but is now a 404. It appears > everything related to 5.3.1 has been removed from

Missing RDF

2011-03-07 Thread jelder
http://repo.fusesource.com/maven2/org/apache/activemq/activemq-core/5.3.1-fuse-02-00/activemq-core-5.3.1-fuse-02-00.xsd The above URL worked as recently as Thursday, but is now a 404. It appears everything related to 5.3.1 has been removed from FUSE's maven2 repo. I discovered this the hard way: a

Re: Character encoding problem of the messages in queue

2011-03-07 Thread RuralHunter
All right looks I'm stupid. this thread can be discarded. This is not an Activemq problem but just the output problem of my receive end. The web admin console displays bad characters but that's just fine. It just doesn't show them correctly but the message in it is correct. -- View this message in

Message Cursors and Dispatch

2011-03-07 Thread Anirudha Khanna
Hi, So I added a custom subscription recovery policy to ActiveMQ-5.3.2 that stores messages in a different instance of Kaha Db. To load test this recovery policy we sent close to ~ 82 million messages(24 hours worth of messages) to the topic that has the recovery policy enabled on it. When conn

Scheduled messages don't use jdbcPersistenceAdapter

2011-03-07 Thread Steve Smith
HI, I have an embedded broker with Postgres JDBC persistence set-up. This works fine for normal messages, however when injecting delayed messages these are persisted to the filesystem (in activemq-data/localhost/scheduler). The relevant config:

Security policies and inactive queue garbage collection.

2011-03-07 Thread jvgarcia
Hi, I'm trying to configure a broker for an application where we need the gcInactiveDestinations feature, however, since these destinations also have some defined security policies, when they're about to be removed, I get the following exception: | ERROR | Failed to remove inactive destination Q

Replace Web Services with Message

2011-03-07 Thread walter
I am exploring the possibility to replace one of our Web Services implementation with message queues. Conceptually clients will be connected to the server with “Network of Brokers” as follow: Many Clients (broker) <--> (broker) Server with duplex = 'true'. The clients will put messages to a q

RE: ActiveMQ watchdog for a production environment

2011-03-07 Thread Allen Reese
Yeah 1.0.3 is fine. 1.0.5 is probably better, it has windows fixes. I'm not sure how I get 1.0.4 down. :) Eventually, I'll unbury myself enough to take a hack on the startup scripts, but so far, I haven't yet. --Allen > -Original Message- > From: Bruce Snyder [mailto:bruce.sny...@gma

Re: ActiveMQ watchdog for a production environment

2011-03-07 Thread Bruce Snyder
On Mon, Mar 7, 2011 at 12:31 PM, Bruce Snyder wrote: > On Mon, Mar 7, 2011 at 11:50 AM, Allen Reese wrote: >> At Yahoo!, we use jsvc to run activemq: >> http://commons.apache.org/daemon/jsvc.html >> >> This JIRA has the java patches required to use jsvc: >> https://issues.apache.org/jira/browse/

Re: ActiveMQ watchdog for a production environment

2011-03-07 Thread Bruce Snyder
On Mon, Mar 7, 2011 at 11:50 AM, Allen Reese wrote: > At Yahoo!, we use jsvc to run activemq: > http://commons.apache.org/daemon/jsvc.html > > This JIRA has the java patches required to use jsvc: > https://issues.apache.org/jira/browse/AMQ-2968 > > However there are no start/stop scripts.  Our en

Best Practices for Reliability, Availability, and (most importantly) no Duplicate Messages

2011-03-07 Thread Michael La Budde
All: I have done quite a bit of reading - ActiveMQ documentation, the ActiveMQ In Action book (MEAP), the ActiveMQ forum, as well as many other internet postings. We are using ActiveMQ 5.3.1 in production and recently experienced a case where 849 messages were duplicated within a 70 second perio

RE: ActiveMQ watchdog for a production environment

2011-03-07 Thread Allen Reese
At Yahoo!, we use jsvc to run activemq: http://commons.apache.org/daemon/jsvc.html This JIRA has the java patches required to use jsvc: https://issues.apache.org/jira/browse/AMQ-2968 However there are no start/stop scripts. Our environment is a little different with respect to start/stop scrip

Large messages, slow consumers and java heap space

2011-03-07 Thread Illtud Daniel
I'm using stomp, java clients and camel to move messages through a 'pipeline' of activemq queues. The messages can be very big (>120MB) and unfortunately the OS is 32-bit, so I want to keep memory usage to a minimum (2GB limit). There isn't a huge number of messages, but I keep running out of heap

Re: AMQ-CMS - questions about threads/producerthreads in AMQ

2011-03-07 Thread Oscar Pernas
Hi mzo, To do what you want to do I did a conditional mutex over a concurrent access queue. If you want to take a look of my code: https://code.google.com/p/activeinterface/source/browse/#svn%2FActiveInterface%2Fsrc%2Fcore%2Fwrapper

Character encoding problem of the messages in queue

2011-03-07 Thread RuralHunter
Hi, I'm using Activemq 5.4.2 on Ubuntu server. I put text message with java by these codes: TextMessage message = session.createTextMessage(myText); producer.send(message); myLogger.finest("Sent message:"); myLogger.finest(message.getText()); "myText" contains some Chinese

Re: Message stuck on queue : Same Issue Both 5.2.0 and 5.4.2

2011-03-07 Thread nnprasad
Hi Krishna, your first post was still pending, hope with no reason Even I am facing the same Issue, But with ActiveMQ 5.2.0, Windows 2003 Server R2 SP2, Persistent with Oracle 10g. Not you are facing it in Active MQ 5.4.2, I am suggesting an upgrade to my project to 5.4.2 because of this issue.

Re: ajax handling fast messages

2011-03-07 Thread Alex Dean
On Mar 6, 2011, at 7:13 PM, alikic wrote: > > alikic wrote: >> >> I hit this issue (AMQ-3094) with 5.4.2. Thanks for the great work on >> fixing it! >> >> Is there a way (and is it safe) to apply the fixes for AMQ-3094 to 5.4.2, >> or is it better to just grab the latest snapshot from svn? Do

Re: In a network of brokers, Are the broker names required to be different?

2011-03-07 Thread jessezbj
But I tried to use the same broker name. Everything looks proper. So I am thinking if the broker names are not required to be different now. If it is true, configuration for multi brokers will be much easier. -- View this message in context: http://activemq.2283324.n4.nabble.com/In-a-n

Re: In a network of brokers, Are the broker names required to be different?

2011-03-07 Thread James Green
Yeah they do need to be different I think for the network connectors to work properly. Not an unreasonable requirement I think, As to configuring lots of servers it should be possible to say load the hostname of the server directly into a placeholder within the xml file. I did take a look at this

In a network of brokers, Are the broker names required to be different?

2011-03-07 Thread jessezbj
In a network of brokers, Are the broker names required to be different? I am using ActiveMQ 5.4.2 and using multicast mode. I tried to use them with the same broker name. They look fine. But the book ActiveMQ in Action says they should be all different, the reasons? If all the names should

In a network of brokers, Are the broker names required to be different?

2011-03-07 Thread jessezbj
In a network of brokers, Are the broker names required to be different? I am using ActiveMQ 5.4.2 and using multicast mode. I tried to use them with the same broker name. They look fine. But the book ActiveMQ in Action says they should be all different, reason? If all the names should be dif

Re: AMQ-CMS - questions about threads/producerthreads in AMQ

2011-03-07 Thread Timothy Bish
On Mon, 2011-03-07 at 09:28 +0100, m...@domdv.de wrote: > Hello Timothy, > > > Creating a Consumer object and registering a MessageListener will result > > in messages being received in a separate thread, so there's not really > > any need to create a new thread for your consumer. > > That explai

In a network of brokers, Are the broker names required to be different?

2011-03-07 Thread jessezbj
In a network of brokers, Are the broker names required to be different? I am using ActiveMQ 5.4.2 and using multicast mode. I tried to use them with the same broker name. They look fine. But the book ActiveMQ in Action says they should be all different. If all the names should be different, how

Re: Message stuck on queue

2011-03-07 Thread KRISHNADASANTS
hi, this is an immediate update.From monitoring from jmx we could see that enqueueCount is 1 less than dequecount and dispatchcount always. It is not make sense right?. Usually enquecount will be equal to dequecount or it can be a higher value, but never a lower value.Or my understanding may be wr

Re: Is a 5.4.3 release due?

2011-03-07 Thread Gary Tully
the focus is 5.5, and we should be done in early april. On 7 March 2011 10:13, James Green wrote: > Hi I am having to deal with (lots of) stale log files, hopefully a > result of "AMQ-2736 KahaDB doesn't clean up old files". > > Could someone provide guidance on whether a stable release is immine

Re: Duplicated messages

2011-03-07 Thread kafka399
I had used Queue unintentionally until I found, that my configuration is wrong, but the result was the same and the messages were duplicated. Anyway, the topic is non-durable, so I don't see harm in it. public void sende(Integer tickerId, Integer field, Integer size, Long timestamp) {

Is a 5.4.3 release due?

2011-03-07 Thread James Green
Hi I am having to deal with (lots of) stale log files, hopefully a result of "AMQ-2736 KahaDB doesn't clean up old files". Could someone provide guidance on whether a stable release is imminent of 5.4.3 or is everything focused on 5.5.0 (which may be far away)? Having to shutdown and restart serv

Re: AMQ-CMS - questions about threads/producerthreads in AMQ

2011-03-07 Thread mzo
Hello Timothy, > Creating a Consumer object and registering a MessageListener will result > in messages being received in a separate thread, so there's not really > any need to create a new thread for your consumer. That explains the count of threads upon debugging. I already thought that may be