[OPENIDM-9526] Backport OPENIDM-6656: Random error during startup causes startup fail or longer time to get ready Created: 19/Oct/17  Updated: 15/Apr/19  Resolved: 15/Apr/19

Status: Closed
Project: OpenIDM
Component/s: Module - OSGi Container / Framework integration, Module - Repository JDBC
Affects Version/s: OpenIDM 4.0.0
Fix Version/s: OpenIDM 5.0.0

Type: Bug Priority: Major
Reporter: Chris Drake Assignee: Mark Offutt [X] (Inactive)
Resolution: Fixed Votes: 0
Labels: Sustaining, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

IDM 5.0.0 trunk build runs on a CentOS with JDBC repos(see it with Postgres/DB2 and etc).

Issue Links:
is a backport of OPENIDM-6656 Random error during startup causes st... Closed
Verified Version/s:


From time to time, see the following errors in IDM startup. The startup is either failed or took longer time for IDM to get ready(e.g. 4 minutes).

SEVERE: Bundle: org.forgerock.openidm.audit [138] [org.forgerock.openidm.audit.filter(21)] Circular reference detected, getService returning null
Sep 15, 2016 6:04:44 PM org.forgerock.openidm.logging.LogServiceTracker logEntry
SEVERE: Bundle: org.forgerock.openidm.api-servlet [44] FrameworkEvent ERROR
org.apache.felix.log.LogException: org.osgi.framework.ServiceException: Service factory returned null. (Component: org.forgerock.openidm.audit.filter (21))
        at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:380)

Sep 15, 2016 6:07:01 PM org.forgerock.openidm.quartz.impl.RepoJobStore getTriggerGroupNames
WARNING: Error getting trigger group names
org.forgerock.json.resource.ServiceUnavailableException: Service is starting
        at org.forgerock.openidm.filter.ServiceUnavailableFilter.<init>(ServiceUnavailableFilter.java:43)
        at org.forgerock.openidm.servlet.internal.ServletConnectionFactory.<clinit>(ServletConnectionFactory.java:96)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
Sep 15, 2016 6:07:08 PM org.forgerock.openidm.info.impl.HealthService setState
INFO: OpenIDM ready

Note: The full IDM log is attached, it's a run with Kerberized DB2.
I first saw this symptom was with master build 1785 used Postgres.

Comment by Mark Offutt [X] (Inactive) [ 12/Jun/18 ]

Make sure to get OPENIDM-8810 also

Generated at Tue Mar 09 10:22:02 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.