The information in this section is applicable only to Data Integration Jobs and not to triggers/before/runnable Jobs.
CommandLine is required for generating and deploying the processes (Job) developed with Talend Studio onto the Job servers. This application allows the JAVA code to be generated for the Jobs on the basis of the XML files contained in the database, and must be started in order to allow Jobs to be started and deployed remotely.
To install CommandLine:
Copy your Talend Studio archive file onto the machine where you want to install CommandLine. This machine can be the same as your Web application, Talend Administration Center, but not necessarily.
Unzip it under a folder the name of which does NOT contain any space character.
If needed, rename the decompressed folder to CmdLine for more clarity.
Renaming your CommandLine "CommandLine" is causing problems, so it is recommended to rename it differently or not to rename it at all.
In this directory, the commandline.bat or commandline.sh file lets you launch the CommandLine program.
By default, after the first connection to the Studio, the license file is automatically put at the root of the CommandLine installation directory. If not, put the license file provided by Talend at the root of this directory.
Note that, during the first connection to the remote repository via Talend Administration Center, the external libraries required by some components and connection metadata are retrieved from the Git or SVN directory defined on the Configuration page of Talend Administration Center. Therefore, it is important that you first install Talend Administration Center, you configure it and you connect the Studio to the remote repository before you launch CommandLine in order to avoid errors during code generation of Jobs related to these required external libraries. For more information about how to set up the Git or SVN directory where the external libraries are stored, see the Talend Administration Center User Guide.
Run the commandline.bat (on Windows) or commandline.sh (on Linux) file.
On Linux, for reasons of rights management, make sure you launch CommandLine using the same administrator account as for Tomcat. For example, you can create an account DIAdmin for both Tomcat and CommandLine.
If you need to change the port number (by default 8002), simply edit the CommandLine file (.sh or .bat based on your system) and change the port number.
You can stop the CommandLine execution by press Ctrl+C.
If you chose to install CommandLine on a different machine than Talend Administration Center, then you need to configure the CommandLine access parameters in the Configuration page of Talend Administration Center Web application. For more information, see the Talend Administration Center User Guide.
For more information about the CommandLine usage, see Appendix A of the Talend Administration Center User Guide.
To install CommandLine as a service, see Installing services.
To install CommandLine on other platforms than Windows and Linux and/or on 64-bit platforms, see Memory settings and JVM.