20.2 Error codes in the client library (C)
The error codes described below are returned by the functions in the C client library, in the location specified in the argument error_code.
The following table lists each error code along with its meaning and cause.
Error code |
Symbolic constant |
Nature of error |
Cause |
Processing status of data updating API function# |
Value of error_code when 0300 is specified in the eads.client.compat parameter in the client properties |
---|---|---|---|---|---|
0 |
Processing terminated normally. |
Not applicable. |
Y |
0 |
|
1000 |
An unexpected error occurred. |
An unexpected error occurred in the program. |
U |
1000 |
|
1010 |
The specified parameter is invalid. |
An invalid parameter was specified in an API function argument. |
N |
1010 |
|
1040 |
The operation could not be executed because the cache has not been started. |
An attempt was made to manipulate data after the cache had stopped (after execution of ead_stop_cache()). |
N |
1040 |
|
1100 |
An attempt was made to stop a cache that has already stopped. |
Because the cache has already stopped, there is no need to execute ead_stop_cache(). |
-- |
1100 |
|
1110 |
The specified EADS server's address information does not match any EADS server address information managed by the EADS client. |
The address information (IP address and port number) of the EADS server specified in the argument of the API function does not match any EADS server address information maintained by the EADS client. |
-- |
1110 |
|
1120 |
The number of connections to be pooled for the same connection target has already reached the maximum value and all of them are in use. |
The number of concurrent threads issuing requests to the same EADS server has exceeded the maximum number of connections. |
N |
1120 |
|
2000 |
An error occurred during initialization of the EADS client. |
An unexpected error occurred while executing ead_init_client() or ead_init_client_n(). |
-- |
2000 |
|
2010 |
The client property file could not be read. |
The following are possible causes of the error:
|
-- |
2010 |
|
2020 |
There is an invalid property in the client property file. |
A property in the client property file is invalid. |
-- |
2020 |
|
2030 |
An attempt to initialize the logger failed. |
The following are possible causes of the error:
|
-- |
2030 |
|
2040 |
An attempt to connect to the EADS server specified in the client property file failed. |
The following are possible causes of the error:
|
-- |
2040 |
|
3000 |
A communication error has occurred with the EADS server. |
The following are possible causes of the error:
|
U |
3000 |
|
3001 |
A communication error occurred while a request was being sent to an EADS server. |
The following are possible causes of the error:
|
U |
3000 |
|
3002 |
A communication error occurred while a response was being received from an EADS server. |
The following are possible causes of the error:
|
U |
3000 |
|
3010 |
A timeout occurred during communication with the EADS server. |
The following are possible causes of the error:
|
U |
3010 |
|
3011 |
A timeout occurred while a request was being sent to an EADS server. |
The following are possible causes of the error:
|
U |
3010 |
|
3012 |
A timeout occurred while a response was being received from an EADS server. |
The following are possible causes of the error:
|
U |
3010 |
|
3020 |
The connection to the EADS server failed. |
The following are possible causes of the error:
|
N |
3020 |
|
3030 |
A protocol failure occurred during communication with the EADS server. |
The following are possible causes of the error:
|
U |
3030 |
|
3040 |
It was not possible to connect to all of the available EADS servers. |
The following are possible causes of the error:
|
-- |
3040 |
|
4000 |
An unexpected internal error occurred on the EADS server. |
An unexpected internal error occurred on the connection-target EADS server. |
U |
4000 |
|
4010 |
The request sent by the EADS client could not be processed by the connection-target EADS server. |
Possible causes are as follows:
|
N |
4010 |
|
4030 |
The connection-target EADS server process is temporarily unavailable. |
The maximum number of simultaneous connections to the EADS server has been exceeded. |
N |
4030 |
|
4040 |
The cluster information maintained by the connection-target EADS server is not compatible with the cluster information maintained by the EADS client. |
The cluster information maintained by the restarted connection-target EADS server does not match the cluster information maintained by the EADS client. |
N |
4040 |
|
4060 |
The value could not be stored because the value existing during execution of ead_replace() did not match the value specified in the condition. |
The value specified in the condition in ead_replace() did not match the value in the cache. |
N |
4060 |
|
4070 |
During execution of ead_replace(), processing could not continue because the specified key could not be found (no value for the key could be found). |
The values could not be compared because no value could be found for the key specified in ead_replace(). |
N |
4070 |
|
4080 |
During execution of ead_create(), the value could not be stored because the specified key already exists. |
A value was already stored for the key specified in ead_create(). |
N |
4080 |
|
4090 |
During execution of ead_update(), the value could not be stored because the specified key was not found. |
No value was stored for the key specified in ead_update(). |
N |
4090 |
|
4100 |
No EADS server is available for processing requests. |
Possible causes are as follows:
|
N |
4100 |
|
4110 |
The EADS server is in a status in which requests cannot be processed. |
The request could not be processed due to the status of the connection-target EADS server. |
N |
4000 |
|
4200 |
A cache operation failed. |
An operation could not be performed on a cache because a problem occurred on the connection-target EADS server. Stop the operation and check the EADS server's status. |
N |
4000 |
|
4210 |
A cache operation failed because the specified cache did not exist. |
An operation could not be performed on a cache because the specified cache did not exist. Stop operation on the specified cache and check the EADS server's status. |
N |
4000 |
|
4230 |
A cache operation failed because the cluster configuration was changed during request processing. |
An operation could not be performed on a cache because the cluster configuration was changed during request processing. Perform the cache operation again after the cluster configuration change processing has been completed. |
N |
4000 |
|
4300 |
An internal error occurred during a cache operation, but redundant copies of data had not been created. |
An internal error occurred during a cache operation on the connection-target EADS server. No other normal EADS servers are affected because redundant copies of data had not been created. You can restart the same operation after the EADS server is isolated and then the connection target is changed to a normal EADS server. |
N |
4000 |
|
4310 |
An internal error occurred on the EADS server during cache operation and the data update operation failed. |
An internal error occurred on the connection-target EADS server during cache operation. Because redundant copies of data had already been created, once the erroneous connection-target EADS server is isolated and the connection target is changed to a normal server, you can restart the operation from the status in which data had been updated. |
U |
4000 |
|
4700 |
An error occurred in the user function on the EADS server. |
An error occurred in the user function on the connection-target EADS server. Check the user function's processing. |
-- |
4000 |
|
4710 |
Serialization processing on the return value of the user function failed on the EADS server. |
An object that is not serializable is specified for the return value of the user function executed on the connection-target EADS server. |
-- |
4000 |
|
4730 |
No user function with the specified user function name exists on the EADS server. |
No user function with the specified user function name exists on the connection-target EADS server. |
-- |
4000 |
|
4800 |
There is a shortage of memory for storing data. |
The request could not be processed because the memory for storing data (explicit heap) was insufficient on the connection-target EADS server. |
N |
4000 |
|
4810 |
There is a shortage of capacity in the cache files for storing data. |
The request could not be processed because the capacity of cache files for storing data was insufficient on the connection-target EADS server. |
N |
4000 |
|
4820 |
The number of keys that can be stored on the EADS server has reached the upper limit. |
The request could not be processed because the number of keys that can be specified on the connection-target EADS server had reached the upper limit. |
N |
4000 |
|
4830 |
The size of the specified key, group name, or value is greater than the maximum size permitted in the cluster. |
The request could not be processed because the size of the specified key, group name, or value was greater than the maximum size permitted in the cluster. |
N |
4000 |
|
4999 |
A nonanalyzable internal error occurred on the EADS server. |
An internal error occurred on the connection-target EADS server, but the error could not be analyzed because the version of the connection-target EADS server was later than the version of the EADS client libraries. |
U |
4000 |
|
5000 |
An internal error occurred on an EADS client. |
An unexpected error occurred in client libraries. |
U |
5000 |
|
5010 |
Memory allocation in the EADS client failed. |
Memory allocation failed in client libraries. |
U |
5010 |
|
5020 |
Batch operation was cancelled. |
Unperformed operations were cancelled because batch operation could not be continued. |
N |
5020 |
|
6000 |
All of the batch operations failed. |
An attempt was made to perform a batch operation on data by using an API function, but all operations failed. |
-- |
6000 |
|
6010 |
Part of the batch operations failed. |
An attempt was made to perform a batch operation on data by using an API function, but some of the operations failed. |
-- |
6010 |
- #
-
Indicates whether data updating had occurred when the error code was issued during execution of an API function for updating data, such as ead_put() or ead_remove().
The meanings of the letters in this column are as follows:
Y: The data had been updated.
U: Whether the data had been updated is unknown. Check whether the processing was completed.
N: The data had not been updated.
--: This error code is not issued when an API function for updating data, such as ead_put() or ead_remove(), is executed.