Re: activemq won't start with jre 1.7

2012-11-06 Thread jmls
urgh. I changed the wrapper.conf to use a 1.6 jre, and the service now starts I do think that it's a bit of a shame that ActiveMQ does not support 1.7 (which is being updated automatically on most windows machines) and that there is no notice or warning Thanks for your help, however. At least I'm

Re: activemq won't start with jre 1.7

2012-11-06 Thread Claus Ibsen
On Tue, Nov 6, 2012 at 8:14 PM, jmls wrote: > just to be sure, I also installed 5.7.0 and have the exact same problem > The provided wrapper is based on the old open source and free version of Tankurisoft. Since then they are no longer offering that. And you may have to purchase a license from th

Re: activemq won't start with jre 1.7

2012-11-06 Thread Claus Ibsen
On Tue, Nov 6, 2012 at 7:24 PM, jmls wrote: > I did mention as an edit to the original post that I am runnin 5.8 snapshot. > If you use nabble to post to this mailing lists, then any edits, do not get propagated to the mailing list, and we cannot see this. > thanks > > > > -- > View this messa

Re: ActiveMQ locking all the threads [5.5.1]

2012-11-06 Thread Christian Posta
Looks like the subscription trying to read from the FilePendingMessageCursor's temp store is trying to read the contents of the store file, but is blocking on readFully()... keeping other threads from sending. Any reason why it couldn't read the temp store? On Tue, Nov 6, 2012 at 11:44 AM, Aravind

Re: Exception in thread "ActiveMQ BrokerService[localhost] Task-4" java.lang.OutOfMemoryError: unable to create new native thread

2012-11-06 Thread mserrano
This means that you have created more threads on your system than you are allowed to create or have memory to create. We cannot really tell without more information about you environment. You may find this page u

XaPooledConnectionFactory

2012-11-06 Thread jsimmonsc
Hello, We are trying to setup ActiveMQ XA transactions with websphere mq and a postgres database. We were using ActiveMQ 5.6.0 and camel 2.9.2 inside of a karaf container with version 2.2.9. The setup that we used was documented on fusesource website. Fusesource Documentation

Re: in master slave broker network, networked slave incorrectly bound to other slave

2012-11-06 Thread mserrano
Note, when I patch DemandForwardingBridge to setNetworkConnection(true) on all BrokerInfo commands received by serviceRemoteCommand and patch TransportConnection to not create MasterBroker filters for networked slaves, this problem does not occur and things proceed as expected. I think this should

Re: Can't make topic persistent

2012-11-06 Thread Christian Posta
Use the failover protocol, durable subscriptions and a master/slave pair: http://activemq.apache.org/masterslave.html http://activemq.apache.org/shared-file-system-master-slave.html On Tue, Nov 6, 2012 at 1:36 PM, Biscuit128 wrote: > A bit of both really! when the consumer goes away i would li

Re: Can't make topic persistent

2012-11-06 Thread Biscuit128
A bit of both really! when the consumer goes away i would like the messages to be persisted for when they come back but also i read something about the broker being able to write the messages to some form of log file if it was not connected and then, once it connects again then it reads the file an

Re: Can't make topic persistent

2012-11-06 Thread Christian Posta
You are correct. The broker persists the messages for when the consumer returns. That means even if the broker goes away, any messages that it has seen up to that point would get persisted. When the broker comes back up, it would still have those messages ready to deliver to the consumer. Is that

Re: Can't make topic persistent

2012-11-06 Thread Biscuit128
Thanks for the reply. From what i can see, a durable subscriber persists messages when a consumer goes away. However, my issue was when the instance of activemq goes away. Or am i misinterpreting ? Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-t-make-topic-

Re: Can't make topic persistent

2012-11-06 Thread Christian Posta
You need to use a durable subscriber to the topic http://forum.springsource.org/showthread.php?18281-JMS-Durable-Subscription-Example On Nov 6, 2012, at 12:32 PM, Biscuit128 wrote: > Hi, > > I am using Spring in conjunction with activemq. What happens when I turn > activemq off in the middle of

