Re: "WARNING: Transport failed" ... org.apache.activemq.transport.failover.FailoverTransport handleTransportFailure

2008-03-03 Thread James Strachan
Note that failover reconnected fine BTW On 04/03/2008, James Strachan <[EMAIL PROTECTED]> wrote: > It looks like the socket failed - could be thebroker thinking the > socket was inactive. You could try increasing or disabling the > inactivity timeout. > > > On 03/03/2008, Andrew <[EMAIL PROTECT

Re: "WARNING: Transport failed" ... org.apache.activemq.transport.failover.FailoverTransport handleTransportFailure

2008-03-03 Thread James Strachan
It looks like the socket failed - could be thebroker thinking the socket was inactive. You could try increasing or disabling the inactivity timeout. On 03/03/2008, Andrew <[EMAIL PROTECTED]> wrote: > Anyone know why this would happen? Other clients connected simultaneously > don't disconnect. E

ERROR RecoveryListenerAdapter - Message id xxxxx could not be recovered from the data store - already dispatched

2008-03-03 Thread James Martin
I have been consistently receiving the following error message when using Jenck with ActiveMQ for pooled inbound JMS: "ERROR RecoveryListenerAdapter - Message id x could not be recovered from the data store - already dispatched" on the broker. Once the error message occurs, none of the messag

Re: ActiveMQ 5.0.0 OutOfMemory

2008-03-03 Thread ttmdev
That is rather strange, because the activemq script starts only one instance of the broker. QWERTY? wrote: > > > > ttmdev wrote: >> >> Yup, looks like it. What version of AMQ are you using and are you using >> the $ACTIVEMQ_HOME/bin/activemq script to start the broker? >> >> Joe >> >> >

Re: ActiveMQ 5.0.0 OutOfMemory

2008-03-03 Thread QWERTY?
ttmdev wrote: > > Yup, looks like it. What version of AMQ are you using and are you using > the $ACTIVEMQ_HOME/bin/activemq script to start the broker? > > Joe > > Yes - I just cd into /bin and ./activemq - and off it goes -- View this message in context: http://www.nabble.com/ActiveMQ-

Re: ActiveMQ 5.0.0 OutOfMemory

2008-03-03 Thread ttmdev
Yup, looks like it. What version of AMQ are you using and are you using the $ACTIVEMQ_HOME/bin/activemq script to start the broker? Joe QWERTY? wrote: > > > > ttmdev wrote: >> >> The "36 ActiveMQ processes" that you mention...are these 36 message >> brokers? >> >> Joe >> www.ttmsolutions

Re: ActiveMQ 5.0.0 OutOfMemory

2008-03-03 Thread QWERTY?
ttmdev wrote: > > The "36 ActiveMQ processes" that you mention...are these 36 message > brokers? > > Joe > www.ttmsolutions.com > > ahh they are 36~ of there /usr/java/bin/java -Dorg.apache. activemq.UseDedicatedTaskRunner=true -Dderby.system.home=/home/java/ /server/activemq/data -Dderby

Re: ActiveMQ 5.0.0 OutOfMemory

2008-03-03 Thread ttmdev
The "36 ActiveMQ processes" that you mention...are these 36 message brokers? Joe www.ttmsolutions.com QWERTY? wrote: > > Hi, > > when running activemq and I connect to it with a client I get the > following exception or exceptions? > > java.io.EOFException > at java.io.DataInputStre

Consumers not always being released

2008-03-03 Thread Mike Miljour
We are currently experiencing a problem where are consumers are not always being released when we shutdown our consumers. This seems to happen less than half the time, but does force us to restart at least one of the 2 ActiveMQ servers that we have in our Shared File System Master Slave cluster.

Producer connection expiration

2008-03-03 Thread Qian Su
Hi, We are using Activemq version 4.1.1, tcp transport and the producers are configured to connect to a single load balancer that distributes requests to individual brokers. However, more often than not, we notice symptons where jms messge queuing requests are not probably load balanced, mainly

Re: Best books

2008-03-03 Thread Bruce Snyder
On Mon, Mar 3, 2008 at 3:50 PM, Eddie Yee <[EMAIL PROTECTED]> wrote: > I was wondering if someone could point me to some decent books featuring > Active MQ (preferably the latest 5.x). More from an infrastructural, setup, > enterprise design and best practices point of view. > > I realize ther

Re: JMX over HTTP - How to?

2008-03-03 Thread Brian Munroe
On Mon, Mar 3, 2008 at 2:27 PM, ttmdev <[EMAIL PROTECTED]> wrote: > > I'm not an expert in this area, but I don't think anything gets serialized > to XML when JMS client and broker are communicating over an http transport. > I would venture to guess that in this scenario the OpenWire protocol i

Best books

2008-03-03 Thread Eddie Yee
I was wondering if someone could point me to some decent books featuring Active MQ (preferably the latest 5.x). More from an infrastructural, setup, enterprise design and best practices point of view. I realize there are a lot of resources online, however I prefer to have this information

Re: JMX over HTTP - How to?

2008-03-03 Thread ttmdev
Hhmm, I guess you could use the Apache mod_proxy module to forward requests/responses to/from the broker. I'm not an expert in this area, but I don't think anything gets serialized to XML when JMS client and broker are communicating over an http transport. I would venture to guess that in this

"WARNING: Transport failed" ... org.apache.activemq.transport.failover.FailoverTransport handleTransportFailure

2008-03-03 Thread Andrew
Anyone know why this would happen? Other clients connected simultaneously don't disconnect. Everything is on a simple LAN so no networking issues should exist for one client and not others.. Thanks, Andrew Mar 3, 2008 3:00:55 PM org.apache.activemq.transport.failover.FailoverTransport handleTr

ActiveMQ 5.0.0 OutOfMemory

2008-03-03 Thread QWERTY?
Hi, when running activemq and I connect to it with a client I get the following exception or exceptions? java.io.EOFException at java.io.DataInputStream.readInt(DataInputStream.java:375) at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat. java:268) at

