TP Error Code Set
TP Error Code Set
详细的错误信息
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.
Caus This exception occurs because a transaction could not
e 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.
Acti Check transaction failures on the server side. BEA Jolt
o clients should resend the request after the
n transaction problem has been fixed on the server
side.
2. This exception should not occur in BEA Jolt.
TPEBAD
DESC
Caus In BEA Tuxedo, this exception usually occurs when an
e invalid caller descriptor is given to tpgetrply() or
tpsend().
Acti None.
o
n
3. A blocking condition has occurred and the TPNOBLOCK
TPEBLO flag is specified in BEA Tuxedo.
CK
Caus This exception occurs because the server is backed up.
e
Acti You may need to re-examine and re-architect the
o application to handle extreme load cases.
n
4. TPEINVAL Invalid arguments were given by the application.
Caus This exception occurs if a new JoltSession class is
e processed before performing the security protocol. In
Jolt's URL handler routine, this exception occurs when
a invalid challenge response is received by the
openConnection() method. The TPEINVAL exception
can also occur if you specified a hexadecimal address
for the JSL -H option without a leading "0x" , or if you
entered a wrong address in UBBCONFIG file. In
addition, the GETREC(), DELREC() and GETSVC()
services in JREPSVR can return TPEINVAL if the
REPNAME is missing. Also, the ADDREC() service in
JREPSVR can return TPEINVAL if the REPVAL is not
specified.
Acti This type of exception should have been handled during
o the application development cycle. You should not
n receive this exception in a production environment.
5. TPELIMIT The maximum number of outstanding requests or
subscriptions has been reached.
Caus The maximum number of outstanding requests has been
e reached. This exception could also mean that the BEA
Tuxedo System Event Broker's maximum number of
subscriptions (50 internally defined for now) has been
reached.
Acti You may need to re-examine and re-architect the
o application to handle load extreme cases.
n
6. The requested service is not available.
TPENOE
NT
Caus Usually, the requested service is not booted or advertised
e on the BEA Tuxedo server side. It is also possible that
the requested service is not defined in the Jolt
Repository. This exception could also indicate that you
could not access the BEA Tuxedo System Event
Broker.
Acti You need to check the server side to see if the service is
o booted or advertised. Otherwise, check to see if the
n requested service is defined in the Jolt Repository.
After the service is available on the server side, Jolt
clients should resend the request.
7. TPEOS An operating system exception has occurred.
Caus The exact nature of the problem is described in the ULOG
e file. Typically, you can get this exception due to the
memory allocation failures, wrong network address,
or failure to attach to the Bulletin Board for the JSL.
Acti Try fixing the problem as described in the ULOG file. Jolt
o clients might need to reconnect or resend the request
n after the problem has been fixed.
8. TPEPERM There is a permission problem when attempting to join a
session.
Caus In the JoltSession class, this exception occurs because the
e Jolt client does not have the permission to join the
application. Permission may be denied based on an
invalid application password, failure to pass
application specific authentication, or the use of
restricted client names. In the Jolt URL handler
routing, this exception occurs when a bad challenge
response is received on the openConnection()
method. If the Jolt Repository is set to read-only, the
ADDREC() and DELREC() services, or the
GARBAGECOLLECT() service in JREPSVR, also return
the TPEPERM exception.
Acti This type of exception should have been handled during
o the application development cycle. You should not
n receive this exception in a production environment.
9. A function was called in an improper context.
TPEPRO
TO
Caus For this exception, an improper context could include a
e rollback() or commit() method called by a participant,
an unsubscribe event that is called while
"unsubscribe all" is in progress, or when the caller is
not a client.
Acti This type of exception should have been handled during
o the application development cycle. You should not
n receive this exception in a production environment.
10. A service routine has encountered an exception during
TPESVCE tpreturn() or tpforward() in BEA Tuxedo.
RR
Caus The service routine is returning application-level failures,
e which may include any of the following: an
application calls tpreturn() or tpforward() with invalid
flags, the caller descriptor is no longer valid, or there
are invalid return values.
Acti This type of exception should have been handled during
o the application development cycle. You should not
n receive this exception in a production environment.
11. The service routine sending the caller's reply called
TPESVCF tpreturn() with TPFAIL.
AIL
Caus The service routine is returning application-level failures.
e
Acti This type of exception should have been handled during
o the application development cycle. You should not
n receive this exception in a production environment.
12. A BEA Tuxedo system exception has occurred.
TPESYST
EM
Caus The exact nature of the exception is written to the ULOG
e file. For example, when performing the Diffie-Hellman
encryption, this exception occurs if the JSH is unable
to send negotiation parameters. The JSL fails to send
the reply challenge call to the Jolt client. The Jolt
client sends an incorrect timestamp value, an
incorrect number of encrypted bits value, an incorrect
ticket value, or timestamp mismatches in reconnect
protocol. The JSL fails to initialize network protocol
information, or could not establish a listening address
on a network. The JSH receives a network message
with an unknown context or receives a message with
a different connection.
Acti In most cases, you need to find out the exact nature of
o the exception from the ULOG file on the server side.
n In case of hardware or network failures, you can try to
reconnect if a hardware or network failover is
available.
13. TPETIME A transaction timeout has occurred.
Caus There is a transaction timeout on the server side.
e
Acti This type of exception should be addressed on the
o application server side. Jolt clients should resend the
n request after the server side problem has been
resolved.
14. The requested service belongs to a server that does not
TPETRA support transactions and TPNOTRAN is not set.
N
Caus A transaction is not supported for the requested service.
e
Acti This type of exception should be addressed on the
o application server side. Jolt clients should resend the
n request after the server side problem has been
resolved.
15. An unexpected signal was received.
TPGOTSI
G
Caus A signal was received and the TPSIGSTRT flag was not
e specified.
Acti None.
o
n
16. A resource manager failed to open or close correctly on
TPERME the server side.
RR
Caus The resource manager might not be available; or all the
e resource might not be released or committed before
close.
Acti Check the ULOG file for reasons why the resource
o manager failed to open or close on the server side.
n
17. For the JoltRemoteService class, the requested BEA Tuxedo
TPEITYP service does not recognize the type and subtype of
E the input data.
Caus The type and subtype of input data is not defined in the
e Jolt Repository.
Acti The type and subtype of input data should be defined in
o the Jolt Repository. This type of exception should have
n been handled during the application development
cycle. You should not receive this exception in a
production environment.
18. For the JoltRemoteService class, the BEA Tuxedo caller
TPEOTY does not recognize the type and the subtype of the
PE reply data.
Caus The type and subtype of output data is not defined in the
e Jolt Repository.
Acti The type and subtype of output data should be defined in
o the Jolt Repository. This type of exception should have
n been handled during the application development
cycle. You should not receive this exception in a
production environment.
19. This exception should not occur in BEA Jolt.
TPERELE
ASE
Caus Usually, this exception occurs when an unsolicited
e notification message is sent from a server with the
TPACK flag set, and the target is a Jolt client from an
older release of BEA Jolt that does not support the
acknowledgment protocol.
Acti Verify that the correct version of BEA Jolt is installed on
o your machine. This type of exception should have
n been handled during the application development
cycle. You should not receive this exception in an
production environment.
20. Due to some failure, the work done on behalf of the
TPEHAZ transaction may have been heuristically completed.
ARD
Caus Check the ULOG file on the server side for details.
e
Acti None.
o
n
21. Due to a heuristic decision, the work done on behalf of
TPEHEU the transaction was partially committed and partially
RISTIC aborted.
Caus Check the ULOG file on the server side for details.
e
Acti None.
o
n
22. This exception should not occur in BEA Jolt.
TPEEVE
NT
Caus Usually, this exception means that an event has occurred
e when sending or receiving a message in a
conversational connection in BEA Tuxedo. However,
conversational server connections are not available in
BEA Jolt.
Acti None.
o
n
23. The JoltUserEvent class has implemented a subscription to
TPEMAT an asynchronous notification event, but the
CH subscription has failed because it matches an
existing subscription.
Caus The subscription failed because it matched one already
e listed with the BEA Tuxedo System Event Broker.
Acti None.
o
n
24. This exception should not occur in BEA Jolt.
TPEDIAG
NOSTIC
Caus Usually, this exception occurs when enqueuing or
e dequeuing a message from the specified queue fails
in BEA Tuxedo. However, enqueing and dequeing of
messages is not available in BEA Jolt.
Acti None.
o
n
25. TPEMIB This exception should not occur in BEA Jolt.
Caus Usually, this exception occurs when an administrative
e request via tpadmcall() has failed in BEA Tuxedo.
However, TMIB calls are not available in BEA Jolt.
Acti None.
o
n
26. TPEJOLT This exception indicates there is a problem in BEA Jolt.
Caus The TPEJOLT exception could occur for any of the
e following reasons:
• JoltSession class—the send(), recv() or cancel()
methods throw TPEJOLT if the session object or
message ID is invalid.
• JoltSession class—throws TPEJOLT when TPINIT
data conversion fails.
• bea.jolt.pool.connection class—throws TPEJOLT
when a run-time exception occurs.
• JoltRemoteService—the call() method throws
TPEJOLT when the buffer conversion between
BEA Jolt and BEA Tuxedo fails, the requested
service is not defined in the Jolt Repository, the
requested service does not the right version,
or the reply data conversion fails.
• JoltUserEvent class—throws TPEJOLT when
event name conversion fails, an invalid
message ID is encountered, or unsolicited
message data conversion fails.