Looking for encoded string too long workaround

2008-05-22 Thread rtsan
Hello, I need to send over http/https strings or objects bigger than 65k. Does anyone know if there's a work-around or solution to UTFDataFormatException: encoded string too long problem? Thanks in advance, rtsan -- View this message in context:

Re: JMeter tests for 5.0.0?

2008-05-22 Thread Reda
AMQ5 Jmeter: any news about an updated documentation/binary for amq5? http://activemq.apache.org/jmeter-performance-tests.html http://people.apache.org/repository/incubator-activemq/distributions/ or have I to use jmeter/4.1 release? Thanks Matteo -- View this message in context:

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

2008-05-22 Thread Hiram Chirino
could you post a stack trace of your broker when it's got a alot of threads allocated? Thx. On Fri, May 16, 2008 at 3:51 PM, Danilo Tuler [EMAIL PROTECTED] wrote: Hiram Chirino wrote: I modified your case so that it's a JUnit test and so that it starts an embedded broker.. I did not see

Re: Looking for encoded string too long workaround

2008-05-22 Thread Hiram Chirino
The body of a TextMessage supports big strings. On Thu, May 22, 2008 at 7:05 AM, rtsan [EMAIL PROTECTED] wrote: Hello, I need to send over http/https strings or objects bigger than 65k. Does anyone know if there's a work-around or solution to UTFDataFormatException: encoded string too long

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 classify this

Re: ActiveMQ exclusive.consumer in version 5.1.0 of broker

2008-05-22 Thread Hiram Chirino
Could you create a junit tests and post it? That would be the best way for us to verify if it's a bug or not. On Tue, May 20, 2008 at 7:58 AM, Des Smith [EMAIL PROTECTED] wrote: I'm using ActiveMQ 5.1.0 broker. Ive set up 2 consumers to listen for messages from a producer. Both are created

AMQ-1132 workaround?

2008-05-22 Thread Jamie McCrindle
Hi all, I'm getting hit by AMQ-1132 - the activeio-core-test.jar is being included by maven and the log4j.properties inside the jar file is overriding my own log4j.properties (with associated /target/test.log exception). Anybody know a workaround in maven. The exclusions mechanism doesn't allow

Re: AMQ-1132 workaround?

2008-05-22 Thread Jamie McCrindle
I'm using ActiveMQ 5.1.0 and moving to a 5.2.0 snapshot isn't an option... On Thu, May 22, 2008 at 7:18 PM, Jamie McCrindle [EMAIL PROTECTED] wrote: Hi all, I'm getting hit by AMQ-1132 - the activeio-core-test.jar is being included by maven and the log4j.properties inside the jar file is

Re: AMQ-1132 workaround?

2008-05-22 Thread Jamie McCrindle
Solved: dependency groupIdorg.apache.activemq/groupId artifactIdactivemq-core/artifactId version5.1.0/version exclusions exclusion groupIdorg.apache.activemq/groupId artifactIdactiveio-core/artifactId /exclusion /exclusions

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

2008-05-22 Thread Danilo Tuler
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 single connection and session.

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: Problems with ActiveMQ4.1.1 - Master/Slave brokers

2008-05-22 Thread rvenkat23
Hi I am also facing the same problem. When the master is killed and slave becomes the master the messages already placed in the queue are stuck. But its able to process the new message produced after slave becomes the master. We are using ActiveMQ 4.1.1. what am i doing wrong? Can any one post

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

2008-05-22 Thread Hiram Chirino
Please post a stack trace of all those threads that on the broker side when you run this test. It would help us tremendously in figuring out the problem. and BTW I do think it's a problem. On Thu, May 22, 2008 at 2:40 PM, Danilo Tuler [EMAIL PROTECTED] wrote: Hi Filip, Filip Hanik - Dev

Store And Forward Request Reply

2008-05-22 Thread carloc
Hi Everyone, I would like to implement a request - reply message. I have two brokers, a local broker and a remote broker. My problem is I want to do a request reply but I'm not sure of whether to go directly to the remote broker and make a request there. Or to put a request on the local broker

Re: Store And Forward Request Reply

2008-05-22 Thread Hiram Chirino
either one works.. but putting on the local broker is typically simpler and what is normally done. On Thu, May 22, 2008 at 4:06 PM, carloc [EMAIL PROTECTED] wrote: Hi Everyone, I would like to implement a request - reply message. I have two brokers, a local broker and a remote broker. My

Help: Using Camel routing in Equinox OSGi

2008-05-22 Thread paulu
I'm probably missing something basic, but ... Camel 1.3.0, Equinox/Eclipse 3.3.2, ActiveMQ 5.1.0 I'm trying to get Camel working in the Equinox/Eclipse OSGi container. I have a bundle which includes beans for processing messages from JMS/ActiveMQ queues (seperate broker, tcp connection), and a

Creating temporary connections from Javascript?

2008-05-22 Thread ipsi
I'm trying to do something that I would have thought would be quite simple: Use JMS to provide communication back and forth between a AJAX-enabled webpage and a server. However, that's being harder than I would have liked because I can't (as far as I can tell) create a temporary Queue via AJAX,

Re: Creating temporary connections from Javascript?

2008-05-22 Thread ipsi
Ok, I guess I should have read the AMQ documentation that says it can create Queues on the fly. I didn't think about that because the J2EE docs explicity say that that doesn't work. Just to double check though, creating a regular queue with session.createQueue will work just fine, right? I'm

Re: Creating temporary connections from Javascript?

2008-05-22 Thread ipsi
Ok, here's my problem: AJAX can create and receive messages from dynamic Queues, but as far as I can tell, the Java code can't receive messages from it. It can send them, however! What's up with this? Am I not connecting to the AMQ Connection Factory? As far as I can tell, I am though. I'm not

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

2008-05-22 Thread Danilo Tuler
Hi Hiram, Hiram Chirino wrote: Please post a stack trace of all those threads that on the broker side when you run this test. I'm attaching both debug logs from the server and the client. The OOME stack trace is below. INFO | jvm 1| 2008/05/22 23:29:01 | java.lang.OutOfMemoryError:

Re: Store And Forward Request Reply

2008-05-22 Thread carloc
Hi Thanks FOr THe Replies, WHat's an example of a forwarding bridge? Is THere Any Example in the Wiki? Is it the JMS to JMS bridge listed in the features section? THanks and Regards Sridhar2008 wrote: First off, given the info in your email, I think local broker gives you isolation from

ActiveMQ In Jboss - Two Brokers Getting Created when using VM Protocol

2008-05-22 Thread Kumar Ravella
Hi All , There are two Brokers Getting Created while trying to use both VM and TCP Protocols.. I deployed ActiveMQ inside JBoss. - activemq-ra.rar. In my Brokre-Config i have made these setting for My Broker. Named it as Broker1 . Persistence set to false. And in transport Connector i