Re: PrefetchSize doesn't work.

2008-07-04 Thread Filip Hanik - Dev Lists
it works if you specify it on both ends, so you have the client correct, on the server you need to specify it too uri="tcp://localhost:61616?maxInactivityDuration=-1&jms.prefetchPolicy.all=1" /> Filip fl wrote: Hello, I have trouble with disabling prefetch buffer for consumers. I

Re: Installation of activemq 5.10 on Solaris 8, Ultrasparc, V240

2008-06-03 Thread Filip Hanik - Dev Lists
this is because the build tool, Maven, that is used to create the distros for ActiveMQ, doesn't create compatible binaries for Solaris, even if you use gtar on Solaris, as opposed to the regular one. this is what I had to do to get it to work 1. download the .tar.gz onto a linux box 2. gunzip

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

2008-05-22 Thread Filip Hanik - Dev Lists
Danilo Tuler wrote: Hi Filip, Filip Hanik - Dev Lists wrote: in the test case provided, the program is trying to create 5000+ connections/sessions, hence that would require 5000 threads, not very scalable. No, the program is not creating 5000+ connections/sessions. There is a

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

2008-05-22 Thread Filip Hanik - Dev Lists
Danilo Tuler wrote: Hi Filip, Filip Hanik - Dev Lists wrote: essentially, it's more of a tuning thingy then a memory leak, if one needs that many topics/queues, then not running with the dedicated task runner sounds like the solution, I didn't understand why you cla

Re: create policyentry for temp topics

2008-05-21 Thread Filip Hanik - Dev Lists
mode on the producer) - and then set the DLQ strategy property processNonPersistent=false cheers, Rob http://open.iona.com/products/enterprise-activemq http://rajdavies.blogspot.com/ On 20 May 2008, at 15:33, Filip Hanik - Dev Lists wrote: Sure Badri, our use case that we were dropping me

Re: create policyentry for temp topics

2008-05-20 Thread Filip Hanik - Dev Lists
ion strategies". By doing this I am hoping that other fast consumers receive data. Do you think plugin filters could also make a difference since this is a data sensitive application? Thanks Badri Filip Hanik - Dev Lists wrote: Sure Badri, our use case that we were dropping messages on t

Re: Multiple threads for ActiveMQ Connection

2008-05-20 Thread Filip Hanik - Dev Lists
mandira wrote: We are using ActiveMQ for parallel processing - Some of parallelism achieved through JMS Listeners and some through multiple threads. While running the application after some time - we were always getting "Out of Memory" Error yeah, but what kind of OOME? there are many types

Re: create policyentry for temp topics

2008-05-20 Thread Filip Hanik - Dev Lists
e broker plugin filter? I also need to create policy entry for temporary topics. Thanks for your help & time. Badri Filip Hanik - Dev Lists wrote: I couldn't get that to work properly, I even tried topic="ID>" since that was the prefix, and didn't work either. I worked

Re: create policyentry for temp topics

2008-05-19 Thread Filip Hanik - Dev Lists
ll topics or all queues right (since the actually names are dynamic)? One way to do it might be to use topic='>' since that would match all topics (temp topics are still topics). But I guess we should have something a little bette than that. On Fri, May 9, 2008 at 7:45 PM, Filip

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

2008-05-19 Thread Filip Hanik - Dev Lists
essentially, it's more of a tuning thingy then a memory leak, if one needs that many topics/queues, then not running with the dedicated task runner sounds like the solution, Filip Filip Hanik - Dev Lists wrote: so it seems there are two OOME problems either you hit java heap space erro

Re: VM crashed during stress test

2008-05-19 Thread Filip Hanik - Dev Lists
that's inside the JVM, the thread causing the crash is "VMThread". turn off the debugger in the JVM ie, remove the line -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1679 and try again Filip sk123 wrote: Hi, I am using Active MQ 5.1. My test is to send 4000 event in a min

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

2008-05-19 Thread Filip Hanik - Dev Lists
so it seems there are two OOME problems either you hit java heap space error, or if you have increased your -Xmx very high, you'll run into OOME caused by not enough mem for the number of threads it tries to create. the two errors are directly related to each other, increasing -Xmx (java hea

