Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread mjoshi
Hi, I am new to activemq. I am trying to setup a message system with a network of brokers style configuration as given in the documentation. I have brokers running on 2 hosts and I have added network connectors in both directions. However, I keep getting this exception in the logs for only one

Re: Can't delete a queue

2008-09-09 Thread James Strachan
The queue isn't mentioned in the activemq.xml file right? 2008/9/8 Vadim Chekan [EMAIL PROTECTED]: Hi all, If I delete a queue, it is back after I restart ActiveMQ. I tried deleting from admin web console and from jconsole. The same result Activemq-5.1.0 Pesistence configuration is from the

Re: Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread Joe Fernandez
The 'vm' transport is reserved for clients, so take it out. http://activemq.apache.org/vm-transport-reference.html You also have a network connector that points the broker to itself, so also take those out. Try the following cfg files below. !-- For sdt-plat1 -- broker

Re: JDBC Master/Slave with HSQLDB lock problem!

2008-09-09 Thread Gary Tully
see http://activemq.apache.org/jdbc-support.html for some detail on overriding the default statement set. It should be possible to override the lock statement that is used by default. 2008/9/5 Fuzzo [EMAIL PROTECTED]: Hi all! When i try to start ActiveMQ with an HSQLDB data source i give this

Re: Cannot unsubscribe the durable subscriber because of InvalidClientIDException

2008-09-09 Thread Joe Fernandez
Looks to me like you're trying to establish two connections with the same same clientid (TestClient), which is not allowed. Joe Get a free ActiveMQ user guide @ http://www.ttmsolutions.com janylj wrote: Hello, I have the following test on the durable subscriber using ActiveMQ 5.1,

Re: REST MapMessage

2008-09-09 Thread Dejan Bosanac
Hi, the reason map messages are not supported in the rest interface is because there is no appropriate default representation of map messages in the HTTP response. You can, for example, use message transformers http://activemq.apache.org/message-transformation.html to convert your map messages

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread Bryan Murphy
Thanks for the info. I suspected that's what the timeout meant, but you never really know until you ask.. Anyway, we finally solved our issue. We setup two instances of ActiveMQ in the two data centers to forward messages back and forth between each other. This is working much better for us.

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread Jim Gomes
Not yet. It's on the 1.1 schedule, and I hope to have it in within a month or two. On Tue, Sep 9, 2008 at 8:09 AM, James Strachan [EMAIL PROTECTED]wrote: Maybe the WAN is dropping connections; we have failover in Java; am not sure we've added that to NMS yet have we? 2008/9/9 Jim Gomes

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread James Strachan
2008/9/9 Jim Gomes [EMAIL PROTECTED]: Not yet. It's on the 1.1 schedule, and I hope to have it in within a month or two. Great stuff! :) -- James --- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread Bryan Murphy
We basically run a server here in our local office behind a firewall, and the rest of our stuff out on Amazon's EC2 cloud. We suspect there were issues with NAT timeouts and half dead TCP connections. The specific behaviors we saw using NMS manifested themselves in the following ways: 1. Client

Re: Cannot unsubscribe the durable subscriber because of InvalidClientIDException

2008-09-09 Thread janylj
I am confused here. Because the error didn't happen when creating the durable subscriber. It happened when unsubscribe the durable subscriber. I image there is of course an existing connection with clientID of TestClient, which is exactly the durable subscriber I want to unsubscribe. Also the

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread semog
Bryan, Thanks for your trouble-shooting report. Looks like you guys were trying everything. I logged a JIRA (AMQNET-114) to enable the KeepAlive feature in NMS. Even though you were able to solve your issue with a work-around, you shouldn't have to do that, and the next person may not be able

activemq authentication through plugins

2008-09-09 Thread scott.d.dagastino
I'm attempting to write my own plugin authentication module for activemq. I have created a bean that extends the broker plugin and register it with activemq.xml bean class=com.lmco.fltwinds.security.FltwindsAuthentication/. it will fire off the constructor with no problem but I want it to

Re: activemq authentication through plugins

2008-09-09 Thread Bruce Snyder
On Tue, Sep 9, 2008 at 12:19 PM, scott.d.dagastino [EMAIL PROTECTED] wrote: I'm attempting to write my own plugin authentication module for activemq. I have created a bean that extends the broker plugin and register it with activemq.xml bean

Re: Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread mjoshi
Thanks Joe. However, I have just one activemq.xml config file that gets published to both hosts. Is there a way to do it in the same configuration ? I also tried the suggestions below. I removed the vm transport and added only one network connector. So it now looks like this- broker

