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 (RIDs) other than 1.

StepsModifying agentbuilder.jsp

  1. In a terminal window, navigate to $SYBASE/infoedition/tomcat/webapps/onepage/home/ docapps/agentbuilder.

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

  3. Make sure you have write permission on agentbuilder.jsp.

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

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

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

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

  6. Remove “&& _pi_cmd.equals("addSchedule")” from the line.

    Original:

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

    After modification:

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

  7. Save the file and close it.





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

View this book as PDF