Re: Building a distribution

2008-05-16 Thread Filip Hanik - Dev Lists
vemq-5.2-SNAPSHOT-src.zip maven-shared-archive-resources Filip Bruce Snyder wrote: On Fri, May 16, 2008 at 10:10 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: can I build a distribution without having to upload or do any SVN actions, I'm reading http://activemq

Re: Building a distribution

2008-05-16 Thread Filip Hanik - Dev Lists
ld build a build without you needing to use the release process?!? Thanks, Aaron On Fri, May 16, 2008 at 12:34 PM, Aaron Mulder <[EMAIL PROTECTED]> wrote: Move your eclipse files away for long enough to do the build? Thanks, Aaron On Fri, May 16, 2008 at 12:10 PM, Filip Han

Building a distribution

2008-05-16 Thread Filip Hanik - Dev Lists
can I build a distribution without having to upload or do any SVN actions, I'm reading http://activemq.apache.org/release-guide.html also, when, mvn release:prepare -DdryRun=true -Prelease I get the error Caused by: org.apache.maven.plugin.MojoFailureException: Cannot prepare the release bec

Re: ORA-00020: maximum number of processes (150) exceeded

2008-05-15 Thread Filip Hanik - Dev Lists
this might not be related to the pool, but the fact that statements and resultsets are not closed. the error comes directly from Oracle, Filip Hiram Chirino wrote: could you try using the C3P0 [1] connection pooling instead of the default commons logging pooling. Some folks have reported bet

Re: 5.1's linux daemon service config ...

2008-05-14 Thread Filip Hanik - Dev Lists
you have two options 1. the java service wrapper runs on unix too, you can get the wrapper itself from http://wrapper.tanukisoftware.org 2. just write your own shell scripts to manage start/stop of the activeMQ program, this is a fairly trivial exercise on unix systems Filip Michael Caplan

Re: Question about Producer Consumer usage

2008-05-13 Thread Filip Hanik - Dev Lists
d the failover transport and enable async send and dispatch we are not seeing this issue anymore atleast not so far... good! Thanks again for taking time to respond! you're welcome Filip Filip Hanik - Dev Lists wrote: at org.apache.activemq.ActiveMQConnection.sync

Re: Question about Producer Consumer usage

2008-05-13 Thread Filip Hanik - Dev Lists
from the server when taking thread dumps, always take two of them, otherwise you don't have a reference in time Filip jaya_srini wrote: here's the link http://www.nabble.com/file/p17221085/thread_dump.txt thanks Jaya Filip Hanik - Dev Lists wrote: paste it into the

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 wrot

Re: Question about Producer Consumer usage

2008-05-13 Thread Filip Hanik - Dev Lists
eProducerSupport.send(ActiveMQMessageProducerSupport.java:268) at org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:146) Filip Hanik - Dev Lists wrote: as I mentioned, the blocking happens on the mutex for an ActiveMQSession, the only way you can end up block

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

2008-05-13 Thread Filip Hanik - Dev Lists
-0700, Filip Hanik - Dev Lists wrote: 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

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

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

Re: Question about Producer Consumer usage

