Hi all,

Had a chat with Shameera, We can't make this a global change since this
should be only in few(ES, MB) products.
So at the distribution creation level we need to update launch.ini, Not
sure whether this is possible or not.

Regards,
UdaraR


On Fri, Aug 1, 2014 at 3:49 PM, Udara Rathnayake <uda...@wso2.com> wrote:

> Hi Kasun,
>
>
> On Fri, Aug 1, 2014 at 3:26 PM, Kasun Gajasinghe <kas...@wso2.com> wrote:
>
>> HI Udara,
>>
>> Are you talking about the launch.ini at CARBON_HOME/repository/conf/etc?
>> This one actually comes from the kernel. There is no need to keep this file
>> inside products.
>>
> Yes. The one inside CARBON_HOME/repository/conf/etc. I guess as the
> solution for MB-483 now we are using own launch.ini[1] with the parameter
> mentioned by Dhanuka[2].
>
> So can we make this change a global one?
>
> [1]
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/mb/2.2.0/modules/distribution/src/main/resources/launch.ini
> [2] org.github.jamm,\
>
>>
>>
>> On Fri, Aug 1, 2014 at 3:12 PM, Udara Rathnayake <uda...@wso2.com> wrote:
>>
>>> [forwarding to dev]
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Udara Rathnayake <uda...@wso2.com>
>>> Date: Fri, Aug 1, 2014 at 3:09 PM
>>> Subject: Re: NoClassDefFoundError: org/github/jamm/MemoryMeter
>>> To: Dhanuka Ranasinghe <dhan...@wso2.com>, Kasun Gajasinghe <
>>> kas...@wso2.com>
>>> Cc: Dinithi De Silva <dinit...@wso2.com>,
>>>
>>>
>>> Hi All,
>>>
>>> Where is this launch file coming from?
>>>
>>> Rather than maintaining own version of launch.ini within the product(and
>>> copy using bin.xml) we should be able to update this in a single place and
>>> get this update during the product build. We are also getting a similar
>>> error[1] during server start-up in ES < 1.2.0 M2(with cassandra based
>>> social framework).
>>>
>>> [1] https://wso2.org/jira/browse/STORE-468
>>>
>>> Regards,
>>> UdaraR
>>>
>>>
>>> On Wed, Jul 30, 2014 at 12:35 PM, Dhanuka Ranasinghe <dhan...@wso2.com>
>>> wrote:
>>>
>>>> Hi Dinithi,
>>>>
>>>> Please refer below Jirra [1], simply what you have to do is add this as
>>>> a java agent in startup script and as entry in launch.ini. You can get an
>>>> idea If you can refer WSO2 MB star up and launch.ini files.
>>>>
>>>> Also as a side note, some of the things can be found from gmail inbox,
>>>> even though couldn't find from Google :-)
>>>>
>>>> [1]  https://wso2.org/jira/browse/MB-483
>>>>
>>>> *Dhanuka Ranasinghe*
>>>>
>>>> Senior Software Engineer
>>>> WSO2 Inc. ; http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>> phone : +94 715381915
>>>>
>>>>
>>>> On Wed, Jul 30, 2014 at 12:21 PM, Dinithi De Silva <dinit...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have tried starting wso2am-1.6.0 and ended up with the following
>>>>> error.
>>>>>
>>>>> ERROR {org.apache.cassandra.service.CassandraDaemon} -  Exception
>>>>> encountered during startup
>>>>> java.lang.NoClassDefFoundError: org/github/jamm/MemoryMeter
>>>>> at
>>>>> org.apache.cassandra.cql3.QueryProcessor.<clinit>(QueryProcessor.java:48)
>>>>> at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:334)
>>>>>  at
>>>>> org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:352)
>>>>> at org.apache.cassandra.config.CFMetaData.<clinit>(CFMetaData.java:93)
>>>>>  at
>>>>> org.apache.cassandra.config.KSMetaData.systemKeyspace(KSMetaData.java:81)
>>>>> at
>>>>> org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:491)
>>>>>  at
>>>>> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:132)
>>>>> at
>>>>> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:216)
>>>>>  at
>>>>> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
>>>>> at
>>>>> org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
>>>>>  at java.lang.Thread.run(Thread.java:722)
>>>>> 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:356)
>>>>>  ... 11 more
>>>>>
>>>>>
>>>>> I have Googled it but couldn't find any solution for it. Can someone
>>>>> help me with this issue?
>>>>>
>>>>> Thank you
>>>>> Dinithi De Silva
>>>>> Associate Software Engineer
>>>>>
>>>>> Mob: +94 716 667 655
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Udara Rathnayake*
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>>
>>> Mobile : +94 772207239
>>> Twitter : http://twitter.com/udarakr
>>> Blog    : http://udarakr.blogspot.com
>>>
>>>
>>>
>>>
>>> --
>>> *Udara Rathnayake*
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>>
>>> Mobile : +94 772207239
>>> Twitter : http://twitter.com/udarakr
>>> Blog    : http://udarakr.blogspot.com
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
>
> --
> *Udara Rathnayake*
> Software Engineer
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 772207239
> Twitter : http://twitter.com/udarakr
> Blog    : http://udarakr.blogspot.com
>
>


-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog    : http://udarakr.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to