SUGGESTION regarding "Refused to set unsafe header 'Connection'"

2010-09-30 Thread jule
I am using "amq.js" and "amq_jquery_adapter.js" and when I run my application with Chrome or Safari I get the error "Refused to set unsafe header 'Connection'". I fixed this by borrowing the following lines from the latest release of prototype.js and putting them into amq_jquery_adapter.js", star

Re: Problem with AMQCPP, crashes randomly

2010-09-30 Thread zadeluca
I understand. I do not have a lot of debugging experience and this problem has me particularly stumped. I will see if I can strip the application down to a lightweight example that reproduces the issue. In the meantime, here are 2 recent output/traces: Thanks, First-chance exception at 0x7c91

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-09-30 Thread jule
Alex Dean-2 wrote: > > >> For others facing the same problem: Meanwhile I found out that appending >> a >> "?ClientId=YourClientID" to the GET and POST urls (for either REST-API or >> AJAX-API [uses REST-API]) will prevent this problem from showing up. I >> guess >> this will bypass the automat

Re: AJAX: Error occurred in poll. HTTP result: 200, status: parsererror

2010-09-30 Thread Alex Dean
On Sep 30, 2010, at 4:53 PM, jule wrote: > > Hi, > > I see the following log message if a poll times out and an empty response is > received: > > Error occurred in poll. HTTP result: 200, status: parsererror -> > amq_jquery_adapter.js:94 > > Investigating this with the JS debugging tools

AJAX: Error occurred in poll. HTTP result: 200, status: parsererror

2010-09-30 Thread jule
Hi, I see the following log message if a poll times out and an empty response is received: Error occurred in poll. HTTP result: 200, status: parsererror -> amq_jquery_adapter.js:94 Investigating this with the JS debugging tools shows the brokers response: xhr.responseText: " " xhr.response

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-09-30 Thread Alex Dean
On Sep 30, 2010, at 4:33 PM, jule wrote: > > Hi Alex, > > you´re right, reloading after restart will get it back to work. Thanks for > your explanation. Is there a schedule for the patch you mentioned? Our plan (at my work) is to get https://issues.apache.org/activemq/browse/AMQ-2948 accepted

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-09-30 Thread jule
Hi Alex, you´re right, reloading after restart will get it back to work. Thanks for your explanation. Is there a schedule for the patch you mentioned? For others facing the same problem: Meanwhile I found out that appending a "?ClientId=YourClientID" to the GET and POST urls (for either REST-API

Re: Fatal Error: Unable to successfully start ActiveMQ 5.4.1 Broker

2010-09-30 Thread RJtokenlanring
Tim, there is a plan on how to fix this issue? (AMQ-2935) Any help is needed in testing? Regards -- View this message in context: http://activemq.2283324.n4.nabble.com/Fatal-Error-Unable-to-successfully-start-ActiveMQ-5-4-1-Broker-tp2719671p2761810.html Sent from the ActiveMQ - User mailing li

Re: multiple ajax clients in the same browser?

2010-09-30 Thread Alex Dean
I attached a new (and hopefully much-improved) patch to this ticket. Reviews appreciated. alex On Sep 28, 2010, at 12:29 PM, Alex Dean wrote: > I just submitted a patch to allow multiple windows in the same browser to > send/receive messages via ajax. > > https://issues.apache.org/activemq/b

Re: Problem with AMQCPP, crashes randomly

2010-09-30 Thread Timothy Bish
On Thu, 2010-09-30 at 13:58 -0700, zadeluca wrote: > Hi, > > I have an application running on Windows XP that is both a producer and > consumer; it consumes roughly 300 messages/second, processes each one > individually and produces a response. It crashes at random times (usually > within 3-5 minu

Problem with AMQCPP, crashes randomly

2010-09-30 Thread zadeluca
Hi, I have an application running on Windows XP that is both a producer and consumer; it consumes roughly 300 messages/second, processes each one individually and produces a response. It crashes at random times (usually within 3-5 minutes of starting) with errors such as "access restriction while

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-09-30 Thread Alex Dean
On Sep 30, 2010, at 10:51 AM, jule wrote: > > I just found out that this behaviour can also be reproduced with the > "chat"-example with an out-of-the-box configured ActiveMQ broker. If a > client browser is restarted, this example app breaks and the client cannot > receive anymore. If you rest

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-09-30 Thread jule
I just found out that this behaviour can also be reproduced with the "chat"-example with an out-of-the-box configured ActiveMQ broker. If a client browser is restarted, this example app breaks and the client cannot receive anymore. -- View this message in context: http://activemq.2283324.n4.nabb

Re: How to store everything in DB

2010-09-30 Thread Dejan Bosanac
Hi Tobias, there's a little utility class that can help you with that https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/GenerateJDBCStatements.java?r=HEAD but generally, it's better to create it on the dev db and then dump ddls you need Ch

Re: exception trying to stop activemq, stomp weirdness

2010-09-30 Thread Dejan Bosanac
JSVC looks interesting, it could be nice addition/improvement of the current scripts. Of course, all contributions are welcomed :) Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http: