There are various ways in which a component can be configured and launched, one of the ways being Manual Launch. To change a component's Launch Mode, click the component first and then change the Execution Type to 'Manual' in the Execution tab of Properties window.
Figure 1: Choosing 'Manual' Execution Type
Manual launch is a mode in which the Fiorano peer server does not control the launch and stop of components.
Scriptgen Tool
Manual launch can be achieved via a launch script that can be generated via the Fiorano Studio. The scriptgen tool is present at the location <fiorano_install_dir>/esb/tools/scriptgen
To generate a Manual Launch Script from the Fiorano Studio
Right-click the component, go to Execution option, select Save Manual Launch Script option and save the script in the component_properties folder that gets created automatically.
Figure 3: Menu to save the manual launch script using Fiorano Studio
After saving the generated script, a dialog appears with instruction to run the manual script; click OK.
Figure 4: Dialog showing the steps to execute a component using scriptgen toolExecuting the scriptgen.bat file (on Windows platform) or scriptgen.sh file (UNIX platform) sets the environment variables. In UNIX, type the command
ant
and press Enter to start the Launch Configuration UI (Figure 5) to configure the launch script saved above. Perform the following actions in the Launch Configuration dialog box:Click the ellipsis button present under the Properties File text box and choose the properties file that was saved previously (Step 1); the path appears in the text box.
Click the Load button to set the appropriate properties; values as saved in the properties file appear in the Launch Configuration window.
Click OK to launch the component.
Figure 5: Launch Configuration UI to load the component properties for manual launch
The console shows the progress of the launch of the component and the log statements during execution. Subsequently, the component gets launched and the window appears, which can be further used in the flow.
Figure 6: Console displaying the details of the launch of the component