DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30551>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30551

New version of JK Connector(1.2.6) does not seem to be working for POST requests.

           Summary: New version of JK Connector(1.2.6) does not seem to be
                    working for POST requests.
           Product: Tomcat 4
           Version: 4.1.30
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Connector:JK/AJP (deprecated)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am trying to port an existing application that is using JK2 to new release 
of JK connector. When I could not configure the app I tried to run a simple 
example application from Tomcat. I could not configure it either. 
Here is my set-up for the simple Tomcat sample application.

I am using JK 1.2.6(recent release) to link IIS5.0 to Tomcat4.1.30 both 
running on WinXP. I am tring to send a simple POST request using 
the "SessionExamples" sample Tomcat application(url 
http://localhost/examples/servlet/SessionExample).
Here are my worker.property and uriworkermap.properties file(from 
<CATALINA_HOME\conf>)  
********worker.properties***********
# ************ Begin worker.properties **************
worker.list=test
worker.test.host=10.1.85.182
worker.test.port=8009
worker.test.type=ajp13
*****************************************************

**********uriworkermap.properties********************
/examples/*=test
*****************************************************
My isapi_redirect.dll file is located @<CATALINA_HOME>\bin\win32\i386 there is
read\execute permission set on the virtual directory.

Get requests are getting processed fine but I am getting following error on 
POST requests:

****************************ERROR*******************************************
Aug 9, 2004 10:44:21 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
Aug 9, 2004 10:44:22 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true
Aug 9, 2004 10:44:22 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', 
returnNull=true
Aug 9, 2004 10:44:22 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true
Aug 9, 2004 10:44:24 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Aug 9, 2004 10:44:24 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Aug 9, 2004 10:44:24 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/50  config=null
Aug 9, 2004 10:45:41 AM org.apache.jk.common.HandlerRequest invoke
SEVERE: Error decoding request
java.io.IOException
        at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:294)
        at org.apache.jk.common.HandlerRequest.decodeRequest
(HandlerRequest.java:537)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:373)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
        at org.apache.jk.common.ChannelSocket.processConnection
(ChannelSocket.java:615)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)

12 34 02 28 02 04 00 08 48 54 54 50 2f 31 2e 31  | .4.(....HTTP/1.1
00 00 20 2f 65 78 61 6d 70 6c 65 73 2f 73 65 72  | .. /examples/ser
76 6c 65 74 2f 53 65 73 73 69 6f 6e 45 78 61 6d  | vlet/SessionExam
70 6c 65 00 00 09 31 32 37 2e 30 2e 30 2e 31 00  | ple...127.0.0.1.
00 09 31 32 37 2e 30 2e 30 2e 31 00 00 09 6c 6f  | ..127.0.0.1...lo
63 61 6c 68 6f 73 74 00 00 50 00 00 0b a0 01 00  | calhost..P...?..
a4 69 6d 61 67 65 2f 67 69 66 2c 20 69 6d 61 67  | ?image/gif, imag
65 2f 78 2d 78 62 69 74 6d 61 70 2c 20 69 6d 61  | e/x-xbitmap, ima
67 65 2f 6a 70 65 67 2c 20 69 6d 61 67 65 2f 70  | ge/jpeg, image/p
6a 70 65 67 2c 20 61 70 70 6c 69 63 61 74 69 6f  | jpeg, applicatio
6e 2f 76 6e 64 2e 6d 73 2d 65 78 63 65 6c 2c 20  | n/vnd.ms-excel,
61 70 70 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 2e  | application/vnd.
6d 73 2d 70 6f 77 65 72 70 6f 69 6e 74 2c 20 61  | ms-powerpoint, a
70 70 6c 69 63 61 74 69 6f 6e 2f 6d 73 77 6f 72  | pplication/mswor
64 2c 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78  | d, application/x
2d 73 68 6f 63 6b 77 61 76 65 2d 66 6c 61 73 68  | -shockwave-flash
2c 20 2a 2f 2a 00 a0 04 00 05 65 6e 2d 75 73 00  | , */*.?...en-us.
a0 06 00 0a 4b 65 65 70 2d 41 6c 69 76 65 00 a0  | ?...Keep-Alive.?
0b 00 09 6c 6f 63 61 6c 68 6f 73 74 00 a0 0d 00  | ...localhost.?..
30 68 74 74 70 3a 2f 2f 6c 6f 63 61 6c 68 6f 73  | 0http://localhos
74 2f 65 78 61 6d 70 6c 65 73 2f 73 65 72 76 6c  | t/examples/servl
65 74 2f 53 65 73 73 69 6f 6e 45 78 61 6d 70 6c  | et/SessionExampl
65 00 a0 0e 00 32 4d 6f 7a 69 6c 6c 61 2f 34 2e  | e.?..2Mozilla/4.
30 20 28 63 6f 6d 70 61 74 69 62 6c 65 3b 20 4d  | 0 (compatible; M
53 49 45 20 36 2e 30 3b 20 57 69 6e 64 6f 77 73  | SIE 6.0; Windows
20 4e 54 20 35 2e 31 29 00 a0 09 00 2b 4a 53 45  |  NT 5.1).?..+JSE
53 53 49 4f 4e 49 44 3d 42 38 36 45 35 39 35 33  | SSIONID=B86E5953
43 45 39 38 30 44 44 46 35 38 34 36 35 38 35 43  | CE980DDF5846585C
32 43 36 44 38 30 44 34 00 a0 08 00 02 33 37 00  | 2C6D80D4.?...37.
a0 07 00 21 61 70 70 6c 69 63 61 74 69 6f 6e 2f  | ?..!application/
78 2d 77 77 77 2d 66 6f 72 6d 2d 75 72 6c 65 6e  | x-www-form-urlen
63 6f 64 65 64 00 a0 03 00 0d 67 7a 69 70 2c 20  | coded.?...gzip,
64 65 66 6c 61 74 65 00 00 0d 63 61 63 68 65 2d  | deflate...cache-
63 6f 6e 74 72 6f 6c 00 00 08 6e 6f 2d 63 61 63  | control...no-cac
68 65 00 03 00 00 00 04 00 00 00 ff              | he.........?
Aug 9, 2004 10:45:41 AM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
****************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to