Re: ActiveMQ 5.0 & java applets

2008-09-09 Thread piotr_rezmer
bear.giles wrote: > > I'm getting a class initialization error when I try to launch an applet > using ActiveMQ 5.0.0. The applet is basically a variant of the provided > examples, and they work within the eclipse applet viewer so I know the > basic code is sound. > > The error is: > > java.la

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread James Strachan
Great stuff Jim! 2008/9/10 Jim Gomes <[EMAIL PROTECTED]>: > 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

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread Rob Davies
Awesome Jim! On 10 Sep 2008, at 06:48, Jim Gomes wrote: 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

Re: Messages stays in topics even if a messages was received

2008-09-09 Thread Rob Davies
The message will stay cached on the Topic for a while - until a memory limit is reached or its expired cheers, Rob On 9 Sep 2008, at 22:49, MarkusJ wrote: We use an ActiveMQ server with some topics. At the moment we do not use durable subscriber. If I send a message to a topic, that has n

Re: How to improve performance

2008-09-09 Thread Rob Davies
Hi Piotr, you could have run into this a problem processing lots of expired messages to the Dead Letter Queue. The around is to configure your broker not to process expired messages - for details on how to do that see http://issues.apache.org/activemq/browse/AMQ-1787 cheers, Rob On 9 Sep

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 requir

Re: ActiveMQ 5.0 & java applets

2008-09-09 Thread Bruce Snyder
On Tue, Sep 9, 2008 at 4:10 PM, nickso <[EMAIL PROTECTED]> wrote: > > 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?? IIRC, applets aren't allowed to access the filesystem an

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 de

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 c

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 appl

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-N>61Ehttp://activemq.org/ Apache Camel - http://activemq.org/camel

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

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 dir

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 fa

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 p

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 transp

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 anym

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

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, Se

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- http://activemq.a

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 " class="com.lmco.fltwinds.security.FltwindsAuthen

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 " ". it will fire off the constructor with no problem but I want it to register the userid/password (hard coded for now) with the activ

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

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 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 b

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 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
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 <[EMAIL PROTECTED]>: > Hi Bryan, > That's interesting. I wonder where the problem is with ActiveMQ => NMS > connection. Without knowing your exact network topology

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread Jim Gomes
Hi Bryan, That's interesting. I wonder where the problem is with ActiveMQ => NMS connection. Without knowing your exact network topology, I can't point to where the problem is. All I can do is speak to my experience and I have been able to keep connections alive for a very long time without erro

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. It

Re: Multiple Consumers with REST

2008-09-09 Thread Dejan Bosanac
I think this could be a "prefetch size issue" meaning that all your messages are being sent to the first consumer. Try setting, prefetch size for you connection between rest servlet and broker http://activemq.apache.org/what-is-the-prefetch-limit-for.html Cheers -- Dejan Bosanac http://www.tt

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: 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: 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

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. http://activemq.apache.org/schema/core"; useJmx=

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 fro