tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47242] request for AJP command line client
Date Fri, 05 Mar 2010 02:08:16 GMT

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

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.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message