One Star

[resolved] cannot log into project from commandline

I was able to login to a project from the command line until this morning. We had an issue with the server where we ran out of space and I had to restart services to get things working again. Functionally everything appears to be fine now execept that I cannot login to a project from the command line anymore.
command is:
Talend-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace logonProject -pn SHARED -ul user -up passwd
primary error is:
exception : org.talend.commandline.client.command.CommandStatusWrapException: java.lang.IllegalStateException: a repository should be initialized
I can login to projects from the client fine. I can login to mysql and svn. I can login to TAC. I can generate->deploy->run jobs in job conductor.

Talend 4.2.3
RHEL 5.5
1 ACCEPTED SOLUTION

Accepted Solutions
One Star

Re: [resolved] cannot log into project from commandline

Hi
You'd better add initLocal or initRemote first.
Try command like this.
Talend-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine 
-initRemote http://localhost:8080/org.talend.administrator
-consoleLog -data commandline-workspace logonProject -pn SHARED -ul user -up passwd

Regards,
Pedro
1 REPLY
One Star

Re: [resolved] cannot log into project from commandline

Hi
You'd better add initLocal or initRemote first.
Try command like this.
Talend-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine 
-initRemote http://localhost:8080/org.talend.administrator
-consoleLog -data commandline-workspace logonProject -pn SHARED -ul user -up passwd

Regards,
Pedro