Re: [Spam: 5.0] Evaluating Embedded ActiveMQ - questions

2007-03-06 Thread rbector
James.Strachan wrote: > > On 3/6/07, rbector <[EMAIL PROTECTED]> wrote: > >> I am still trying to understand why this is hard to manage if you are >> using >> a database. >> Cant all the participating applications use the same database ? What >> exactly >> is >> the management overhead there ?

Re: Help ! - Broker Hanging up

2007-03-06 Thread rabidgremlin
Would there be a separate buffer per connection ? Otherwise a broken listener would still cause all the others to block... Also with the current release would a slow listener cause all the other listeners to slow down because it is not clearing messages from the buffer fast enough ? Thanks Jon

Re: Help ! - Broker Hanging up

2007-03-06 Thread Hiram Chirino
In the next major version (trunk branch) we have made some major strides in this area so that messages just go to disk on your senario instead of being buffered in memory. But all buffers (even ones on disks) have limits and will eventually be reached. So you have to detect dead clients anyways

Re: Help ! - Broker Hanging up

2007-03-06 Thread rabidgremlin
Oops that should have read: "Yep if you kill off the JVM of the broken listener then" On 3/7/07, rabidgremlin <[EMAIL PROTECTED]> wrote: Hi Hiram, Yep if you kill off the JVM of the broken publisher then things kick back into action Not sure this is good "expected behaviour". A misbehavi

Re: Help ! - Broker Hanging up

2007-03-06 Thread rabidgremlin
Hi Hiram, Yep if you kill off the JVM of the broken publisher then things kick back into action Not sure this is good "expected behaviour". A misbehaving listener should not stop the publisher or other consumers from working. I would have hoped that the connections between the broker and th

Re: Help ! - Broker Hanging up

