Deploying JReport Portlet to portal servers

Assume JReport Server is installed to C:\JReport\Server, before you can deploy JReport Portlet to any portal server, you need to package the JReport Portlet WAR file by running the following command.

C:\JReport\Server\bin\makewar buildPortletWar

When this is done, you can find the file jrportlet.war in C:\JReport\Server\bin\distribute. Then you need to edit web.xml in \WEB-INF as follows:

The following introduces how to deploy JReport Portlet to some specific portal servers. The web portal servers supported are WebSphere 6.0.0.1, JBoss 2.6.5.SP1, Liferay 4.3.5, and above.

Deploying to WebSphere Portal

Assume that the WebSphere Portal Server has been installed in C:\websphere, to deploy JReport Portlet to the portal server:

  1. Start WebSphere Portal Server, open a web browser and set the URL to http://hostname:10038/wps/myportal to access the WebSphere Portal.
  2. Enter wpadmin for the User ID and admin for the Password, click Login and the WebSphere Portal home page is displayed.
  3. Click Launch to open the main menu, then click Administration > Web Modules on the menu.
  4. On the Manage Web Modules page, click the install button.
  5. Click Browse to find jrportlet.war in C:\JReport\Server\bin\distribute.
  6. Click Finish to deploy JReport Portlet to the portal server.

Deploying to JBoss Portal

Assume that you have downloaded JBoss Portal 2.6.5-SP1 into C:\jboss, to deploy JReport Portlet to the portal server:

  1. Copy jrportlet.war in C:\JReport\Server\bin\distribute to C:\jboss\server\default\deploy.
  2. Start JBoss Portal Server to finish deploying.

Deploying to Liferay

Assume that you have installed Liferay in C:\liferay, to deploy JReport Portlet to the portal server, you can use one of the following two methods:

Note: Because the Liferay Portal Server is integrated with Tomcat, you can deploy jreport.war to Liferay directly instead of to the web server as explained in Preparing the webservice for JReport Portlet.