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.
Assume that the WebSphere Portal Server has been installed in C:\websphere
, to deploy JReport Portlet to the portal server:
http://hostname:10038/wps/myportal
to access the WebSphere Portal.C:\JReport\Server\bin\distribute
.Assume that you have downloaded JBoss Portal 2.6.5-SP1 into C:\jboss
, to deploy JReport Portlet to the portal server:
C:\JReport\Server\bin\distribute
to C:\jboss\server\default\deploy
.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:
C:\JReport\Server\bin\distribute
to C:\liferay\webapps.
C:\Documents and Settings\user name\liferay\deploy
.http://localhost:8080/user/joebloggs
to access the Liferay home page.C:\JReport\Server\bin\distribute
.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.