Re: journaledJDBC no longer exists?

2007-04-09 Thread James Strachan
No, journaledJDBC is still there. If you are having issues configuring ActiveMQ inside a regular Spring.xml you could try using the factory bean instead... http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html On 4/9/07, Andy DePue <[EMAIL PROTECTED]> wrote: We are looking

Re: Memory Usage

2007-04-09 Thread James Strachan
You might want to try 4.2 which supports spooling to disk to avoid memory exhaustion. On 4/10/07, Ramesh Bobba <[EMAIL PROTECTED]> wrote: Hi, I have 4 consumers - 2 durable and 2 non durable. What I am observing is that when a durable consumer is down, none of the other consumers get data! I

Memory Usage

2007-04-09 Thread Ramesh Bobba
Hi, I have 4 consumers - 2 durable and 2 non durable. What I am observing is that when a durable consumer is down, none of the other consumers get data! I am using 4.1.1. I am also observing that when a consumer is down, the memory keeps increasing. The memoryManager element does not seem to ha

Re: Problems Recv. Messages on MDB

2007-04-09 Thread vineetc
Tim, You are correct. I am going to try and use ContextSingletonBeanFactoryLocator. Infact i will also increase MaxPermSize to help the situation. Although, i am still trying to understand the stack trace problem. Thats my core issue. Why does activemq fail after recv. a few messages. Interesting

Re: Execute Multiple MDBs concurrently

2007-04-09 Thread Tim Morrow 2
I believe the max number of MDB instances that will be started is a container-specific setting, for example with JBoss its going to be in the ejb jar META-INF/jboss.xml file. Tim avin98 wrote: > > My MDB is in a long lived conversation state, and I have Authentication > Requests arriving on

Re: Problems Recv. Messages on MDB

2007-04-09 Thread Tim Morrow 2
If your hunch is correct (about Spring initializing a new context for each MDB instance) you can try a SingletonBeanFactoryLocator : http://www.springframework.org/docs/api/org/springframework/beans/factory/access/SingletonBeanFactoryLocator.html In setMessageDrivenContext, do something like this

Re: Know the session was closed

2007-04-09 Thread astepanenko
Thank you, James! That tiny method would be really handy. I'll look at how to submit a patch and will try to provide one. Andrew. James.Strachan wrote: > > On 4/9/07, astepanenko <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> is there a way to know that Session was closed, something like isClo

journaledJDBC no longer exists?

2007-04-09 Thread Andy DePue
We are looking into upgrading from AMQ 3.1 to 4.1.1 (embedded in a Spring based app). I attempted to get things going using the spring XML below, based on examples given on the AMQ web site. However, the XSD does not define a "journaledJDBC" element, and any attempt to use it results in a val

Re: JDBC Master/Slave Problem Pausing Slave Broker

2007-04-09 Thread Franz Garsombke
Ahhh. I am currently using Spring. When I login through our UI it holds a lock on the server. Any recommendations for starting the slave on a separate thread? Thanks in advance. Here is the current config:

Re: JDBC Master/Slave Problem Pausing Slave Broker

2007-04-09 Thread James Strachan
The slave needs to be started in a separate thread. How are you deploying ActiveMQ inside JBoss? On 4/9/07, Franz Garsombke <[EMAIL PROTECTED]> wrote: I am trying to setup 2 JBoss instances on different physical machines using ActiveMQ with JDBC Master/Slave. The mechanism seems to work where t

Re: Know the session was closed

2007-04-09 Thread James Strachan
On 4/9/07, astepanenko <[EMAIL PROTECTED]> wrote: Hello, is there a way to know that Session was closed, something like isClosed() method? I cannot find one. So, currently the only way to know the session was closed (either intentionally or due to a network problem) is to get an Exception tryin

Re: clustring activeMQ question

2007-04-09 Thread James Strachan
On 4/9/07, cyborg <[EMAIL PROTECTED]> wrote: >>>Pull out a network cable? Kill a process? if I do that, client will not be able to connect to my broker, so it will not know about the message and won't redirect. I don't get this part... client sending messages doesn't know about other brokers,

Problems Recv. Messages on MDB

2007-04-09 Thread vineetc
Hello, I am trying to use AMQ as a JMS provider and running into problems. Need some help understanding the reason(s). My Env. is AMQ 4.1.1 Geronimo 1.1.1 Spring 1.2.8 MySQL 5.0.24 I have built an EAR with Spring EJB support classes for MDB and i persist messages to MySQL DB. I am using AM

Know the session was closed

