You may get the following error when executing commands using Talend CommandLine:
!ENTRY org.talend.commandline 4 0 2012-06-08 14:14:08.250 !MESSAGE should be logged on a repository !STACK 0 java.lang.IllegalStateException: should be logged on a repository
This problem occurs because a remote connection to Talend Administration Center was not initialized. You should be logged in to a repository before executing any commands.
To fix the problem, you must initialize a remote connection to Talend Administration Center and log on to a repository. To do so:
Execute the command to initialize a remote connection to Talend Administration Center.
talend>initRemote http:/ /localhost:8080/org.talend.administrator
Execute the command to log on to a project.
talend>logonProject -pn ProjectName -ul firstname.lastname@example.org -up admin
For more information about a command, type help commandName at the command prompt to get detailed instructions. For example: