Hi Everyone,
we have some issues with the Autosys WebUI (WCC) after upgrading from Autosys 12.1 to 12.1.1 in our test environment.
We are running on RHEL 8 with an Oracle 19c database.
Our upgrade installation is done with the install.bin from the ISO Image and a response file for the silent installation.
After the Upgrade we get one of the following results in WCC:
- Scenario: Everything is ok and working as expected.
- Scenario: The Tree View and FlowView as well as Quick View are not working anymore. The Tree View reports "Failed to load data" and Qucik View reports "Error: E131003 Error loading the job"
In the ca-wcc.log we can see the folllowing error:
INFO | jvm 1 | 2023/10/19 11:16:00 | 860 | @monitoring <192.168.172.1 ejmcommander ~DFA> [] ERROR ObjectTreeResource (101) Error occurred while refreshing tree java.lang.RuntimeException: server -1 not found
INFO | jvm 1 | 2023/10/19 11:16:00 | 860 | at com.ca.wcc.monitoring.service.impl.JobLevelSecurityServiceImpl.isJobLevelSecurityEnabledForServer(Unknown Source)
INFO | jvm 1 | 2023/10/19 11:16:00 | 860 | at com.ca.wcc.monitoring.service.impl.JobLevelSecurityServiceImpl.isUserHasAccessToJobNode(Unknown Source)
...
INFO | jvm 1 | 2023/10/19 11:16:00 | 860 | @tomcat-resource <https-jsse-nio-8443-exec-1> [[]] WARN #WccReportErrorValve #(130) returned status 500 for /wcc/jsc-rest/tree/refresh from 192.168.172.1
Checking with the WCC DB we can see that there is an entry with a negative value in the tables MON_JOB and MON_JOB_VIEW for the column ID and JOB_ID.
The value is -2147483647 and every time the wcc services are being startet, this value is assigened to another job in the MON_JOB table. It seems that the wcc Collector is responsible for this behaviour during it's job task.
3. Scenario: The Quick Edit is not working anymore. We are receiving the following error in the Quick Edit log:
2023-10-18 14:04:08,140 @quickedit <192.168.172.1 ejmcommander ~C3C> [] WARN #AutoSysServiceWrapper #(801) Exception in getJobDef() call to adapter: CAUAJM_E_10678 The requested server operation failed because specified attributes were invalid. Operation ID = 299.
com.ca.uejm.adapter.AdapterException: CAUAJM_E_10678 The requested server operation failed because specified attributes were invalid. Operation ID = 299.
For both error scenarios the issue seems to be in the database. We have created a DB Restore Point for a successful and working 12.1.1 Upgrade.
Restoring this Snapshot to a not working 12.1.1 Upgrade solved both errors.
In all 3 scenarios the install.bin ends with RC=0.
Is there a possibility to get information, what the wcc Services are executing when these errors occur? We have no idea which attributes may be invalid when trying to edit a job via WCC. The database contents is not changed except for the changes which the Upgrade itself is performing.
Autosys itself seems to be fine. autorep etc. are working fine.
Thank You for any hints to solve this issue.