### Deploying to WebLogic 12c Release 1 (12.1.2)

The example directory paths listed below are based on Solaris or Linux (referred to as Unix). The instructions are applicable to both Unix and Windows installations; however, the format of the paths for Windows would use the Windows format, that is, `C:\JReport\Server` instead of `/opt/JReport/Server`.

It is assumed that:

- WebLogic 12c Release 1 (12.1.2) is installed in the `/opt/bea` directory. This is referred to as BEA_HOME in the WebLogic documentation.
- The JReport Server WAR file jreport.war is located in the `/opt/JReport/Server/bin/distribute` directory. To create the WAR file refer to the instructions in Building a WAR/EAR file to include a self-contained JReport Server.

To deploy JReport Server to BEA WebLogic:

1. If you have not already created a WebLogic Domain for JReport Server you must create one before starting the integration.
2. Start WebLogic by running startWeblogic.sh in `/opt/bea/user_projects/domains/domain_name/bin`.
3. Access the WebLogic Administrative Console by using URL `http://hostname:7001/console/`, where the hostname is host name or IP address, and 7001 is the port number.
4. After your successful login, in the Domain Structure panel on the left, click Deployments node.
5. In the Summary of Deployments panel, click Install.
6. In the Install Application Assistant panel, click the upload your file(s) link.
7. In the Deployment Archive section, click Browse to select the jreport.war file in `C:\JReport\Server\bin\distribute`, and then click Next.
8. Keep clicking Next until the Finish button is enabled, and then click Finish.
9. Start JReport Server and then access it using the following URL:

   `http://localhost:7001/jreport/`

#### Troubleshooting

If you run into problems when using JReport Server in BEA WebLogic, send the log files of JReport Server to support@jinfonet.com. The following procedure illustrates how to generate the log files:

1. Add `-Dlogall=true` on the same line as -Dreporthome`` in the `startWebLogic.sh` shell script.
2. Restart the application server, and then try to reproduce the problem. After reproducing the problem, send support@jinfonet.com the log files in `reporthome/logs`.

   The WebLogic log file may also help to identify the problem. It is `/opt/bea/user_projects/domains/domain_name/logs`.