NullPointerException in AMQMessageStore.addMessage in AMQ 5.2

2009-05-07 Thread jydev
Hi, Intermittently, we get a NullPointerException while sending a message out and not sure what's causing it. Caused by: java.lang.NullPointerException at org.apache.activemq.store.amq.AMQMessageStore.addMessage(AMQMessageStore.java:129) at org.apache.activemq.broker.region.Queue

ActiveMQ NFS journal

2009-05-07 Thread jzhang1
We mount ActiveMQ data storage to a NFS share drive. But activemq cannot start. Is it possible to set up ActiveMQ NFS journal ? ERROR BrokerService - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: No locks available java.io.IOException: No locks a

Transaction has not been started, DLQ

2009-05-07 Thread Ruben de Gooijer
Hi all, I am using activemq 5.2.0 (embedded) with locally transacted sessions. When a message is received by a designated listener and processing the message fails it will automatically cause the session to rollback. Which in turn causes activemq to redeliver the message, after a while the message

BrokerStoppedException, during embedded broker restart

2009-05-07 Thread Ruben de Gooijer
Hi all, I have a simple test using an embedded activemq 5.2.0 that performs a system restart. public class ActiveMQEmbeddedLifecycleTest extends TestCase { public void testLifecycle() throws Exception { BrokerService service = BrokerFactory.createBroker("xbean:activemq.xml");

Spring injection and ActiveMQConnectionFactory

2009-05-07 Thread Jai_M
Hi, I am on 5.2 and I am using sring injection to initialize my broker and JMSTemplate using dependency injection. My application seems to hang with the the following log messages 10:10:20.158 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: tcp://hostname:6161

How do I configure Topic on clustered server to replicate messages on each server

2009-05-07 Thread Shahzad Bhatti
I am using a clustered configuration of ActiveMQ 5.2 with failover but without any shared file system or SAN. For queues, the ActiveMQ load balances both publication of messages, i.e., the message only goes to one of the server. However for Topics, I would like messages be sent to both of the serv

Re: Configuration of maximum number of Producers

2009-05-07 Thread Gary Tully
Hi Felxi, such a policy does not exist at the moment. Implementing this behavior with a broker interceptor pluginmay be a good option for you. Would make a nice contribution . If that does not work for you,

How to set MessageID while transferring blobs

2009-05-07 Thread manua
HI All, I am able to transfer my files as blob messages and by specifying the blobtransfer policy, i am able to set the location where these files(blob messages) should be stored. But I am getting issues with the name of the files being stored. The blob messages are stored in the fileserver with

Re: Redelivery of messages in transactional mode

2009-05-07 Thread Gary Tully
You may want to try the camel or servicemix user lists for this one. 2009/5/7 Sanjay Jain > > Can anybody please help me out to resolve this issue? > > Thanks, > Sanjay > > > Sanjay Jain wrote: > > > > Hi All, > > > > I tried hard to get the redelivery working when route is transacted. But > > s

Re: Redelivery of messages in transactional mode

2009-05-07 Thread Sanjay Jain
Can anybody please help me out to resolve this issue? Thanks, Sanjay Sanjay Jain wrote: > > Hi All, > > I tried hard to get the redelivery working when route is transacted. But > so far no luck with redelivery at all. I am using camel-1.5.0 in > servicemix 3.2.2. > > This is how my camel-co

Re: timeout parameter when amq gets max queue size

2009-05-07 Thread liquidd
It's work, but there is no exception or somethng. I read that this will be the issue in jira. When there will be fixed? :) Thanks! rajdavies wrote: > > You should set the sendTimeout parameter on your ConnectionFactory > > cheers, > > Rob > > On 6 May 2009, at 12:40, liquidd wrote: > >>

Re: Specify MySQL database user and password for Cron Job

2009-05-07 Thread Andreas Gies
Hi there, I am wondering if you hit the correct mailing list ? This having said, you can create a user specific crontab and execute your job in there. If you are using the mysql command line use, the -u and -p parametes in your cronjob spec. HTH Andreas On May 6, 2009, at 3:34 PM, Cyburg