2007-04-09 Thread astepanenko
Hello, is there a way to know that Session was closed, something like isClosed() method? I cannot find one. So, currently the only way to know the session was closed (either intentionally or due to a network problem) is to get an Exception trying to use the Session. Thank you, Andrew -- View th

JDBC Master/Slave Problem Pausing Slave Broker

2007-04-09 Thread Franz Garsombke
I am trying to setup 2 JBoss instances on different physical machines using ActiveMQ with JDBC Master/Slave. The mechanism seems to work where the slave broker says: 2007-04-09 12:47:51,582 INFO Attempting to acquire the exclusive lock to become the Master broker The only problem is that the e

Re: clustring activeMQ question

2007-04-09 Thread cyborg
>>>Pull out a network cable? Kill a process? if I do that, client will not be able to connect to my broker, so it will not know about the message and won't redirect. I don't get this part... client sending messages doesn't know about other brokers, right? it sends to one that knows, or it should

Re: AMQ 4.1 loses every other message? -- still fails

2007-04-09 Thread jianxiac
Thanks for the reply. I poked around, and did not see any indication of 2nd broker running. Then instead of running the web-demo example out of box, I started a standalone activeMQ, and configured jetty to talk to it via tcp://localhost:61616 instead of vm://localhost, and still the same mes

Re: AMQ 4.1 loses every other message? -- still fails

2007-04-09 Thread jianxiac
Thanks for the reply. I poked around, and did not see any indication of 2nd broker running. Then instead of running the web-demo example out of box, I started a standalone activeMQ, and configured jetty to talk to it via tcp://localhost:61616 instead of vm://localhost, and still the same mes

Re: Can Multiple Brokers Share a single DB schema

2007-04-09 Thread James Strachan
On 4/9/07, Jim Ronan <[EMAIL PROTECTED]> wrote: Hi all, My architecture is 4 web application servers and a 2 node Oracle RAC cluster. I'd like have a broker running on each Oracle node, with the web applications (JMS message producing clients) load-balanced between the two brokers. I would al

Re: clustring activeMQ question

2007-04-09 Thread James Strachan
On 4/9/07, cyborg <[EMAIL PROTECTED]> wrote: Hi, I'm new to activeMQ, and I guess I don't understand something. I just started activeMQ with failover parameter in activemw.xml file, and looks like both machines are connected. Now, how can I test it to find out if one fails another is going to ge

Problems Recv. Messages on MDB

2007-04-09 Thread vineetc
Hello, I am trying to use AMQ as a JMS provider and running into problems. Need some help understanding the reason(s). My Env. is AMQ 4.1.1 Geronimo 1.1.1 Spring 1.2.8 MySQL 5.0.24 I have built an EAR with Spring EJB support classes for MDB and i persist messages to MySQL DB. I am using AMQ RA

clustring activeMQ question

2007-04-09 Thread cyborg
Hi, I'm new to activeMQ, and I guess I don't understand something. I just started activeMQ with failover parameter in activemw.xml file, and looks like both machines are connected. Now, how can I test it to find out if one fails another is going to get message? How do I fail one queue? If I fail o

IllegalStateException: The Consumer is closed

2007-04-09 Thread Sanjiv Jivan
I have a server that embeds an ActiveMQ broker and exports a Lingo Remotable service. The server often gets into a bad state where tons of exceptions like the ones below are logged to console and CPU is pegged by this endless loop of exceptions. This seems to happen after the server runs for sever

Re: Can Multiple Brokers Share a single DB schema

2007-04-09 Thread Jim Ronan
Ok, after a bit more research and experimentation I understand that this is exactly the master-slave configuration. Sorry to bother ... -- View this message in context: http://www.nabble.com/Can-Multiple-Brokers-Share-a-single-DB-schema-tf3547608s2354.html#a9904385 Sent from the ActiveMQ - User

Can Multiple Brokers Share a single DB schema

2007-04-09 Thread Jim Ronan
Hi all, My architecture is 4 web application servers and a 2 node Oracle RAC cluster. I'd like have a broker running on each Oracle node, with the web applications (JMS message producing clients) load-balanced between the two brokers. I would also have JMS clients (on other servers) consuming m

Re: ActiveMQ-CPP 2.0 RC1 available

2007-04-09 Thread Hiram Chirino
Awesome! On 4/7/07, Nathan Mittler <[EMAIL PROTECTED]> wrote: Hey everyone, It's official ... ActiveMQ-CPP has OpenWire 2.0 support! (finally! :)) We've also found and fixed numerous bugs along the way. I've created a download page here: http://activemq.apache.org/activemq-cpp-20-release.html