ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Download Now is failing for Autosys Scheduler on AAI Admin->Schedulers tab

book

Article ID: 241215

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Download Function from Admin Tab in AAI for Autosys Instance is failing with the following error message. This is not wide spread across all Autosys Instances, just the one in development. Autosys Instance 12.0.1

Uncaught JawsException occurred

Exception detail:
com.termalabs.common.JawsException: com.termalabs.common.JawsException: com.termalabs.server.domain.api.SchedulerUpdate$UpdateFailedException: SchedulerUpdate failed in the PRE_UPDATE phase
 at com.termalabs.server.app.scheduler.SchedulerHelper.downloadScheduler(SchedulerHelper.java:228)
 at com.termalabs.server.app.scheduler.SchedulerHelper.downloadNow(SchedulerHelper.java:159)
 at com.termalabs.server.ejb3.SchedulerDataManagerEJB.download(SchedulerDataManagerEJB.java:586)
 ... 12 skipped
 at com.termalabs.server.ejb3.RequestScopeEJB3Interceptor.invoke(RequestScopeEJB3Interceptor.java:94)
 ... 88 skipped
 at com.sun.proxy.$Proxy7.download(Unknown Source)
 at com.termalabs.client.model.impl.ejb.EJBSchedulerModelManagerImpl$23.processRequest(EJBSchedulerModelManagerImpl.java:860)
 at com.termalabs.client.model.impl.ejb.EJBSchedulerModelManagerImpl$23.processRequest(EJBSchedulerModelManagerImpl.java:853)
 at com.termalabs.client.util.request.RequestWorker$1.construct(RequestWorker.java:107)
 at com.termalabs.client.util.SwingWorker$2.run(SwingWorker.java:130)
 at java.lang.Thread.run(Unknown Source)
Caused by: com.termalabs.common.JawsException: com.termalabs.server.domain.api.SchedulerUpdate$UpdateFailedException: SchedulerUpdate failed in the PRE_UPDATE phase
 at com.termalabs.server.cache.scheduler.SchedulerUpdateImpl.commit(SchedulerUpdateImpl.java:324)
 at com.termalabs.server.cache.scheduler.SchedulerUpdateImpl.commit(SchedulerUpdateImpl.java:298)
 at com.termalabs.server.app.scheduler.SchedulerHelper.convertScheduler(SchedulerHelper.java:259)
 at com.termalabs.server.app.scheduler.SchedulerHelper.downloadScheduler(SchedulerHelper.java:211)
 at com.termalabs.server.app.scheduler.SchedulerHelper.downloadNow(SchedulerHelper.java:159)
 at com.termalabs.server.ejb3.SchedulerDataManagerEJB.download(SchedulerDataManagerEJB.java:586)
 ... 12 skipped
 at com.termalabs.server.ejb3.RequestScopeEJB3Interceptor.invoke(RequestScopeEJB3Interceptor.java:94)
 ... 68 skipped
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

Caller:
 at com.termalabs.client.model.impl.ejb.EJBSchedulerModelManagerImpl.download(EJBSchedulerModelManagerImpl.java:881)
 at com.termalabs.client.ui.admin.JobMartSettingsPanel.doDownload(JobMartSettingsPanel.java:259)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at net.sourceforge.tahini.Tahini$ControllerLinker$1.actionPerformed(Unknown Source)
 at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
 at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
 at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
 at java.awt.Component.processMouseEvent(Unknown Source)
 at javax.swing.JComponent.processMouseEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Window.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
 at java.awt.EventQueue.access$500(Unknown Source)
 at java.awt.EventQueue$3.run(Unknown Source)
 at java.awt.EventQueue$3.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
 at java.awt.EventQueue$4.run(Unknown Source)
 at java.awt.EventQueue$4.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)

Environment

Release : 6.4.2

Component : AUTOMIC AUTOMATION INTELLIGENCE INTEGRATION FOR AUTOSYS

Resolution

Error in jaws.log shows and error referencing a global variable ID and name.

WARN [ConverterService] Error occurred while converting scheduler "Autosys" (no changes committed): com.termalabs.server.domain.api.SchedulerUpdate$UpdateFailedException: SchedulerUpdate failed in the PRE_UPDATE phase
 at com.termalabs.server.cache.scheduler.SchedulerUpdateImpl.commit(SchedulerUpdateImpl.java:324)
 at com.termalabs.server.cache.scheduler.SchedulerUpdateImpl.commit(SchedulerUpdateImpl.java:298)
 at com.termalabs.server.system.ConverterService.runConverterForScheduler(ConverterService.java:381)
 at com.termalabs.server.system.ConverterService.convertScheduler(ConverterService.java:310)
 at com.termalabs.server.system.ConverterService.run(ConverterService.java:227)
 at com.termalabs.server.system.ConverterService$2.run(ConverterService.java:172)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)
Caused by: com.termalabs.common.datastore.DataAccessException: Error while deleting instance: [email protected][globalVariableId=UUID[AYB-qSpEGhI=],globalVariableName= <GlobalVariableName>,jo[email protected]3bb049bc[id=UUID[AYBD5NwxY6s=],name=Autosys DV1-12]]

 

1. Found the variable from the error in Autosys WCC -> Quick Edit Search.

 

2. Found the Global Variable had a leading space in the name which causes the convert to fail.

 

3. Checked the box next to the Global Variable on the Quick Edit page, and selected the Delete option.

 

4. Go back into AAI Thick Client ->Admin->Schedulers tab and attempt a new “Download Now” and it should succeed as long as there are no other Global Variables with a leading space in the name.