[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    Re: [Dev] Duplicate OSGI class inspector for Carbon based products
From:       Rushmin Fernando <rushmin () wso2 ! com>
Date:       2016-09-27 5:31:02
Message-ID: CAFCz+p_SKbf66gNQg7kcmbb-4tOE6pUodRJtfbZWvV4m4kv-xQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 <ruwana@wso2.com> 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 <ruwana@wso2.com> 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 <aruna@wso2.com>
>> 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 <sameera@wso2.com>
>>> 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 <ruwana@wso2.com>
>>>> wrote:
>>>>
>>>>> +1 maven plugin
>>>>> Will do when I have some time
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Sameera Jayasoma,
>>>> Software Architect,
>>>>
>>>> WSO2, Inc. (http://wso2.com)
>>>> email: sameera@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: aruna@wso2.com | Web: www.wso2.com
>>>
>>>
>>
>>
>>
>> --
>>
>> *Ruwan Abeykoon*
>> *Architect,*
>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>> *lean.enterprise.middleware.*
>>
>> email: ruwana@wso2.com
>> phone:(+94) 777739736
>>
>
>
>
> --
>
> *Ruwan Abeykoon*
> *Associate Director/Architect**,*
> *WSO2, Inc. http://wso2.com <https://wso2.com/signature> *
> *lean.enterprise.middleware.*
>
>


-- 
*Best Regards*

*Rushmin Fernando*
*Technical Lead*

WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware

mobile : +94772891266

[Attachment #5 (text/html)]

<div dir="ltr">This helped a lot to figure out a class loading issue when installing \
appmgt feature in to IS. Thanks a lot Ruwan !!</div><div class="gmail_extra"><br><div \
class="gmail_quote">On Tue, Sep 27, 2016 at 10:42 AM, Ruwan Abeykoon <span \
dir="ltr">&lt;<a href="mailto:ruwana@wso2.com" \
target="_blank">ruwana@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi All,<div>I thought of improving the \
analysis tool by putting some of the manual knowledge into the code.  \
</div><div><br></div><div>[1] has a tool which can be used to find out why an \
intermittent class loading issue occurs. It   provides the offending bundle names.  \
</div><div>Please try it out next time when you come across a &quot;intermittent \
class loader&quot; issue in Carbon 4.x,   and provide me the feedback on any problems \
or improvement you need.</div><div><br></div><div><br></div><div>[1]  <a \
href="https://github.com/ruwanta/CarbonOSGI-Bundle-Verifier/tree/master/modules/runtime-introspection" \
target="_blank">https://github.com/ruwanta<wbr>/CarbonOSGI-Bundle-Verifier/<wbr>tree/m \
aster/modules/runtime-<wbr>introspection</a></div><div><br></div><div>Cheers,</div><div>Ruwan</div><div><br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 29, 2015 at 11:32 AM, \
Ruwan Abeykoon <span dir="ltr">&lt;<a href="mailto:ruwana@wso2.com" \
target="_blank">ruwana@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">@Aruna,<div>Thanks for suggestion. Will do \
that too. I was thinking of presenting in a tabular \
view.</div><div><br></div><div>For the time being check if &quot;-pv&quot; (process \
package versions) helps. It will display duplicate packages exporting the same \
version.</div><div><br></div><div>Cheers,</div><div>Ruwan</div></div><div \
class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Jul 29, 2015 at \
11:14 AM, Aruna Karunarathna <span dir="ltr">&lt;<a href="mailto:aruna@wso2.com" \
target="_blank">aruna@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Great tool indeed!<div><br></div><div>Small \
suggestion/improvement, can you specify the exported version of packages, since many \
issues occur when the versions are the \
same.</div><div><br></div><div>Regards,</div><div>Aruna</div></div><div \
class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Jul 29, 2015 at \
11:05 AM, Sameera Jayasoma <span dir="ltr">&lt;<a href="mailto:sameera@wso2.com" \
target="_blank">sameera@wso2.com</a>&gt;</span> wrote:<br></div></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div><div dir="ltr">This will be a very useful tool to \
debug intermittent class loading issues.  <div class="gmail_extra"><span><br><div \
class="gmail_quote">On Wed, Jul 29, 2015 at 10:40 AM, Ruwan Abeykoon <span \
dir="ltr">&lt;<a href="mailto:ruwana@wso2.com" \
target="_blank">ruwana@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><p dir="ltr">+1 maven plugin<br> Will do when I have some \
time</p> </blockquote></div><br><br clear="all"><div><br></div></span>-- \
<br><div><div dir="ltr"><div><div dir="ltr"><font color="#336666">Sameera \
Jayasoma,<br>Software Architect,</font><div><span \
style="color:rgb(51,102,102)"><br></span></div><div><span \
style="color:rgb(51,102,102)">WSO2, Inc. (</span><a href="http://wso2.com" \
target="_blank">http://wso2.com</a><span style="color:rgb(51,102,102)">)</span><font \
color="#336666"><br>email: <a href="mailto:sameera@wso2.com" \
target="_blank">sameera@wso2.com</a><br>blog:  </font><a \
href="http://blog.sameera.org" \
target="_blank">http://blog.sameera.org</a><div>twitter:  <a \
href="https://twitter.com/sameerajayasoma" \
target="_blank">https://twitter.com/s<wbr>ameerajayasoma</a></div><div>flickr:  <a \
href="http://www.flickr.com/photos/sameera-jayasoma/collections" \
target="_blank">http://www.flickr.com/<wbr>photos/sameera-jayasoma/collec<wbr>tions</a></div><div><span \
style="color:rgb(136,136,136)">Mobile: 0094776364456</span><span><br><br><font \
color="#336666">Lean . Enterprise . Middleware</font></span></div><div><font \
color="#336666"><br></font></div><div><font color="#336666"><img \
src="http://c.content.wso2.com/signatures/general.png" width="420" \
height="54"></font></div></div></div></div></div></div> </div></div>
<br></div></div><span>______________________________<wbr>_________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailma<wbr>n/listinfo/dev</a><br> \
<br></span></blockquote></div><span><font color="#888888"><br><br \
clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><span><font color="#888888"><span><font \
color="#888888"><span><font color="#888888"><span \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:norm \
al;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:start;text- \
indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span \
style="font-family:&#39;Trebuchet MS&#39;,sans-serif;color:gray"><br><b>Aruna Sujith \
Karunarathna  </b></span></span></font></span></font></span></font></span><span \
style="font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:rgb(65,129,255)">|</span><span \
style="font-size:8pt;font-family:&#39;Trebuchet MS&#39;,sans-serif;color:gray">  \
Software Engineer</span><span><font color="#888888"><span><font \
color="#888888"><span><font color="#888888"><br \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:norm \
al;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;tex \
t-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:gray">WSO2, Inc<span>  </span></span><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:rgb(65,129,255)">|<span>  </span></span><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:rgb(102,102,102)">lean. enterprise. middleware.</span><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:gray"><br></span><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:gray" lang="EN-GB">#20, Palm Grove, Colombo 03, Sri \
Lanka</span><span style="font-style:normal;font-variant:normal;font-weight:normal;lett \
er-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:n \
one;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:Wingdings;color:gray"><br></span><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:gray">Mobile:<span>  </span><a value="+94719040362">+94 71 \
9040362</a><span>  </span></span><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:rgb(65,129,255)">|</span><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:gray"><span>  </span>Work:<span>  </span><a \
value="+94112416000">+94 112145345</a><span>  </span><br>Email:<span>  </span><a \
href="mailto:aruna@wso2.com" target="_blank">aruna@wso2.com</a><span>  \
</span></span><span style="font-style:normal;font-variant:normal;font-weight:normal;le \
tter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform \
:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:rgb(65,129,255)">|<span>  </span></span><span \
style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal; \
line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no \
rmal;word-spacing:0px;background-color:rgb(255,255,255);font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:gray">Web:<span>  </span></span><a \
href="http://www.wso2.com/" \
style="font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:norm \
al;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-i \
ndent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" \
target="_blank"><span style="font-size:8pt;font-family:&#39;Trebuchet \
MS&#39;,sans-serif;color:rgb(82,145,239)">w<wbr>ww.wso2.com</span></a><div><span><font \
color="#888888"><span><font color="#888888"><font color="#888888"><span><font \
color="#888888"><span style="color:rgb(153,153,153)"><font color="#888888">  \
</font></span></font></span></font></font></span></font></span><span><font \
color="#888888"><span><font color="#888888"><font color="#888888"><span><font \
color="#888888"><span \
style="color:rgb(153,153,153)"></span></font></span></font></font></span></font></span \
></div></font></span></font></span></font></span></div></div></div></div></div></div></div></div>
> 
</font></span></div>
</blockquote></div><br><br clear="all"><span class="HOEnZb"><font \
color="#888888"><div><br></div></font></span></div></div><span class="HOEnZb"><font \
color="#888888"><span>-- <br><div><div dir="ltr"><div><div dir="ltr"><font \
color="#444444" face="georgia, serif"><b>Ruwan Abeykoon<br></b></font><div \
style="color:rgb(136,136,136)"><div><font color="#444444" face="times new roman, \
serif"><b>Architect,</b></font></div><div><font color="#444444" face="times new \
roman, serif"><b>WSO2, Inc.  <a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a>  </b></font></div><div><font color="#444444" \
face="times new roman, \
serif"><b>lean.enterprise.middleware.</b></font></div></div><div \
style="color:rgb(136,136,136)"><font color="#444444" face="georgia, \
serif"><b><br></b></font></div><div style="color:rgb(136,136,136)"><font \
color="#444444" size="1">email:  <a href="mailto:ruwana@wso2.com" \
style="color:rgb(17,85,204)" target="_blank">ruwana@wso2.com</a>  </font></div><div \
style="color:rgb(136,136,136)"><font color="#444444" size="1">phone:<a \
href="tel:%28%2B94%29%20777739736" value="+94777911226" style="color:rgb(17,85,204)" \
target="_blank">(+94) 777739736</a></font></div></div></div></div></div> \
</span></font></span></div><span class="HOEnZb"><font color="#888888"> \
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br \
clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><font color="#444444" face="georgia, serif"><b>Ruwan \
Abeykoon<br></b></font><div><div><font color="#444444" face="times new roman, \
serif"><b>Associate Director/Architect</b></font><font color="#444444" face="times \
new roman, serif" style="color:rgb(136,136,136)"><b>,</b></font></div><div \
style="color:rgb(136,136,136)"><font color="#444444" face="times new roman, \
serif"><b>WSO2, Inc.  <a href="https://wso2.com/signature" \
style="color:rgb(17,85,204)" target="_blank">http://wso2.com</a>  \
</b></font></div><div style="color:rgb(136,136,136)"><font color="#444444" \
face="times new roman, \
serif"><b>lean.enterprise.middleware.</b></font></div></div><div \
style="color:rgb(136,136,136)"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png"><br></div></div></div></div></div></div></div></div></div>
 </font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div><i><font color="#000000">Best \
Regards</font></i></div><div dir="ltr"><i><font \
color="#999999"><br></font></i></div><div dir="ltr"><i><font color="#999999">Rushmin \
Fernando</font></i><div><i><font color="#999999">Technical \
Lead</font></i></div><div><br></div><div><a href="http://wso2.com/" \
target="_blank">WSO2 Inc.</a>  - Lean . Enterprise . Middleware  \
<br></div><div><br></div><div>mobile : \
+94772891266<br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div>
 </div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic