head	1.5;
access;
symbols;
locks
	nobody:1.5; strict;
comment	@# @;


1.5
date	99.08.17.03.54.36;	author nobody;	state Exp;
branches;
next	1.4;

1.4
date	99.08.08.18.28.12;	author nobody;	state Exp;
branches;
next	1.3;

1.3
date	99.08.08.18.23.28;	author nobody;	state Exp;
branches;
next	1.2;

1.2
date	99.08.08.18.22.54;	author nobody;	state Exp;
branches;
next	1.1;

1.1
date	99.08.08.18.22.42;	author nobody;	state Exp;
branches;
next	;


desc
@null
@


1.5
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 2
IDependOn-Set: 278
IDependOn-Set: 279
IDependOn-Set: 282
IDependOn-Set: 7
LastModifiedSecs: 934136892
Parent: 7
SequenceNumber: 2
Title: Malformed AJP request: error reading line data [id = ] [token1 = null] [token2 = null]
Part: 0
Author-Set: jon@@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 934136892
Type: 
Lines: 24
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


EndPart: 0
@


1.4
log
@null
@
text
@d5 1
d15 1
@


1.3
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 934136608
d8 1
a8 1
SequenceNumber: 1
d10 30
@


1.2
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 934136562
d8 2
a9 2
SequenceNumber: 0
Title: New Item
@


1.1
log
@null
@
text
@d3 1
@