Re: Scalability of 'Networks of Brokers'

2008-09-09 Thread Thomas R. Corbin
On Friday 05 September 2008, Bryan Murphy said: Sounds like a nightmare to me. Maybe I don't understand what you're trying to accomplish, but I think something like Hadoop would be a better fit for this kind of problem. sounds like a job that JINI was designed for. Bryan On Fri, Sep 5,

Re: Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread Joe Fernandez
mjoshi wrote: Thanks Joe. However, I have just one activemq.xml config file that gets published to both hosts. Is there a way to do it in the same configuration ? Yes, try using the multicast transport. That is what the default activemq.xml is typically set up to use. I also

Re: durable subscriber support in stomp.rb

2008-09-09 Thread Eugene79
I contacted the guy who is listed as the project admin on rubyforge. He says he doesn't maintain it anymore, and the code actually lives at stomp.codehaus.org. I posted on their forum, and so far got no reply. The last post on stomp-dev is from May 11. Does anybody actually maintain that code

Re: Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread Bruce Snyder
On Tue, Sep 9, 2008 at 12:52 PM, Joe Fernandez [EMAIL PROTECTED] wrote: mjoshi wrote: Thanks Joe. However, I have just one activemq.xml config file that gets published to both hosts. Is there a way to do it in the same configuration ? Yes, try using the multicast transport. That is what

Re: durable subscriber support in stomp.rb

2008-09-09 Thread Bruce Snyder
On Tue, Sep 9, 2008 at 12:55 PM, Eugene79 [EMAIL PROTECTED] wrote: I contacted the guy who is listed as the project admin on rubyforge. He says he doesn't maintain it anymore, and the code actually lives at stomp.codehaus.org. I posted on their forum, and so far got no reply. The last post on

JMS Bridge with Fault Tolerance

2008-09-09 Thread rde8026
Hi, I've successfully been able build a JMS bridge using spring configuration in my activemq.xml file. I was curious if there is a way to configure a JMS bridge that understand fault tolerance on the bridged side. Example; if I have a TIBCO EMS implementation that I am bridging to that has

How to improve performance

2008-09-09 Thread piotr_rezmer
Hello, I'm using activemq 5.1. It receives tens or hundreds of messages per second. Unfortunately, after some days of operation it stops working. Java process takes a lot of memory in windows task manager. It is even difficult to restart the service. It is necessary to delete files from ./data

Re: durable subscriber support in stomp.rb

2008-09-09 Thread Eugene79
Got reply from Andrew Kuklewicz. He said he will incorporate the changes. Eugene bsnyder wrote: On Tue, Sep 9, 2008 at 12:55 PM, Eugene79 [EMAIL PROTECTED] wrote: I contacted the guy who is listed as the project admin on rubyforge. He says he doesn't maintain it anymore, and the code

Re: durable subscriber support in stomp.rb

2008-09-09 Thread Bruce Snyder
On Tue, Sep 9, 2008 at 3:17 PM, Eugene79 [EMAIL PROTECTED] wrote: Got reply from Andrew Kuklewicz. He said he will incorporate the changes. Awesome! Bruce -- perl -e 'print unpack(u30,D0G)[EMAIL PROTECTED]5R\F)R=6-E+G-N61ED\!G;6%I;\YC;VT* );' Apache ActiveMQ - http://activemq.org/ Apache

Re: ActiveMQ 5.0 java applets

2008-09-09 Thread nickso
I have not found an answer for this exact same problem. I've googled until I'm googled... Been working on this for a week now... any suggestions.. anyone?? .. please?? bear.giles wrote: I'm getting a class initialization error when I try to launch an applet using ActiveMQ 5.0.0. The applet

Re: Multiple Consumers with REST

2008-09-09 Thread yesnid
Thank you for the help Dejan, I tried preset to one and I still have an issue. If run each consumer and use the same JSESSIONID then they can all consume, however If I have each one acquire a JSESSIONID, then they hang. I think it has to do with closing this session. Is there a way to explicitly

Re: Can't delete a queue

2008-09-09 Thread Vadim Chekan
No, and there are several of them which once created can not be deleted. I can reproduce it under linux and windows. I create a queue using NMS and than I attempt to delete it either with web admin console or jconsole. I'll play with it more at home today and may be will be able to find some new

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread Jim Gomes
FYI, the NMS trunk now has the keep alive support implemented. You can turn it on with the URI parameter wireFormat.MaxInactivityDuration= and wireFormat.MaxInactivityDurationInitialDelay= where 'n' equals the number of milliseconds. The initial delay option is optional and not required