![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Table 15 Status Codes A function call or server request occurred in an inappropriate context.For example, tibemsSession_Commit indicates this status when the session is non-transactional. Setting a connection’s client ID to an invalid or duplicate value results in this exception. (A duplicate value is one that is already in use by another connection.) tibemsd cannot locate the destination. The client passed a message selector with invalid syntax; see Message Selectors. The function cannot complete because of a security restriction.For example, the provider rejects a user or the user’s authentication. The data stream within a message ended unexpectedly.tibemsBytesMsg contains a stream of bytes. tibemsStreamMsg contains a stream of characters. If any of their read functions detects the end of a stream unexpectedly, it indicates this status.
•
• The operation requires a server connection, but the program is not connected. The server cannot create a topic or durable because the name is already in use. (Also applies to collisions with external subjects, such as Rendezvous.) Cannot create a connection or transaction because the specified protocol does not exist. The connection URL includes an invalid hostname, or an attempt to lookup the host address failed. The program exceeded available memory during the call. The server has exceeded the maximum number of licensed connections or hosts that it can service. The function call is not permitted (for example, closing a connection within a callback). Exception callback handler functions receive this code to indicate that the server has reconnected. The most common syntax error is a prefix other than tibjmsnaming:// (or a misspelling). 1. The name lookup repository cannot find a name; the name is not bound. See also, tibemsLookupContext on page 3142. A function that gets a message field or property value cannot find the specified item because the name is not bound in the message. A datatype conversion failed while parsing a message (converting UTF-8 data to native datatypes). The message contains an invalid field. The message might be corrupt. A server queue or topic has exceeded its size limit, and cannot add a new message. The function detected an invalid I/O source (such as a socket or file). The result of the call overflowed the buffer supplied by the program. A transaction failed at the server during a commit call. Failure during prepare or commit caused automatic rollback of a transaction. This type of rollback can occur during fault tolerance failover. A transaction failed during two-phase commit; the program may attempt to commit it again. When a session uses an XA transaction manager, the XA resource is the correct locus for all commit and rollback requests. Local commit or rollback calls are not permitted, and indicate this status. The producer attempted to send a message immediately after a fault tolerance failover to another server. The new server has no record of the transaction. SSL detected an X.509 certificate that is not yet valid; that is, the current date is before the first date for which the certificate becomes valid. SSL detected an X.509 certificate that is no longer valid; that is, the current date is after the expiration date. SSL detected an X.509 certificate containing corrupt data. SSL detected a private key that does not match its public key. SSL detected a certificate encoding that it cannot read. SSL lacks sufficient random data to complete an operation securely. tibems_status status );
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |