Failover Functionality - Master/Slave

2007-02-08 Thread spiderman2
I'm running the JDBC Master/Slave example as defined on http://activemq.apache.org/jdbc-master-slave.html Web Docs Once they're both running (and logs show they're aware of each other), I put 100 messages on the Master's Queue. When I shut the Master down, I would expect to see these messages a

Re: JCA adapter and Spring 2 application conflict in JBoss

2007-02-08 Thread James Strachan
On 2/8/07, Luciano <[EMAIL PROTECTED]> wrote: It tried to insulate my war using something like this com.example:loader=myap.war java2ParentDelegation=false but without success. It seems that JBoss can insulate ear, war and sar but i didn't find any way of insulating the rar http

Re: TransportListener vs ExceptionListener

2007-02-08 Thread James Strachan
On 2/8/07, igor_b <[EMAIL PROTECTED]> wrote: Hello, i need to make notification to my user if connection to the server is dropped or couldn't be established during startup. I found out that i could use TransportListener or ExceptionListener interface. Can i really use either of them? If yes, w

Re: Async Exception, multiple threads, one connection

2007-02-08 Thread Christopher G. Stach II
Paul French wrote: > > Okay, I switched on garbage collection output using the flag -verbosegc and > the Aysnc failure on the client does coincide with a FULL GC event. On my > client system I am close to the max heap size nearly all the time. The FULL > GC takes about 25 seconds to complete. All

Re: Async Exception, multiple threads, one connection

2007-02-08 Thread James Strachan
So yes - its looking like the connection is being disconnected due to inactivity. You could increase the inactivity timeout to something much bigger (or even disable it) to avoid the broker closing your connections. Whether the connection is closed or not, with failover: all sessions/producers/co

Re: Async Exception, multiple threads, one connection

2007-02-08 Thread Paul French
Okay, I switched on garbage collection output using the flag -verbosegc and the Aysnc failure on the client does coincide with a FULL GC event. On my client system I am close to the max heap size nearly all the time. The FULL GC takes about 25 seconds to complete. All client threads are suspended

Re: High Availability and Network Of Brokers

2007-02-08 Thread James Strachan
On 2/8/07, spiderman2 <[EMAIL PROTECTED]> wrote: I've read about the shared database (known to be slow) and shared file system, SAN, (quite expensive HW). But where can I read about replicating messages. The 'Pure Master Slave' is the third option... http://activemq.apache.org/masterslave.html

Re: High Availability and Network Of Brokers

2007-02-08 Thread spiderman2
I've read about the shared database (known to be slow) and shared file system, SAN, (quite expensive HW). But where can I read about replicating messages. I was under the impression that Brokers currently do *not* replicate messages under a Network Of Brokers scenario. Only a M-S scenario. How ca

Re: Async Exception, multiple threads, one connection

2007-02-08 Thread Paul French
Hold fire on this one, it could be a garbage collection problem causing the long pause. I've got parallel garbage collection switched on so I would not expect all threads to stop so it is a strange one. Paul French wrote: > > For me this is a continuation of. > > http://ww

TransportListener vs ExceptionListener

2007-02-08 Thread igor_b
Hello, i need to make notification to my user if connection to the server is dropped or couldn't be established during startup. I found out that i could use TransportListener or ExceptionListener interface. Can i really use either of them? If yes, what is the difference and which one is better?

Re: 4.1 source location?

2007-02-08 Thread Sanjiv Jivan
The location seems to have changed from https://svn.apache.org/repos/asf/incubator/activemq/tags/activemq-4.1.0 to https://svn.apache.org/repos/asf/activemq/tags/activemq-4.1.0/ Can this be updated in the 4.1.0 release notes ( http://activemq.apache.org/activemq-410-release.html) ? Thanks, Sa

Async Exception, multiple threads, one connection

2007-02-08 Thread Paul French
For me this is a continuation of. http://www.nabble.com/Async-Exception%3A-Broken-Pipe-t3160498s2354.html#a8765808 ...but I have now taking the advice from the above post and have refined the problem I am having. Environment I am now using the latest 4.2 snapshot as requested (29th Jan 200

Re: JCA adapter and Spring 2 application conflict in JBoss

2007-02-08 Thread Luciano
It tried to insulate my war using something like this com.example:loader=myap.war java2ParentDelegation=false but without success. It seems that JBoss can insulate ear, war and sar but i didn't find any way of insulating the rar http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadi

Setting up a fast and lossless clients

2007-02-08 Thread MqUser
I need to set up many fast and lossless clients (producers) on different computers. Each has to be able to create message quickly, not lose them, and move on to the next operation. That would mean each has to have an embedded broker with persistent messages. On the consumer side, should one con

Re: High Availability and Network Of Brokers

2007-02-08 Thread James Strachan
On 2/8/07, spiderman2 <[EMAIL PROTECTED]> wrote: But I'm concerned with respect to scalability. I'm assuming the Network of Brokers was created such that the deployment could scale to a large number of consumers. A single broker can easily handle many thousands of consumers. What kind of sc

Re: High Availability and Network Of Brokers

2007-02-08 Thread spiderman2
But I'm concerned with respect to scalability. I'm assuming the Network of Brokers was created such that the deployment could scale to a large number of consumers. What kind of scalability issues/limits will I have with a Master/Slave scenario? Thanks! Shawn James.Strachan wrote: > > Yes, Ma

Re: Cannot create destinations at startup when they have authorization requirements

2007-02-08 Thread James Strachan
On 2/8/07, Carlos <[EMAIL PROTECTED]> wrote: Hi. I've tried to download a 4.2 snapshot, but the latest one seems to be from 2007-01-21. I've followed the SNAPSHOTS link from http://activemq.apache.org/download.html to http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apach

Re: Cannot create destinations at startup when they have authorization requirements

2007-02-08 Thread Carlos
Hi. I've tried to download a 4.2 snapshot, but the latest one seems to be from 2007-01-21. I've followed the SNAPSHOTS link from http://activemq.apache.org/download.html to http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/4.2-incubator-SNAPSHOT/ I'm checkin

Re: JCA adapter and Spring 2 application conflict in JBoss

2007-02-08 Thread James Strachan
So its sounding like some kinda wacky classloader issue. Any chance you could deploy the RAR ina different classloader from your WAR? On 2/8/07, Luciano <[EMAIL PROTECTED]> wrote: I don't use xbean-spring in my application, but however I reproduced the error with an application example of the

Re: JCA adapter and Spring 2 application conflict in JBoss

2007-02-08 Thread Luciano
I don't use xbean-spring in my application, but however I reproduced the error with an application example of the Spring 2.0.2 distribution the jpetstore. To try yourself these are the steps: 1)Install a fresh Jboss (I tested 4.0.3 and 4.0.5) and verify it starts without problems 2)Stop JBoss 3)P

Re: Howto create queues? in activemq and config for

2007-02-08 Thread James Strachan
On 2/8/07, Dima <[EMAIL PROTECTED]> wrote: How to create inbound and outbound queues in activemq and config forwarding from inbound queue to outbound one??? http://activemq.apache.org/how-do-i-create-new-destinations.html -- James --- http://radio.weblogs.com/0112098/

Re: Howto create queues? in activemq and config for

2007-02-08 Thread Dima
sorry for wrong subject Dima wrote: > > How to create inbound and outbound queues in activemq and config > forwarding from inbound queue to outbound one??? > -- View this message in context: http://www.nabble.com/Howto-create-queues--in-activemq-and-config-for-tf3192658s2354.html#a8863307

Howto create queues? in activemq and config for

2007-02-08 Thread Dima
How to create inbound and outbound queues in activemq and config forwarding from inbound queue to outbound one??? -- View this message in context: http://www.nabble.com/Howto-create-queues--in-activemq-and-config-for-tf3192658s2354.html#a8863288 Sent from the ActiveMQ - User mailing list archive

Re: JCA adapter and Spring 2 application conflict in JBoss

2007-02-08 Thread James Strachan
On 2/8/07, Luciano <[EMAIL PROTECTED]> wrote: If you are referring to the ActiveMQ JCA rar, as I stated in my original post, I already use 4.1.0 version. The 4.0.3 I talked about is the Jboss version (and the last JBoss is 4.0.5). Sorry - I misread your mail :) So the stack trace you provide

