Configure for GRE in distributed mode on local machine
When a Genero Report Engine (GRE) is operating in distributed mode on the GAS locally, the GAS is configured with URLs and environment variables to handle the processing of reports.
The GAS provides three URLs with the report prefix to locate the Genero
Report Viewer for HTML5 and resources.
- $(connector.uri)/ua/report/viewer
- $(connector.uri)/ua/report/public
- $(connector.uri)/ua/report/private/$(session.id)
URL prefix | Location |
---|---|
viewer | The viewer URL prefix is used to load the HTML report viewer implementation included in the GRE package. It is bound to the$GREDIR/viewer directory by default. |
public | The public URL prefix is used for public resources such as documents, images, or fonts. These resources can be shared between applications. The default location is APPDATA/public |
private | The private URL prefix is used for private resources. These resources are not shared between applications or users. The access to private files is controlled by the GAS and are deleted when the session ends. The default location is APPDATA/tmp/dispatcher_name/$(session.id)/reports |
The GAS provides several environment variables to the started application. These environment
variables are used with reports for the GRE operating in distributed mode locally.
Variable | Description | Example Values |
---|---|---|
GRE_REPORT_VIEWER_URL_PREFIX | URL prefix of Genero Report Viewer for HTML5 |
|
GRE_PRIVATE_URL_PREFIX | Private URL prefix |
|
GRE_PUBLIC_URL_PREFIX | Public URL prefix |
|
GRE_PRIVATE_DIR | Private resource directory |
|
GRE_PUBLIC_DIR | Public resource directory |
|