Websphere js scripts cannot access AdminTask

We have an automatic deployment script that uses wsadmin and jython. The script seems to work as expected, but after 6-7 repeated deployments, the AdminTask object becomes inaccessible, which leads to the following error when trying to use this object:

WASX7209I: Connected to process "server1" on node ukdlniqa41Node01 using SOAP connector; The type of process is: UnManagedProcess WASX8011W: AdminTask object is not available. ... Traceback (innermost last): File "<string>", line 251, in ? File "<string>", line 14, in main File "<string>", line 38, in initialize NameError: AdminTask 

My question is: can this AdminTask object become inaccessible? (it remains unavailable until we restart the server instance)

+4
source share
1 answer

AdminTask may be available if one of the previous tasks did not complete properly. This often happens, especially if your server is in development mode. I would advise building a Deployment Mustgather at http://www-01.ibm.com/support/docview.wss?rs=180&context=SSCR4XA&q1=MustGatherDocument&uid=swg21199344&loc=en_US&cs=utf-8&lang=en and send the results to IBM.

+1
source

Source: https://habr.com/ru/post/1342662/


All Articles