After you have created a WAR/EAR file that includes a self-contained JReport Server, you can deploy the WAR/EAR to an application server following the deploying instructions of the application server.
This section provides examples of deploying JReport Server to several leading Java EE application servers. The instructions are applicable to Unix, z/Linux and Windows platforms. However, the paths for Windows should use the Windows format, for example, C:\JReport\Server
, while paths for Unix and z/Linux should use the Unix and z/Linux format, for example, /opt/JReport/Server
.
Before going on to the next sections, you should already have reviewed Building a WAR/EAR file to include a self-contained JReport Server.
The following examples are based on the Unix platform with one exception of Sun Application Server on Windows:
Notes:
\public_html
directory in the application server side. What is need is creating a file jrserver.properties in the \WEB-INF directory and then adding the following two properties and providing the correct paths (the context root is excluded):
web.skin.dir
web.dhtml_jsp_path