Re: JMX over HTTP - How to?

2008-03-03 Thread Brian Munroe
Another thing I'm trying to do is integrate ActiveMQ with JBoss. I've gotten this [1] to work great with the TCP transport, but I'm not having much luck getting it to use the HTTP transport. I keep getting: 13:27:40,050 ERROR [BrokerService] Failed to start ActiveMQ JMS Message Broker. Reason: j

Re: Connection Exception Listener

2008-03-03 Thread user939393
After stepping through the debugger, I discovered that Connection.DisposeOf(DataStructure objectId) sends a synchronous call to the server. This then waits forever since the server has gone down. Changing it to asynchronous, fixes the problem. Despite the original comment regarding race conditio

Perl/Net::Stomp and multiple brokers

2008-03-03 Thread Dylan Vanderhoof
Does anybody have a hacked Net::Stomp they'd be willing to share for contacting multiple brokers? Either a network, or failover, I'm not terribly picky about which at the moment. -Dylan

Re: JMX over HTTP - How to?

2008-03-03 Thread Brian Munroe
On Mon, Mar 3, 2008 at 11:17 AM, ttmdev <[EMAIL PROTECTED]> wrote: > The following jar files are required in the CLASSPATH for clients: > > $ACTIVEMQ_HOME/activemq-all-.jar > $ACTIVEMQ_HOME/lib/optional/commons-httpclient-.jar > $ACTIVEMQ_HOME/lib/optional/xstream-.jar > $ACTIVEMQ_HOME/lib/op

Re: JMX over HTTP - How to?

2008-03-03 Thread ttmdev
Yes, if you're using a pure JMS client you can use the http transport w/out having to deal with REST or AJAX. For example, if you're using the JNDI, you can place the following brokerURL in your jndi.properties file. connection.httpConnectionFactory.brokerURL = http://host01:61616 >From your JM

Re: Producer locks while awaiting broker response

2008-03-03 Thread Wladimir Safonov
On 3 Mar 2008, at 14:31, Rob Davies wrote: On 29 Feb 2008, at 22:08, Wladimir Safonov wrote: Hello, as I found in the older mailings some people experienced the same problem as I do in the moment. Seems like problem persisted already in the earlier versions of the broker (< 4.0), but no solu

JMX over HTTP - How to?

2008-03-03 Thread Brian Munroe
I'm interested in configuring ActiveMQ to use the HTTP(S) transport, but I'm getting a bit cross-eyed regarding REST, HTTP(S) transports and AJAX. >From what I understand, if I only have pure JMS clients, I can safely use the HTTP(S) transports without having to deal with REST or AJAX? I'm very ne

Re: STOMP message properties with data type support

2008-03-03 Thread mjustin
Ok, I just have entered an improvement suggestion in jira. rajdavies wrote: > > > Want to raise a jira for an enhancement ? > > -- View this message in context: http://www.nabble.com/STOMP-message-properties-with-data-type-support-tp15798040s2354p15810794.html Sent from the ActiveMQ - Us

Re: javax.jms.JMSException: Invalid acknowledgement after rollback of TopicSession

