NoahGochuico603609

UC4 V12 - UNIX Jobs....

Discussion created by NoahGochuico603609 on Jan 11, 2018
Latest reply on Jan 12, 2018 by NoahGochuico603609
Hi

the user complaining about recently RMS be not shutdown to run night batch chain. when Looking Automic job execution report I see an issue on exception condition, where job ends with return code zeros. 

the job run and ENDED_OK status  but when we check the reports log there''s an error and the job did not abort.

can you help us to fix this issue.
how can i edit the job, if the the job return code 0 it will abort?


1isfdnahl0p2.png


e1kt2on9pxae.png


flk4spb0dyc1.png

************************************************************************

**  ucxjlx6m   version 10.0.4+build.505         changelist 6268786    **

**  JOB 07374000 (ProcID:0000019626) START AT 07.01.2018 / 21:03:27   **

**                                   UTC TIME 08.01.2018 / 02:03:27   **

**  TEXT="        Job started             "                           **

************************************************************************

Stopping Weblogic Server...

 

Initializing WebLogic Scripting Tool (WLST) ...

 

Welcome to WebLogic Server Administration Scripting Shell

 

Type help() for help on available commands

 

Connecting to t3://prd-momapps-pe-1:7001 with userid weblogic ...

Successfully connected to Admin Server 'AdminServer' that belongs to domain 'mom_apps_forms'.

 

Warning: An insecure protocol was used to connect to the

server. To ensure on-the-wire security, the SSL port or

Admin port should be used instead.

 

Shutting down the server rms-help-server with force=false while connected to AdminServer ...

 

 

Exiting WebLogic Scripting Tool.

 

Done

Stopping Derby Server...

Stopping Weblogic Server...

 

Initializing WebLogic Scripting Tool (WLST) ...

 

Welcome to WebLogic Server Administration Scripting Shell

 

Type help() for help on available commands

 

Connecting to t3://prd-momapps-pe-1:7001 with userid weblogic ...

Successfully connected to Admin Server 'AdminServer' that belongs to domain 'mom_apps_forms'.

 

Warning: An insecure protocol was used to connect to the

server. To ensure on-the-wire security, the SSL port or

Admin port should be used instead.

 

Shutting down the server rms-webservices with force=false while connected to AdminServer ...

This Exception occurred at Sun Jan 07 21:04:29 PET 2018.

weblogic.server.ServerLifecycleException: Can not get to the relevant ServerRuntimeMBean for server rms-webservices.

This Exception occurred at Sun Jan 07 21:04:29 PET 2018.

weblogic.management.scripting.ScriptException: Error occured while performing shutdown : Error shutting down the server : Can not get to the relevant ServerRuntimeMBean for server rms-webservices.

Use dumpStack() to view the full stacktrace

Problem invoking WLST - Traceback (innermost last):

  File "/u01/oretail_mid/user_projects/domains/mom_apps_forms/shutdown.py", line 4, in ?

  File "<iostream>", line 1218, in shutdown

  File "<iostream>", line 1855, in raiseWLSTException

WLSTException: Error occured while performing shutdown : Error shutting down the server : Error occured while performing shutdown : Error shutting down the server : Can not get to the relevant ServerRuntimeMBean for server rms-webservices.

Use dumpStack() to view the full stacktrace

Use dumpStack() to view the full stacktrace

 

Done

Stopping Derby Server...

Stopping Weblogic Server...

 

Initializing WebLogic Scripting Tool (WLST) ...

 

Welcome to WebLogic Server Administration Scripting Shell

 

Type help() for help on available commands

 

Connecting to t3://prd-momapps-pe-1:7001 with userid weblogic ...

Successfully connected to Admin Server 'AdminServer' that belongs to domain 'mom_apps_forms'.

 

Warning: An insecure protocol was used to connect to the

server. To ensure on-the-wire security, the SSL port or

Admin port should be used instead.

 

Shutting down the server WLS_FORMS with force=false while connected to AdminServer ...

This Exception occurred at Sun Jan 07 21:04:44 PET 2018.

weblogic.server.ServerLifecycleException: Can not get to the relevant ServerRuntimeMBean for server WLS_FORMS.

This Exception occurred at Sun Jan 07 21:04:44 PET 2018.

weblogic.management.scripting.ScriptException: Error occured while performing shutdown : Error shutting down the server : Can not get to the relevant ServerRuntimeMBean for server WLS_FORMS.

Use dumpStack() to view the full stacktrace

Problem invoking WLST - Traceback (innermost last):

  File "/u01/oretail_mid/user_projects/domains/mom_apps_forms/shutdown.py", line 4, in ?

  File "<iostream>", line 1218, in shutdown

  File "<iostream>", line 1855, in raiseWLSTException

WLSTException: Error occured while performing shutdown : Error shutting down the server : Error occured while performing shutdown : Error shutting down the server : Can not get to the relevant ServerRuntimeMBean for server WLS_FORMS.

Use dumpStack() to view the full stacktrace

Use dumpStack() to view the full stacktrace

 

Done

Stopping Derby Server...

Stopping Weblogic Server...

 

Initializing WebLogic Scripting Tool (WLST) ...

 

Welcome to WebLogic Server Administration Scripting Shell

 

Type help() for help on available commands

 

Connecting to t3://prd-momapps-pe-1:7001 with userid weblogic ...

Successfully connected to Admin Server 'AdminServer' that belongs to domain 'mom_apps_forms'.

 

Warning: An insecure protocol was used to connect to the

server. To ensure on-the-wire security, the SSL port or

Admin port should be used instead.

 

Shutting down the server WLS_FORMS2 with force=false while connected to AdminServer ...

 

 

Exiting WebLogic Scripting Tool.

 

Done

Stopping Derby Server...

Stopping Weblogic Server...

 

Initializing WebLogic Scripting Tool (WLST) ...

 

Welcome to WebLogic Server Administration Scripting Shell

 

Type help() for help on available commands

 

Connecting to t3://prd-momapps-pe-1:7001 with userid weblogic ...

Successfully connected to Admin Server 'AdminServer' that belongs to domain 'mom_apps_forms'.

 

Warning: An insecure protocol was used to connect to the

server. To ensure on-the-wire security, the SSL port or

Admin port should be used instead.

 

Shutting down the server AdminServer with force=false while connected to AdminServer ...

Disconnected from weblogic server: AdminServer

 

 

Exiting WebLogic Scripting Tool.

 

Done

Stopping Derby Server...

************************************************************************

**  ucxjlx6m   version 10.0.4+build.505         changelist 6268786    **

**  JOB 07374000 (ProcID:0000019626) ENDED AT 07.01.2018 / 21:05:17   **

**                                   UTC TIME 08.01.2018 / 02:05:17   **

**  TEXT="        Job ended               "  RETCODE=00               


************************************************************************



Thanks and Regards



Outcomes