WTC tuxedo错误代码 TUXEDUO错误代码

tuxedo/include/atmi.h定于了TUXEDE返回的所有错误代码。
/*
* tperrno values - error codes
* The man pages explain the context in which the following error codes
* can return.
*/

#define TPMINVAL        0       /* minimum error message */
#define TPEABORT        1
#define TPEBADDESC      2
#define TPEBLOCK        3
#define TPEINVAL        4
#define TPELIMIT        5
#define TPENOENT        6
#define TPEOS           7
#define TPEPERM         8
#define TPEPROTO        9
#define TPESVCERR       10
#define TPESVCFAIL      11
#define TPESYSTEM       12
#define TPETIME         13
#define TPETRAN         14
#define TPGOTSIG        15
#define TPERMERR        16
#define TPEITYPE        17
#define TPEOTYPE        18
#define TPERELEASE      19
#define TPEHAZARD       20
#define TPEHEURISTIC    21
#define TPEEVENT        22
#define TPEMATCH        23
#define TPEDIAGNOSTIC   24
#define TPEMIB          25
#define TPMAXVAL        26      /* maximum error message */


The following list describes the general meaning of each error:
TPEABORT
A transaction could not commit because either the work performed by the
initiator or by one or more of its participants could not commit.
TPEBADDESC
A call descriptor is invalid or is not the descriptor with which a conversational
service was invoked.
TPEBLOCK
A blocking condition exists and TPNOBLOCK was specified.
TPEDIAGNOSTIC
The enqueuing of a message on the specified queue failed. The reason for
failure can be determined by the diagnostic returned via ctl.
TPEEVENT
An event occurred; the event type is returned in revent.
TPEGOTSIG
A signal was received and TPSIGRSTRT was not specified.
TPEHAZARD
Due to some failure, the work done on behalf of the transaction could have
been heuristically completed.
TPEHEURISTIC
Due to a heuristic decision, the work done on behalf of the transaction was
partially committed and partially aborted.
TPEINVAL
An invalid argument was detected.
TPEITYPE
The type and subtype of the input buffer is not one of the types and subtypes
that the service accepts.
TPELIMIT
The caller’s request was not sent because the maximum number of
outstanding requests or connections has been reached.
TPEMATCH
svcname is already advertised for the server but with a function other than
func.
TPEMIB
The administrative request failed. outbuf is updated and returned to the
caller with FML32 fields indicating the cause of the error, as described in
MIB(5) and TM_MIB(5).
TPENOENT
Cannot send to svc because it does not exist or is not the correct type of
service.
TPEOS
An operating system error has occurred.
TPEOTYPE
The type and subtype of the reply are not known to the caller.
TPEPERM
A client cannot join an application because it does not have permission to do
so or because it has not supplied the correct application password.
TPEPROTO
A library routine was called in an improper context.
TPERELEASE
When the TPACK is set and the target is a client from a prior release of the BEA
Tuxedo system that does not support the acknowledgment protocol.
TPERMERR
A resource manager failed to open or close correctly.
TPESVCERR
A service routine encountered an error either in tpreturn() or
tpforward() (for example, bad arguments were passed).
TPESVCFAIL
The service routine sending the caller’s reply called tpreturn() with
TPFAIL. This is an application-level failure.
TPESYSTEM
A BEA Tuxedo system error has occurred.
TPETIME
A timeout occurred.
TPETRAN
The caller cannot be placed in transaction mode.
tuxedo/include/atmi.h定于了TUXEDE返回的所有错误代码。
/*
* tperrno values - error codes
* The man pages explain the context in which the following error codes
* can return.
*/

#define TPMINVAL        0       /* minimum error message */
#define TPEABORT        1
#define TPEBADDESC      2
#define TPEBLOCK        3
#define TPEINVAL        4
#define TPELIMIT        5
#define TPENOENT        6
#define TPEOS           7
#define TPEPERM         8
#define TPEPROTO        9
#define TPESVCERR       10
#define TPESVCFAIL      11
#define TPESYSTEM       12
#define TPETIME         13
#define TPETRAN         14
#define TPGOTSIG        15
#define TPERMERR        16
#define TPEITYPE        17
#define TPEOTYPE        18
#define TPERELEASE      19
#define TPEHAZARD       20
#define TPEHEURISTIC    21
#define TPEEVENT        22
#define TPEMATCH        23
#define TPEDIAGNOSTIC   24
#define TPEMIB          25
#define TPMAXVAL        26      /* maximum error message */


The following list describes the general meaning of each error:
TPEABORT
A transaction could not commit because either the work performed by the
initiator or by one or more of its participants could not commit.
TPEBADDESC
A call descriptor is invalid or is not the descriptor with which a conversational
service was invoked.
TPEBLOCK
A blocking condition exists and TPNOBLOCK was specified.
TPEDIAGNOSTIC
The enqueuing of a message on the specified queue failed. The reason for
failure can be determined by the diagnostic returned via ctl.
TPEEVENT
An event occurred; the event type is returned in revent.
TPEGOTSIG
A signal was received and TPSIGRSTRT was not specified.
TPEHAZARD
Due to some failure, the work done on behalf of the transaction could have
been heuristically completed.
TPEHEURISTIC
Due to a heuristic decision, the work done on behalf of the transaction was
partially committed and partially aborted.
TPEINVAL
An invalid argument was detected.
TPEITYPE
The type and subtype of the input buffer is not one of the types and subtypes
that the service accepts.
TPELIMIT
The caller’s request was not sent because the maximum number of
outstanding requests or connections has been reached.
TPEMATCH
svcname is already advertised for the server but with a function other than
func.
TPEMIB
The administrative request failed. outbuf is updated and returned to the
caller with FML32 fields indicating the cause of the error, as described in
MIB(5) and TM_MIB(5).
TPENOENT
Cannot send to svc because it does not exist or is not the correct type of
service.
TPEOS
An operating system error has occurred.
TPEOTYPE
The type and subtype of the reply are not known to the caller.
TPEPERM
A client cannot join an application because it does not have permission to do
so or because it has not supplied the correct application password.
TPEPROTO
A library routine was called in an improper context.
TPERELEASE
When the TPACK is set and the target is a client from a prior release of the BEA
Tuxedo system that does not support the acknowledgment protocol.
TPERMERR
A resource manager failed to open or close correctly.
TPESVCERR
A service routine encountered an error either in tpreturn() or
tpforward() (for example, bad arguments were passed).
TPESVCFAIL
The service routine sending the caller’s reply called tpreturn() with
TPFAIL. This is an application-level failure.
TPESYSTEM
A BEA Tuxedo system error has occurred.
TPETIME
A timeout occurred.
TPETRAN
The caller cannot be placed in transaction mode.

猜你喜欢

转载自handong106324.iteye.com/blog/1748962