TUXEDO TPERRNO 解读

本文详细解读了TUXEDO系统中TPERRNO的各种错误代码,包括TPEABORT、TPEBADDESC、TPEBLOCK等,涵盖了交易无法提交、无效通信描述符、阻塞条件、诊断消息等多个方面,帮助读者理解并解决TUXEDO系统可能出现的问题。
摘要由CSDN通过智能技术生成

#define TPMINVAL 0 /* minimum error message */
tperrno:1   : TPEABORT - transaction cannot commit
tperrno:2   : TPEBADDESC - bad communication descriptor
tperrno:3   : TPEBLOCK - blocking condition found
tperrno:4   : TPEINVAL - invalid arguments given
tperrno:5   : TPELIMIT - a system limit has been reached
tperrno:6   : TPENOENT - no entry found
tperrno:7   : TPEOS - operating system error
tperrno:8   : TPEPERM - bad permissions
tperrno:9   : TPEPROTO - protocol error
tperrno:10 : TPESVCERR - server error while handling request
tperrno:11 : TPESVCFAIL - application level service
tperrno:12 : TPESYSTEM - internal system error
tperrno:13 : TPETIME - timeout occured
tperrno:14 : TPETRAN - error starting transaction
tperrno:15 : TPGOTSIG - signal received and TPSIGRSTRT not specified
tperrno:16 : TPERMERR - resource manager error
tperrno:17 : TPEITYPE - type and/or subtype do not match service's
tperrno:18 : TPEOTYPE - type and/or subtype do not match buffer's or unknown
tperrno:19 : TPERELEASE - invalid release
tperrno:20 : TPEHAZARD - hazard exists that transaction heuristically completed
tperrno:21 : TPEHEURISTIC - transaction heuristically completed
tperrno:22 : TPEEVENT - event occurred
tperrno:23 : TPEMATCH - service name cannot be advertised due to matching conflict
tperrno:24 : TPEDIAGNOSTIC - function failed - check diagnostic value
tperrno:25 : TPEMIB - Management Information Base access error
#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.

The Jolt Class Library exceptions are listed for each class, constructor, and method listed in the BEA Jolt API Reference.

The following table lists the BEA Jolt and BEA Tuxedo exceptions that you may encounter while running BEA Jolt. Each exception includes a possible cause (or causes) and a recommended action (wherever possible) to help resolve the situation

1. TPEABORT

A transaction could not commit.

Cause

This exception occurs because a transaction could not commit on the server side. This exception may also occur if the JSH performs a message resend for a commit that has timed out due to a previous blocking condition. In BEA Tuxedo, you can get this exception if tpcommit() is called with outstanding replies or open conversation connections.

Action

Check transaction failures on the server side. BEA Jolt clients should resend the request after the transaction problem has been fixed on the server side.

2. TPEBADDESC

This exception should not occur in BEA Jolt

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值