Re: [Spam: 5.0] class not found org.apache.activemq.web.MessageServlet

2007-02-23 Thread pandi79
Thanks for the reply. I am using ActiveMQ 4.1.0 . I set the jar file activemq-web-4.1.0-incubator.jar in the class path and tried to start the broker. I guess the broker is not able to parser the tag which I've given in the activemq.xml. It throws error (ClassPathXmlApplicationContext.java:161)

Re: [Spam: 5.0] Network of brokers configuration ...

2007-02-23 Thread David Borja
Hi .. I still get the same problem any other idea?? On 2/23/07, naga007 <[EMAIL PROTECTED]> wrote: change this in includedestinations and try to see if t works. David Borja-2 wrote: > > Hi ... > > This is my scenario : > > I hava a broker called "dllo-aborja" and other one calle

Re: [Spam: 5.0] Memory usage increase after client power failure

2007-02-23 Thread eccrowe
I went ahead and applied Tom's patch to 4.1 and it does appear to help matters. Using the jmx-console I see that clients are eventually removed upon power outage; but, it is taking approximately 15 minutes for that to occur. Was doing some debugging within the 4.1 code and noticed that the soTim

Re: [Spam: 5.0] Network of brokers configuration ...

2007-02-23 Thread naga007
change this in includedestinations and try to see if t works. David Borja-2 wrote: > > Hi ... > > This is my scenario : > > I hava a broker called "dllo-aborja" and other one called "localhost2". > > I need that all messages that i put on some queue in dllo-aborja broker, > forward to l

Re: Network of brokers configuration ...

2007-02-23 Thread David Borja
Some ideas?? Thanx!!! On 2/23/07, David Borja <[EMAIL PROTECTED]> wrote: This is the "dllo-aborja" broker config file: http://activemq.org/config/1.0 ">

Re: Exception when running an embedded broker under java 1.4

2007-02-23 Thread David Borja
Specifically this jar ... mx4j-remote.jar On 2/23/07, David Borja <[EMAIL PROTECTED]> wrote: Hi ... you need to download and set classpath with the mx4j jars: http://sourceforge.net/project/showfiles.php?group_id=47745 bye ... On 2/22/07, osian <[EMAIL PROTECTED]> wrote: > > > Hi all, >

Re: Exception when running an embedded broker under java 1.4

2007-02-23 Thread David Borja
Hi ... you need to download and set classpath with the mx4j jars: http://sourceforge.net/project/showfiles.php?group_id=47745 bye ... On 2/22/07, osian <[EMAIL PROTECTED]> wrote: Hi all, I am getting the following exception when running ActiveMQ4.1 under java 1.4.2_06 java.lang.NoClassD

Re: Network of brokers configuration ...

2007-02-23 Thread David Borja
This is the "dllo-aborja" broker config file: http://activemq.org/config/1.0";>

Discovery of Brokers in 4.1.0

2007-02-23 Thread Rohit Bahl
Hi I am trying to create a a network of two brokers running on seperate machines by using discovery url (i.e. multicast) to discover each other. Somehow, both brokers are not able to locate each other. I am using the version 4.1.0 It works if I specify a static url in the Network Connector ele

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread Christopher G. Stach II
Vadim Pesochinsky wrote: > You do not need to set it up, if queue does not exist when you connect to it, > it will be created. I think by default the is > used, i.e. all expired messages from all queues go to the same ActiveMQ.DLQ > queue. The individual strategy has this nice feature where it ch

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread Vadim Pesochinsky
You do not need to set it up, if queue does not exist when you connect to it, it will be created. I think by default the is used, i.e. all expired messages from all queues go to the same ActiveMQ.DLQ queue. -- View this message in context: http://www.nabble.com/Expired-Message-Listener-tf327091

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread James Strachan
Use the 4.2-SNAPSHOT, not the 4.2-incubator-SNAPSHOT. (Now that we have graduated from the Incubator we no longer use incubator in version numbers) On 2/23/07, manav <[EMAIL PROTECTED]> wrote: Any ideas if this is fixed in any latest development build? I see a 4.2-SNAPSHOT and 4.2-incubator-sn

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread Rob Davies
This isn't fixed in 4.2 yet either I'm afraid :( On 23 Feb 2007, at 18:13, manav wrote: Any ideas if this is fixed in any latest development build? I see a 4.2-SNAPSHOT and 4.2-incubator-snapshot under the 'source' link.. Not sure how 'incubator' build is different from the other one.. but

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread rajdavies
This doesn't work correctly in 4.x at the moment. Please could you raise a jira issue for it cheers, Rob manav wrote: > > We recently migrated our application from ActiveMQ3.2.1 to ActiveMQ 4.1.0. > > We were using a listener for Expired messages (after timetolive) when we > used ActiveMQ 3.

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread Christopher G. Stach II
manav wrote: > Any ideas if this is fixed in any latest development build? I see a > 4.2-SNAPSHOT and 4.2-incubator-snapshot under the 'source' link.. Not sure > how 'incubator' build is different from the other one.. but am ready to try > anything if it is fixed... > > > Christopher G. Stach

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread manav
Any ideas if this is fixed in any latest development build? I see a 4.2-SNAPSHOT and 4.2-incubator-snapshot under the 'source' link.. Not sure how 'incubator' build is different from the other one.. but am ready to try anything if it is fixed... Christopher G. Stach II wrote: > > manav wrote

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread Christopher G. Stach II
manav wrote: > Thanks for this message.. Could you please elaborate on this.. > > Do we need to setup a queue named "ActiveMQ.DLQ" and point all our > destinations that could have messages expired to the "ActiveMQ.DLQ" queue? > Do you have any specific pointers / examples for this? > > Apprecia

Re: Network of brokers configuration ...

2007-02-23 Thread Adrian Co
Could paste the config of both brokers? David Borja wrote: Hi ... I have a MessageListener listening on broker "localhost2" on a queue called "jms/bridge". With the configuration above, i send a message to a queue called "jms/bridge" on broker "dllo-aborja". The message listener does't recei

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread manav
Thanks for this message.. Could you please elaborate on this.. Do we need to setup a queue named "ActiveMQ.DLQ" and point all our destinations that could have messages expired to the "ActiveMQ.DLQ" queue? Do you have any specific pointers / examples for this? Appreciate any help... Manav V

Re: Network of brokers configuration ...

2007-02-23 Thread David Borja
Hi ... I have a MessageListener listening on broker "localhost2" on a queue called "jms/bridge". With the configuration above, i send a message to a queue called "jms/bridge" on broker "dllo-aborja". The message listener does't receive anything ... why ?? Thanx!! On 2/23/07, Adrian Co <[EMAI

Re: Network of brokers configuration ...

2007-02-23 Thread Adrian Co
AFAIK, by default the network connector uses a demand forwarding bridge, and will forward messages only when there is an interested consumer on the remote broker only. I know there is a standard forwarding bridge, but I'm not sure how to configure it in xbean. Sorry. :( David Borja wrote:

Re: [Spam: 5.0] Non-Persistent Topic not getting messages

2007-02-23 Thread James Strachan
On 2/23/07, GaryG <[EMAIL PROTECTED]> wrote: When you say "client" are you talking about the client connection should automatically send keep-alive pings, or is this something our code has to do manually? Sorry I mean that the internals of the ActiveMQ JMS Client should do the keep-alive stuff

Re: [Spam: 5.0] Non-Persistent Topic not getting messages

2007-02-23 Thread GaryG
When you say "client" are you talking about the client connection should automatically send keep-alive pings, or is this something our code has to do manually? James.Strachan wrote: > > Note that the ActiveMQ client should send keep-alive pings to keep > connections alive if a JMS connection

Re: Integrating Apache HttpServer and ActiveMQ

2007-02-23 Thread Brian McCallister
On Feb 23, 2007, at 8:49 AM, James Strachan wrote: On 2/23/07, pandi79 <[EMAIL PROTECTED]> wrote: Hi, Does Apache provide the feature to integrate Apache Http server to ActiveMQ? My requirement is : I need to plugin active mq component into apache webserver. Asusem that I have a html fo

Re: Too many open files exception on broker

2007-02-23 Thread Christopher G. Stach II
GaryG wrote: > A co-worker here recommended upping the open file limit before I bring up > the Broker JVM with these commands: > -- > ulimit -u unlimited > ulimit -n 9 > ulimit -s unlimited > --- > > Which, I'll try shortly, but what I don't understand, is why would AMQ even >

Network of brokers configuration ...

2007-02-23 Thread David Borja
Hi ... This is my scenario : I hava a broker called "dllo-aborja" and other one called "localhost2". I need that all messages that i put on some queue in dllo-aborja broker, forward to localhost2 broker, including the queues ... This is my config ..

Too many open files exception on broker

2007-02-23 Thread GaryG
I'm seeing tons of exceptions on the broker: 2007-02-23 07:15:48,528 [xxsxxx:61616] ERROR TransportConnector - Could not accept connection : java.net.SocketException: Too many open files java.net.SocketException: Too many open files at java.net.PlainSocketImpl.soc

Re: Too many open files exception on broker

2007-02-23 Thread James Strachan
So the main error you're getting is that your OS is running out of file descriptors - which can happen anyway (each socket connected is a file descriptor as is any attempt to open a file etc. If sockets get disconnected, clients reconnect but the broker can lag detecting the old socket disconnect

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

2007-02-23 Thread Luciano
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 queue without any problem using the same connector

Re: Integrating Apache HttpServer and ActiveMQ

2007-02-23 Thread James Strachan
On 2/23/07, pandi79 <[EMAIL PROTECTED]> wrote: Hi, Does Apache provide the feature to integrate Apache Http server to ActiveMQ? My requirement is : I need to plugin active mq component into apache webserver. Asusem that I have a html form to take message from user. Once I given the data & sub

Re: class not found org.apache.activemq.web.MessageServlet

2007-02-23 Thread James Strachan
BTW to get an understanding of the ActiveMQ <-> HTTP/REST/Ajax support, I'd recommend trying out the activemq-web-demo On 2/23/07, James Strachan <[EMAIL PROTECTED]> wrote: You need to add activemq-web.jar to your classpath/WAR On 2/23/07, pandi79 <[EMAIL PROTECTED]> wrote: > > Hi, > > I am do

Re: class not found org.apache.activemq.web.MessageServlet

2007-02-23 Thread James Strachan
You need to add activemq-web.jar to your classpath/WAR On 2/23/07, pandi79 <[EMAIL PROTECTED]> wrote: Hi, I am doing some POC to use REST HTTP options. I've given servlet mapping entries below : http://localhost:9090"/>

class not found org.apache.activemq.web.MessageServlet

2007-02-23 Thread pandi79
Hi, I am doing some POC to use REST HTTP options. I've given servlet mapping entries below : http://localhost:9090"/> MessageServlet org.apache.activemq.web.MessageServlet 1 MessageServlet /queue W

Re: [Spam: 5.0] AMQ 4.2 status

2007-02-23 Thread James Strachan
On 2/23/07, drvillo <[EMAIL PROTECTED]> wrote: Rob thanks for the quick reply will you announce when you branch 4.1 and 5? Its already done Here's 4.1... https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1/ here's what will be 5.0 https://svn.apache.org/repos/asf/activemq/trunk

Re: [Spam: 5.0] Recover a failed Broker's Journal (by Database of Another Broker)

2007-02-23 Thread spiderman2
You're right, I read that JDBC Persistance doesn't work with fast journalling. But I can't understand why not? It sounds like it would be an ideal HA scenario. The 3 Master Slave Options: 1) Pure: Doesn't support an automatic failback - meaning after a failure I'll only have 1 Broker who may eve

Re: [Spam: 5.0] Network of Brokers - publishing on broker x - consuming on broker 1...n

2007-02-23 Thread Mathulan
Well I was expecting the same. And the queue/topic length gets updated on B as soon as a publisher send the message on A. but there is no update on C. And the consumer/subs doesn't get the message on C. cbu wrote: > > Hello, > > I was told that there is no forwarding of the message ... just i

Re: [Spam: 5.0] Network of Brokers - publishing on broker x - consuming on broker 1...n

2007-02-23 Thread cbu
Hello, I was told that there is no forwarding of the message ... just if a consumer connects at Broker D the message will be forwarded from A to D. Still interessted? - C. Mathulan wrote: > > Hi , > > I am newbie for ActiveMQ. > > Could you please let me know the configuration u used. > Th

Re: [Spam: 5.0] Network of Brokers - publishing on broker x - consuming on broker 1...n

2007-02-23 Thread Mathulan
Hi , I am newbie for ActiveMQ. Could you please let me know the configuration u used. The set up I am trying to bring up is BrokerA -> BrokerB <-> BrokerC, BrokerD, etc BrokerA - Pure publisher attached BrokerB - Middleman, will forward Msgs from BrokerA to set of machines (Including Broker

Integrating Apache HttpServer and ActiveMQ

2007-02-23 Thread pandi79
Hi, Does Apache provide the feature to integrate Apache Http server to ActiveMQ? My requirement is : I need to plugin active mq component into apache webserver. Asusem that I have a html form to take message from user. Once I given the data & submit the page, the data should be delivered to A

lookup exception using activeMQ jars

2007-02-23 Thread [EMAIL PROTECTED]
Hi, I'm a newbe in activeMQ and I have a problem. I'm using Jboss 4.0.5 GA with the last version of ActiveMQ as message broker. Before installing activeMQ, I wrote some simple java client that lookup session ejb (ejb 3.0) on jboss server and works with. All work perfect! Now I have integrated act

Re: [Spam: 5.0] AMQ 4.2 status

2007-02-23 Thread drvillo
Rob thanks for the quick reply will you announce when you branch 4.1 and 5? Do you have any estimate of when this is likely to happen? Cheers Francesco James.Strachan wrote: > > Given that a few things have changed in 4.2.x we'll be renaming that > 5.0 as the OpenWire protocol will be enhanc

Re: [Spam: 5.0] AMQ 4.2 status

2007-02-23 Thread James Strachan
Given that a few things have changed in 4.2.x we'll be renaming that 5.0 as the OpenWire protocol will be enhanced, the code will move to Java 5 and other things are changing (such as dispatching, spool to disk stuff and so forth). So if you can wait a month or so, I'd go with 5.0, otherwise go f

Re: [Spam: 5.0] AMQ 4.2 status

2007-02-23 Thread drvillo
Hi Rob the service is announced here: http://www.ripe.net/info/stats/hostcount/hostcount++/ background here: http://www.ripe.net/hostcount/ What I'm interested mainly in a new release is the stability of Kaha (I've just posted on this). Java 5 would be nice to have, but it's quite more impor

NPE in Kaha

2007-02-23 Thread drvillo
Hi all I'm not able to remove messages any more from a Kaha store, after a recovery. Below is the trace I get: Exception in thread "Timer-1" java.lang.NullPointerException at org.apache.activemq.kaha.impl.data.DataManagerImpl.removeDataFile(DataManagerImpl.java:297) at org.apac

Re: AMQ 4.2 status

2007-02-23 Thread Rob Davies
Hi Francesco, just out interest what's the service you're releasing? We are currently debating about providing another maintenance version of the 4.1 branch, whilst continue to add enhancements in to trunk, with the aim to be the next major release to version 5.0 cheers, Rob Davies http:/

Re: [Spam: 5.0] ActiveMq (JMS) API call Send hangs after certain number of sends.

2007-02-23 Thread James Strachan
On 2/23/07, suri009 <[EMAIL PROTECTED]> wrote: Hi James, Number of consumers as 5 -6 and they are connected to ActiveMq topic. ActiveMq firing the messages (1-2 MB) every 2-15 sec initially when i start sender and ActiveMq. But when the time goes send API takes almost 60 sec to fire a message

Re: [Spam: 5.0] Re: FileMessage: we would like to contribute

2007-02-23 Thread Hiram Chirino
I personally like options 2 and 3. The message just contains a URL to where the whole stream can be downloaded. The nice part about this is that then you have many option for where your store the message. You make the URL a reference to the producer. And a consumer would just connect back to t

Re: ActiveMQ Broker dying

2007-02-23 Thread James Strachan
On 2/20/07, GaryG <[EMAIL PROTECTED]> wrote: I'm getting the feeling that my session terminal closing does have something to do with it. So, would you recommend using that JSW service? You said in the previous posts that it has problems, so should I even other trying? Our Linux guys are telli

Re: [Spam: 5.0] ActiveMq (JMS) API call Send hangs after certain number of sends.

2007-02-23 Thread suri009
Hi James, Number of consumers as 5 -6 and they are connected to ActiveMq topic. ActiveMq firing the messages (1-2 MB) every 2-15 sec initially when i start sender and ActiveMq. But when the time goes send API takes almost 60 sec to fire a message and then then it hangs after certain sends. We

Re: Can Filters be used for virtual topic

2007-02-23 Thread James Strachan
On 2/21/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: I would like to know if the filters can be used for virtual topic so only needed messages are delivered to the physical queues that are tied to the virtual topic. Thanks! I answered this in the other thread http://www.nabble.com/Re%3A-Do-I-have-

AMQ 4.2 status

2007-02-23 Thread drvillo
Hi all I'm about to release an alpha version of my service. Since I had the impression that 4.2 was going to be released soon I've been postponing the date in the hope to release with - a more stable version of AMQ (currently it's packaged with a month old trunk rev.) - kaha storing indexes on