Hi Greg Team,

We have getting following exception during APIM start up. Seems
governance.xml not copying from the feature.  Created JIRA in [1].

 ERROR - GovernanceConfigurationServiceActivator Cannot start Governance
common bundle
org.wso2.carbon.governance.common.GovernanceConfigurationException: Cannot
read file
/home/harsha/wso2/apim/repos/product-apim/modules/distribution/product/target/wso2am-2.0.0-SNAPSHOT/repository/conf/governance.xml
at
org.wso2.carbon.governance.common.utils.GovernanceUtils.getGovernanceConfiguration(GovernanceUtils.java:61)
at
org.wso2.carbon.governance.common.internal.GovernanceConfigurationServiceActivator.start(GovernanceConfigurationServiceActivator.java:36)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.io.FileNotFoundException:
/home/harsha/wso2/apim/repos/product-apim/modules/distribution/product/target/wso2am-2.0.0-SNAPSHOT/repository/conf/governance.xml
(No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at
org.wso2.carbon.governance.common.utils.GovernanceUtils.getGovernanceConfiguration(GovernanceUtils.java:54)
... 16 more
[2015-05-27 15:30:22,085]  WARN - NotificationMgtConfigBuilder Secret
Resolver is not present. Will not resolve encryptions in config file


[1] - https://wso2.org/jira/browse/REGISTRY-2544

Thanks,
Harsha
-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to