Skip to Content
0
Feb 22, 2021 at 12:10 AM

DataStoreException: java.sql.SQLException: JZ0TO: Read operation timed out

509 Views Last edit Jun 27, 2021 at 12:24 PM 2 rev

Hi experts,

I'm now facing the following error to read the data from the data store in scpi.

Please let us know how to fix it.

com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: com.sap.it.api.asdk.exception.DataStoreException: java.sql.SQLException: JZ0TO: Read operation timed out.

Here is my groovy script where the read operation issue. The error occurred at the last of line "service.put(dBean,dConfig)".

def service = new Factory(DataStoreService.class).getService();
if(service == null){
        throw new Exception("Data Store Service not found");
}     
def dBean = new DataBean() 
dBean.setDataAsArray(msgText.getBytes("UTF-8"));
def dConfig = new DataConfig() 
dConfig.setStoreName(dsName)
dConfig.setId(msgId) 
dConfig.setOverwrite(true)
service.put(dBean,dConfig)

Best regards,

Nyein