stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Fernando <pradee...@gmail.com>
Subject Re: Stratos CC server Startup error
Date Wed, 24 Jul 2013 10:02:03 GMT
Hi Udara,

Did you figure out the import/export mismatch between, jamm bundle and
cassandra bundle ?

--Pradeep


On Wed, Jul 24, 2013 at 3:13 PM, Udara Liyanage <udara@wso2.com> wrote:

> Hi,
>
> Thanks Ajanthan, that solved the problem
>
>
>
> On Wed, Jul 24, 2013 at 2:44 PM, bala ajanthan <balaajanthan@gmail.com>wrote:
>
>> Hi Udara,
>> Make sure you are passing following arg during jvm start-up.
>>
>> -javaagent:"*path/to/jamm/ja*r" \
>>
>> Thanks
>>
>>
>> On Wed, Jul 24, 2013 at 1:21 PM, Udara Liyanage <udara@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I get the following error when Stratos cloud controller is starting up.
>>> However *jamm_0.2.5.wso2v2.ja*r has the class *MemoryTest * and it is
>>> in active state.
>>>
>>> ERROR {org.apache.cassandra.service.AbstractCassandraDaemon} -
>>>  Exception encountered during startup
>>> java.lang.NoClassDefFoundError: org/github/jamm/MemoryMeter
>>> at org.apache.cassandra.db.Memtable.<init>(Memtable.java:118)
>>>  at org.apache.cassandra.db.DataTracker.init(DataTracker.java:301)
>>> at org.apache.cassandra.db.DataTracker.<init>(DataTracker.java:63)
>>>  at
>>> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:230)
>>> at
>>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:357)
>>>  at
>>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:329)
>>> at org.apache.cassandra.db.Table.initCf(Table.java:371)
>>>  at org.apache.cassandra.db.Table.<init>(Table.java:304)
>>> at org.apache.cassandra.db.Table.open(Table.java:119)
>>>  at org.apache.cassandra.db.Table.open(Table.java:97)
>>> at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:273)
>>>  at
>>> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:171)
>>> at
>>> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:353)
>>>  at
>>> org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
>>> at java.lang.Thread.run(Thread.java:662)
>>> Caused by: java.lang.ClassNotFoundException: org.github.jamm.MemoryMeter
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
>>>  at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>>  at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>>  ... 15 more
>>> java.lang.NoClassDefFoundError: org/github/jamm/MemoryMeter
>>> at org.apache.cassandra.db.Memtable.<init>(Memtable.java:118)
>>>  at org.apache.cassandra.db.DataTracker.init(DataTracker.java:301)
>>> at org.apache.cassandra.db.DataTracker.<init>(DataTracker.java:63)
>>>  at
>>> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:230)
>>> at
>>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:357)
>>>  at
>>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:329)
>>> at org.apache.cassandra.db.Table.initCf(Table.java:371)
>>>  at org.apache.cassandra.db.Table.<init>(Table.java:304)
>>> at org.apache.cassandra.db.Table.open(Table.java:119)
>>>  at org.apache.cassandra.db.Table.open(Table.java:97)
>>> at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:273)
>>>  at
>>> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:171)
>>> at
>>> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:353)
>>>  at
>>> org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
>>> at java.lang.Thread.run(Thread.java:662)
>>> Caused by: java.lang.ClassNotFoundException: org.github.jamm.MemoryMeter
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
>>>  at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>>  at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>>  ... 15 more
>>> Exception encountered during startup: org/github/jamm/MemoryMeter
>>> [2013-07-24 11:26:57,234] ERROR
>>> {org.wso2.carbon.user.core.internal.Activator} -  Cannot start User Manager
>>> Core bundle
>>> java.lang.IllegalStateException: Shutdown in progress
>>> at
>>> java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
>>> at java.lang.Runtime.addShutdownHook(Runtime.java:192)
>>>  at
>>> org.wso2.carbon.user.core.util.DatabaseUtil.logDatabaseConnections(DatabaseUtil.java:544)
>>> at
>>> org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:70)
>>>  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: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)
>>>
>>> --
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>>
>>
>>
>>
>> --
>> Balachandiran Ajanthan
>> Phone:+94775581497
>> Blog   : http://ajanthan87.blogspot.com
>> Twitter: ajanthan87
>> skype  :bala.ajanthan
>> gtalk   :balaajanthan
>>
>
>
>
> --
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/

Mime
View raw message