[OPENIDM-4489] Felix console displays Failure to create configuration for sync when shutdown cmd issued Created: 04/Nov/15  Updated: 12/Jan/16  Resolved: 12/Jan/16

Status: Closed
Project: OpenIDM
Component/s: Module - OSGi Container / Framework integration
Affects Version/s: OpenIDM 4.0.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Mark Gibson Assignee: Brendan Miller
Resolution: Cannot Reproduce Votes: 0
Labels: LEWIS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OpenIDM version "4.0.0-SNAPSHOT" (revision: 80c082d) jenkins-OpenIDM - postcommit-733 origin/master



 Description   

When shutdown cmd is issued within felix console, the following stacktrace displays

-> shutdown
-> Failure to create configuration for sync
java.io.IOException: Failed to store configuration in repository: Object org.forgerock.openidm.sync not found in config
	at org.forgerock.openidm.config.persistence.RepoPersistenceManager.store(RepoPersistenceManager.java:393)
	at org.apache.felix.cm.impl.CachingPersistenceManagerProxy.store(CachingPersistenceManagerProxy.java:173)
	at org.apache.felix.cm.impl.ConfigurationImpl.update(ConfigurationImpl.java:381)
...
Caused by: org.forgerock.json.resource.NotFoundException: Object org.forgerock.openidm.sync not found in config
	at org.forgerock.openidm.repo.orientdb.impl.OrientDBRepoService.read(OrientDBRepoService.java:235)
	at org.forgerock.openidm.config.persistence.RepoPersistenceManager.store(RepoPersistenceManager.java:371)
	... 154 more
Resource exception: 500 Internal Server Error: "Failure to create configuration for sync: Failed to store configuration in repository: Object org.forgerock.openidm.sync not found in config"
org.forgerock.json.resource.InternalServerErrorException: Failure to create configuration for sync: Failed to store configuration in repository: Object org.forgerock.openidm.sync not found in config

Steps:
1. start idm
2. navigate to Manage Objects
3. click Add Managed Objects button
4. when Add Managed Object page loads, issue shutdown cmd



 Comments   
Comment by Mark Gibson [ 04/Nov/15 ]

Dev console shows:

:83 error: Unknown error. Please contact the administrator. Object
jquery-2.1.1-min.js:4 GET http://gibson.internal.forgerock.com:8080/openidm/config net::ERR_CONNECTION_REFUSEDk.cors.a.crossDomain.send @ jquery-2.1.1-min.js:4n.extend.ajax @ jquery-2.1.1-min.js:4obj.restCall @ ServiceInvoker.js:131obj.serviceCall @ AbstractDelegate.js:57obj.serviceCall @ ConfigDelegate.js:50obj.getConfigList @ ConfigDelegate.js:54AdminAbstractView.extend.render @ ManagedListView.js:72(anonymous function) @ ViewManager.js:77(anonymous function) @ jquery-2.1.1-min.js:2j @ jquery-2.1.1-min.js:2k.fireWith @ jquery-2.1.1-min.js:2e.(anonymous function) @ jquery-2.1.1-min.js:2i.execCb @ requirejs-2.1.14-min.js:29Z.check @ requirejs-2.1.14-min.js:18Z.enable @ requirejs-2.1.14-min.js:23Z.init @ requirejs-2.1.14-min.js:17(anonymous function) @ requirejs-2.1.14-min.js:26
logo-horizontal.png:1 GET http://gibson.internal.forgerock.com:8080/admin/images/logo-horizontal.png net::ERR_CONNECTION_REFUSED
ErrorsHandler.js:95 (){if(h){var c=h.length;!function g(b){n.each(b,function(b,c)

{var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)}

)}(arguments),d?f=h.length:b&&(e=c,j…obj.handleError @ ErrorsHandler.js:95obj.processDescription @ CommonConfig.js:195(anonymous function) @ ProcessConfiguration.js:56(anonymous function) @ jquery-2.1.1-min.js:2j @ jquery-2.1.1-min.js:2k.fireWith @ jquery-2.1.1-min.js:2(anonymous function) @ jquery-2.1.1-min.js:2j @ jquery-2.1.1-min.js:2k.fireWith @ jquery-2.1.1-min.js:2e.(anonymous function) @ jquery-2.1.1-min.js:2i.execCb @ requirejs-2.1.14-min.js:29Z.check @ requirejs-2.1.14-min.js:18Z.enable @ requirejs-2.1.14-min.js:23Z.init @ requirejs-2.1.14-min.js:17(anonymous function) @ requirejs-2.1.14-min.js:26
Messages.js:83 error: Unknown error. Please contact the administrator. Object

{message: "Unknown error. Please contact the administrator.", type: "error"}
Comment by Laurent Bristiel [X] (Inactive) [ 25/Nov/15 ]

Mark Gibson I don't reproduce this issue. Could you double-check with last build?

Comment by Mark Gibson [ 12/Jan/16 ]

Not able to reproduce this issue using OpenIDM version "4.0.0" (revision: 36d5dec) jenkins-OpenIDM - Release-12 origin/release/4.0.0

Generated at Thu Feb 25 17:05:26 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.