Starting and Stopping the Component Manager from a Script or Command Line

To start the Component Manager from a script or command window, execute the following procedure:

  1. Ensure that your system is properly configured for your Java Runtime Environment (JRE). For details, see the topic, Setting Up/Developing for Process>Setting Up and Developing for Java>Configuring the JRE, in the Help for Process Development document.
  2. Ensure the router on your Application Engine is started. For detail information, see the topic, Routers>Starting and Stopping a router in the Help for Process Task Manager document.
  3. Start or stop the Component Manager by entering the command line that applies to your application model, by referring to one of the following:

Command Lines for Starting and Stopping the Component Manager from a Script, for Workplace

From a command window on the Application Engine, enter the following, as a single command. (Note that line breaks have been inserted for readability.)

java -D<InitialContextFactory for use with JMS Adapters>
-Djava.security.auth.login.config=<FileNet Installation Directory>\Router\taskman.login.config
-Djava.security.policy=<FileNet Installation Directory>\Router\taskman.policy
-classpath "<FileNet Installation Directory>\Workplace\WEB-INF\lib\eprocess.jar;
<FileNet Installation Directory>\Workplace\download\wcm.jar;
<FileNet Installation Directory>\Workplace\WEB-INF\lib\jaas.jar;
<FileNet Installation Directory>\Workplace\WEB-INF\lib\p8ciops.jar;
<FileNet Installation Directory>\Workplace\WEB-INF;
[your component's jar file];
[application server jar files for JMS]"
filenet.vw.integrator.base.VWComponentManager
<routerURL>
<username> <password>
[registryPort][eventPort]

To stop the Component Manager from a script or command window on the Application Engine, enter the following :

java -classpath "<FileNet Installation Directory>\Workplace\WEB-INF\lib\eprocess.jar" filenet.vw.integrator.base.VWComponentManager
/named /registryPort=<registryPort> unbind

Notes

Command Lines for Starting and Stopping the Component Manager from a Script, for FileNet Web Services or OpenClient

From a command window on your Web Server, enter the following, as a single command. (Note that line breaks have been inserted for readability.)

java -Djava.security.auth.login.config=<FileNet Installation Directory>\IDM\PWBin\taskman.login.config
-Djava.security.policy=<FileNet Installation Directory>\IDM\PWBin\taskman.policy
-classpath "<FileNet Installation Directory>\IDM\Web\IDMWS\Redist\WF_Extras\pw.jar;
<FileNet Installation Directory>\IDM\PWBin\jaas.jar;
[your component's jar file]"
filenet.vw.integrator.base.VWComponentManager
<routerURL>
<username> <password>
[registryPort][eventPort]

To stop the Component Manager from a script or command window on your Web Server, enter the following :

java -classpath "<FileNet Installation Directory>\IDM\Web\IDMWS\Redist\WF_Extras\pw.jar" filenet.vw.integrator.base.VWComponentManager
/named /registryPort=<registryPort> unbind

Notes