JReport Enterprise Viewer is the client-end of a remote JReport Enterprise Server. You can view reports either on a remote server or on your local disk. You can also set up schedules to view reports at specific times.
- Assuming JReport Enterprise Viewer is installed in /JREntViewer, it can be started by running the following command in the Command Prompt:
$ cd /JREntViewer/bin
$ sh JREntViewer.sh
- The Connect dialog box allows you to connect to a remote server. When viewing reports locally, click Cancel to ignore this option.
- Go to the File menu, select Open | Local... to open a local result file.
- Select the result file (.rst) to be viewed, then click Open.
![]()
- The selected report is shown below.
![]()
JReport Enterprise Viewer is installed in /JREntViewer.
- Start JReport Enterprise Viewer using the following command:
$ cd /JREntViewer/bin
$ sh JREntViewer.sh
- Input the host name and port of the JReport Enterprise Server to which you would like to connect.
![]()
- After successful login, select the catalog and report to be viewed under Explorer tab. (Reference Note: JReport Enterprise Viewer Manual | Interface )
- Double click on the selected report, click the AdvancedRun command on the shortcut menu, or select File | Open | Remote. The window below will appear. Click on the Run button to view the report.
![]()
If the report has parameters, they can be viewed by clicking Parameters. These parameters can be modified as well.
![]()
- The result report is shown below.
![]()
When JReport Enterprise Server is running as a servlet, JREntViewer can connect to the server with SSL (Secure Socket Layer) support.
- Preparation for using SSL
If you are using JDK 1.2or 1.3, you should download JSSE 1.0.3 software at http://java.sun.com/products/jsse/index-103.html. After you log in or register, you can download a zip file. Unzip this file, you will get three Executable Jar Files:jcert.jar, jnet.jar, jsse.jar under %jsse1.0.3_unzip_Root%/jsse1.0.3/lib.Copy these files to /JREntViewer/lib. Modify /JREntViewer/bin/JREntViewer.sh as below:
CLASSPATH="${CLASSPATH}":/JREntViewer/lib/JREntViewer.zip:/JREntViewer/lib/unicode.zip: /JREntViewer/lib/PatchedItext.zip:/JREntViewer/lib/Itext.zip:/JREntViewer/lib/poiHSSF_151.jar:/JREntViewer/lib/xerces.jar: export CLASSPATH
exec /usr/java/j2sdk1.4/jre/bin/java -Dinstall.root=/JREntViewer/ -Dreporthome=/JREntViewer -Dresourcezip="/JREntViewer/lib/JREntViewer.zip" jet.client.ui.JRViewer "$@"JDK 1.4 has a version of JSSE already bundled. If you are using JDK 1.4, skip this step.
- Assume JReport Enterprise Server is integrated with Weblogic 6.1. Start Weblogic 6.1 server from Start menu.
- Connect to JReport Enterprise Server using SSL. Launch JReport Enterprise Viewer. In the Connect dialog, input the host name or IP address, server port and servlet path. Assume Weblogic 6.1 is installed on the computer, which you are using. 7002 is the default port for the Weblogic server. /jrserver is the default servlet path. Check the SSL box to connect to JReport Enterprise Server with SSL support.
- After successful login, select the catalog and report to be viewed under Explorer tab.
Notes:
- We recommend using JDK1.2 or higher. If you use JDK1.1 when installing JReport Enterprise Viewer, SSL is not supported.
- If you want to export a report to an Applet in browser with SSL support, you must use JDK 1.4 or JDK 1.2 or 1.3 with 1.4 plug in.