--------------------------------------------------------------------------
Tue Aug 07 03:57:01 CEST 2001
com.ibm.sap.bapi.exception.RfcMiddlewareException:
An unrecoverable error of type com.ibm.sap.bapi.jni.JRfcJniException:
JniRfcException
RFC-function "RfcIsValidHandle" returns <18>.
Further information:
Error Group: 101
Error Key: RFC_ERROR_PROGRAM
Error Message: RFC_INVALID_HANDLE
The exception occurred in method <?> of object <?-Unknown,
as exception has not been caught !!>. occurred inside
native method cleanupContext(long).
The exception occurred in method isValid() of
com.ibm.sap.bapi.jni.Connection
object <com.ibm.sap.bapi.jni.Connection@1a08292>.
--------------------------------------------------------------------------
We are disconnecting the connection after each operation and opening the
connection again for next operation.
Thanks,
Anup
Have you got enough DIA (dialog) processes available within your Sap system
to handle the load ? If there is no free process to be found at connection
request, you will be rejected after a timeout. If your Sap system
architecture uses several application servers, you can use Sap load
balancing mechanism to avoid this limitation.
By the way, try and convert your code to the Common Connector Framework
connection handling mechanism : there is nearly no difference in the way you
obtain a Sap connection. But there is a true difference in the time it takes
to achieve it.
"Anup Katariya" <an...@extricity.com> wrote in message
news:9ks0v6$1j96$1...@news.boulder.ibm.com...