Hi Isomorphic,
We have an application which communicates with database with expensive DB operations. But we are getting "Server returned TRANSPORT_ERROR with no error message performing operation" message pop up when we deploy our application in tomcat. But this we wont see when we run through GWT inbuilt server through IDE.
We have set time out of dsRequest to 30 min. Below is our code.
Do we need to mention anything in server.properties to avoid timeout issue? or let us know why we will get SERVER_TRANSPORT error.
Thanks,
Yathish
We have an application which communicates with database with expensive DB operations. But we are getting "Server returned TRANSPORT_ERROR with no error message performing operation" message pop up when we deploy our application in tomcat. But this we wont see when we run through GWT inbuilt server through IDE.
We have set time out of dsRequest to 30 min. Below is our code.
Code:
public DataGrid(SearchManager reportParams) { setAlternateRecordStyles(true); setAutoFitExpandField("REVENUE"); setCanEdit(false); setCanResizeFields(true); setShowGridSummary(true); setShowGroupSummary(true); setShowGroupSummaryInHeader(true); setShowFilterEditor(true); String imgHTML = imgHTML(StringClientDefinitions.LOADING_IMAGE_PATH, IntegerConst.LOADING_MSG_WIDTH, IntegerConst.LOADING_ICON_HEIGHT); setLoadingDataMessage("Loading..." + " <br> " + imgHTML); setFields(getColumnsList(reportParams)); setDataPageSize(IntegerConst.DATA_PAGE_SIZE); setGroupByMaxRecords(IntegerConst.RECORD_SIZE); setDataSource(DataSource.get(reportParams.getReportsDataSourceID())); setFetchOperation(reportParams.getReportsOperationID()); Criteria criteria = reportParams.getCriteria(); setCriteria(criteria); setInitialCriteria(criteria); setInitialSort(reportParams.getGridSortParameters()); setVisibleColumns(reportParams); DSRequest dsRequest = new DSRequest(); dsRequest.setTimeout(1800000); filterData(criteria, new DSCallback() { public void execute(DSResponse dsResponse, Object o, DSRequest dsRequest) { } }, dsRequest); }
Thanks,
Yathish
Comment