new job server creation error - Length of passwd exceeds maximum length 40

25 views
Skip to first unread message

Nariman Abdullayev

unread,
Aug 1, 2014, 4:31:48 AM8/1/14
to sche...@googlegroups.com
COMMAND
create job server GLOBAL.'SERVER_42' with node = 'localhost', password =  'qwerty', GROUP = 'ADMIN', CONFIG = ( 'JOBEXECUTOR' = NONE, 'JOBFILEPREFIX' = NONE, 'DEFAULTWORKDIR' = NONE, 'CREATE_WORKDIR' = NONE, 'ONLINE_SERVER' = NONE, 'NOPDELAY' = NONE, 'RECONNECTDELAY' = NONE, 'VERBOSELOGS' = NONE, 'USEPATH' = NONE, 'TRACELEVEL' = NONE, 'NOTIFYPORT' = NONE, 'HTTPHOST' = NONE, 'HTTPPORT' = NONE, 'REPOHOST' = NONE, 'REPOPORT' = NONE, 'BOOTTIME' = NONE, ENV = NONE ), PARAMETERS = NONE
ERRORCODE 01112141528
ERRORMESSAGE
(Scope) Length of passwd exceeds maximum length 40

but it does not. the password i entered is just "qwerty"

Dieter Stubler

unread,
Aug 1, 2014, 5:20:34 AM8/1/14
to sche...@googlegroups.com
Hallo,
you found bug which is easy to fix.

1. Edit the file src/server/repository/SDMSScopeGeneric.java

search for passwd and change the length checks from 40 to 64

2. Alter the database table SCOPE to make the passwd column size 64

we will fix that in github also.

Regards
Dieter

Ronald Jeninga

unread,
Aug 1, 2014, 5:28:50 AM8/1/14
to sche...@googlegroups.com
Hi Nariman,

stupid me, now I've found your post.

I fixed it and uploaded it to github.

Regards,

Ronald


Nariman Abdullayev

unread,
Aug 1, 2014, 6:00:18 AM8/1/14
to sche...@googlegroups.com
I have updated src/server/repository/SDMSScopeGeneric.java and updated DB

It fixed the problem and new server has been created
Reply all
Reply to author
Forward
0 new messages