In Talend MDM 6.2.1, I am trying to use the commandline in "script mode" (refer to https://help.talend.com/reader/uwwCVAHxWDS6l5fZQ~lVYA/5dj5F4G1MynhrY8~yYALuA), while the commandline is already started in "Server Mode".
Basically, I managed to deploy a job in Nexus using command line in Server Mode (I connect with Telnet localhost 8002), with the following commands:
initRemote http://localhost:8080/tac -ul "myuser" -up "mypwd" logonProject -pn MyProject -ul "myuser" -up "mypwd" publishJob 'MyJob' -v '0.1' -pv '0.1.0' -g 'MyJobGroup' -a 'MyJob' -s -r 'http://mytacServer:8081/nexus/content/repositories/snapshots' -u "MyNexusUser" -p "MyNexusPwd" -t 'standalone' -jc 'Default'
But when I try to execute the same commands in script mode (I provide a specific workspace to avoid problems with the workspace used by server mode), I get many errors and it even makes my TAC restart for some unknown reasons.
So my question is : Is it possible to launch the commandline in script mode while it is already started in server mode? If not, is it possible the execute a script (not only one command) with the commandline in server mode?
Thanks for any help
Have you tried to stop the server and then use the commandline in "script mode" to see if it is OK with you?