Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 54349 invoked from network); 26 Jul 2006 08:10:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 08:10:58 -0000 Received: (qmail 39353 invoked by uid 500); 26 Jul 2006 08:10:57 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 39179 invoked by uid 500); 26 Jul 2006 08:10:56 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 39170 invoked by uid 99); 26 Jul 2006 08:10:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 01:10:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 01:10:54 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1G5eTR-00026b-J6 for activemq-users@geronimo.apache.org; Wed, 26 Jul 2006 01:10:33 -0700 Message-ID: <5499316.post@talk.nabble.com> Date: Wed, 26 Jul 2006 01:10:33 -0700 (PDT) From: Sab To: activemq-users@geronimo.apache.org Subject: Connection reset by peer: socket write error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: sabarinathan.s@ibahealth.com X-Nabble-From: Sab X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, I'm using ActiveMQ 4.0.1 Release and running a thread which sends a simple Text Message... the idea is just to test the no. of concurrent requests that the broker can handle.... public class LoadTest extends Thread { public static final int THREAD_COUNT = 5000; private JmsTemplate jmsTemplate; public void run(){ try { //JMessageCreator is a utility class for creating JMS Messages. jmsTemplate.send(new JMessageCreator("Hello World", properties)); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } public static void main(String args[]) throws IOException{ for(int i=0;i