Re: how to detect end-of-dataset ?

2012-11-06 Thread Fulko Hew
On Tue, Nov 6, 2012 at 1:14 PM, wrote: > > --Original Message-- > From: rajdavies > To: users@activemq.apache.org > ReplyTo: users@activemq.apache.org > Subject: Re: how to detect end-of-dataset ? > Sent: Nov 6, 2012 10:22 AM > > I see the problem - there is no way to determine the end of

Re: activemq won't start with jre 1.7

2012-11-06 Thread jmls
I did mention as an edit to the original post that I am runnin 5.8 snapshot. thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/activemq-won-t-start-with-jre-1-7-tp4658849p4658854.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: how to detect end-of-dataset ?

2012-11-06 Thread jamie
--Original Message-- From: rajdavies To: users@activemq.apache.org ReplyTo: users@activemq.apache.org Subject: Re: how to detect end-of-dataset ? Sent: Nov 6, 2012 10:22 AM I see the problem - there is no way to determine the end of dataset. The assumption is that the request for stats a

Re: activemq won't start with jre 1.7

2012-11-06 Thread Claus Ibsen
What version of ActiveMQ are you using? Its only 5.7.0 that supports Java 1.7 officially. So I recommend installing Java 1.6 and make it the default so your AMQ can start. On Tue, Nov 6, 2012 at 6:23 PM, jmls wrote: > Windows 7, 64 bit. My machine rebooted recently, and now ActiveMQ refuses to

activemq won't start with jre 1.7

2012-11-06 Thread jmls
Windows 7, 64 bit. My machine rebooted recently, and now ActiveMQ refuses to start. The following is in the wrapper log STATUS | wrapper | 2012/11/06 16:47:28 | Launching a JVM... INFO | jvm 3| 2012/11/06 16:47:29 | Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' IN

Re: ActiveMQ locking all the threads [5.5.1]

2012-11-06 Thread Gaurav Sharma
Mind sharing the messaging topology and how the broker is getting used by the app? On Nov 6, 2012, at 8:49, Aravind Chennuru wrote: > Hi All, > > I am facing a problem on some of our production servers with ActiveMQ locking > the threads and the messages are no more sent to the consumers. Did

Re: JMSActiveMQBrokerInTime,JMSActiveMQBrokerOutTime via CMS

2012-11-06 Thread Timothy Bish
On Tue, 2012-11-06 at 07:27 -0800, zackhasit wrote: > Hi, > I cant access these properties via CMS is that a known issue ? > > Dynamic Cast the message to an activemq::commands::Message and use the appropriate getter method > > -- > View this message in context: > http://activemq.2283324.n4

Re: sendFailIfNoSpace=true, no JMSException for Producer

2012-11-06 Thread Gary Tully
thanks for closing the loop on this :-) On 6 November 2012 14:07, Raquel wrote: > I got to solve this issue with enable of sync send in the URI of connection > factory creation: > cf = new ActiveMQConnectionFactory("tcp://locahost:61616?jms.alwaysSyncSend= > true > > -- http://redhat.com http

Re: sendFailIfNoSpace=true, no JMSException for Producer

2012-11-06 Thread Raquel
I got to solve this issue with enable of sync send in the URI of connection factory creation: cf = new ActiveMQConnectionFactory("tcp://locahost:61616?jms.alwaysSyncSend= true

cannot get connection when using activemq on ec2

2012-11-06 Thread jiunjiunma
Hi, I was running activemq with JMS transaction. When I ran activemq on my localhost, I could get the jms connection and everything worked fine, but when I tried to use an activemq on EC2, the connection always hang. (If I turned off the JMS transaction and use no-transactioned route, I have n

Re: how to detect end-of-dataset ?

2012-11-06 Thread rajdavies
I see the problem - there is no way to determine the end of dataset. The assumption is that the request for stats and the handling of the messages would be decoupled - so you could periodically query the stats - but then process the results asynchronously. Like you say, if the list of destinations