Re: JCA adapter and Spring 2 application conflict in JBoss

2007-02-08 Thread Luciano
If you are referring to the ActiveMQ JCA rar, as I stated in my original post, I already use 4.1.0 version. The 4.0.3 I talked about is the Jboss version (and the last JBoss is 4.0.5). Any further idea? Thanks Luciano James.Strachan wrote: > > IIRC 4.0.3 does not support Spring 2 namespaces.

Re: JCA adapter and Spring 2 application conflict in JBoss

2007-02-08 Thread James Strachan
IIRC 4.0.3 does not support Spring 2 namespaces. Try 4.1.0 On 2/7/07, Luciano <[EMAIL PROTECTED]> wrote: If I try to deploy the ActiveMQ JCA resource adapter (activemq-rar-4.1.0-incubator.rar) side by side with a Spring 2 war in JBoss 4.0.3 , I get the following error on server startup: ERROR

Re: High Availability and Network Of Brokers

2007-02-08 Thread James Strachan
On 2/8/07, James Strachan <[EMAIL PROTECTED]> wrote: Yes, Master/Slave is the answer for high availability and to avoid message loss if a broker dies. Slight correction - killing and restarting a regular broker with persistent messaging will not loose messages. Its if you loose the box on which

Re: High Availability and Network Of Brokers

2007-02-08 Thread James Strachan
Yes, Master/Slave is the answer for high availability and to avoid message loss if a broker dies. On 2/7/07, spiderman2 <[EMAIL PROTECTED]> wrote: Hi, I'm a New user. I'd like to use activemq for a Network Of Brokers / Clustered deployment. The catch is that I can't afford to loose a single m

Re: ActiveMQ Topic Memory Usage Requirements

2007-02-08 Thread James Strachan
There's a certain amount of RAM usage for the broker itself, then a bit per destination used (as there are various data structures to deal with connections, consumers, destinations etc) but they are fairly lightweight. Then the broker tends to keep around a number of messages in RAM as they are be