000015264 - AAoP scheduler issue on JBOSS 5.1 offlineTask throwing an Error due to main_table.xml

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000015264
Applies ToJBoss 5.1.0
Deploying scheduler.war in a JBoss 5.1.0 application server is causing the offllineTask to throw an exception.

 

2011-12-13 00:00:00,500 ERROR [scheduler_Worker-4] AlarmLogger - CONFIG_ERROR | Got NULL while fetching resource from configuration: main_table.xml

2011-12-13 00:00:00,503 ERROR [scheduler_Worker-4] JobRunShell - Job DEFAULT.healthCheckJobDetail threw an unhandled Exception:

java.lang.ExceptionInInitializerError

                at com.rsa.risk.batches.TaskStatusHandler.getNextSequenceID(TaskStatusHandler.java:223)

                at com.rsa.base.AbstractManager.loadNextSequenceFromDB(AbstractManager.java:188)

                at com.rsa.healthcheck.admin.HealthCheckManager.startHealthcheck(HealthCheckManager.java:163)

                at com.rsa.healthcheck.admin.HealthCheckManager.startTestSynchronic(HealthCheckManager.java:251)

                at com.rsa.healthcheck.admin.HealthCheckManager.process(HealthCheckManager.java:520)

                at com.rsa.csd.wrapper.ReHealthCheckWrapper.process(ReHealthCheckWrapper.java:43)

                at com.rsa.csd.wrapper.ReHealthCheckWrapper.process(ReHealthCheckWrapper.java:51)

                at com.rsa.csd.scheduler.BatchJobWrapper.process(BatchJobWrapper.java:94)

                at com.rsa.csd.scheduler.BatchJobWrapper.executeInternal(BatchJobWrapper.java:78)

                at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)

                at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

                at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)

Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not create ctor for: [class com.rsa.infra.core.xmlconfig.CMultiXMLConfigMgr]. with data: [/com/rsa/config/[main_table.xml]] and data type: [class com.rsa.infra.core.xmlconfig.SMultiXMLConfigMgrInfo]

                at com.rsa.infra.core.xmlconfig.CGenInfraConfig.<clinit>(CGenInfraConfig.java:41)

                ... 12 more

Caused by: java.lang.RuntimeException: Could not create ctor for: [class com.rsa.infra.core.xmlconfig.CMultiXMLConfigMgr]. with data: [/com/rsa/config/[main_table.xml]] and data type: [class com.rsa.infra.core.xmlconfig.SMultiXMLConfigMgrInfo]

                at com.rsa.infra.core.cache.CObjectCache.createCachableObject(CObjectCache.java:201)

                at com.rsa.infra.core.cache.CObjectCache.createObjectAndPutInCache(CObjectCache.java:179)

                at com.rsa.infra.core.cache.CObjectCache.get(CObjectCache.java:123)

                at com.rsa.infra.core.xmlconfig.CMultiXMLConfigMgr.getInstance(CMultiXMLConfigMgr.java:68)

                at com.rsa.infra.core.xmlconfig.CGenInfraConfig.<clinit>(CGenInfraConfig.java:37)

                ... 12 more

Caused by: java.lang.reflect.InvocationTargetException

                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

                at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

                at com.rsa.infra.core.cache.CObjectCache.createCachableObject(CObjectCache.java:199)

                ... 16 more

Caused by: java.lang.RuntimeException: Could not create ctor for: [class com.rsa.infra.core.xmlconfig.CXMLConfigFile]. with data: [/com/rsa/config/main_table.xml] and data type: [class com.rsa.infra.core.xmlconfig.SXMLConfigFileInfo]

                at com.rsa.infra.core.cache.CObjectCache.createCachableObject(CObjectCache.java:201)

                at com.rsa.infra.core.cache.CObjectCache.createObjectAndPutInCache(CObjectCache.java:179)

                at com.rsa.infra.core.cache.CObjectCache.get(CObjectCache.java:123)

                at com.rsa.infra.core.cache.CCachedItem.getItem(CCachedItem.java:21)

Resolution

1)      1) Explode the scheduler.war in directory by the name of scheduler.war In JBOSS_HOME/server/default/deploy/scheduler.war

2)      2) Ensure that scheduler.war webapp war file is moved after exploding it in directory scheduler.war

3)      3) Do restart and run the offlineTask on demand to test it.

 

Legacy Article IDa56856

Attachments

    Outcomes