Overview of IdcCommand Utility IdcCommand Setup and Execution

7 Using the IdcCommand Utility to Access Services 7-1 7 Using the IdcCommand Utility to Access Services This chapter describes how to use the IdcCommand utility to access Oracle Content Server services from other applications This chapter includes the following sections: ■ Section 7.1, Overview of IdcCommand Utility ■ Section 7.2, IdcCommand Setup and Execution ■ Section 7.3, Command File ■ Section 7.4, Configuration Options ■ Section 7.5, Running IdcCommand ■ Section 7.6, Using the Launcher ■ Section 7.7, Calling Services Remotely

7.1 Overview of IdcCommand Utility

The IdcCommand utility is a standalone Java application that executes Content Server services. Almost any action you can perform from the Oracle Content Server browser interface or administration applets can be executed from IdcCommand. The program reads a Command File , which contains service commands and parameters, and then calls the specified services. A log file can record the time that the call was executed, whether the service was successfully executed, and if there were execution errors. Note: The IdcCommand utility returns only information about the success or failure of the command. To retrieve information from Oracle Content Server in an interactive session, use the Java COM wrapper IdcCommandX, available on Microsoft Windows platforms. 7-2 Oracle Fusion Middleware Developers Guide for Oracle Universal Content Management To run the IdcCommand utility, you must specify the following parameters on the command line or in the intradoc.cfg configuration file: ■ A command file containing the service commands and parameters. ■ An Oracle Content Server user name. This user must have permission to execute the services being called. ■ A path and file name for a log file. ■ The connection mode auto, server, or standalone. There are certain commands that cannot be executed in standalone mode. In general, these commands are performed asynchronously by the server in a background thread. This happens in the update or rebuild of the search index. For information about using services in custom components, see Chapter 3, Working with Standard, Server, and Custom Components. and the Oracle Fusion Middleware Services Reference Guide for Universal Content Management.

7.2 IdcCommand Setup and Execution

To set up IdcCommand, you must specify the following two things: ■ A Command File