Start the custom adaptors. The query groups must have been registered and started before you start the adaptors.
The command to be used depends on the connection mode (in-process connection or RMI connection). This subsection describes how to start the adaptors in both connection modes.
Execute the sdpstartinpro command to start an adaptor.
In the command's argument, specify a custom adaptor name specified as the name of the in-process connection property file. For details about the in-process connection property file, see 8.9 In-process connection property file (user_app.adaptor-group-name-or-adaptor-name.properties).
An example of command execution is shown below. In this example, InproAppSample is the custom adaptor name.
working-directory\bin\sdpstartinpro InproAppSample |
For details about the sdpstartinpro command, see sdpstartinpro (starts in-process-connection adaptors) in 7. Commands.
Execute the sdpstartap command to start an adaptor.
In the command's arguments, specify the necessary information, such as the path name of the JavaVM options file for RMI connections, class name of the Java application, and arguments to be passed to the main method. For details about the JavaVM options file for RMI connections, see 8.5 JavaVM options file for RMI connections (jvm_client_options.cfg).
An example of command execution is shown below. In this example, AppSample is the class name of the Java application.
working-directory\bin\sdpstartap -clientcfg conf\jvm_client_options.cfg AppSample |
For details about the sdpstartap command, see sdpstartap (starts RMI-connection adaptors) in 7. Commands.