Symptom
- sp_passwordpolicy 'expire login' breaks jstask getting 4022 , 7742 errors in the JSAgent error log during startup.
- JSAgent logs
00:140351396931456:11276:2022/08/01 09:17:50.56 jamain jsd_SetDatabase: jsd_GetResults() failed
00:140351396931456:11276:2022/08/01 09:17:50.57 jamain Server message:
00:140351396931456:11276:2022/08/01 09:17:50.57 jamain Msg 4022, Level 10, State 1:
00:140351396931456:11276:2022/08/01 09:17:50.57 jamain Server 'VA0'00:140351396931456:11276:2022/08/01 09:17:50.57 jamain :
00:140351396931456:11276:2022/08/01 09:17:50.57 jamain Server message: The password has expired, but you are still allowed to log in. You must change your password before you can continue. If a login trigger is set, it will not be executed.
00:140351396931456:11276:2022/08/01 09:17:50.58 jamain Server message:
00:140351396931456:11276:2022/08/01 09:17:50.58 jamain Msg 7742, Level 16, State 1:
00:140351396931456:11276:2022/08/01 09:17:50.58 jamain Server 'VA0'00:140351396931456:11276:2022/08/01 09:17:50.58 jamain Line 100:140351396931456:11276:2022/08/01 09:17:50.58 jamain :
00:140351396931456:11276:2022/08/01 09:17:50.58 jamain Server message: You must change your password using the ALTER LOGIN command before you can continue.
00:140351396931456:11276:2022/08/01 09:17:50.58 jamain jsd_SetDatabase: jsd_GetResults() failed
00:140351396931456:11276:2022/08/01 09:17:50.58 jamain Creating global context.
00:140351396931456:11276:2022/08/01 09:17:50.58 jamain SYB_JSAGENT ready.
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_GetStatusResult: jsj_GetResults() failed with retcode 0
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj__Xid2Sjid: jsj_GetStatusResult(sjid) failed for xid 352160
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj__Xid2Sjid() failed for xid 352160
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_GetStatusResult: jsj_GetResults() failed with retcode 0
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_SetJobState: jsj_GetStatusResult() failed for xid 352160, state C1 with retcode 0, status 0
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_SetJobState(C1) failed for xid 352160
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_GetStatusResult: jsj_GetResults() failed with retcode 0
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_SetJobStatus: jsj_GetStatusResult() failed for xid 352160, exit_code 3 with retcode 0, status 0
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_SetJobStatus(EXT_FAILURE) failed for xid 352160
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_GetStatusResult: jsj_GetResults() failed with retcode 0
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_SetJobEndTime: jsj_GetStatusResult() failed for xid 352160 with retcode 0, status 0
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jsj_SetJobEndTime failed for xid 352160
00:140351276840704:140351396931456:2022/08/01 09:17:51.51 worker jso_FlushBuffer: No job output connection pool provided for job xid 0
00:140351396931456:11276:2022/08/01 09:17:53.72 jamain -> JS: Task/Agent connection terminated.
00:140351396931456:11276:2022/08/01 09:17:53.72 jamain Job Scheduler failed to receive communication buffer while reading message type.
00:140351396931456:11276:2022/08/01 09:17:53.72 jamain Connection to Job Scheduler task terminated unexpectedly with error -4
00:140351396931456:11276:2022/08/01 09:17:53.72 jamain jsj_GetSingleResult: jsj_GetResults() failed
00:140351396931456:11276:2022/08/01 09:17:53.72 jamain All JS task connections have been lost.
00:140351396931456:11276:2022/08/01 09:17:53.72 jamain JS Agent aborting. Cancel all running jobs.
00:140351396931456:11276:2022/08/01 09:17:53.72 jamain Job Processing failed.
00:140351396931456:11276:2022/08/01 09:17:53.72 jamain JS Agent exiting.
Read more...
Environment
- SAP Adaptive Server Enterprise ASE 16.0
Product
Keywords
826959,CR 826959,CR826959,CR#826959,expire login,7742,4022,jstask , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.