Re:Re: Re: Re: ActiveMQ client app hold unexpectedly!!!

2013-07-16 Thread lzr
a >glitch and didn't deliver the response back to the client. > > >On Tue, Jul 16, 2013 at 8:18 AM, lzr wrote: > >> I just check the configuration file, actually I've disabled the flow >> control: >> >> >>

Re:Re: Re: ActiveMQ client app hold unexpectedly!!!

2013-07-16 Thread lzr
ntrol: At 2013-07-16 20:15:11,"Christian Posta" wrote: >Yes, on the first time PFC kicked in you would see the log messages. Not on >subsequent times. > > >On Tue, Jul 16, 2013 at 8:01 AM, lzr wrote: > >> Based on my experiences if the is

Re:Re: ActiveMQ client app hold unexpectedly!!!

2013-07-16 Thread lzr
2013-07-16 19:36:44,"Christian Posta" wrote: >This means the client didn't' receive a response from the broker. >Did the broker producer flow control this client? ie, was the destination >to which the client sending full? > > >On Tue, Jul 16, 2013 at 7:23 AM, l

ActiveMQ client app hold unexpectedly!!!

2013-07-16 Thread lzr
Dear all, I found a one of the ActiveMQ thread got stuck unexpectedly for several days. Customer was very angry to the ActiveMQ for the bad behavior. Did anybody experienced this issue? It would be much appreciated if any clue!!! My application is normal Java JMS application like the following:

Re:Re: Fatal Error: java.io.SyncFailedException: sync failed

2013-06-18 Thread lzr
Are you on a VM? NFS mount shared drive? >what OS, etc, etc? > > >On Tue, Jun 18, 2013 at 4:05 AM, lzr wrote: > >> Dear all, >> >> >> I constuct a distributed business platform based on the message >> transformation via ActiveMQ. Most of the time it work

Fatal Error: java.io.SyncFailedException: sync failed

2013-06-18 Thread lzr
Dear all, I constuct a distributed business platform based on the message transformation via ActiveMQ. Most of the time it works fine. Recently, I found one critical(The broker will shutdown once the following exception occurred!!!) issues during normally running: 2013-04-14 13:20:21,140 | ERRO

Re:Re: Thread leak in Activemq 5.6

2013-06-17 Thread lzr
his. > > >On Sun, Jun 16, 2013 at 4:07 AM, lzr wrote: > >> Dear all, >> >> >> I found a thread leak issue during try activemq 5.6: >> I create connection when sending message and close it once the sending >> finished. >> Occassionally I restart ac

Re:Thread leak in Activemq 5.6

2013-06-16 Thread lzr
Here comes the attachments. At 2013-06-16 16:07:42,lzr wrote: >Dear all, > > >I found a thread leak issue during try activemq 5.6: >I create connection when sending message and close it once the sending >finished. >Occassionally I restart activemq broker and found one

Thread leak in Activemq 5.6

2013-06-16 Thread lzr
u make any suggestion!!! Thanks in advance, Zhuran Li At 2013-06-14 23:03:55,"Christian Posta" wrote: >Would need to be able to re-create this... Please put together a unit test >that reproduces this. > > >On Fri, Jun 14, 2013 at 1:00 AM, lzr wrote: > >> Dear

javax.jms.JMSException: Cannot send message to queue://10408_base with invalid (null) producer state

2013-06-13 Thread lzr
Dear all, I'm using Acitvemq 5.6 with my app and struggling to handle the following Exception: 2013-06-13 09:53:46,018 | WARN | Send failed for: ActiveMQObjectMessage {commandId = 6, responseRequired = false, messageId = ID:nfsnnc02-46547-1370842535042-0:547519:1:1:1, originalDestination = nu

Did anyone experience the java.io.SyncFailedException during AMQ use?

2013-05-27 Thread lzr
Dear all, Now I'm running activemq 5.6 and found the following exception, did any experience the same problem and fix it? | ERROR | KahaDB failed to store to Journal | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Transport: xxx java.io.SyncFailedException: sync failed at jav