2008-05-12 Thread Filip Hanik - Dev Lists
as I mentioned, the blocking happens on the mutex for an ActiveMQSession, the only way you can end up blocking two threads there, is if two threads are using the same session, can you post the complete thread dump? thanks Filip jaya_srini wrote: So Sorry! :( I just thought I would explain o

Re: Question about Producer Consumer usage

2008-05-12 Thread Filip Hanik - Dev Lists
is this the same issue as you posted in: *http://tinyurl.com/67yanp* or for full URL: http://activemq.markmail.org/search/?q=jaya_srini#query:jaya_srini%20from%3A%22jaya_srini%22+page:2+mid:ad2dkiy64bi5oejs+state:results if so, creating multiple postings for the same issue, will actually lessen

Re: OOME - ActiveMQMessageConsumer.unconsumedMessages

2008-05-12 Thread Filip Hanik - Dev Lists
Filip Hanik - Dev Lists wrote: Rob Davies wrote: On 1 May 2008, at 00:02, Filip Hanik - Dev Lists wrote: There doesnt seem to be a way of limiting how messages are delivered to the client. the ActiveMQMessageConsumer.unconsumedMessages seems to fill up, all to quickly, and eventually cause

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

2008-05-12 Thread Filip Hanik - Dev Lists
below are for the broker. Michele On 2 May 2008, at 00:20, Filip Hanik - Dev Lists wrote: -Xms512m -Xmx1024m -Xmn500m

memory usage dead lock?

2008-05-12 Thread Filip Hanik - Dev Lists
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 state, and nothing gets cleaned up, and the server is unusable. Is this a kn

Re: configure a broker filter

2008-05-09 Thread Filip Hanik - Dev Lists
got it, BrokerPlugin Filip Filip Hanik - Dev Lists wrote: I'm having a hard time figuring out how to configure a custom broker filter, where in activemq.xml do I configure this? Filip

configure a broker filter

2008-05-09 Thread Filip Hanik - Dev Lists
I'm having a hard time figuring out how to configure a custom broker filter, where in activemq.xml do I configure this? Filip

create policyentry for temp topics

2008-05-09 Thread Filip Hanik - Dev Lists
is there a way to create a for temporary topics? Filip

Re: Need Help with blocking Producer!

2008-05-09 Thread Filip Hanik - Dev Lists
ame rate as being produced. I have 4 producers that are also consumers. Currently the consumers when they receive the message just log it to a log file. Filip Hanik - Dev Lists wrote: that means youre producing messages faster than they are being consumed. you could setup a policy entry to t

Re: Need Help with blocking Producer!

2008-05-08 Thread Filip Hanik - Dev Lists
that means youre producing messages faster than they are being consumed. you could setup a policy entry to turn off flow control memoryLimit="10mb"/> memoryLimit="10mb"/> however, if your consumers never catch up, then you need to decide what you wanna do with your messages, as eventually y

catch all policy entry

2008-05-08 Thread Filip Hanik - Dev Lists
hi, I have two questions about policy entries and wild card matching, can I configure my entries like this memoryLimit="10mb"> Questions: 1. is the matching ordered, ie, if I match on the first entry, those settings apply, and then fallback to the second? 2. Do these policy entr

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

2008-05-01 Thread Filip Hanik - Dev Lists
rvices/training/webinars.html it's recorded, and you'll learn how java memory management works Filip Michele On Thu, May 1, 2008 at 7:50 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: when it happens, do a thread dump to make sure you don't have a thread leak

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

2008-05-01 Thread Filip Hanik - Dev Lists
when it happens, do a thread dump to make sure you don't have a thread leak (too many threads) then lower your -Xmx setting, this will make more room in the JVM for threads, Filip Michele Mazzucco wrote: Hi all, I'm facing the following error while using AMQ 5.0 ERROR efaultMessageListene

Re: OOME - ActiveMQMessageConsumer.unconsumedMessages

2008-05-01 Thread Filip Hanik - Dev Lists
Rob Davies wrote: On 1 May 2008, at 00:02, Filip Hanik - Dev Lists wrote: There doesnt seem to be a way of limiting how messages are delivered to the client. the ActiveMQMessageConsumer.unconsumedMessages seems to fill up, all to quickly, and eventually cause an OOME we have this setting

OOME - ActiveMQMessageConsumer.unconsumedMessages

2008-04-30 Thread Filip Hanik - Dev Lists
There doesnt seem to be a way of limiting how messages are delivered to the client. the ActiveMQMessageConsumer.unconsumedMessages seems to fill up, all to quickly, and eventually cause an OOME we have this setting on the server memoryLimit="10mb">

Re: ActiveMQ Transport Server OutOfMemoryError while running load test

2007-10-26 Thread Filip Hanik - Dev Lists
if you look at the message java.lang.OutOfMemoryError: unable to create new native thread this will tell you that it has nothing to do with your Xmx setting. Threads and thread stacks are allocated outside your Java heap (ie, your Xms and Xmx settings) and you've simply run out of space to cre