BackPrevious Page Next PageNext

Installing by Deploying a WAR File

There are user cases when they need to install JReport Server into application servers in the cloud and may not even own a machine of the type the application servers are installing to. For example you use Tomcat on Unix in a cloud environment but only have Windows machines available locally. You can then install JReport Server on Windows, make a war file and deploy it to the Java application server on Unix.

  1. Install JReport Server on the local Windows machine.
  2. Create a WAR via the following command line while specifying a report home. The report home uses the path on Unix on the target machine.

    makewar.bat -Dreporthome=/opt/reporthome

  3. Add any JDBC drivers that are required into the jreport.war/WEB-INF/lib directory.
  4. Visit your application server from the local machine using a browser, for example, for Tomcat the local machine URL is http://<host>:8080/ (8080 is the default port of Tomcat), and deploy the WAR using your application server user interface.
  5. Log onto the JReport Server console by the URL http://<host>:8080/jreport (assuming the war file is jreport.war) as an administrator to configure the server database.
  6. Restart JReport Server and access the server console to see if you can run the reports.

BackPrevious Page Next PageNext