Re: Question about Producer Consumer usage

2008-05-13 Thread Filip Hanik - Dev Lists
jaya_srini wrote: Thanks Filip! Could using a failover transport cause this deadlock? We did see a network blip and several reconnect attempts being made in the logs by the failover that is possible but one can't tell for certain until there is a trace of it, the goal of a failover system is

Re: Question about Producer Consumer usage

2008-05-13 Thread jaya_srini
Thanks Filip! Could using a failover transport cause this deadlock? We did see a network blip and several reconnect attempts being made in the logs by the failover transport. I was wondering if the failover thread trying to reconnect and the application thread trying to send a message somehow cou

Re: Question about Producer Consumer usage

2008-05-13 Thread Filip Hanik - Dev Lists
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1172) at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1640) - locked <0x07c45ea0> (a java.lang.Object) you are sending sync, in your code you can do this what you can do is play arou

Re: Question about Producer Consumer usage

2008-05-13 Thread jaya_srini
here's the link http://www.nabble.com/file/p17221085/thread_dump.txt thanks Jaya Filip Hanik - Dev Lists wrote: > > paste it into the email or provide a link to it, > attachment dont make it to the user list > > Filip > > jaya_srini wrote: >> Hi Filip >> >> I have attached the file "thread_

Re: Question about Producer Consumer usage

2008-05-13 Thread Filip Hanik - Dev Lists
paste it into the email or provide a link to it, attachment dont make it to the user list Filip jaya_srini wrote: Hi Filip I have attached the file "thread_dump.txt" that gives the thread-dump. if you need more info please let me know. thanks! jaya Filip Hanik - Dev Lists wrote: that is

Re: Question about Producer Consumer usage

2008-05-13 Thread jaya_srini
Hi Filip I have attached the file "thread_dump.txt" that gives the thread-dump. if you need more info please let me know. thanks! jaya Filip Hanik - Dev Lists wrote: > > that is a thread dump for one (1) thread, why don't you post the entire > thread dump for all threads > > Filip > > jay

5.1's linux daemon service config ...

2008-05-13 Thread Sridhar2008
Can somebody point me to the equivalent of /apache-activemq-5.0.0/bin/linux/activemq (running as linux daemon thread: http://activemq.apache.org/java-service-wrapper.html) that uses the /apache-activemq-5.1.0/bin/linux-x86-32/wrapper.conf ? (there is no /apache-activemq-5.1.0/bin/linux-x86-32/

Re: activemq-admin error during stop

2008-05-13 Thread Mike Miljour
I am encountering the same problem. Even if I use the default port of 61616, I get the exact same exceptions. I am trying to upgrade from a snapshot 5.0 from January. We need the ability to shutdown ActiveMQ from a script. Here is my configuration: http://activemq.org/config/1.0"; d

Re: "Duplex" problems

2008-05-13 Thread Rob Davies
On 13 May 2008, at 17:43, ttmdev wrote: I also ran across this issue with the latest 5.1. Messages bounce back and forth between the 2 brokers via the duplex transport until the ttl count expires. The DemandForwardingBridge doesn't check where the message came from before sending it back of

Re: broker gets a random shudown signal after left inactive for a while

2008-05-13 Thread Rob Davies
On 13 May 2008, at 23:12, Amene wrote: This issue was caused because of starting activemq broker on a remote server through ssh terminal, read more about this here http://activemq.apache.org/run-broker.html Amene wrote: I am using ActiveMq 5.1 on linux with jdk1.6, but after a few hours

Re: broker gets a random shudown signal after left inactive for a while

2008-05-13 Thread Amene
This issue was caused because of starting activemq broker on a remote server through ssh terminal, read more about this here http://activemq.apache.org/run-broker.html Amene wrote: > > I am using ActiveMq 5.1 on linux with jdk1.6, but after a few hours of > inactivity I see that it receives a sh

broker gets a random shudown signal after left inactive for a while

2008-05-13 Thread Amene
I am using ActiveMq 5.1 on linux with jdk1.6, but after a few hours of inactivity I see that it receives a shutdown signal out of no where and shuts down! any help is highly appreciated, thanks, -Amene -- View this message in context: http://www.nabble.com/broker-gets-a-random-shudown-signal-a

activemq-admin error during stop

2008-05-13 Thread Badri
Hi I am using AMQ 5.1.0. I am unable to stop Active MQ. First I get FailoverTransport error when it's trying to connect to localhost:61616. Connection refused error. 2008-05-13 16:39:48,568 DEBUG FailoverTransport - Attempting connect to: tcp://localhost:61616 2008-05-13 16:39:48,

Re: unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Bruce Snyder
On Tue, May 13, 2008 at 12:38 PM, Zemian Deng <[EMAIL PROTECTED]> wrote: > Hum... perhaps, a note of warning on the wiki near download page will > be helpful then. Yes, that's a good point. Done. > I still don't know to use PGP to verify the download. Can someone > enlightening me? The Apache

Re: Question about Producer Consumer usage

2008-05-13 Thread Filip Hanik - Dev Lists
that is a thread dump for one (1) thread, why don't you post the entire thread dump for all threads Filip jaya_srini wrote: thanks for the response, Filip! Thread dump below is what we got on the client side. I'll try and see if I can get a better dump. So what would be the resolution for thi

Re: unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Zemian Deng
Hum... perhaps, a note of warning on the wiki near download page will be helpful then. I still don't know to use PGP to verify the download. Can someone enlightening me? On Tue, May 13, 2008 at 2:29 PM, Bruce Snyder <[EMAIL PROTECTED]> wrote: > On Tue, May 13, 2008 at 11:34 AM, Filip Hanik - Dev

Re: unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Bruce Snyder
On Tue, May 13, 2008 at 11:34 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > with other downloads such as tomcat or httpd, I don't have this problem I doubt that Tomcat or httpd use Maven to create releases. Hence, they won't exhibit this issue. Bruce -- perl -e 'print unpack("u30","D0

Re: unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Bruce Snyder
On Tue, May 13, 2008 at 8:29 AM, Zemian Deng <[EMAIL PROTECTED]> wrote: > Hi list, > > I tried few mirrors, but the file I got can't be untar. I get the > following error: > > tar: Unexpected EOF in archive > tar: A lone zero block at 61740 > tar: Error exit delayed from previous errors > > I

Re: Question about Producer Consumer usage

2008-05-13 Thread jaya_srini
thanks for the response, Filip! Thread dump below is what we got on the client side. I'll try and see if I can get a better dump. So what would be the resolution for this? Will enabling the jms.useAsyncSend property on the connection URI help fix this i.e cause the send to be asynchronous so that

Re: Does AMQ Message Store downgrade the performance?

2008-05-13 Thread janylj
The broker and the clients are both at: Ubuntu Release 8.04 Kernel Linux 2.6.24-16-generic Please let me know if you need more info. Thank you. rajdavies wrote: > > > On 13 May 2008, at 18:12, janylj wrote: > >> >> Hello, >> >> I am using the AMQ Message Store for the persistence. The >> c

Re: Does AMQ Message Store downgrade the performance?

2008-05-13 Thread Rob Davies
On 13 May 2008, at 18:12, janylj wrote: Hello, I am using the AMQ Message Store for the persistence. The configuration is: It seems to me that the AMQ message store affects the performance a lot. I am using Maven2 performance test (http://activemq.apache.org/activemq-performance-m

Re: unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Filip Hanik - Dev Lists
with other downloads such as tomcat or httpd, I don't have this problem Filip Timothy Bish wrote: On Solaris I always install GNU Tar as the Solaris version seems incapable of handling tar files created by versions of tar other than itself. Regards Tim. On Tue, 2008-05-13 at 08:21 -0700, F

Does AMQ Message Store downgrade the performance?

2008-05-13 Thread janylj
Hello, I am using the AMQ Message Store for the persistence. The configuration is: It seems to me that the AMQ message store affects the performance a lot. I am using Maven2 performance test (http://activemq.apache.org/activemq-performance-module-users-manual.html). For the case of 1 produ

Re: "Duplex" problems

2008-05-13 Thread ttmdev
I also ran across this issue with the latest 5.1. Messages bounce back and forth between the 2 brokers via the duplex transport until the ttl count expires. The DemandForwardingBridge doesn't check where the message came from before sending it back off to the remote. Working on a patch for the c

performance report

2008-05-13 Thread Zemian Deng
Hi, Reading http://activemq.apache.org/how-does-activemq-compare-to-jbossmq.html I find a link to performance report at http://www.logicblaze.com/reg.jsp?nextPage=reg_thank_you.jsp&resource=perfomance%20report&optout=false but that report link is not pointing to any performance doc. Any way i ca

Re: Network of brokers - already connected

2008-05-13 Thread /U
I have an identical problem with 4.1.2. Is the duplex keyword implicitly set to true in 4.1.2 network connectors? Documentation seems to suggest this keyword was introduced in 5.0... Thank you, /Ur toff wrote: > > Hi Joe, > > thank you again. I confirm that taking avay the duplex attribute do

Re: Network of brokers - already connected

2008-05-13 Thread /U
I have an identical problem with 4.1.2. Is the duplex keyword implicitly set to true in 4.1.2 network connectors? Documentation seems to suggest this keyword was introduced in 5.0... Thank you, /Ur toff wrote: > > Hi Joe, > > thank you again. I confirm that taking avay the duplex attribute do

Re: unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Zemian Deng
I am using MacOSX tar command and it doesn't work :( Also, I can't find instruction on how to verify the file with PGP. I have a MacPGP installed, but not sure where to go from here. Do I need a public key from activemq project to verify the file? On Tue, May 13, 2008 at 11:24 AM, Timothy Bish <

Re: memory usage dead lock?

2008-05-13 Thread Rob Davies
On 13 May 2008, at 16:08, Filip Hanik - Dev Lists wrote: Rob Davies wrote: On 12 May 2008, at 19:28, Filip Hanik - Dev Lists wrote: I am publishing to a temporary topic, producing fast, consuming slow after a while the memory usage kicks in on the server. if I disconnect the consumer/produ

Re: unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Timothy Bish
On Solaris I always install GNU Tar as the Solaris version seems incapable of handling tar files created by versions of tar other than itself. Regards Tim. On Tue, 2008-05-13 at 08:21 -0700, Filip Hanik - Dev Lists wrote: > using gunzip and tar on solaris and windows(gunzip and tar ports) I ge

Re: unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Filip Hanik - Dev Lists
using gunzip and tar on solaris and windows(gunzip and tar ports) I get the following x apache-activemq-5.1.0/webapps/fileserver/WEB-INF/web.xml, 1860 bytes, 4 tape blocks tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file x ././@LongLink, 108 bytes, 1 tape blocks x a

activemq-admin stop - port already in use

2008-05-13 Thread andrewh
Hi all, "activemq-admin start" works fine, but "stop" complains with the following: [EMAIL PROTECTED]:~$ sudo /usr/local/activemq/bin/activemq-admin stop Password: Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 1099; nested exception is: jav

Re: memory usage dead lock?

2008-05-13 Thread Filip Hanik - Dev Lists
Rob Davies wrote: On 12 May 2008, at 19:28, Filip Hanik - Dev Lists wrote: I am publishing to a temporary topic, producing fast, consuming slow after a while the memory usage kicks in on the server. if I disconnect the consumer/producer (ie, kill the client) the server remains stuck in this

unix download of apache-activemq-5.1.0.tar.gz is corrupted

2008-05-13 Thread Zemian Deng
Hi list, I tried few mirrors, but the file I got can't be untar. I get the following error: tar: Unexpected EOF in archive tar: A lone zero block at 61740 tar: Error exit delayed from previous errors I used firefox to download. Any idea? -- Thanks, Zemian Deng

Re: java.lang.OutOfMemoryError: unable to create new native thread on AMQ 5.0

2008-05-13 Thread Danilo Tuler
Hi, I have this problem too. It happens with AMQ 5.0.0 and 5.1.0. Works fine with 4.1.1 and 4.1.2. I can see the number of threads using the windows task manager, and it's not good :-) +2000 threads. My client application is a producer, and it sends thousands of messages to thousands of differen

5.1.0 Network Brokers: changes since 4.1.1?

2008-05-13 Thread Benoitx
Hi All, We’re using ActiveMQ with Mule 1.4.4-SNAPSHOT. I've just upgraded from ActiveMQ 4.1.1 to 5.1.0 and suddenly all my network of brokers keep the messages in the local queues! I think it is an issue related to the first broker not forwarding messages to the second broker as we have an old

Re: Network of Brokers - Broker A talking to Broker B

2008-05-13 Thread Benoitx
Has anyone found a solution to this? I've just upgraded from ActiveMQ 4.1.1 to 5.1.0 and suddenly all my network of brokers keep the messages in the local queues! I think it is an issue related to the first broker not forwarding messages to the second broker. We have an old 4.1.1 broker part of

Re: ActiveMQ, Spring 2.5 And Jencks

2008-05-13 Thread Rob Davies
On 13 May 2008, at 09:39, carloc wrote: Hi Everyone, I'm gonna use activemq in a project. It will be a distributed system which will use Active MQ for communicating with each other. Some of the functions involve request/reply pattern usage. My Question Is, Will I need to use Jencks in

Re: MessageServlet in Glassfish

2008-05-13 Thread Eric Rodriguez
I don't know how OpenMQ works, I can tell you however that you can point it to an external broker such as tcp://host.port and many more protocols: http://activemq.apache.org/uri-protocols.html Hope this helps, Eric lancedv wrote: Hi to all, I was wondering if i could use the MessageServlet

Re: MessageServlet in Glassfish

2008-05-13 Thread Rob Davies
On 13 May 2008, at 10:16, lancedv wrote: Hi to all, I was wondering if i could use the MessageServlet servlet in Glassfish using OpenMQ as broker. I noticed that in the deployment descriptor of demo web app that it is using an embedded broker pointing to vm://localhost. Would it work if

Re: AMQ5.1 bridge to WebsphereMQ 5.3 -> javax.jms.IllegalStateException: MQJMS1112

2008-05-13 Thread Rob Davies
On 13 May 2008, at 09:52, martyman wrote: Hi guys, based on examples I've found on the net I've configured a bridge from AMQ 5.1.0 to Webphere MQ 5.3. Messages are forwarded thus the bridge seems to work but I get lots of javax.jms.IllegalStateExceptions in the logs (see below). Did I

MessageServlet in Glassfish

2008-05-13 Thread lancedv
Hi to all, I was wondering if i could use the MessageServlet servlet in Glassfish using OpenMQ as broker. I noticed that in the deployment descriptor of demo web app that it is using an embedded broker pointing to vm://localhost. Would it work if i use OpenMQ? TIA -- View this message in contex

AMQ5.1 bridge to WebsphereMQ 5.3 -> javax.jms.IllegalStateException: MQJMS1112

2008-05-13 Thread martyman
Hi guys, based on examples I've found on the net I've configured a bridge from AMQ 5.1.0 to Webphere MQ 5.3. Messages are forwarded thus the bridge seems to work but I get lots of javax.jms.IllegalStateExceptions in the logs (see below). Did I miss something? Any hints? Should I rather use Cam

ActiveMQ, Spring 2.5 And Jencks

2008-05-13 Thread carloc
Hi Everyone, I'm gonna use activemq in a project. It will be a distributed system which will use Active MQ for communicating with each other. Some of the functions involve request/reply pattern usage. My Question Is, Will I need to use Jencks in order for me to do this? What is the use of Jenck