Deploying a BIRT Report to an Application Server : Placing the BIRT report viewer on an application server : Changing the BIRT report viewer context root
 
Changing the BIRT report viewer context root
By default, the context root of the URL for a web application is the path to the application directory or the WAR file. The default WAR file for the BIRT report viewer is birt.war, so the default URL to access a BIRT report from Apache Tomcat is similar to the following one:
http://localhost:8080/birt/run?__report=myReport.rptdesign
To change the BIRT context root, change the name of the /birt directory or the WAR file in $TOMCAT_INSTALL/webapps. Next, restart Apache Tomcat. In the URL to access your BIRT report, specify the name that you chose. For example, if you chose reports, the URL to access a BIRT report becomes:
http://localhost:8080/reports/run?__report=myReport.rptdesign
The URL examples in this section use a relative path to access the report design. The BIRT_VIEWER_WORKING_FOLDER parameter sets the path to access a report design as a relative path.