Highlighted

LC ES2 - server error in log file - acquireClusterLock

gareth_faulkner

06-01-2010

Has anyone seen this error before?

CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "acquireClusterLock" on bean "BeanId(LiveCycleES2#um.jar#HibernateSynchronizationDao, null)". Exception data: java.lang.IllegalStateException: JobEntity for cluster lock yet not created!!

It's not causing any performance issues, but it is filling up the log file, and the customer is concerned.

WebSphere Platform 7.0.0.3

Host Operating System is Linux, version 2.6.9-78.0.22.ELsmp

Java version = 1.6.0, Java Compiler = j9jit24, Java VM name = IBM J9 VM

Database product version : Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production

Full error below.

Gareth

0000004b LocalExceptio E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "acquireClusterLock" on bean "BeanId(LiveCycleES2#um.jar#HibernateSynchronizationDao, null)". Exception data: java.lang.IllegalStateException: JobEntity for cluster lock yet not created!!

at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.getLockEntity(HibernateSynchronizationDao.java:1197)

at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.acquireClusterLock(HibernateSynchronizationDao.java:1082)

at com.adobe.idp.um.businesslogic.synch.dao.EJSLocalStatelessHibernateSynchronizationDao_b06e7930.acquireClusterLock(Unknown Source)

at com.adobe.idp.um.scheduler.AbstractClusterJob.execute(AbstractClusterJob.java:76)

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

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

0000004b DMAdapter I com.ibm.ws.ffdc.impl.DMAdapter getAnalysisEngine FFDC1009I: Analysis Engine using data base: /opt/WebSphere/AppServer/profiles/si7devk1/properties/logbr/ffdc/adv/ffdcdb.xml

0000004b FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/logs/was/ffdc/si7devsoss_k1a_7ccb7ccb_10.01.06_10.00.02.4493115380208724704350.txt com.ibm.ejs.container.LocalExceptionMappingStrategy.setUncheckedException 178

0000004b JobRunShell E org.quartz.core.JobRunShell run Job QUARTZ_JOBGROUP_IDP.DIRSYNC_FINISHER_JOB threw an unhandled Exception:

com.ibm.ejs.container.UnknownLocalException: nested exception is: java.lang.IllegalStateException: JobEntity for cluster lock yet not created!!

at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.getLockEntity(HibernateSynchronizationDao.java:1197)

at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.acquireClusterLock(HibernateSynchronizationDao.java:1082)

at com.adobe.idp.um.businesslogic.synch.dao.EJSLocalStatelessHibernateSynchronizationDao_b06e7930.acquireClusterLock(Unknown Source)

at com.adobe.idp.um.scheduler.AbstractClusterJob.execute(AbstractClusterJob.java:76)

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

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

Caused by: java.lang.IllegalStateException: JobEntity for cluster lock yet not created!!

... 6 more

0000004b ErrorLogger E org.quartz.core.ErrorLogger schedulerError Job (QUARTZ_JOBGROUP_IDP.DIRSYNC_FINISHER_JOB threw an exception.

org.quartz.SchedulerException: Job threw an unhandled exception.

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

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

Caused by: com.ibm.ejs.container.UnknownLocalException: nested exception is: java.lang.IllegalStateException: JobEntity for cluster lock yet not created!!

at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.getLockEntity(HibernateSynchronizationDao.java:1197)

at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.acquireClusterLock(HibernateSynchronizationDao.java:1082)

at com.adobe.idp.um.businesslogic.synch.dao.EJSLocalStatelessHibernateSynchronizationDao_b06e7930.acquireClusterLock(Unknown Source)

at com.adobe.idp.um.scheduler.AbstractClusterJob.execute(AbstractClusterJob.java:76)

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

... 1 more

Caused by: java.lang.IllegalStateException: JobEntity for cluster lock yet not created!!

... 6 more

Gareth Faulkner

Senior Consultant

Adobe Systems Pty Ltd

Tower B, Level 13,

821 Pacific Highway,

Chatswood, NSW, 2067

p 61 2 8622 4160

f 61 2 8622 4190

m 61 434 886 649

gareth@adobe.com

www.adobe.com.au<http://www.adobe.com.au/>;

Sign up<http://www.subscribeadobe.com/> - to the Adobe ANZ database to stay informed about Adobe products & promotions

Replies

Highlighted

chetanm_oct

06-01-2010

Hi Gareth,

  • Is this an upgraded system?
  • If it is a new system did the UM Bootstrap was clean. Was there any warning message regarding "Error in creating Job rows required for cluster lock handling". I suspect its too late to check such logs but still if possible to check it would be helpful.

Can you provide the contents of the edcjobentity table. It should at most contain 2 rows so provide details of all the rows.

If it does not contain any entry (should not happen though) then try rebootstrapping the system. Or only the UM part by accessing the url http://<server>:<port>/adobe-bootstrapper/bootstrap?bootstrapper=UM. This should create the required entries or if any error then that would be reported

Highlighted

gareth_faulkner

07-01-2010

Thanks Chatan,

The table was empty, so I will get them to try re-bootstrapping as you suggested and I'll let you know.

It was a clean install of ES2, bu they said there were some issues during the install, so it looks like something was not configured correctly.

Gareth