Re: derby db does not start , when context is reloaded

2007-02-27 Thread James Strachan
I guess a good work around is to switch to a different database; such as using MySQL or Postgresql On 2/28/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote: Hello Active MQ users , I have an embedded broker described by the following java class. It is started as a ser

derby db does not start , when context is reloaded

2007-02-27 Thread Suchitha Koneru \(sukoneru\)
Hello Active MQ users , I have an embedded broker described by the following java class. It is started as a servletContextlistener , in tomcat 5.5 public class ActiveMQBrokerStartListener implements ServletContextListener { BrokerService broker = new BrokerService(); public v

Re: Messages Stuck in Queue after Failover

2007-02-27 Thread James Strachan
I wonder if you could try reproducing this issue on the latest 4.1 branch - as we will release 4.1.1 soon with some fixes in this area On 2/21/07, David Kendall <[EMAIL PROTECTED]> wrote: I am testing failover scenarios with ActiveMq 4.1 and with Shared File System Master Slave. The failover se

Re: cant see named connection in jconsole

2007-02-27 Thread James Strachan
Great. Thanks for letting us know On 2/27/07, Iakov <[EMAIL PROTECTED]> wrote: James.Strachan wrote: > > On 2/26/07, Iakov <[EMAIL PROTECTED]> wrote: >> James.Strachan wrote: >> > >> > On 2/26/07, Iakov <[EMAIL PROTECTED]> wrote: >> >> >> >> hi, >> >> >> >> i am running a client which concurre

Re: [Spam: 5.0] cant see named connection in jconsole

2007-02-27 Thread Iakov
James.Strachan wrote: > > On 2/26/07, Iakov <[EMAIL PROTECTED]> wrote: >> James.Strachan wrote: >> > >> > On 2/26/07, Iakov <[EMAIL PROTECTED]> wrote: >> >> >> >> hi, >> >> >> >> i am running a client which concurrently uses two connections both are >> >> named >> >> (thru createConnection metho

Re: Master Slave: Shared File System - 2 Questions

2007-02-27 Thread James Strachan
On 2/27/07, spiderman2 <[EMAIL PROTECTED]> wrote: I've read the http://activemq.apache.org/shared-file-system-master-slave.html doc but the diagram mentions a database. I thought we're only talking about writing to a file system?? Just a typo? We just reused the same images for both database

Master Slave: Shared File System - 2 Questions

2007-02-27 Thread spiderman2
I've read the http://activemq.apache.org/shared-file-system-master-slave.html doc but the diagram mentions a database. I thought we're only talking about writing to a file system?? Just a typo? I see that the configuration mentioned in the doc is pointing to a file system: but is called a "jo

Network/Cluster of Brokers - What I learnt

2007-02-27 Thread Gaurav Hariani
I managed to partially get a network of brokers working. This is what I learnt in the process. 1. All brokers in the network should use a different name. 2. "Transport Connector" is what clients and peer brokers communicate with a broker using. So if you have a transport connector like

Network of brokers

2007-02-27 Thread Mathulan
Hi All, I am trying to configure set of brokers running distributed over the WAN. There are 3 machines devdist01 (Distribution server), devslave01 (slave server), devpres01 (presentation server). The communication between brokers are devslave01 -> devdist01 <-> devpres01. Basically devslave01 p

Re: FAILOVER with C# NMS Client

2007-02-27 Thread James Strachan
On 2/27/07, Gaurav Hariani <[EMAIL PROTECTED]> wrote: Is there a simple way to handle this at the client currently? No, not yet. Maybe something like a listener on the Session/Connection that gets notified in case of a transport failure? I'm adding that :) Also required is a way to store t

Failover URI: Connection Information

2007-02-27 Thread Gaurav Hariani
Is there a way for a client to determine which broker it is connected to (when using a failover URI)?

Re: FAILOVER with C# NMS Client

2007-02-27 Thread Gaurav Hariani
Is there a simple way to handle this at the client currently? Maybe something like a listener on the Session/Connection that gets notified in case of a transport failure? Also is there any means of querying a broker for load information (e.g. how many clients are connected to a broker) to allow

Re: [Spam: 5.0] Consumer blocking when session created on same connection as blocked producer

2007-02-27 Thread James Strachan
On 2/27/07, TonyLeigh <[EMAIL PROTECTED]> wrote: Hi James, Thanks for the info, I understand what is happening now and can work around it in my application. James.Strachan wrote: > > So the reason for this is that currently there is a single thread per > connection processing server side oper

Re: [Spam: 5.0] Jboss + JCA + remote broker:MDB doesn't consume message after broker restart

2007-02-27 Thread Luciano
Ooops, failover:tcp... in ra.xml solved my problem. Thanks Luciano James.Strachan wrote: > > On 2/23/07, Luciano <[EMAIL PROTECTED]> wrote: >> >> An MDB using ActiveMQ 4.1.0 JCA connector in JBoss, stop consuming >> message >> from a queue on a remote ActiveMQ 4.1.0 broker after a broker res

Re: [Spam: 5.0] Consumer blocking when session created on same connection as blocked producer

2007-02-27 Thread TonyLeigh
Hi James, Thanks for the info, I understand what is happening now and can work around it in my application. James.Strachan wrote: > > So the reason for this is that currently there is a single thread per > connection processing server side operations. Normally these > operations are pretty f

Re: [Spam: 5.0] Cannot shutdown cleanly [still]

2007-02-27 Thread drvillo
Hi James attached you will find the execution log and the traces taken after the ^C As you see from the thread dump, some threads are busy doing some work (within an onMessage) but the operations they perform are guarded by a timeout that should be well expired at the moment I kill the process.

Re: [Spam: 5.0] Exception when running an embedded broker under java 1.4

2007-02-27 Thread osian
Sorry about the delay, I have been out of the office for a couple of days, and yes, it was the remote jar that was missing, thankyou very much, Osian David Borja-2 wrote: > > Specifically this jar ... > > mx4j-remote.jar > > > On 2/23/07, David Borja <[EMAIL PROTECTED]> wrote: >> >> Hi ...

Re: [Spam: 5.0] Cannot shutdown cleanly [still]

2007-02-27 Thread James Strachan
On 2/27/07, drvillo <[EMAIL PROTECTED]> wrote: Hi James I'm fine with the traces, but the problem is that they don't stop...there's something AMQ is still busy doing, and I can't figure out how to stop it. the Active Sessions = X actually decreases with time, but when that reaches 1 it stays li

Re: [Spam: 5.0] Cannot shutdown cleanly [still]

2007-02-27 Thread drvillo
Hi James I'm fine with the traces, but the problem is that they don't stop...there's something AMQ is still busy doing, and I can't figure out how to stop it. the Active Sessions = X actually decreases with time, but when that reaches 1 it stays like that forever (forever is ~minutes ) I'm usin

Re: Cannot shutdown cleanly [still]

2007-02-27 Thread James Strachan
On 1/30/07, drvillo <[EMAIL PROTECTED]> wrote: Hi after more than a month I haven't been able to solve this... I'm currently destroying jencks' JCAConnectors and JCAContainer, which also stop ActiveMQResourceAdapter as a side effect. Then I stop the broker via stop(), followed by the application

Re: Jboss + JCA + remote broker:MDB doesn't consume message after broker restart

2007-02-27 Thread James Strachan
On 2/23/07, Luciano <[EMAIL PROTECTED]> wrote: An MDB using ActiveMQ 4.1.0 JCA connector in JBoss, stop consuming message from a queue on a remote ActiveMQ 4.1.0 broker after a broker restart. A Spring application inside the same JBoss instance can instead continue to send messages to the same q

Re: Consumer blocking when session created on same connection as blocked producer

2007-02-27 Thread James Strachan
So the reason for this is that currently there is a single thread per connection processing server side operations. Normally these operations are pretty fast; but if a producer is blocked, currently we block the producer thread (to stopt it potentially sending more messages and causing more troubl

Re: [Spam: 5.0] cant see named connection in jconsole

2007-02-27 Thread James Strachan
On 2/26/07, Iakov <[EMAIL PROTECTED]> wrote: James.Strachan wrote: > > On 2/26/07, Iakov <[EMAIL PROTECTED]> wrote: >> >> hi, >> >> i am running a client which concurrently uses two connections both are >> named >> (thru createConnection method) both are working, but i only see one of >> them >>

Re: FAILOVER with C# NMS Client

2007-02-27 Thread James Strachan
On 2/26/07, sparky2708 <[EMAIL PROTECTED]> wrote: How do I achieve failover for C# NMS Clients? We've not yet implemented Failover for NMS; I've started work on it but it'll be a little while until its completed. -- James --- http://radio.weblogs.com/0112098/

Re: One connection for multiple sessions or one connection for each session

2007-02-27 Thread James Strachan
On 2/27/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: I would like to write a program with multiple threads. Each thread will subscribe same mesage queue. There are two ways to do that. 1. Each thread has its own connection and session to the queue. 2. All the threads share same connection and each

Re: Difference between Virtual Topic and Composite Queue

2007-02-27 Thread James Strachan
On 2/27/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: I would like to send messages to a central point where JMS will automatically forward them to a set of queues for different systems. It seems to me that both Virutal topic and composite queue can accomplish this. Between virtual topic and composi

Re: [Spam: 5.0] Cannot shutdown cleanly [still]

2007-02-27 Thread drvillo
Hi this task is starting to get at the top of the pile... We're almost ready to ship and still, if ctrl-c the process (which runs the embedded broker) I don't manage to have it exiting. After having destroyed the consumers, the pools and the spring container itself it stays showing Active Sessi