daft question(s) about network of brokers

2007-03-14 Thread facboy
I'm trying to setup a network of brokers here...currently running 2 instances of jboss with ActiveMQ embedded. both have virtually the same configuration (including the same brokerName). if i configure the brokers for multicast discovery and send a message to a topic on one of the brokers, the o

Re: [Spam: 5.0] Two brokers when embedding in Jboss

2007-03-14 Thread Hiram Chirino
On 3/14/07, Jan Arend Jansen <[EMAIL PROTECTED]> wrote: James, Sugestion 1 did the trick. I changed the ra.xml from vm://localhost to tcp://localhost:61616 and now I just have the embedded broker. great! I failed to test your second suggestion with the vm://nameOfYourBroker. Does this mean

ActiveMQ Applet

2007-03-14 Thread NJ No1
Hi, Ive been trying to get an AJAX implementation of an ActiveMQ listener working in a browser for a while now and it works very intermittently. I followed the steps outlined in http://activemq.apache.org/ajax.html and it works the first time I load the page but after I do a refresh of the page i

Re: [Spam: 5.0] Two brokers when embedding in Jboss

2007-03-14 Thread Jan Arend Jansen
James, Sugestion 1 did the trick. I changed the ra.xml from vm://localhost to tcp://localhost:61616 and now I just have the embedded broker. I failed to test your second suggestion with the vm://nameOfYourBroker. Does this mean the broker-config.xml needs a transportConnector configured like so

Re: [Spam: 5.0] Large message issue with default activemq config

2007-03-14 Thread RickardS
This *is* the 4.2-SNAPSHOT (13 march) release. (I did send that info in a followup - sorry for the confusion). Maybe I should file a Jira on this? The initial reason for me using the 4.2 snapshot in the first place, was that I wanted to verify another fix that was done after 4.1.0. Now, I just

RE: ActiveMQ with Sybase for persistence

2007-03-14 Thread Christopher . Mathrusse
Sure. I can give it a try and see if it works.   Thanks for the quick turn around on this. With a bit of luck all will work well. From: "James Strachan" <[EMAIL PROTECTED]> [mailto:"James Strachan" <[EMAIL PROTECTED]>] Sent: Wednesday, March 14, 2007 1:00 PMTo: "Christopher.MathrusseCc:

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-14 Thread garima015
when i am manually shutting down the broker 1 my application is getting connected to second broker but console of first broker is showing exception.It does not have a clean exit "WARN DemandForwardingBridge - Caught exception from local start java.io.IOException: Transport disposed." Is it

Re: ActiveMQ with Sybase for persistence

2007-03-14 Thread James Strachan
I've just raised a JIRA to track this... http://issues.apache.org/activemq/browse/AMQ-1204 and have commited a patch using "DECIMAL" as the long integer and using the SQL statement "LOCK TABLE foo IN EXCLUSIVE MODE" for the exclusive lock. Do you want to try tomorrow's 4.2-SNAPSHOT build to see

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-14 Thread garima015
when i am manually shutting down the broker 1 my application is getting connected to second broker but console of first broker is showing exception.It does not have a clean exit WARN DemandForwardingBridge - Caught exception from local start java.io.IOException: Transport disposed. I

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-14 Thread garima015
when i am manually shutting down the broker 1 my application is getting connected to second broker but console of first broker is showing exception.It does not have a clean exit WARN DemandForwardingBridge - Caught exception from local start java.io.IOException: Transport disposed. Is it

embedded network of brokers

