All,

I have set up two instances of JBoss with one Apache box in front of
them doing load balancing and connected via mod_jk.

Load balancing is working fine, as is HTTP Session Replication.

However, I am getting an odd error:
- I hit my application through the Apache box, and am redirected to
JBoss box 1.
- I begin an application workflow that puts some data in the session.
- I then shutdown JBoss on box 1, and continue the application flow.
- JBoss on box 2 deserializes the session data correctly, and gets the
request.
- *BUT*, the POST data does *not* come along with the request.

When I recieve the POST data (eg by not shutting down JBoss 1), I see
output like the following from JBoss2:
10:52:24,216 INFO  [JkInputStream] Receiving: getting request body chunk
67 67
10:52:24,218 INFO  [STDOUT] 12 34 00 43 00 41 6c 6f 77 61 6d 6f 75 6e 74
3d  | .4.C.Alowamount=
10:52:24,219 INFO  [STDOUT] 31 30 26 6c 6f 61 64 61 6d 6f 75 6e 74 3d 31
30  | 10&loadamount=10
10:52:24,219 INFO  [STDOUT] 26 63 68 65 63 6b 73 3d 6e 6f 6e 65 26 61 64
64  | &checks=none&add
10:52:24,220 INFO  [STDOUT] 72 65 73 73 65 73 3d 26 73 70 6f 6e 73 6f 72
6d  | resses=&sponsorm
10:52:24,221 INFO  [STDOUT] 65 73 73 61 67 65 3d
| essage=

However, when the POST data is absent (eg when JBoss 1 is shutdown), I
see output like the following from JBoss2:
10:43:40,477 INFO  [JkInputStream] Receiving: getting request body chunk
0 0

An interesting piece of evidence is that if I wait for about 150 seconds
after shutting down JBoss1 before submitting the form to JBoss2, the
POST data *does* come through to JBoss2. This is odd, since, even when
JBoss2 is not getting the POST data, it is getting the request. Is there
some timeout happening somewhere that affects the sending of POST data
but not the request? Weird.

Does anyone have any experience with this phenomenon, or know where to
look to begin to debug this?

many thanks!!
Chris


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to