yfor_lookup4: invalid hostname

2012-01-05 Thread mrdiesel
I m getting the following exception. and not sure what s causing it. any ideas? here is my connection string: std::string brokerURI = "tcp://127.0.0.1:61613?wireFormat=stomp"; and this is the error: E 05-150926.792540 4680 yfor_lookup4: invalid hostname: <(null)> Invalid argument F

ActiveMQ Admin or commandline-jmx to configure memoryLimit at run time

2011-11-18 Thread mrdiesel
Hello, I m trying to configure memory limit at run time to be able to throttle my producers. Using jconsole and jmx I m able to change *MemoryLimit* (which is highlighted in blue) and throttle the producers. But i want to be able to do this at run time, without having to restart the server. I t

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-17 Thread mrdiesel
OK It turns out that the version I was using was sick. I used v3.4 and no problems. Thanks Tim. -- View this message in context: http://activemq.2283324.n4.nabble.com/The-Decaf-Threading-API-is-in-a-Shutdown-State-Exception-tp4077689p4081893.html Sent from the ActiveMQ - User mailing list archiv

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-17 Thread mrdiesel
Hi Tim, yes, i m aware that can be done but i m not quite sure, if i can do that with c++. you are saying, have your program keep the connection open as long as the program is open and for each get request, i ll ask the consumer to receive one. rigth? any samples on this? -- View this message in

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-16 Thread mrdiesel
I got the segmentation fault again. but i was able to process 4000 messages. before it was crapping right away. there must be a leak somewhere else? right? -- View this message in context: http://activemq.2283324.n4.nabble.com/The-Decaf-Threading-API-is-in-a-Shutdown-State-Exception-tp4077689p407

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-16 Thread mrdiesel
wow. that did it actually. it works now and no segmentation fault. Thanks man!!!. -- View this message in context: http://activemq.2283324.n4.nabble.com/The-Decaf-Threading-API-is-in-a-Shutdown-State-Exception-tp4077689p4078288.html Sent from the ActiveMQ - User mailing list archive at Nabble.c

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-16 Thread mrdiesel
Where can i find unit tests or other examples? rather than the ones come with package? Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/The-Decaf-Threading-API-is-in-a-Shutdown-State-Exception-tp4077689p4078091.html Sent from the ActiveMQ - User mailing list archive

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-16 Thread mrdiesel
when i m debugging, it just hangs. 8test [Thread -188621920 (LWP 5666) exited] [Thread -146584672 (LWP 5657) exited] [Thread -178132064 (LWP 5663) exited] [Thread -167642208 (LWP 5662) exited] [Thread -157152352 (LWP 5659) exited] [New Thread -146584672 (LWP 5670)] [New Thread -157152352 (LWP 5671

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-16 Thread mrdiesel
I m getting the same segmentation fault error. I moved the init and shutdown statements outside the for loop. 0test 1test 2test 3test Segmentation fault (core dumped) is there a sample, synchronous c++ client i can look? I m really not getting why this is happening? -- View this message in con

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-16 Thread mrdiesel
I took exactly the same code from examples, but instead of asynchronous, i want synchronous client. So all i changed was remove tge listeners and return the message to runConsumer method. I keep getting segmentation fault. Can you advise? Below is the code I m running: #include #include #incl

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-16 Thread mrdiesel
you are right!!. i commented out shutdown library and I dont get that exception anymore. But now I get segmentation fault..:(( Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -188941408 (LWP 28796)] 0xf7d7e255 in decaf::util::concurrent::Lock::lock (this=0xf4bcf0c0) at d

Re: The Decaf Threading API is in a Shutdown State. Exception

2011-11-16 Thread mrdiesel
And Sometimes, it justs hangs, it doesnt even throw exception, with JMX i still can see there is a connection, which is not terminated yet. -- View this message in context: http://activemq.2283324.n4.nabble.com/The-Decaf-Threading-API-is-in-a-Shutdown-State-Exception-tp4077689p4077694.html Sent f