Installation guide
Prepare for Registration Services (Optional)
28 Web Agent Installation Guide
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:${N
A_ROOT}/lib/jaxp.jar:${NA_ROOT}/lib/crimson.jar:${NA_ROOT}/lib/jndi.jar:${NA_ROOT}/se-${SEINSTANC
E}/classes:/export/smuser/ca/siteminder/webagent/java/dms.jar:/export/smuser/ca/siteminder/weba
gent/java/smjavasdk2.jar:/export/smuser/ca/siteminder/webagent/java/env.jar:/export/smuser/ca/site
minder/webagent/java/jsafe.jar:/export/smuser/ca/siteminder/webagent/java/smjavaagentapi.jar:/exp
ort/smuser/ca/siteminder/webagent/java:/export/smuser/ca/siteminder/webagent/samples:/export/s
muser/ca/siteminder/webagent/samples/properties:/export/smuser/ca/siteminder/webagent:/usr/ipla
net/servers/myserver.example.com/config
In this CLASSPATH entry, replace:
■ /usr/iplanet/servers with the actual server installation directory
■ myserver.example.com with the actual server instance where
ServletExec is installed
■ /export/smuser/ca/siteminder/webagent/ with the actual SiteMinder
Web Agent installation directory
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