jdbc master/slave dying

2008-10-24 Thread AD
All, I have a master/slave setup with JDBC persistence. The servers die within 1 day of running for no real reason. Here is the log file of the brokers, any ideas what is going on here ? 2008-10-23 07:51:28,274 [main ] INFO JDBCPersistenceAdapter - Database driver recognized: [my

A question about prefetch with NMS

2008-10-24 Thread mkeenan
I'm using NMS version 1.1 and AMQ version 5.2 When I set the connection string in the client API to: tcp://localhost:61616?jms.prefetchPolicy.all=1 I *thought* that was going to give me a prefetch buffer of 1 for all consumers. Looking at the Subscribers in the JMX console the consumers have t

JMX password

2008-10-24 Thread David Borja
Hi ActiveMQ users/devs ... How can i set the JMX credentials to management in ActiveMQ? but running on java 1.4.2 ... is it possible? Thanks ...

Re: Add simple service registry to ActiveMQ

2008-10-24 Thread Bruce Snyder
On Fri, Oct 24, 2008 at 11:22 AM, Powers, Matthew <[EMAIL PROTECTED]> wrote: > No problem Bruce. > I am traveling right now - but I will fill this out when we get back Great - let me know if you have any questions. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61Eh

RE: Add simple service registry to ActiveMQ

2008-10-24 Thread Powers, Matthew
No problem Bruce. I am traveling right now - but I will fill this out when we get back -Original Message- From: Bruce Snyder [mailto:[EMAIL PROTECTED] Sent: 2008-10-24 1:04 PM To: users@activemq.apache.org Subject: Re: Add simple service registry to ActiveMQ On Fri, Oct 24, 2008 at 7:18

Re: What this means? Urgent!!

2008-10-24 Thread Bruce Snyder
On Fri, Oct 24, 2008 at 3:25 AM, bill richard <[EMAIL PROTECTED]> wrote: > > 2008-10-24 17:07:04,998 [91.249.93:31885] WARN RegionBroker > - Failed to send ActiveMQTextMessage {commandId = 5, responseRequired = > true, messageId = ID:nwdellsrv3-31125-1224836545198-1:117:1:1:1, > originalDestinatio

Re: Add simple service registry to ActiveMQ

2008-10-24 Thread Bruce Snyder
On Fri, Oct 24, 2008 at 7:18 AM, Powers, Matthew <[EMAIL PROTECTED]> wrote: > I have some examples of JmDNS and zero conf if people are interested, > just email me on the side. I used activemq for the messaging and > zeroconf for my discovery mechanism for "services" It would really be great if y

Problem with overlapping unsubscribe

2008-10-24 Thread qwidjibo
So, I've got an obnoxious issue here. I've got two subscriptions to queues within the same JVM -- One subscribes to A.B.*.* with priority = 4 Another subscribes to A.B.C.* with priority = 10 Everything works great until I unsubscribe the second one. After that, messages that match the A.B.C.

Re: Difference between MessageServlet & MessageListenerServlet (AJAX)

2008-10-24 Thread Andy Gross
The MessageListenerServlet is the one you want - it's the Servlet that keeps client subscription state and implements the Ajax "long poll" server support that amq.js uses. On Oct 24, 2008, at 10:45 AM, cmoulliard wrote: Hi, What is the difference between the MessageServlet & MessageLi

Difference between MessageServlet & MessageListenerServlet (AJAX)

2008-10-24 Thread cmoulliard
Hi, What is the difference between the MessageServlet & MessageListenerServlet and which one must be used for a AJAX project ? I'm confused because the documentation mentions that we must use the MessageListenerServlet for a Ajax project BUT the web.xml config file of the demo project use the ot

Re: Failover transport

2008-10-24 Thread selezovikj
Jconsole shows the following stack trace: Name: main State: BLOCKED on [EMAIL PROTECTED] owned by: ActiveMQ Task Total blocked: 1 Total waited: 1 Stack trace: org.apache.activemq.transport.failover.FailoverTransport.start(FailoverTransport.java:228) selezovikj wrote: > > I am getting rea

RE: Add simple service registry to ActiveMQ

2008-10-24 Thread Powers, Matthew
I have some examples of JmDNS and zero conf if people are interested, just email me on the side. I used activemq for the messaging and zeroconf for my discovery mechanism for "services" -Original Message- From: Maarten_D [mailto:[EMAIL PROTECTED] Sent: 2008-10-23 5:27 PM To: users@active

Re: Failover transport

2008-10-24 Thread selezovikj
I am getting really confused. I should be getting an "Invalid broker URL" but I am not. What is even more confusing is that I get "Invalid broker URL" when I only specify "tcp:localhost:61617", and then whatever correct address that I specify just results in me getting an Invalid broker URL. Th

Re: Failover transport

2008-10-24 Thread Joe Fernandez
I've tried to reproduce your problem in my AMQ 5.1 testbed w/out success; the failover transport works as expected. However the url, failover://tcp://localhost:61617 is not properly formatted and you should be getting an "Invalid broker URL" exception. It should be formatted as follows failov

Re: Failover transport

2008-10-24 Thread selezovikj
I saw that in the Apache ActiveMq 5.2 release the default ActiveMQConnectionFactory brokerUrl uses the failover transport. Is this going to solve my problem ? I tried running my application on different machines and it is giving the same error. Can anyone suggest anything ? selezovikj wr

Ajax - MessageListener Servlet : help requested !!!

2008-10-24 Thread cmoulliard
Hi, I try to implement the portfolio example provided under the sub-project activemq-web et demo but unfortunately, I cannot receive any result from the MessageListener Servlet working with my Ajax web client browser ? Remark : - The only modification that I made to the code is to by pass the Po

Re: Push or poll

2008-10-24 Thread Gary Tully
jms.MessageConsumer, receive(timeout) or receiveNoWait? http://java.sun.com/javaee/5/docs/api/javax/jms/MessageConsumer.html#receive(long) http://java.sun.com/javaee/5/docs/api/javax/jms/MessageConsumer.html#receiveNoWait() and http://activemq.apache.org/what-is-the-prefetch-limit-for.html 2008/

What this means? Urgent!!

2008-10-24 Thread bill richard
2008-10-24 17:07:04,998 [91.249.93:31885] WARN RegionBroker - Failed to send ActiveMQTextMessage {commandId = 5, responseRequired = true, messageId = ID:nwdellsrv3-31125-1224836545198-1:117:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:nwdellsr

Push or poll

2008-10-24 Thread Lars Eirik Rønning
Hi. Is there a way for my client application to poll at regular intervals? I understand that by default activemq uses push to distrubte messages.. Am i right or wrong? I would prefer having polling , but I do not run a webserver so i cannot use servlets Thanks. Lars