Integrating Remote Logi JReport Server With WebLogic 12c (12.2.1.3.0) by a WAR File
Here is an example illustrating the case of using JSPs based on Remote Server APIs to integrate with WebLogic 12c (12.2.1.3.0).
It is assumed that:
- WebLogic is installed in
C:\bea
in computer A. - Logi JReport Server is installed in
C:\JReport\Server
in computer B. The computer IP is 127.0.0.1.
The procedure for integrating remote Logi JReport Server with WebLogic contains the following major steps:
Step 1: Generating the WAR file
- In computer B, use the tool makewar.bat to build the Logi JReport Server WAR file as defined by makewar.xml for remote integration. Both makewar.bat and makewar.xml are located in
. Run the following commands in DOS window and the generated WAR file remote.war will be saved to the directoryC:\JReport\Server\bin
C:\JReport\Server\bin\distribute
.makewar.bat buildRemoteWar -Djrs.remote.host=127.0.0.1 -Djrs.remote.rmiport=1129 -Djrs.rmi.auth_file=C:\JReport\Server\bin\rmi.auth
- Copy the rmi.auth file from
C:\JReport\Server\bin
in computer B toC:\JReport\Server\bin
in computer A.
Step 2: Configuring Logi JReport Server
- Make sure Logi JReport Server has been started once so that the server.properties file is generated.
- Change server.properties file in
C:\JReport\Server\bin
as follows:server.rmiserver.enable=true
server.rmiadminservice.enable=true
Step 3: Deploying the WAR file
- If you have not already created a WebLogic Domain for Logi JReport Server you must create one before starting the integration.
- In computer A, start WebLogic by running startWeblogic.sh in
C:\bea\user_projects\domains\domain_name\bin
. - In computer B, access the WebLogic Administrative Console using the URL
http://hostname:7001/console/
, where the hostname is computer A's host name or IP address, and 7001 is the port number. - After your successful login, in the Domain Structure panel on the left, select Deployments node.
- In the Summary of Deployments panel, select Install.
- In the Install Application Assistant panel, select the upload your file(s) link.
- In the Deployment Archive section, select Browse to select the remote.war file in
C:\JReport\Server\bin\distribute
, and then select Next. - Keep selecting Next until the Finish button is enabled, and then select Finish.
- Start Logi JReport Server in computer B. Then go to computer A and access Logi JReport Server using the following URL:
http://localhost:7001/remote/