Kbase P25081: Errors (778), (735), (2467) connecting Webspeed or AppServer agents to AS400.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/4/2005 |
|
Status: Unverified
FACT(s) (Environment):
IBM AS/400 (CISC)
IBM AS/400 (RISC)
SYMPTOM(s):
Errors (778), (735), (2467) connecting WebSpeed or AppServer agents to an AS400 database.
Error <read/writing> socket, ret=<n>, errno=<n>. (778)
** Incomplete write when writing to the server. (735)
Failed to connect to AS/400 database <dbname>. (2467)
This problem often occurs when you try to start or pre-start a number of agents all at the same time. The first few might start correctly but the rest fail with the above errors.
CAUSE:
This is a known issue being investigated by Development
FIX:
Workaround:
Do not automatically prestart agents. Instead use a script to start/add agents manually, but insert a sleep statement in between each start request to give the previous request time to complete before continuing.
On Windows/DOS you can do the same thing except you will need to use a batch job to do this rather than a shell script. You would need to download a DOS sleep command from the Internet. An example of a DOS batch job for AppServers would look something like this:
call asbman -name asbroker1 -start
sleep for 30
call asbman -name asbroker1 -addservers 1
sleep for 5
call asbman -name asbroker1 -addservers 1
sleep for 5
call asbman -name asbroker1 -addservers 1
sleep for 5
call asbman -name asbroker1 -addservers 1
sleep for 5
call asbman -name asbroker1 -addservers 1