Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2016-09-26 Thread Rushmin Fernando
This helped a lot to figure out a class loading issue when installing
appmgt feature in to IS. Thanks a lot Ruwan !!

On Tue, Sep 27, 2016 at 10:42 AM, Ruwan Abeykoon  wrote:

> Hi All,
> I thought of improving the analysis tool by putting some of the manual
> knowledge into the code.
>
> [1] has a tool which can be used to find out why an intermittent class
> loading issue occurs. It  provides the offending bundle names.
> Please try it out next time when you come across a "intermittent class
> loader" issue in Carbon 4.x,  and provide me the feedback on any problems
> or improvement you need.
>
>
> [1] https://github.com/ruwanta/CarbonOSGI-Bundle-Verifier/
> tree/master/modules/runtime-introspection
>
> Cheers,
> Ruwan
>
>
> On Wed, Jul 29, 2015 at 11:32 AM, Ruwan Abeykoon  wrote:
>
>> @Aruna,
>> Thanks for suggestion. Will do that too. I was thinking of presenting in
>> a tabular view.
>>
>> For the time being check if "-pv" (process package versions) helps. It
>> will display duplicate packages exporting the same version.
>>
>> Cheers,
>> Ruwan
>>
>> On Wed, Jul 29, 2015 at 11:14 AM, Aruna Karunarathna 
>> wrote:
>>
>>> Great tool indeed!
>>>
>>> Small suggestion/improvement, can you specify the exported version of
>>> packages, since many issues occur when the versions are the same.
>>>
>>> Regards,
>>> Aruna
>>>
>>> On Wed, Jul 29, 2015 at 11:05 AM, Sameera Jayasoma 
>>> wrote:
>>>
 This will be a very useful tool to debug intermittent class loading
 issues.

 On Wed, Jul 29, 2015 at 10:40 AM, Ruwan Abeykoon 
 wrote:

> +1 maven plugin
> Will do when I have some time
>



 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *| Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>
>>
>>
>> --
>>
>> *Ruwan Abeykoon*
>> *Architect,*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: ruw...@wso2.com
>> phone:(+94) 39736
>>
>
>
>
> --
>
> *Ruwan Abeykoon*
> *Associate Director/Architect**,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
>


-- 
*Best Regards*

*Rushmin Fernando*
*Technical Lead*

WSO2 Inc.  - Lean . Enterprise . Middleware

mobile : +94772891266
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2016-09-26 Thread Ruwan Abeykoon
Hi All,
I thought of improving the analysis tool by putting some of the manual
knowledge into the code.

[1] has a tool which can be used to find out why an intermittent class
loading issue occurs. It  provides the offending bundle names.
Please try it out next time when you come across a "intermittent class
loader" issue in Carbon 4.x,  and provide me the feedback on any problems
or improvement you need.


[1] https://github.com/ruwanta/CarbonOSGI-Bundle-
Verifier/tree/master/modules/runtime-introspection

Cheers,
Ruwan


On Wed, Jul 29, 2015 at 11:32 AM, Ruwan Abeykoon  wrote:

> @Aruna,
> Thanks for suggestion. Will do that too. I was thinking of presenting in a
> tabular view.
>
> For the time being check if "-pv" (process package versions) helps. It
> will display duplicate packages exporting the same version.
>
> Cheers,
> Ruwan
>
> On Wed, Jul 29, 2015 at 11:14 AM, Aruna Karunarathna 
> wrote:
>
>> Great tool indeed!
>>
>> Small suggestion/improvement, can you specify the exported version of
>> packages, since many issues occur when the versions are the same.
>>
>> Regards,
>> Aruna
>>
>> On Wed, Jul 29, 2015 at 11:05 AM, Sameera Jayasoma 
>> wrote:
>>
>>> This will be a very useful tool to debug intermittent class loading
>>> issues.
>>>
>>> On Wed, Jul 29, 2015 at 10:40 AM, Ruwan Abeykoon 
>>> wrote:
>>>
 +1 maven plugin
 Will do when I have some time

>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Software Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://blog.sameera.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *| Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>
>
>
> --
>
> *Ruwan Abeykoon*
> *Architect,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: ruw...@wso2.com
> phone:(+94) 39736
>



-- 

*Ruwan Abeykoon*
*Associate Director/Architect**,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2015-07-28 Thread Ruwan Abeykoon
@Aruna,
Thanks for suggestion. Will do that too. I was thinking of presenting in a
tabular view.

For the time being check if "-pv" (process package versions) helps. It will
display duplicate packages exporting the same version.

Cheers,
Ruwan

On Wed, Jul 29, 2015 at 11:14 AM, Aruna Karunarathna  wrote:

> Great tool indeed!
>
> Small suggestion/improvement, can you specify the exported version of
> packages, since many issues occur when the versions are the same.
>
> Regards,
> Aruna
>
> On Wed, Jul 29, 2015 at 11:05 AM, Sameera Jayasoma 
> wrote:
>
>> This will be a very useful tool to debug intermittent class loading
>> issues.
>>
>> On Wed, Jul 29, 2015 at 10:40 AM, Ruwan Abeykoon  wrote:
>>
>>> +1 maven plugin
>>> Will do when I have some time
>>>
>>
>>
>>
>> --
>> Sameera Jayasoma,
>> Software Architect,
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://blog.sameera.org
>> twitter: https://twitter.com/sameerajayasoma
>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>> Mobile: 0094776364456
>>
>> Lean . Enterprise . Middleware
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *| Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>



-- 

*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: ruw...@wso2.com
phone:(+94) 39736
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2015-07-28 Thread Aruna Karunarathna
Great tool indeed!

Small suggestion/improvement, can you specify the exported version of
packages, since many issues occur when the versions are the same.

Regards,
Aruna

On Wed, Jul 29, 2015 at 11:05 AM, Sameera Jayasoma  wrote:

> This will be a very useful tool to debug intermittent class loading
> issues.
>
> On Wed, Jul 29, 2015 at 10:40 AM, Ruwan Abeykoon  wrote:
>
>> +1 maven plugin
>> Will do when I have some time
>>
>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Aruna Sujith Karunarathna *| Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2015-07-28 Thread Sameera Jayasoma
This will be a very useful tool to debug intermittent class loading issues.

On Wed, Jul 29, 2015 at 10:40 AM, Ruwan Abeykoon  wrote:

> +1 maven plugin
> Will do when I have some time
>



-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://blog.sameera.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2015-07-28 Thread Ruwan Abeykoon
+1 maven plugin
Will do when I have some time
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2015-07-28 Thread Imesh Gunaratne
A very useful tool Ruwan! I just ran this for Stratos and found a list of
duplicated package exports. May be we can move this feature to a maven
plugin and use it in the build.

Thanks

On Tue, Jul 28, 2015 at 8:08 PM, Ruwan Abeykoon  wrote:

> Hi All,
> I created small program to inspect a Carbon based pack for duplicate class
> exports.
> This will help to resolve intermittent NoClassDefFoundException.
> I have put it into [1] hoping that anyone facing the same issue as I did,
> can save few days of trouble. You need to checkout and build it.
> Instructions are provided in the README file.
>
> Please let me know of any improvements or issues.
>
> [1]https://github.com/ruwanta/CarbonOSGI-Bundle-Verifier
>
>
> Cheers
> Ruwan
>
> --
>
> *Ruwan Abeykoon*
> *Architect,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: ruw...@wso2.com
> phone:(+94) 39736
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2015-07-28 Thread Prasanna Dangalla
Hi RuwanA,

Thanks a lot. looks like this we'll help us a lot in future.

Thanks

On Wed, Jul 29, 2015 at 3:14 AM, Ayyoob Hamza  wrote:

> Hi Ruwan,
> Thanks for the tool, this will ease up the process on finding the
> duplicate packages which I am being stalled on.
>
> Cheers,
>
> *Ayyoob Hamza*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>
> On Tue, Jul 28, 2015 at 8:08 PM, Ruwan Abeykoon  wrote:
>
>> Hi All,
>> I created small program to inspect a Carbon based pack for duplicate
>> class exports.
>> This will help to resolve intermittent NoClassDefFoundException.
>> I have put it into [1] hoping that anyone facing the same issue as I did,
>> can save few days of trouble. You need to checkout and build it.
>> Instructions are provided in the README file.
>>
>> Please let me know of any improvements or issues.
>>
>> [1]https://github.com/ruwanta/CarbonOSGI-Bundle-Verifier
>>
>>
>> Cheers
>> Ruwan
>>
>> --
>>
>> *Ruwan Abeykoon*
>> *Architect,*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: ruw...@wso2.com
>> phone:(+94) 39736
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Duplicate OSGI class inspector for Carbon based products

2015-07-28 Thread Ayyoob Hamza
Hi Ruwan,
Thanks for the tool, this will ease up the process on finding the duplicate
packages which I am being stalled on.

Cheers,

*Ayyoob Hamza*
*Software Engineer*
WSO2 Inc.; http://wso2.com
email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>

On Tue, Jul 28, 2015 at 8:08 PM, Ruwan Abeykoon  wrote:

> Hi All,
> I created small program to inspect a Carbon based pack for duplicate class
> exports.
> This will help to resolve intermittent NoClassDefFoundException.
> I have put it into [1] hoping that anyone facing the same issue as I did,
> can save few days of trouble. You need to checkout and build it.
> Instructions are provided in the README file.
>
> Please let me know of any improvements or issues.
>
> [1]https://github.com/ruwanta/CarbonOSGI-Bundle-Verifier
>
>
> Cheers
> Ruwan
>
> --
>
> *Ruwan Abeykoon*
> *Architect,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: ruw...@wso2.com
> phone:(+94) 39736
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev