|
|
Malformed AJP request: error reading line data [id = ] [token1 = null] [token2 = null] |
| Someone on the users mailing list had this problem and it was because the URL that he was trying to access was something like this:
http://www.server.com:8007/examples/HelloWorld The problem is that you should not have the port number of the Apache JServ process in the URL. The way that Apache JServ works is that it is a two part process. The C code is a module that is compiled into the httpd daemon. The Java part of the process is a daemon that, by default, listens on port 8007. The C portion talks to the Java portion via sockets on that port. So, the above URL would try a connection to the Java portion directly and you will get errors as a result. (duh!). In reality, you want to make a connection to the servlet engine through the httpd server (ie: port 80). The httpd server then connects to the Java portion through the C module. This is how the picture should look: client - httpd - mod_jserv - sockets - java daemon Not like this: client - java daemon
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||||