What causes a "Should be logged on a repository" exception?

Symptoms

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 Administrator Center was not initialized. You should be logged in to a repository before executing any commands.

 

Resolution

To fix the problem, you must initialize a remote connection to Talend Administrator Center and log on to a repository. To do so:

  • Execute the command to initialize a remote connection to Talend Administrator Center.

    talend>initRemote http:/ /localhost:8080/org.talend.administrator
  • Execute the command to log on to a project.

    talend>logonProject -pn ProjectName -ul admin@company.com -up admin

For more information about a command, type help commandName at the command prompt to get detailed instructions. For example:

talend>help initRemote
Version history
Revision #:
6 of 6
Last update:
‎05-05-2017 09:49 AM
Updated by: