In order to install BugRat under Orion, you will need to add
the web app definition under the default application, and add
it to the default web site. To accomplish this, use the following
examples to modify the configuration for Orion.
In File <orion>/config/application.xml
Within the element <orion-application> add:
<web-module id="bugrat" path="path/to/dir/bugrat.war" />
In File <orion>/config/default-web-site.xml
Within the element <web-site> add:
<web-app application="default" name="bugrat" root="/bugrat" />
The "id" attribute of the <web-module> element in application.xml
is what links the BugRat web application to the "name"
attribute of the <web-app> element in default-web-site.xml.
The "application" attribute of the <web-app> element in default-web-site.xml
determines the Orion "application" to which the BugRat web-module belongs. Setting
it to "default" is what ties it to the application defined by application.xml, which
defines Orion's default application.
The "path" attribute of the <web-module> element in application.xml
needs to point to the location of the bugrat.war file on your system. The
path shown in the example above will not work as it is, you must adjust
the path to match your installtion.
The "root" attribute of the <web-app> element in the default-web-site.xml
file determines the "context" of BugRat. In other words, the home page for BugRat,
given the "root=/bugrat" setting, would be something like
<http://orion.server.name/bugrat/index.html>.
Back Home