https://issues.apache.org/bugzilla/show_bug.cgi?id=47242

--- Comment #11 from chamith buddhika <chamibuddh...@gmail.com> 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to