SAP Knowledge Base Article - Public

2320177 - "HTTP response code 504" error when trying to view 'Preview Results' within PRD

Symptom

When trying to view the contents of the 'Preview Results' tab when configuring a custom report withn PRD, the following error is generated -

preview error 1.JPG

org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
 at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.doRun(DatasetPreviewTask.java:318)
 at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.runDataset(DatasetPreviewTask.java:280)
 at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.execute(DatasetPreviewTask.java:91)
 at org.eclipse.birt.report.designer.data.ui.dataset.DataSetPreviewer.preview(DataSetPreviewer.java:68)
 at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage$5.run(ResultSetPreviewPage.java:366)
 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.birt.report.data.adapter.api.AdapterException: An exception occurred during processing. Please see the following message for details:
Failed to prepare the query execution for the data set: Data Set
Cannot get the result set metadata.
    org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.
SQL error #1:java.sql.SQLException: java.io.IOException: Server returned HTTP response code: 504 for URL: https://<customer instance>-stage.plateau.com/vjdbc/vjdbc

Environment

SuccessFactors Learning Management System (LMS) - All Supported Versions

Plateau Report Designer

Cause

The results of the report query that PRD is trying to return is too large and error is generated.

Resolution

The error is being generated because there is a timeout from a server or intermediary waiting for the request to complete from the VJDBC connection.

If you are working on a report within PRD, what you need to is to add a limit to the data that is being returned. If no filters are added to the report then what PRD is trying to do is preview all data that should be returned.

As an example, you can test this by running your report in question within LMS for say a subset of three users. Now take a note of the three users, add them to the query in PRD and run it again. Instead of trying to preview the data for all users, it'll now just check for three.

Keywords

HTTP response code 504; PRD; VJDBC; Preview Results; , KBA , LOD-SF-LMS-PRD , VJDBC Setup or Connection Issues , LOD-SF-LMS-REP , Reporting Data , How To

Product

SAP SuccessFactors Learning all versions