failed to print report from forms
tried to print report from forms app (11G) on Windows 10 host but failed with the error message:
FRM-41213: unable to connect to the Report server RPtSvr_<host name>_asinst_1.
checked the report server status which is up by running opmctl status as this:
C:\Oracle\Middleware\asinst_1\bin>opmnctl status
Processes in Instance: asinst_1
--------------------------------------------------------------------------------------------------------------
ias-component | process-type | pid | status
--------------------------------------------------------------------------------------------------------------
emagent_asinst_1 | EMAGENT | 8612 | Alive
RptSvr_<host name_asinst_1 | ReportsServerComp~ | 6348 | Alive
namingservice | namingservice | 6220 | Alive
ohs1 | OHS | 6184 | Alive
and also replaced 127.0.0.1 with the host ip address in hosts file.
using build-in procedure to print the report as this:
RP2RRO.RP2RRO_RUN_PRODUCT( REPORTS ,lower('<report name>') ,SYNCHRONOUS ,BATCH ,FILESYSTEM ,param_list_id) ;