Re:Re: 10 seconds wait time for kahadb lock

2012-03-22 Thread lzr
Could you please to interpret how the parameter affect the performance of ActiveMQ? thanks a lot, Zhuran Li At 2012-03-21 22:54:14,"Dejan Bosanac" wrote: >Thanks for closing the loop! > >Regards >-- >Dejan Bosanac >Senior Software Engineer | FuseSource Corp. >dej...@fusesource.com | fusesou

Re:Proper handling of disconnected consumers - best approach

2011-12-05 Thread lzr
Do you have any transaction in application? According my experience, the messages should be rolled back to the queue once consumer down in incident. At 2011-12-06 03:48:17,romanhawk wrote: >Dear colleagues, > >I have the following scenario to implement and looking for best ways to >accomplis

Re:Re: Why the transaction down the performance so much???

2011-11-30 Thread lzr
nnections/sessions/prodcuers >and if you have a single consumer cache that. > >Remeber, transactions mean disk syncs, so you will always be limited >by the speed of a fsync to your disk. > >2011/11/30 lzr : >> Dear all, >> >> By my test, the performance down gr

Re:Reply:Reply:Re:Re:Reply:Re:re:About the efficiency of the consumer creation.

2011-11-29 Thread lzr
you do not want to get an OOM. >4,for queue enabling optimizedDispatch will be helpful too. >5,consumer with transaction should be faster than that wihtout transaction. >But if you commit the transaction each time consuming a message it will be >slower indeed. >At 2011-11-29 10:

Why the transaction down the performance so much???

2011-11-29 Thread lzr
Dear all, By my test, the performance down greatly than the test case without the transaction. For same program: Without transaction in Session, 1000 tps; With transaction in Session, about 10~20 tps which is absolutely my expectation I attached my source files and configuration files. It's

Re:Reply:Re:Re:Reply:Re:re:About the efficiency of the consumer creation.

2011-11-29 Thread lzr
>slower indeed. > >At 2011-11-29 10:21:48,lzr wrote: > >Here comes more performance test information: >Without transaction, I can perform the flow about 500 times per second. >With transaction, it's only 20 times per second. > > > >At 2011-11-29 09:35:30,lzr

Re:Re:Reply:Re:re:About the efficiency of the consumer creation.

2011-11-28 Thread lzr
Here comes more performance test information: Without transaction, I can perform the flow about 500 times per second. With transaction, it's only 20 times per second. At 2011-11-29 09:35:30,lzr wrote: Thanks a lot for your timely response! I'll try it again following up your advi

Re:Re: About the efficiency of the consumer creation.

2011-11-28 Thread lzr
was some contention over an internal >destination map that could be causing some trouble, a few periodic >thread dumps of the broker would help identify if that is the problem. > >see: https://issues.apache.org/jira/browse/AMQ-3454 >How many destinations do you have? > >201

Re:Re:Reply:Re:Re:Re: Why does consumer has a lower performance comparing with producer?

2011-10-20 Thread lzr
efore. It seemed that this parameter didn't affect the message receiving. At 2011-10-21 08:38:50,lzr wrote: >Have you ever test the performance of the "consumer.receive"? > > > > > >At 2011-10-20 17:23:30,SuoNayi wrote: >>I have tested the performa

Re:Reply:Re:Re:Re: Why does consumer has a lower performance comparing with producer?

2011-10-20 Thread lzr
for consumer instead of using the >synchronous method consumer.receive(). > >At 2011-10-20 16:49:18,lzr wrote: >>Yes, I run the both consumer and producer in Eclipse. When the sent done, >>start consumer to receive the messages from queue. >> >> >> >&g

Re:Re:Re: Why does consumer has a lower performance comparing with producer?

2011-10-20 Thread lzr
Yes, I run the both consumer and producer in Eclipse. When the sent done, start consumer to receive the messages from queue. At 2011-10-20 16:20:09,lzr wrote: >Yes, its are persistent messages. >As these messages in a huge transaction, without compression property set the >broker