2007-03-14 Thread Suchitha Koneru \(sukoneru\)
Hello Active Mq Users , Can we have an embedded network of brokers ? Our application uses embedded broker started by a servlet context listener. The servlet context listener is started by Tomcat 5.5.20 To provide HA of brokers , just in case the embedded broker goes down . If possib

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-14 Thread James Strachan
On 3/14/07, garima015 <[EMAIL PROTECTED]> wrote: I have one more problem related to this I am giving the url as BROKER_IP_ADDRESS=failover:(tcp://172.31.19.209:61616,tcp://172.31.19.210:61616)?randomize=false in my configuration file which is read by my Producer class for activemq connection. I

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-14 Thread garima015
I have one more problem related to this I am giving the url as BROKER_IP_ADDRESS=failover:(tcp://172.31.19.209:61616,tcp://172.31.19.210:61616)?randomize=false in my configuration file which is read by my Producer class for activemq connection. I want that it should connect to second broker in c

Re: [Spam: 5.0] ibiblio - maven2

2007-03-14 Thread James Strachan
On 3/14/07, Danilo Tuler <[EMAIL PROTECTED]> wrote: > unfortunately we are waiting for the Incubator to decide where to put > maven 2 releases of incubated projects. Is this issue resolved? Is there any issue raised at jira related to this? The links to the maven repos are on the download page

RE: ActiveMQ with Sybase for persistence

2007-03-14 Thread Christopher . Mathrusse
For a large integer you can use the numeric data type. Per the Sybase ASE documentation for ASE 12.5: http://manuals.sybase.com/onlinebooks/group-as/asg1250e/sqlug/@Generic__BookTextView/15426;pt=15426#X   Datatypes by category Synonyms Range

Re: [Spam: 5.0] ibiblio - maven2

2007-03-14 Thread Danilo Tuler
> unfortunately we are waiting for the Incubator to decide where to put > maven 2 releases of incubated projects. Is this issue resolved? Is there any issue raised at jira related to this? Thanks, Danilo -- View this message in context: http://www.nabble.com/ibiblio---maven2-tf2044709s2354.ht

Re: [Spam: 5.0] Large message issue with default activemq config

2007-03-14 Thread James Strachan
On 3/14/07, Thomas Gagné <[EMAIL PROTECTED]> wrote: We have a similar problem with very large messages > 1MB and built a stream over them so that whenever the buffer hits 20KB it flushes the message to the client with a header indicating there's more. That allows the client to construct a stream

Re: [Spam: 5.0] Large message issue with default activemq config

2007-03-14 Thread Thomas Gagné
We have a similar problem with very large messages > 1MB and built a stream over them so that whenever the buffer hits 20KB it flushes the message to the client with a header indicating there's more. That allows the client to construct a stream on their queue and read the response in 20KB chunks.

Re: [Spam: 5.0] after some time running, Stomp client stops receiving new messages

2007-03-14 Thread James Strachan
On 3/14/07, xavi <[EMAIL PROTECTED]> wrote: you mean it's not possible to send keep alive commands from the Stomp client? Its more that the Stomp protocol does not have keep alive commands. If it is, could you give me a hint about how to send these commands? The best bet is just to keep s

Re: [Spam: 5.0] Large message issue with default activemq config

2007-03-14 Thread Hiram Chirino
Hi, There has to be some queue/topic using up the memory buffers of the broker. I would look all the subscriptions as see if any of them have not acked back messages. On 3/14/07, RickardS <[EMAIL PROTECTED]> wrote: OK, I raised the usageManager increased jvm heap limit, but that only postpone

Re: [Spam: 5.0] Distributed queues

2007-03-14 Thread garima015
Thanks for ur reply.It was of gr8 help James.Strachan wrote: > > i've updated the FAQ a bit more on this area to try clear up some of > the confusion... > > http://cwiki.apache.org/ACTIVEMQ/how-do-i-configure-distributed-queues-or-topics.html > > > On 3/14/07, James Strachan <[EMAIL PROTECT

Re: [Spam: 5.0] after some time running, Stomp client stops receiving new messages

2007-03-14 Thread xavi
you mean it's not possible to send keep alive commands from the Stomp client? If it is, could you give me a hint about how to send these commands? Thank you very much for your help. xavi James.Strachan wrote: > > On 3/14/07, xavi <[EMAIL PROTECTED]> wrote: >> Hello again, >> >> it seems that

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-14 Thread James Strachan
On 3/14/07, garima015 <[EMAIL PROTECTED]> wrote: Thanks for reply.But how the two borkers will have the queues. When connecting to one the queues are getting created on it but when connected to second one on failure there are no queue on that. Does that need to implement master slave broker.Does

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-14 Thread garima015
Thanks for reply.But how the two borkers will have the queues. When connecting to one the queues are getting created on it but when connected to second one on failure there are no queue on that. Does that need to implement master slave broker.Does it require any database or it will use derby by de

Re: [Spam: 5.0] Large message issue with default activemq config

2007-03-14 Thread James Strachan
On 3/14/07, RickardS <[EMAIL PROTECTED]> wrote: OK, I raised the usageManager increased jvm heap limit, but that only postpones the time for block. Looking at the values presented about the queue through JMX, the consumer seems to be up to speed and the queue is close to 0 all the time, but "mem

Re: [Spam: 5.0] after some time running, Stomp client stops receiving new messages

2007-03-14 Thread James Strachan
On 3/14/07, xavi <[EMAIL PROTECTED]> wrote: Hello again, it seems that we might have found the problem. The ISP where we have our ActiveMQ server hosted tells us that they have some protection system that defines some inactivity timeouts at TCP session level. The timeout for the port that we are

Re: [Spam: 5.0] Large message issue with default activemq config

2007-03-14 Thread RickardS
OK, I raised the usageManager increased jvm heap limit, but that only postpones the time for block. Looking at the values presented about the queue through JMX, the consumer seems to be up to speed and the queue is close to 0 all the time, but "memoryPercentageUsed" is always increasing and eventu

Re: [Spam: 5.0] after some time running, Stomp client stops receiving new messages

2007-03-14 Thread xavi
Hello again, it seems that we might have found the problem. The ISP where we have our ActiveMQ server hosted tells us that they have some protection system that defines some inactivity timeouts at TCP session level. The timeout for the port that we are using is set to 15 minutes, and this matches

Re: Distributed queues

2007-03-14 Thread James Strachan
i've updated the FAQ a bit more on this area to try clear up some of the confusion... http://cwiki.apache.org/ACTIVEMQ/how-do-i-configure-distributed-queues-or-topics.html On 3/14/07, James Strachan <[EMAIL PROTECTED]> wrote: On 3/14/07, garima015 <[EMAIL PROTECTED]> wrote: > > Hi, > Can anyon

Broker issue regarding queue

2007-03-14 Thread garima015
Hi, I have a set up of two brokers in network through the URL failover:(tcp://host1:61616,tcp://host2:61616)?randomize=false When i am shutting down the first broker my producers and consumer classes are getting connected to second broker.But only the temporary queues are retained . My perman

Re: [Spam: 5.0] Two brokers when embedding in Jboss

2007-03-14 Thread facboy
i'm having the same issue. in my case it seems to be interfering with the operation of the 'proper' broker. why is it starting a second broker? Jan Arend Jansen wrote: > > Hi, > > I've embedded activemq 4.1.0 into jboss 4.0.5 by using the RAR. I've > modified the ra.xml to start an embedded

Distributed queues

2007-03-14 Thread garima015
Hi, Can anyone tell me how to configure distributed queues in an etwork of two broker. is it by activemq.xml or are they craedted on fly.If so how? Thanks -- View this message in context: http://www.nabble.com/Distributed-queues-tf3402917s2354.html#a9477080 Sent from the ActiveMQ - User mailing

Re: Distributed queues

2007-03-14 Thread James Strachan
On 3/14/07, garima015 <[EMAIL PROTECTED]> wrote: Hi, Can anyone tell me how to configure distributed queues in an etwork of two broker. is it by activemq.xml or are they craedted on fly.If so how? Here's how to create store-and-forward destinations... http://activemq.apache.org/networks-of-bro

Re: Broker issue regarding queue

2007-03-14 Thread James Strachan
On 3/14/07, garima015 <[EMAIL PROTECTED]> wrote: Hi, I have a set up of two brokers in network through the URL failover:(tcp://host1:61616,tcp://host2:61616)?randomize=false Store & forward networks are setup by connecting two brokers together. The failover: URI is for the client to fail over

Re: Two brokers when embedding in Jboss

2007-03-14 Thread James Strachan
On 3/14/07, James Strachan <[EMAIL PROTECTED]> wrote: On 3/11/07, Jan Arend Jansen <[EMAIL PROTECTED]> wrote: > > Hi, > > I've embedded activemq 4.1.0 into jboss 4.0.5 by using the RAR. I've > modified the ra.xml to start an embedded broker. I use EJB3, like so: > > @MessageDriven( >

Re: Two brokers when embedding in Jboss

2007-03-14 Thread James Strachan
On 3/11/07, Jan Arend Jansen <[EMAIL PROTECTED]> wrote: Hi, I've embedded activemq 4.1.0 into jboss 4.0.5 by using the RAR. I've modified the ra.xml to start an embedded broker. I use EJB3, like so: @MessageDriven( name="jms/EventListener", activationConfig =

Re: [Spam: 5.0] Master Slave locking with MYSQL is not working with 4.1.1

2007-03-14 Thread naga007
thanks, will wait for the new build tommorow and give it a shot. James.Strachan wrote: > > Thanks. So it looks like AMQ-992 wasn't backported to the 4.1 branch > afterall (it was a JIRA editing bug :), so its currently only > available in 4.2-SNAPSHOT. > > I've just backported the code to the

Re: [Spam: 5.0] Master Slave locking with MYSQL is not working with 4.1.1

2007-03-14 Thread James Strachan
Thanks. So it looks like AMQ-992 wasn't backported to the 4.1 branch afterall (it was a JIRA editing bug :), so its currently only available in 4.2-SNAPSHOT. I've just backported the code to the 4.1 branch so it should appear in tomorrows nightly build. (Or if you're really keen you could try bui

Re: [Spam: 5.0] Master Slave locking with MYSQL is not working with 4.1.1

2007-03-14 Thread naga007
Here is the log on master Loading message broker from: xbean:activemq.xml INFO BrokerService - ActiveMQ 4.1.1 JMS Message Broker (localhost) is starting INFO BrokerService - For help or more information please see: http://incubator.apache.org/activemq/ INFO Man

Re: [Spam: 5.0] Master Slave locking with MYSQL is not working with 4.1.1

2007-03-14 Thread James Strachan
On 3/14/07, naga007 <[EMAIL PROTECTED]> wrote: Thare are no errors, but both become the master. Could you post the log please? I wonder which jdbc driver is being used (we try to auto-detect the driver and use the correct JDBC adapter based on the driver name) -- James --- http://radio.we

Re: [Spam: 5.0] Master Slave locking with MYSQL is not working with 4.1.1

2007-03-14 Thread naga007
Thare are no errors, but both become the master. James.Strachan wrote: > > Is there any kind of error in the log; or do both brokers just become > the master? > > On 3/14/07, naga007 <[EMAIL PROTECTED]> wrote: >> >> >> March 8th and used the following url >> http://people.apache.org/~chirin

Re: [Spam: 5.0] Master Slave locking with MYSQL is not working with 4.1.1

2007-03-14 Thread James Strachan
Is there any kind of error in the log; or do both brokers just become the master? On 3/14/07, naga007 <[EMAIL PROTECTED]> wrote: March 8th and used the following url http://people.apache.org/~chirino/activemq-4.1.1-RC1/maven2/org/apache/activemq/apache-activemq/4.1.1/ James.Strachan wrote: >

Re: [Spam: 5.0] Master Slave locking with MYSQL is not working with 4.1.1

2007-03-14 Thread naga007
March 8th and used the following url http://people.apache.org/~chirino/activemq-4.1.1-RC1/maven2/org/apache/activemq/apache-activemq/4.1.1/ James.Strachan wrote: > > On 3/14/07, naga007 <[EMAIL PROTECTED]> wrote: >> >> Iam using mysql 5.1 and it seems like master slave lock issue is still >> n

Re: Large message issue with default activemq config

2007-03-14 Thread James Strachan
On 3/14/07, RickardS <[EMAIL PROTECTED]> wrote: Hello, I tried to run the Producer and Consumer examples, but using a message size of 1MB (by changing the build.xml:messageSize=100). When I run the (ant producer/ant consumer) with the default activemq configuration, the producer sends 6 mes

Re: [Spam: 5.0] Large message issue with default activemq config

2007-03-14 Thread RickardS
Oh I forgot. I think I noticed a similar effect in an earlier release a couple of months ago, so today in this test, I used apache-activemq-4.2-20070313.102814-31.zip . Best regards, Rickard RickardS wrote: > > Hello, > > I tried to run the Producer and Consumer examples, but using a message

Re: ActiveMQ with Sybase for persistence

2007-03-14 Thread Thomas Gagné
Couldn't you add a user-defined type called BIGINT? -- Visit , or for more great reading.

Large message issue with default activemq config

2007-03-14 Thread RickardS
Hello, I tried to run the Producer and Consumer examples, but using a message size of 1MB (by changing the build.xml:messageSize=100). When I run the (ant producer/ant consumer) with the default activemq configuration, the producer sends 6 messages, and the consumer receives 4 messages. Afte

Re: Limiting discovery

2007-03-14 Thread James Strachan
On 3/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: We have multiple brokers divided into "communities" (say, A, B etc). I would like to use discovery and make sure that brokers A1, A2, A3, ... do not discover brokers B1, B2, B3 etc and so on. Is there a way to accomplish this? I am usin

Re: Master Slave locking with MYSQL is not working with 4.1.1

2007-03-14 Thread James Strachan
On 3/14/07, naga007 <[EMAIL PROTECTED]> wrote: Iam using mysql 5.1 and it seems like master slave lock issue is still not fixed on 4.1.1 latest snapshot. would appreciate any feedback from activemq guys. Which date of the 4.1-SNAPSHOT did you try? -- James --- http://radio.weblogs.com/011

Re: Active MQ Version

2007-03-14 Thread James Strachan
On 3/13/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote: Hello Active MQ Users , I am using active mq 4.0.2, along with Java 1.5.09 and Tomcat 5.5.20 . What is the most stable version of active mq , to which I can upgrade to ? . Our application uses Topic Publishers and

Re: ActiveMQ with Sybase for persistence

2007-03-14 Thread James Strachan
On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I've been trying to get this to work still and I now see an exception pertaining to BIGINT. It appears that Sybase ASE only began support for BIGINT in version 15. I'm stuck on 12.0.0.8. Any suggestions as to a workaround for this? Also I s