Hi devs,

I have built a Stratos Manager 2.0.1 pack with carbon kernel 4.0.3.  When
starting the pack, I get the following exception. What am I missing? Is
there a ehcache config file?

[2012-10-25 20:42:50,512]  WARN
{net.sf.ehcache.config.ConfigurationFactory} -  No configuration found.
Configuring ehcache from ehcache-failsafe.xml  found in the classpath: null
[2012-10-25 20:42:50,513] ERROR
{org.wso2.carbon.user.core.internal.Activator} -  Cannot start User Manager
Core bundle
net.sf.ehcache.CacheException: Error configuring from null. Initial cause
was null
    at
net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:101)
    at
net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:137)
    at net.sf.ehcache.CacheManager.parseConfiguration(CacheManager.java:272)
    at net.sf.ehcache.CacheManager.init(CacheManager.java:220)
    at net.sf.ehcache.CacheManager.<init>(CacheManager.java:213)
    at net.sf.ehcache.CacheManager.create(CacheManager.java:394)
    at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:415)
    at
org.wso2.carbon.caching.core.ehcache.EhcacheManager.getCache(EhcacheManager.java:61)
    at
org.wso2.carbon.context.internal.CarbonContextDataHolder$MultitenantCarbonCacheManager.getCache(CarbonContextDataHolder.java:708)
    at org.wso2.carbon.caching.core.BaseCache.<init>(BaseCache.java:34)
    at
org.wso2.carbon.caching.core.realm.RealmCache.<init>(RealmCache.java:29)
    at
org.wso2.carbon.caching.core.realm.RealmCache.getInstance(RealmCache.java:39)
    at
org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:61)
    at
org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:115)
    at
org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:67)
    at
org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
    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:389)
    at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130)
    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.lang.NullPointerException
    at
net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:98)
    ... 30 more

Regards,
AmilaM.

-- 
*Amila Maharachchi*
Technical Lead
Member, Management Committee - Cloud & Platform TG
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to