Are you using JDK 1.6?
On Tue, Aug 31, 2010 at 4:01 PM, Amila Jayasekara <[email protected]> wrote:
> Hi All,
> I am getting following error when starting carbon core distribution.
>
>
> ===================================================================================
> a...@aj-laptop
> :~/development/products/wso2/carbon/core/distribution/target/wso2carbon-3.1.0-SNAPSHOT/bin$
> sh wso2server.sh
> [2010-08-31 15:16:46,043] INFO {org.wso2.carbon.server.Main} -
> Initializing system...
> [2010-08-31 15:16:46,303] INFO
> {org.wso2.carbon.server.TomcatCarbonWebappDeployer} - Deployed Carbon
> webapp:
> StandardEngine[carbonEngine].StandardHost[defaulthost].StandardContext[/]
> [2010-08-31 15:16:49,910] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2
> Carbon...
> [2010-08-31 15:16:50,056] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System
> : Linux 2.6.31-22-generic, amd64
> [2010-08-31 15:16:50,056] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home
> : /home/aj/development/Tools/jdk1.6.0_13/jre
> [2010-08-31 15:16:50,056] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version
> : 1.6.0_13
> [2010-08-31 15:16:50,056] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM
> : Java HotSpot(TM) 64-Bit Server VM 11.3-b02,Sun Microsystems Inc.
> [2010-08-31 15:16:50,056] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home
> :
>
> /home/aj/development/products/wso2/carbon/core/distribution/target/wso2carbon-3.1.0-SNAPSHOT
> [2010-08-31 15:16:50,056] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir
> :
>
> /home/aj/development/products/wso2/carbon/core/distribution/target/wso2carbon-3.1.0-SNAPSHOT/tmp
> [2010-08-31 15:16:50,056] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - User
> : aj, en-US, Indian/Maldives
> [2010-08-31 15:16:50,238] WARN
> {net.sf.ehcache.config.ConfigurationFactory} - No configuration found.
> Configuring ehcache from ehcache-failsafe.xml found in the classpath:
> bundleresource://27.fwk153523906/ehcache-failsafe.xml
> [2010-08-31 15:16:51,363] WARN
> {net.sf.ehcache.config.ConfigurationFactory} - No configuration found.
> Configuring ehcache from ehcache-failsafe.xml found in the classpath:
> bundleresource://27.fwk153523906/ehcache-failsafe.xml
> [2010-08-31 15:16:51,381] WARN {net.sf.ehcache.CacheManager} -
> Creating a new instance of CacheManager using the diskStorePath
>
> "/home/aj/development/products/wso2/carbon/core/distribution/target/wso2carbon-3.1.0-SNAPSHOT/tmp"
> which is already used by an existing CacheManager.
> The source of the configuration was classpath.
> The diskStore path for this CacheManager will be set to
>
> /home/aj/development/products/wso2/carbon/core/distribution/target/wso2carbon-3.1.0-SNAPSHOT/tmp/ehcache_auto_created_1283249811381.
> To avoid this warning consider using the CacheManager factory methods to
> create a singleton CacheManager or specifying a separate ehcache
> configuration (ehcache.xml) for each CacheManager instance.
> [2010-08-31 15:16:51,567] WARN
> {net.sf.ehcache.config.ConfigurationFactory} - No configuration found.
> Configuring ehcache from ehcache-failsafe.xml found in the classpath:
> bundleresource://27.fwk153523906/ehcache-failsafe.xml
> [2010-08-31 15:16:51,577] WARN {net.sf.ehcache.CacheManager} -
> Creating a new instance of CacheManager using the diskStorePath
>
> "/home/aj/development/products/wso2/carbon/core/distribution/target/wso2carbon-3.1.0-SNAPSHOT/tmp"
> which is already used by an existing CacheManager.
> The source of the configuration was classpath.
> The diskStore path for this CacheManager will be set to
>
> /home/aj/development/products/wso2/carbon/core/distribution/target/wso2carbon-3.1.0-SNAPSHOT/tmp/ehcache_auto_created_1283249811577.
> To avoid this warning consider using the CacheManager factory methods to
> create a singleton CacheManager or specifying a separate ehcache
> configuration (ehcache.xml) for each CacheManager instance.
> [2010-08-31 15:16:51,734] INFO
> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
> Registry Mode : READ-WRITE
> [2010-08-31 15:16:52,246] INFO
> {org.wso2.carbon.core.init.CarbonServerManager} - Starting Carbon
> initialization...
> [2010-08-31 15:16:52,265] FATAL
> {org.wso2.carbon.core.init.CarbonServerManager} - WSO2 Carbon
> initialization Failed
> java.lang.IncompatibleClassChangeError: Class
> org.infinispan.manager.DefaultCacheManager does not implement the
> requested interface org.infinispan.manager.EmbeddedCacheManager
> at
>
> org.wso2.carbon.caching.infinispan.InfinispanCacheManager.getCache(InfinispanCacheManager.java:150)
> at
>
> org.wso2.carbon.utils.multitenancy.CarbonContextHolder$MultitenantCarbonCacheManager.getCache(CarbonContextHolder.java:604)
> at
> org.wso2.carbon.context.CarbonContext.getCache(CarbonContext.java:161)
> at
>
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:359)
> at
>
> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
> at
>
> org.wso2.carbon.core.init.OSGiAxis2ServicesListener.bundleChanged(OSGiAxis2ServicesListener.java:84)
> at
>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
> at
>
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
> at
>
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
>
> ====================================================================================
>
> Any idea how i can resolve this issue ?
> I took a latest update (Revision: 72758) and also built dependencies and
> orbit.
>
> Thanks
> AmilaJ
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
Thanks,
Samisa...
Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev