BackPrevious Page Next PageNext

Installing by Building a WAR File on Windows to Deploy to Linux/Unix

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 they are installing to. For example you use Tomcat on Linux in a cloud environment but only have Windows machines available locally. You can then install JReport server on Windows, make a war file and then deploy it to the Java application server on Linux.

  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 Linux 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/, deploy the WAR using your application server user interface. 8080 is the default port of Tomcat.
  5. Log onto JReport Server Administration console by the URL http://<host>:8080/jreport/admin, (assuming the war file is jreport.war and you are using Tomcat) go to the Data tab on the system toolbar, configure the server database for System DB/realm DB/Profiling DB. It shouldn't be Derby.
  6. Restart JReport Server and access http://<host>:8080/jreport to see if you can run reports.

BackPrevious Page Next PageNext