Changing the host, domain, and port of the portal  Configuring Tomcat for LDAP

Chapter 2: Installation Procedures

Configuring agentbuilder.jsp for Alerts

Modify the agentbuilder.jsp file to enable the Alert feature to work on resource identifiers (rid) other than 1.

StepsModifying agentbuilder.jsp

  1. In Windows Explorer, navigate to %SYBASE%\infoedition\tomcat\webapps\onepage\home\ docapps\agentbuilder.

  2. Copy agentbuilder.jsp to agentbuilder.jsp-orig as a backup.

  3. With a text editor, open agentbuilder.jsp.

  4. In agentbuilder.jsp, search for the following:

    <%if ( _apps.equals("pi") && _pi_cmd.equals ("addSchedule") ) { %>

    var IDsNode1 = requestDoc.selectSingleNode ("//RequestDef/RequestType/IDs");

  5. Remove "&& _pi_cmd.equals("addSchedule")" from the line as follows:

    Original:

    <%if ( _apps.equals("pi") && _pi_cmd.equals ("addSchedule") ) { %>

    After modified:

    <%if ( _apps.equals("pi")) { %>

  6. Save the file and close it.





Copyright © 2004. Sybase Inc. All rights reserved. Configuring Tomcat for LDAP

View this book as PDF