Re:Reply:Re: Why does consumer has a lower performance comparing with producer?

2011-10-20 Thread lzr
to be persisted to the brokers store. >> >>Do you encounter the same behavior when turning off compression? >>Are producer/broker/consumer on the same machine? >>Also, I presume there are no transactions used? >> >> >> >>Torsten Mielke >>tors...@

Re:Re: Why does consumer has a lower performance comparing with producer?

2011-10-20 Thread lzr
r on the same machine? >Also, I presume there are no transactions used? > > > >Torsten Mielke >tors...@fusesource.com >tmie...@blogspot.com > >On Oct 20, 2011, at 9:32 AM, lzr wrote: > >> Hi all, >> >> >> In my cases, I produces and consumes messag

Why does consumer has a lower performance comparing with producer?

2011-10-20 Thread lzr
Hi all, In my cases, I produces and consumes messages with big data: 40K per message, 1 messages produced and consumed for each exchange. For better performance I used jms.useCompression in my connection and it did work well: 1 messages sent in 5 seconds; But my consumer takes about 70

Re:Re: How should I config ActiveMQ to support huge transactions?

2011-10-16 Thread lzr
Thanks a lot, I'll try to use the snap shot version! And for better performance, I'll try to split the huge transactions. At 2011-10-11 18:28:42,"Gary Tully" wrote: >you need to try a 6.5-SNAPSHOT, see: >https://issues.apache.org/jira/browse/AMQ-3374 > &

How should I config ActiveMQ to support huge transactions?

2011-10-10 Thread lzr
Hello all, >From time to time I need to make huge transactions(say 40KB per message and >1 messages per transaction) to ActiveMQ, after trying all kinds of the >configuration mode I found ActiveMQ couldn't meets this need(Memory limit >reached and ActiveMQ Broker doesn't work, and then soc

Re:One session for more consumers

2011-10-10 Thread lzr
Hello all, >From time to time I need to make huge transactions(say 40KB per message and >1 messages per transaction) to ActiveMQ, after trying all kinds of the >configuration mode I found ActiveMQ couldn't meets this need(Memory limit >reached and ActiveMQ Broker doesn't work, and then so

Question for Websphere AppServer 7 Integration.

2009-06-30 Thread lzr
Hi all, Does anybody know how to integrate Active MQ with IBM Websphere AppServer? Currently I'm integrating Active MQ 5.2 with IBM Websphere AppServer 7.0 so that the message-driven bean can be supported. I've configured JCA related things like Resource Adapter, J2C Connection Factory, J2C Acti

Problem about JNDI support: the connection.start hang up and no response.

2009-06-24 Thread lzr
Hi all, Currently I'm studying the JNDI support with Active MQ 520 and found the Connection.start will hang up and no response. It will be much appreciated if anybody could help identify the issues The following codes is my implemenation: Properties props = new Properties();

The support for Websphere AppServer

2009-06-22 Thread lzr
Hi all, Does anybody know how to integrate Active MQ with IBM Websphere AppServer? Currently I'm integrating Active MQ 5.2 with IBM Websphere AppServer 7.0 so that the message-driven bean can be supported. What should I do with the JNDI properties? It will be much appreciated if any suggestions

Re:Load Balancing in ActiveMQ

2009-06-22 Thread lzr
Try this way: Three brokers: b1, b2 and b3; with Queue named q1; Config networkConnectors from b1 to b2 and b3; For the Queue q1, run consumer application on b2 and b3; The messages put into q1 will be dispatched to b2 and b3 in same weight. I tried this configuration and found it worked well.

Re:SV: SSL communication Failure - ActiveMQ

2009-06-21 Thread lzr
Hi Benjamine and Michael, Actually I'm experiencing the similar problem and I really followed up the guide given below. I'd like to know the update/progress of your SSL connection problem. Good luck, Zhuran Li 在2009-06-18,bmap2 写道: >Hi benjamine > >If you're using a self signed certificat