Previous Topic: Modify the DMS Admin Password for Registration Services

Next Topic: Install a Web Agent on a Windows System

Modify the ServletExecAS Startup Script to Run Registration Services with ServletExecAS (UNIX only)

If you are using Registration Services with ServletExecAS you must modify the StartServletExec script.

To modify the StartServletExec script

  1. Open the StartServletExec script with a text editor. See the ServletExecAS documentation for the exact location of this script.

    Note: You can access the ServletExec documentation on the New Atlanta Web site.

  2. Extend the CLASSPATH definition by adding the entries in boldface to the end of the CLASSPATH:

    Note: Your specific entries may vary from the ones shown in this procedure. Replace /export/smuser/ca/siteminder/webagent with the actual Web Agent installation path.

    CLASSPATH=${NA_ROOT}/lib/ServletExec41.jar:${NA_ROOT}/lib/servlet.jar:${NA_ROOT}/lib/tools.jar:${NA_ROOT}/lib/jaxp.jar:${NA_ROOT}/lib/crimson.jar:${NA_ROOT}/lib/jndi.jar:${NA_ROOT}/se-${SEINSTANCE}/classes:/export/smuser/ca/siteminder/webagent/java/dms.jar:/export/smuser/ca/siteminder/webagent/java/smjavasdk2.jar:/export/smuser/ca/siteminder/webagent/java/env.jar:/export/smuser/ca/siteminder/webagent/java/jsafe.jar:/export/smuser/ca/siteminder/webagent/java/smjavaagentapi.jar:/export/smuser/ca/siteminder/webagent/java:/export/smuser/ca/siteminder/webagent/samples:/export/smuser/ca/siteminder/webagent/samples/properties:/export/smuser/ca/siteminder/webagent:/usr/iplanet/servers/myserver.example.com/config
    

    In this CLASSPATH entry, replace:

  3. Extend the document directories definition by adding the entry in bold:
    $SENAME $HOMEDIR $MIMEFILE $DOCROOTDIR  -port $PORT $SEOPTS -addl "/siteminderagent/dmspages=/export/smuser/ca/siteminder/webagent/samples/dmspages""
    

    Note: There are two double-quotes at the end of the definition.

  4. Set the library path variable to point to web_agent_home/bin—for example:
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/export/smuser/ca/siteminder/webagent/bin; export LD_LIBRARY_PATH
    

    The library path variable depends on the operating system. The following table lists the variables.

Operating System

Path Variable

Solaris

LD_LIBRARY_PATH

HP-UX

SHLIB_PATH

LINUX

LD_LIBRARY_PATH

AIX

LIBPATH


Copyright © 2010 CA. All rights reserved. Email CA about this topic