2007-03-06 Thread Hiram Chirino
if you kill the JVM of the broken listener does the publisher un-block? If so then this is the expected behaviour. The reason for this is that even though the listner is logically broken, (it's not receiving messages anymore), the broker does not know this since it still has an active connection

Help ! - Broker Hanging up

2007-03-06 Thread rabidgremlin
Hi All, I have a production application that receives SOAP "event" messages, converts them into JMS messages and publishes them to a topic. I then have multiple subscribers listening to these "events". Under high loads (500-1000 events a minute) messages stop been published. I continue to receiv

Re: [Spam: 5.0] QueueBrowser with Network of Brokers

2007-03-06 Thread davem
Here is the stack trace: java.lang.NullPointerException at org.apache.activemq.network.DemandForwardingBridgeSupport.configureMessage(DemandForwardingBridgeSupport.java:465) at org.apache.activemq.network.DemandForwardingBridgeSupport.serviceLocalCommand(DemandForwardingBridgeSupp

Re: [Spam: 5.0] How to maximize MDB throughput with ActiveMQ and JBoss?

2007-03-06 Thread kchamber
Thanks for suggestion. Although the prefetch did not do anything (noticeable) in my case. I did discover that for EJB3.0 -- which is what I am doing, that there is a setting in the ejb3-interceptors-aop.xml which in combination of some maxSessions, I was able to get some more MDBs being allocate

RE: active mq and log 4j exceptions

2007-03-06 Thread Suchitha Koneru \(sukoneru\)
I did not configure any log4j.properties file for active MQ . Active MQ uses log 4j implicitly here , I think. -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 1:38 AM To: users@activemq.apache.org Subject: Re: active mq and log 4j exception

Re: Transport failed, attempting to automatically reconnect due to: java.io.EOFException

2007-03-06 Thread Jamie McCrindle
Thanks James, I moved away from failover:tcp://localhost:61616 for reasons that now completely escape me. I'll put that back in and see the problem goes away. cheers, j. On 3/5/07, James Strachan <[EMAIL PROTECTED]> wrote: On 3/5/07, Jamie McCrindle <[EMAIL PROTECTED]> wrote: > Hi all, > > I k

Re: [Spam: 5.0] Embedding ActiveMQ in Sun App Server 9

2007-03-06 Thread James Strachan
On 3/6/07, nicpillinger <[EMAIL PROTECTED]> wrote: Another reason for embedding is the latency - surely if I run it standalone the messages created within the app server have to do an extra network hop to reach activeMQ before being distributed to the clients? If the broker is on the same mach

Re: [Spam: 5.0] Embedding ActiveMQ in Sun App Server 9

2007-03-06 Thread James Strachan
On 3/6/07, nicpillinger <[EMAIL PROTECTED]> wrote: Thanks, I really want to wire up MDBs as well. Is it possible to have MDBs running in the App Server subscribed to the same topic as external activeMQ clients? Sure! ActiveMQ can communicate with many different languages, platforms and protoc

Re: [Spam: 5.0] Embedding ActiveMQ in Sun App Server 9

2007-03-06 Thread nicpillinger
Another reason for embedding is the latency - surely if I run it standalone the messages created within the app server have to do an extra network hop to reach activeMQ before being distributed to the clients? James.Strachan wrote: > > BTW you don't have to run the broker inside any app server

Re: [Spam: 5.0] Embedding ActiveMQ in Sun App Server 9

2007-03-06 Thread nicpillinger
Thanks, I really want to wire up MDBs as well. Is it possible to have MDBs running in the App Server subscribed to the same topic as external activeMQ clients? James.Strachan wrote: > > BTW other options are... > > Deploy the Web Console with an embedded broker (i.e. just deploy the > WAR whi

Re: QueueBrowser with Network of Brokers

2007-03-06 Thread James Strachan
On 3/6/07, davem <[EMAIL PROTECTED]> wrote: Hello, Should a QueueBrowser work against a queue in a broker that is part of a network of brokers in 4.1.0? Sure. If I have two brokers in a network (each with a static network connector to the other) and I browse a queue on one of the two, then

QueueBrowser with Network of Brokers

2007-03-06 Thread davem
Hello, Should a QueueBrowser work against a queue in a broker that is part of a network of brokers in 4.1.0? If I have two brokers in a network (each with a static network connector to the other) and I browse a queue on one of the two, then an INFO message is logged on the other broker that the

Re: [Spam: 5.0] JDBC Master-Slave problem with DB2

2007-03-06 Thread James Strachan
On 3/6/07, Matías Cobiella <[EMAIL PROTECTED]> wrote: Let me see. I'll try to find the correct syntax. Could you tell me which SQL statement currently are using AMQ for DB2 to get the exclusive lock? By turning on debug logging you should see it - but FWIW the current SQL is SELECT * FROM ACT

Re: [Spam: 5.0] JDBC Master-Slave problem with DB2

2007-03-06 Thread Matías Cobiella
Let me see. I'll try to find the correct syntax. Could you tell me which SQL statement currently are using AMQ for DB2 to get the exclusive lock? James.Strachan wrote: > > This looks like a DB2 issue; the SQL we execute to get an exclusive > lock on the database does not appear to work proper

Re: [Spam: 5.0] How to maximize MDB throughput with ActiveMQ and JBoss?

2007-03-06 Thread kchamber
My min and max size parms are set to 100 for this. As in: message-driven-bean default org.jboss.ejb.plugins.jms.JMSContainerInvoker DefaultJMSProvider StdJMSPool true 100 100 But I also wonder if this even applies to M

Journal recovery speed

2007-03-06 Thread naga007
In my application i was using Master-Slave configuration with JounaledJDBC persistence with MySQL as secondary storage. Under high load when I shutdown MasterBroker, the Slave Broker takes a Long time to Startup because of time spent in recovering messages from journal files. I would like to know

Re: Embedding ActiveMQ in Sun App Server 9

2007-03-06 Thread James Strachan
BTW other options are... Deploy the Web Console with an embedded broker (i.e. just deploy the WAR which by default has an embedded broker) http://activemq.apache.org/web-console.html Use the BrokerXmlConfig property on the RAR to force the RAR to include an embedded broker http://cwiki.apache.o

Re: Embedding ActiveMQ in Sun App Server 9

2007-03-06 Thread James Strachan
BTW you don't have to run the broker inside any app server (it doesn't really add much value). Why not just run the broker stand alone? The RAR is only really necessary for wiring MDBs to ActiveMQ. On 3/6/07, nicpillinger <[EMAIL PROTECTED]> wrote: I've deployed the RAR file by dropping in th

Embedding ActiveMQ in Sun App Server 9

2007-03-06 Thread nicpillinger
I've deployed the RAR file by dropping in the autodeploy directory. What next? I cant find any info what I need to do to confgure ActiveMQ as an embedded broker or how connect to ActiveMQ when it's embedded in Sun App Server. Can I still create JMS resources through the Sun App Server admin tool?

Re: [Spam: 5.0] How to maximize MDB throughput with ActiveMQ and JBoss?

2007-03-06 Thread drvillo
How is JBoss configured? did you set the MaximumSize parameters accordingly? As shown here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB Cheers Francesco kchamber wrote: > > I have ActiveMQ integrated in with JBoss according to the instructions > listed on this website, and I am lo

Re: How to stop the program gracefully

2007-03-06 Thread James Strachan
FWIW there's no real need using a separate thread to create a consumer in it if you are using the MessageListener (async) approach. You only need to create separate threads if you are using the sync approach (consumer.receive*() stuff). Subscribing to messages lasts forever; so there is no explic

Re: Asynch errors sending transacted messages to 4.1

2007-03-06 Thread James Strachan
On 3/5/07, John Toohey <[EMAIL PROTECTED]> wrote: Hi, My app is using a single-resource transaction to process messages from a persistent queue. I read the messages in a transaction, process the data, and commit the transaction on success. If my business logic fails, I roll-back the transaction.

Re: How to maximize MDB throughput with ActiveMQ and JBoss?

2007-03-06 Thread James Strachan
On 3/5/07, kchamber <[EMAIL PROTECTED]> wrote: I have ActiveMQ integrated in with JBoss according to the instructions listed on this website, and I am looking at how to maximize the throughput for the MDBs listening on a single non-persistent queue. Specifically, I can have several hundred mess

Re: http tunneling for activemq

2007-03-06 Thread James Strachan
On 3/6/07, Jim Alateras <[EMAIL PROTECTED]> wrote: James, Thanks for the quick response. Does that also negotiate NAT and firewalls. Its using pure HTTP so it will work over firewalls so long as the broker is visible on the internet (so it doesn't do any NAT magic). -- James --- http://r

Re: JDBC Master-Slave problem with DB2

2007-03-06 Thread James Strachan
This looks like a DB2 issue; the SQL we execute to get an exclusive lock on the database does not appear to work propertly - we'll probably have to tweak it for DB2. Fancy helping to figure out the correct DB2 syntax to get an exclusive lock? On 3/5/07, Matías Cobiella <[EMAIL PROTECTED]> wrote:

Re: http tunneling for activemq

2007-03-06 Thread Jim Alateras
James, Thanks for the quick response. Does that also negotiate NAT and firewalls. cheers James Strachan wrote: On 3/6/07, Jim Alateras <[EMAIL PROTECTED]> wrote: I am wondering whether activemq supports http tunneling using a persistent pub-sub model. I want to use pub-sub to aggregate data f

Re: active mq and log 4j exceptions

2007-03-06 Thread James Strachan
What does your log4j.properties file look like? On 3/6/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote: Hello active MQ users , I have an embedded broker running as a servlet listener in Tomcat 5.5.20. I am using active mq 4.0 version . The Java version is 1.5 I g

Re: [Spam: 5.0] Evaluating Embedded ActiveMQ - questions

2007-03-06 Thread James Strachan
On 3/6/07, rbector <[EMAIL PROTECTED]> wrote: Hello James Thanks for your response. Please see below: > 1) We'd prefer to use the embedded version of the broker. All > communicating > applications would use the embedded broker so there would be no *server* > running. I've read that this Topo

Re: http tunneling for activemq

2007-03-06 Thread James Strachan
The HTTP/HTTPS transport was missing from the site, I've just added a page... http://cwiki.apache.org/ACTIVEMQ/http-and-https-transports-reference.html On 3/6/07, James Strachan <[EMAIL PROTECTED]> wrote: On 3/6/07, Jim Alateras <[EMAIL PROTECTED]> wrote: > I am wondering whether activemq suppo

Re: http tunneling for activemq

2007-03-06 Thread James Strachan
On 3/6/07, Jim Alateras <[EMAIL PROTECTED]> wrote: I am wondering whether activemq supports http tunneling using a persistent pub-sub model. I want to use pub-sub to aggregate data from distributed sites across the internet. Yes. There's a HTTP transport that ActiveMQ can communicate over; so y

http tunneling for activemq

2007-03-06 Thread Jim Alateras
I am wondering whether activemq supports http tunneling using a persistent pub-sub model. I want to use pub-sub to aggregate data from distributed sites across the internet. cheers