Writer instructions

Page title

For most spaces, this page must be titled Space announcements.

For spaces with localized content, this page must be titled Space announcements l10n.

Purpose

Provide an announcement banner on every page of your space.

Location

Move this page outside of your home branch.

Guidelines

Limited supportBMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see MainView Middleware Monitor 9.2.

Declaring the BTM Servlet Filter to the Servlet container


A web deployment descriptor (web.xml) is included in the web archive (WAR) file of the Java EE web application to be monitored.

You need to declare the BTM Servlet Filter in web.xml using a filter element, and provide a mapping to tell the servlet container which requests should be filtered via a filter-mapping element.

When making changes to an existing web.xml, be careful to adhere to the correct element ordering appropriate to the version of Java EE you are using. The resulting XML file must conform to the DTD or XML Schema definition being used. The web application might not deploy correctly if errors are introduced into the deployment descriptor.

  • Open the appropriate web.xml file in a text editor and modify the elements filter and filter-mapping. The child elements and attributes are described in web.xml elements.

    Snippet from web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID">
    <filter>
    <filter-name>QNServletFilter</filter-name>
    <display-name>QNServletFilter</display-name>
    <description>BTM Servlet Filter</description>
    <filter-class>
    com.mqsoftware.BTM.servletfilter.QNServletFilter
    </filter-class>
    <init-param>
    <param-name>ConfigFile</param-name>
    <param-value>/path/to/QNServletFilterSampleCfg.xml</param-value>
    <description>Required</description>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>QNServletFilter</filter-name>
    <url-pattern>*</url-pattern>
    </filter-mapping>
    </web-app> 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*