HttpException(413,FULL head,null) at HttpParser.java:1030)

2012-10-23 Thread Steve.V.
2012-10-23 18:53:34,270 | DEBUG | HttpParser{s=-14,l=0,c=-3} | org.eclipse.jetty.http.HttpParser | qtp21584824-33 HttpException(413,FULL head,null) at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:1030) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:280)

Re: Request/Response Model Not Working in Network of Brokers. Please Help

2012-10-23 Thread ndmigration
Dear Gary, Thanks for your response. I have enabled the logging and sent a message. The consumer sent the message to BrokerB which was forwarded to BrokerC and processed. The response was put back on BrokerC which forwarded the message to BrokerB and later BrokerA. However, I can see lot of "alrea

Re: [MQTT] Impossible to disable InactivityMonitor !

2012-10-23 Thread Timothy Bish
On Tue, 2012-10-23 at 11:02 -0700, Aliquip wrote: > It's solved partially. The problem is fixed when _not_ using mqtt over nio. > When using nio, the inactivitymonitor disconnects again. > > That should get fixed as a result of my fixes for: https://issues.apache.org/jira/browse/AMQ-4106 The p

Re: KahaDB: No messages, but log files not reclaimed and StorePercentUsage above 100

2012-10-23 Thread Gilles Harloux
filed as https://issues.apache.org/jira/browse/AMQ-4128. I agree that AMQ-3866 doesn't say a word about mKahaDB. It just caught my eye because of the symtoms, and the logs look alike; Then, I saw you asked if there was XA involved, hence my reaction: I am not using XA explicitly, my best guess is t

Re: ActiveMQ (5.7 snapshot) and MQTT: connection times out while still connected to a topic for receiving

2012-10-23 Thread Christian Posta
Actually, Tim's fix (https://issues.apache.org/jira/browse/AMQ-4117) should resolve this issue. I just tried it with your client on the latest (trunk) code and it seemed to work fine. Can you try? On Tue, Sep 25, 2012 at 2:49 PM, Aliquip wrote: > ActiveMQ (5.7 snapshot) and MQTT: connection time

Re: Problems with UTF-8 encoding.

2012-10-23 Thread Raul Kripalani
If you can post the producer and consumer code, plus the AMQ configuration (removing any details that cannot go public), we can analyse further. What message type are you sending? TextMessage? And how are you generating and reading the String? Thanks, *Raúl Kripalani* Apache Camel Committer Ente

Re: Problems with UTF-8 encoding.

2012-10-23 Thread Mayank Agarwal
Hello Raul, Thanks for the reply. It is still giving me the same problem. Any other points that I need to take care of?

Re: Request/Response Model Not Working in Network of Brokers. Please Help

2012-10-23 Thread Gary Tully
enable debug logging on all brokers and produce a single message. you should be able to trace the progress of that message till it expires, gets consumed or gets orphaned. Once you know what happens we will be able to figure out the next step. http://activemq.apache.org/how-do-i-enable-debug-logg

Re: Problems with UTF-8 encoding.

2012-10-23 Thread Raul Kripalani
Make sure you are passing the file.encoding parameter as a JVM option in the startup script. -Dfile.encoding="UTF-8" Sent from a mobile device On 23 Oct 2012 15:11, "Mayank Agarwal" wrote: > Hi all, > > I am having a problem with UTF-8 encoded characters (for eg: "¥"). > When I send it as a mes

Re: KahaDB: No messages, but log files not reclaimed and StorePercentUsage above 100

2012-10-23 Thread Gary Tully
ok, maybe open a new issue, and attach your logs and configure a data small journal data file so that it can easily be attached once you find the block in gc. If recovery of local xa multi store transactions is the problem, I would expect some log information from: org.apache.activemq.store.kahad

Problems with UTF-8 encoding.

2012-10-23 Thread Mayank Agarwal
Hi all, I am having a problem with UTF-8 encoded characters (for eg: "¥"). When I send it as a message to the queue and then receive it, I get a value that is not the correct interpretation of that character. Is there some encoding problem with ActiveMQ or am I missing something? Should I convert

Re: KahaDB: No messages, but log files not reclaimed and StorePercentUsage above 100

2012-10-23 Thread Gilles Harloux
I doubt I can reproduce it as a unit test: What I see happens (sometimes, sometimes not) because I sigkill the process. If I replace the kill with an orderly shutdown, everything works out ok. On Tue, Oct 23, 2012 at 3:38 PM, Gary Tully wrote: > do you think you could come up with a unit test tha

Re: KahaDB: No messages, but log files not reclaimed and StorePercentUsage above 100

2012-10-23 Thread Gary Tully
do you think you could come up with a unit test that shows growth. So something that uses mkahadb and produces or consumed in a transaction from destinations that span the stores. You could configure the size of journal data files to 16k or something, such that any issue shows up very quickly. A

Re: KahaDB: No messages, but log files not reclaimed and StorePercentUsage above 100

2012-10-23 Thread Gilles Harloux
I found that link while you were answering, it seems . I also found https://issues.apache.org/jira/browse/AMQ-3866 and it looks a lot like what I experience. I tried to delete the index, start a broker and debug as explained in that ticket. Breakpointing at MessageDatabase#process, line 904 (versi

Re: KahaDB: No messages, but log files not reclaimed and StorePercentUsage above 100

2012-10-23 Thread Gary Tully
have a read of http://activemq.apache.org/why-do-kahadb-log-files-remain-after-cleanup.html The logging referenced there will show you what destinations are holding on to references to the journal data files. w.r.t the usage %, the journal size increases in chunks of data file size, so a new jou

Re: How to mintor activemq

2012-10-23 Thread bizcenter
Sorry, I didn't make myself clearly. For reability, i should not set timeout. But in my business, 2 seconds means too long. So 'useAsyncSend' and 'sending timeout' is necessary. Timeout is not message timeout but sending timeout(in 2 seconds), message is persisted forever. In this condition, mes

Re: How to mintor activemq

2012-10-23 Thread Torsten Mielke
On Oct 23, 2012, at 7:30 AM, bizcenter wrote: > When using ActiveMQ, some problems troubles me: > 1. When broker crashed or stopped, messages from sender will be lost(I set > timeout, because the sender have others to do). > 2. consumer receives all messages from broker, but how i dnow the consum