Sun Java System Portal Server 7.1 Command Line Reference

Examples

Example 1

In the following example, up to 13 RDs are removed from the database if they are expired. The progress report to stdout prints the elapsed time in seconds and the number of RDs processed so far after every five resource descriptions.

In the default search directory, type:


PortalServer-base/bin/rdmgr -E -j 13 -p stdout -r 5

Example 2

The following example shows how to recover all the search databases and makes the Search engine available again. Use this command to release stale locks in the database and to roll back incomplete data transactions. Stale locks and incomplete transactions can result from a database process being abnormally terminated.

If the Search engine is ”hung’ or not responding, in the default search directory, type:


PortalServer-base/bin/rdmgr -R