2008-03-03 Thread neilwilk
Hi Again, all Solved my own problem, but I've left this in just in case others make the same mistake! I should have been using a durable subscriber. As soon as I corrected the code to the following, ActiveMQ stopped generating the exceptions: package neil.transactions; import javax.jms.Connec

javax.jms.JMSException: Invalid acknowledgement after rollback of TopicSession

2008-03-03 Thread neilwilk
Hi All I'm experimenting with transactions. They work fine for QueueSessions, but whenever I roll back a transaction on a TopicSession, I get the following exception: ERROR Service- Async error occurred: javax.jms.JMSException: Invalid acknowledgment: MessageAck {command

Re: Producer locks while awaiting broker response

2008-03-03 Thread Rob Davies
On 29 Feb 2008, at 22:08, Wladimir Safonov wrote: Hello, as I found in the older mailings some people experienced the same problem as I do in the moment. Seems like problem persisted already in the earlier versions of the broker (< 4.0), but no solution approach was found so far. So in m

Re: Async error occurred: java.lang.IllegalStateException: With Pure Master/Slave

2008-03-03 Thread Rob Davies
On 29 Feb 2008, at 15:31, Tom Lynema wrote: ActiveMQ 5.0.0 is running great on two boxes right up to the point where I try to make them master / slave. I've seen this error show up on these forums before, but none of the fixes work for me. Here is the line that I added to the config file o

Re: AMQ 5.1 - Re-queued msg are redelivered again after restart

2008-03-03 Thread Rob Davies
On 29 Feb 2008, at 06:18, DinDon wrote: Hello guys, I am new to JMS and ActiveMQ(apache- activemq-5.1-20080220.151243-27), and I have been testing ActiveMQ with SpringJMS and Jencks for a week, and googled with no luck for the following issues. - Re-queued messages only being redelivered

Re: Using http transport from a Perl client

2008-03-03 Thread James Strachan
On 29/02/2008, Ramit Arora <[EMAIL PROTECTED]> wrote: > > Hey James, > Thanks for the prompt reply. I've already tried Stomp for talking to > ActiveMQ, & the performance is quite good. I've even modified the Net::Stomp > module available on CPAN to handle transactions & the master/slave topolog

Re: Where is the maven2 repo for ActiveMQ

2008-03-03 Thread James Strachan
Here you go http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/activemq/ On 01/03/2008, lanchez <[EMAIL PROTECTED]> wrote: > > Where is the maven2 repo for ActiveMQ jars? > > I tried: > http://repo1.maven.org/maven2 and the latest was 4.0 > > I tried > http://people.apache.o

Re: retry without using Failover Transport

2008-03-03 Thread Rob Davies
On 29 Feb 2008, at 03:10, Qian Su wrote: Hi, We are using Activemq version 4.1.1, tcp transport and we'd like the producer to retry at least once in case of connection timeout to a broker. The brokers are configured behind a load balancer. Does Activemq support retries on the producer end

Re: Is it ever OK to use a session *synchronously* from more than one thread?

2008-03-03 Thread Rob Davies
On 29 Feb 2008, at 01:26, stirlingc wrote: Hello, The JavaDoc for ActiveMQSession states that it is a single-threaded class. Mr. Strachan re-iterates in this message about ensuring that each thread has its own session and producers/consumers: http://www.nabble.com/Re%3A-Help%21-Missing-

Re: STOMP message properties with data type support

2008-03-03 Thread Rob Davies
On 3 Mar 2008, at 05:36, mjustin wrote: Dear all Currently the STOMP connector seems to support only string type message properties. So subscription selectors like color = 'blue' AND weight > 2500 will not work (if the message has been sent using STOMP, the weight property will be a st

Re: User/password restricted topics/queues

2008-03-03 Thread Rob Davies
On 3 Mar 2008, at 07:45, Natit wrote: Hi, i need to make sure activeMQ can do what i need before i try to understand how it works. I need a messagebroker where i can restrict access to topics via user/password control, is this possible? -- View this message in context: http://www.nabble.com

Re: AjaxServlet questions

2008-03-03 Thread Eric Rodriguez
Eric Rodriguez wrote: function listenersInit() { amq.addListener("anyID","topic://my_topic",myHandler.rcvDiff); } To make it clear: "amq.addListener("anyID","topic://my_topic",myHandler.rcvDiff);" does not need to be inside listenersInit(), that's just how I do it.

Re: AjaxServlet questions

2008-03-03 Thread Eric Rodriguez
1. On the web.xml of your AjaxServlet make sure you have: org.apache.activemq.brokerURL tcp://url.to.amqBroker:61616 The URL of the Message Broker to connect to Now your servlet knows where the broker is. 2. On your HTML/JSP/Javascript subscribe