 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
nb007
Joined: 02 Sep 2008 Posts: 23
|
|
Errors running imported jobs. |
|
Hi!
Got two problems.
1.
"Job definition incomplete. Missing or invalid COMMAND property value."
This is the command property value:
"D:\application\path\app.exe altini=D:\application\path\supplier.ini provider=thomsondatastream action=uploadreqfile batchID=12345 enddate=-1 trigger="0930" loglevel=3"
2. On another job(and a little bit misspelled, too):
"Create process error. Extended error: RunAs error: Maximum supported encryptted value length is 260; you got 414."
The command line is similar to the first example, and the user name is only XX\Yyyyyyy long. I can't see were it gets 414 from. Is there some java-unicode issue? Anyway, what kind of limit would that be?
Anyway, in both cases the same code works on the windows version.
|
|
Wed Sep 03, 2008 3:09 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
1. Weird, the error makes no sense to me. Do you get this error if you change the command line to Notepad? If yes, the problem is not with the command line, perhaps the job has some notification action enabled, but no command line specified for the notification action.
2. For jobs set to run under a different user account, it uses a special platform dependent utilities. It seems that you are running it on Windows, in which case it uses RunAs.exe. The command line passed to RunAs gets encrypted so that it cannot be read in clear text, and any passwords or other sensitive data specified on the command line cannot be seen in Vista Task Manager and other special task management utilities such Process Explorer and other. The encrypted command line in this particular case appears to be 414 bytes long, while the limit for your operation system is 260 bytes.
The second part of the message, which you didn't mention or didn't see, says that in such cases you should either wrap long command line into a batch file and schedule the batch file or better convert job type from Program Type to Script Type and for the type of script choose Shell/Batch Script.
|
|
Wed Sep 03, 2008 9:29 am |
|
 |
nb007
Joined: 02 Sep 2008 Posts: 23
|
|
|
|
Running these command as a batch scripts seems smarter anyway.
It seems to have solved both problems. Maybe a really long command was considered unset or something?
Thanks!
|
|
Thu Sep 04, 2008 2:46 am |
|
 |
nb007
Joined: 02 Sep 2008 Posts: 23
|
|
|
|
Also, those with a long command cannot be selected in the tree by either clicking or using the keyboard(they cant be previewed in the right pane).
They can be right-clicked and edited through properties though.
|
|
Thu Sep 04, 2008 3:37 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
Sorry I don't get it "long command cannot be selected in the tree", which tree are you refering too? Do you mean descriptive job name or job command?
|
|
Thu Sep 04, 2008 9:16 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|