Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 88039 invoked from network); 5 Mar 2010 02:08:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Mar 2010 02:08:53 -0000 Received: (qmail 49670 invoked by uid 500); 5 Mar 2010 02:08:40 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 49487 invoked by uid 500); 5 Mar 2010 02:08:40 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 49478 invoked by uid 99); 5 Mar 2010 02:08:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 02:08:39 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 02:08:38 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 1DAB1234C4C6; Fri, 5 Mar 2010 02:08:16 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 47242] request for AJP command line client X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 6 X-Bugzilla-Component: Connectors X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: chamibuddhika@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: default X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20100305020817.1DAB1234C4C6@brutus.apache.org> Date: Fri, 5 Mar 2010 02:08:16 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47242 --- Comment #11 from chamith buddhika 2010-03-05 02:08:14 UTC --- (In reply to comment #10) Hi Ken, The basic syntax currently is as follows. java -jar ajpc.jar -o=- http://localhost:8009/axis2 -o switch with - tells to output to the console. 8009 is the port Tomcat is listening for AJP connections. Output should be some thing like this Run: 10/03/05 07:17:06 |Connection |StartTime |TimedOut |TimeElapsed(ms)|ReplyCode |URL |0 |10/03/05 07:17:06 |false |2 |302 |http://localhost:8009/axis2 I think first two exceptions you encountered are due to the fact that specifying URL differently. Currently you have to give the URL in full with the protocol (http) to make it work. Last one is bit strange because it seems to be a problem with protocol handling logic. I also came up with this error once during half way implementing the client. But it was random and only occured once and disappeared once I completed client in full. But anyway I will see in to that if you come across it again. Btw I guess 9009 is the port tomcat is listening for AJP connections. It has to be like that and not the normal http port for correct functioning for now. Let me know if you come across any issues again. Also you can get a some description of the switches by using -h switch on the command line. Regards, Chamith -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org