Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Arnaud_Verbeke
Contributor
Contributor

How to use commandline in script mode when it is already started as a service

Hello,

 

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'
logoffProject

 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

Labels (4)
2 Replies
Anonymous
Not applicable

Hello,

Have you tried to stop the server and then use the commandline in "script mode" to see if it is OK with you?

Best regards

Sabrina

Madse
Contributor
Contributor

Hi @Arnaud_Verbeke,

basicly im faceing the same question and I woudl like to ask if you were able to manage your issue.
to executing an Talend commandLine Script-file in Server mode.

 

EDIT: this was already discussed in Januar 2011 --> https://www.talendforge.org/forum/viewtopic.php?id=13675

but I suppose its not possible since now