Re: [Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-21 Thread Isuru Perera
Hi Kishanthan,

We compared and the only difference we noticed is in the bundle name. Other
than that we didn't do any OSGi level debugging and that's why we need some
help from OSGi experts to identify the real issue in our Fragment Bundles.

On Tue, Sep 15, 2015 at 1:35 PM, Kishanthan Thangarajah  wrote:

> IsuruP, in the mean time could you guys verify you fragment bundle and its
> configuration? From my understanding this issue cannot occur as we have
> been using fragment bundle approach for lot of scenarios within the
> platform (UI, styles, mediator-ui) where we haven't encounter this type of
> issue so far. I didn't go into this issue in detail, but you can compare
> the configuration of other fragment bundles we have and try to see for any
> obvious issues.
>
> On Tue, Sep 15, 2015 at 12:23 PM, Isuru Perera  wrote:
>
>> Hi Aruna,
>>
>> This issue is reproducible when we create a Fragment Bundle with name "
>> org.wso2.carbon.ml.metrics.ui".
>>
>> Thusitha, there is no problem when installing features. It's just that
>> when we add a new bundle with some names, the Fragment UI Bundle fails.
>>
>> On Tue, Sep 15, 2015 at 11:56 AM, Aruna Karunarathna 
>> wrote:
>>
>>> Hi Isuru,
>>>
>>> Is this reproducible with ML beta2?
>>>
>>> Regards,
>>> Aruna
>>>
>>> On Tue, Sep 15, 2015 at 11:50 AM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi All,

 I tried to add the matrices feature as mentioned step to the WSO2-AS. I
 didn't encounter any issues and it get installed successfully
 Thanks

 On Tue, Sep 15, 2015 at 11:45 AM, Aruna Karunarathna 
 wrote:

> Sure will have a look.
>
> On Tue, Sep 15, 2015 at 11:13 AM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> @Aruna, can you have a look on this?
>>
>> On Mon, Sep 14, 2015 at 7:19 PM, Nirmal Fernando 
>> wrote:
>>
>>> Hi All,
>>>
>>> Any thoughts?
>>>
>>> On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera 
>>> wrote:
>>>
 Hi,

 With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can
 extend the Metrics UI and show product specific metrics in Management
 Console.

 WSO2 Message Broker successfully use a Fragment Bundle to show
 Messaging Metrics [2].

 Now WSO2 Machine Learner product also wants show some ML specific
 metrics. When we create a similar component like [2], we encounter
 following issue.

 [2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher
 Servlet.service() for servlet bridgeservlet threw exception
 javax.servlet.ServletException: File
 /metrics-view/index.jsp not found

 After further checking, we found out that the following properties
 in MANIFEST.MF causes the issue.

 Bundle-Name: org.wso2.carbon.ml.metrics.ui
 Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui

 For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*
 .metrics.ui), the Fragment Bundle works fine.

 The host bundle source is at [3].

 If anyone wants to try this, build the Metrics tag v1.1.0 [1]
 locally and install Metrics Feature to any WSO2 product via the Feature
 Manager. Please use the target/p2-repo directory found in [4].

 Then try copying Messaging Metrics UI jar [5] to dropins. The
 Messaging Metrics UI works. If we change the bundle name and symbolic 
 name
 as mentioned above, there will be an error.

 Any idea how these bundle names affect the Fragment Bundle?

 Thanks!

 Best Regards,

 [1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
 [2]
 https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
 [3]
 https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
 [4]
 https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
 [5]
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/

 --
 Isuru Perera
 Associate Technical Lead | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha
 Contact: +IsuruPereraWSO2
 

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Team Lead - WSO2 Machine Learner
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733

Re: [Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-15 Thread Aruna Karunarathna
Sure will have a look.

On Tue, Sep 15, 2015 at 11:13 AM, Kishanthan Thangarajah <
kishant...@wso2.com> wrote:

> @Aruna, can you have a look on this?
>
> On Mon, Sep 14, 2015 at 7:19 PM, Nirmal Fernando  wrote:
>
>> Hi All,
>>
>> Any thoughts?
>>
>> On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera  wrote:
>>
>>> Hi,
>>>
>>> With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend the
>>> Metrics UI and show product specific metrics in Management Console.
>>>
>>> WSO2 Message Broker successfully use a Fragment Bundle to show Messaging
>>> Metrics [2].
>>>
>>> Now WSO2 Machine Learner product also wants show some ML specific
>>> metrics. When we create a similar component like [2], we encounter
>>> following issue.
>>>
>>> [2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher
>>> Servlet.service() for servlet bridgeservlet threw exception
>>> javax.servlet.ServletException: File /metrics-view/index.jsp
>>> not found
>>>
>>> After further checking, we found out that the following properties in
>>> MANIFEST.MF causes the issue.
>>>
>>> Bundle-Name: org.wso2.carbon.ml.metrics.ui
>>> Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui
>>>
>>> For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*
>>> .metrics.ui), the Fragment Bundle works fine.
>>>
>>> The host bundle source is at [3].
>>>
>>> If anyone wants to try this, build the Metrics tag v1.1.0 [1] locally
>>> and install Metrics Feature to any WSO2 product via the Feature Manager.
>>> Please use the target/p2-repo directory found in [4].
>>>
>>> Then try copying Messaging Metrics UI jar [5] to dropins. The Messaging
>>> Metrics UI works. If we change the bundle name and symbolic name as
>>> mentioned above, there will be an error.
>>>
>>> Any idea how these bundle names affect the Fragment Bundle?
>>>
>>> Thanks!
>>>
>>> Best Regards,
>>>
>>> [1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
>>> [2]
>>> https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
>>> [3]
>>> https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
>>> [4]
>>> https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
>>> [5]
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> 
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Team Lead - WSO2 Machine Learner
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 

*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] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-15 Thread Thusitha Thilina Dayaratne
Hi All,

I tried to add the matrices feature as mentioned step to the WSO2-AS. I
didn't encounter any issues and it get installed successfully
Thanks

On Tue, Sep 15, 2015 at 11:45 AM, Aruna Karunarathna  wrote:

> Sure will have a look.
>
> On Tue, Sep 15, 2015 at 11:13 AM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> @Aruna, can you have a look on this?
>>
>> On Mon, Sep 14, 2015 at 7:19 PM, Nirmal Fernando  wrote:
>>
>>> Hi All,
>>>
>>> Any thoughts?
>>>
>>> On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera  wrote:
>>>
 Hi,

 With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend
 the Metrics UI and show product specific metrics in Management Console.

 WSO2 Message Broker successfully use a Fragment Bundle to show
 Messaging Metrics [2].

 Now WSO2 Machine Learner product also wants show some ML specific
 metrics. When we create a similar component like [2], we encounter
 following issue.

 [2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher
 Servlet.service() for servlet bridgeservlet threw exception
 javax.servlet.ServletException: File
 /metrics-view/index.jsp not found

 After further checking, we found out that the following properties in
 MANIFEST.MF causes the issue.

 Bundle-Name: org.wso2.carbon.ml.metrics.ui
 Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui

 For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*
 .metrics.ui), the Fragment Bundle works fine.

 The host bundle source is at [3].

 If anyone wants to try this, build the Metrics tag v1.1.0 [1] locally
 and install Metrics Feature to any WSO2 product via the Feature Manager.
 Please use the target/p2-repo directory found in [4].

 Then try copying Messaging Metrics UI jar [5] to dropins. The Messaging
 Metrics UI works. If we change the bundle name and symbolic name as
 mentioned above, there will be an error.

 Any idea how these bundle names affect the Fragment Bundle?

 Thanks!

 Best Regards,

 [1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
 [2]
 https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
 [3]
 https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
 [4]
 https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
 [5]
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/

 --
 Isuru Perera
 Associate Technical Lead | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha
 Contact: +IsuruPereraWSO2
 

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Team Lead - WSO2 Machine Learner
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
>
> *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
>
>



-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-15 Thread Aruna Karunarathna
Hi Isuru,

Is this reproducible with ML beta2?

Regards,
Aruna

On Tue, Sep 15, 2015 at 11:50 AM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi All,
>
> I tried to add the matrices feature as mentioned step to the WSO2-AS. I
> didn't encounter any issues and it get installed successfully
> Thanks
>
> On Tue, Sep 15, 2015 at 11:45 AM, Aruna Karunarathna 
> wrote:
>
>> Sure will have a look.
>>
>> On Tue, Sep 15, 2015 at 11:13 AM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> @Aruna, can you have a look on this?
>>>
>>> On Mon, Sep 14, 2015 at 7:19 PM, Nirmal Fernando 
>>> wrote:
>>>
 Hi All,

 Any thoughts?

 On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera  wrote:

> Hi,
>
> With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend
> the Metrics UI and show product specific metrics in Management Console.
>
> WSO2 Message Broker successfully use a Fragment Bundle to show
> Messaging Metrics [2].
>
> Now WSO2 Machine Learner product also wants show some ML specific
> metrics. When we create a similar component like [2], we encounter
> following issue.
>
> [2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher
> Servlet.service() for servlet bridgeservlet threw exception
> javax.servlet.ServletException: File
> /metrics-view/index.jsp not found
>
> After further checking, we found out that the following properties in
> MANIFEST.MF causes the issue.
>
> Bundle-Name: org.wso2.carbon.ml.metrics.ui
> Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui
>
> For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*
> .metrics.ui), the Fragment Bundle works fine.
>
> The host bundle source is at [3].
>
> If anyone wants to try this, build the Metrics tag v1.1.0 [1] locally
> and install Metrics Feature to any WSO2 product via the Feature Manager.
> Please use the target/p2-repo directory found in [4].
>
> Then try copying Messaging Metrics UI jar [5] to dropins. The
> Messaging Metrics UI works. If we change the bundle name and symbolic name
> as mentioned above, there will be an error.
>
> Any idea how these bundle names affect the Fragment Bundle?
>
> Thanks!
>
> Best Regards,
>
> [1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
> [2]
> https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
> [3]
> https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
> [4]
> https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
> [5]
> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2
> 
>



 --

 Thanks & regards,
 Nirmal

 Team Lead - WSO2 Machine Learner
 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Associate Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>>
>> *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
>>
>>
>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>


-- 

*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] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-15 Thread Kishanthan Thangarajah
IsuruP, in the mean time could you guys verify you fragment bundle and its
configuration? From my understanding this issue cannot occur as we have
been using fragment bundle approach for lot of scenarios within the
platform (UI, styles, mediator-ui) where we haven't encounter this type of
issue so far. I didn't go into this issue in detail, but you can compare
the configuration of other fragment bundles we have and try to see for any
obvious issues.

On Tue, Sep 15, 2015 at 12:23 PM, Isuru Perera  wrote:

> Hi Aruna,
>
> This issue is reproducible when we create a Fragment Bundle with name "
> org.wso2.carbon.ml.metrics.ui".
>
> Thusitha, there is no problem when installing features. It's just that
> when we add a new bundle with some names, the Fragment UI Bundle fails.
>
> On Tue, Sep 15, 2015 at 11:56 AM, Aruna Karunarathna 
> wrote:
>
>> Hi Isuru,
>>
>> Is this reproducible with ML beta2?
>>
>> Regards,
>> Aruna
>>
>> On Tue, Sep 15, 2015 at 11:50 AM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I tried to add the matrices feature as mentioned step to the WSO2-AS. I
>>> didn't encounter any issues and it get installed successfully
>>> Thanks
>>>
>>> On Tue, Sep 15, 2015 at 11:45 AM, Aruna Karunarathna 
>>> wrote:
>>>
 Sure will have a look.

 On Tue, Sep 15, 2015 at 11:13 AM, Kishanthan Thangarajah <
 kishant...@wso2.com> wrote:

> @Aruna, can you have a look on this?
>
> On Mon, Sep 14, 2015 at 7:19 PM, Nirmal Fernando 
> wrote:
>
>> Hi All,
>>
>> Any thoughts?
>>
>> On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera  wrote:
>>
>>> Hi,
>>>
>>> With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend
>>> the Metrics UI and show product specific metrics in Management Console.
>>>
>>> WSO2 Message Broker successfully use a Fragment Bundle to show
>>> Messaging Metrics [2].
>>>
>>> Now WSO2 Machine Learner product also wants show some ML specific
>>> metrics. When we create a similar component like [2], we encounter
>>> following issue.
>>>
>>> [2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher
>>> Servlet.service() for servlet bridgeservlet threw exception
>>> javax.servlet.ServletException: File
>>> /metrics-view/index.jsp not found
>>>
>>> After further checking, we found out that the following properties
>>> in MANIFEST.MF causes the issue.
>>>
>>> Bundle-Name: org.wso2.carbon.ml.metrics.ui
>>> Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui
>>>
>>> For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*
>>> .metrics.ui), the Fragment Bundle works fine.
>>>
>>> The host bundle source is at [3].
>>>
>>> If anyone wants to try this, build the Metrics tag v1.1.0 [1]
>>> locally and install Metrics Feature to any WSO2 product via the Feature
>>> Manager. Please use the target/p2-repo directory found in [4].
>>>
>>> Then try copying Messaging Metrics UI jar [5] to dropins. The
>>> Messaging Metrics UI works. If we change the bundle name and symbolic 
>>> name
>>> as mentioned above, there will be an error.
>>>
>>> Any idea how these bundle names affect the Fragment Bundle?
>>>
>>> Thanks!
>>>
>>> Best Regards,
>>>
>>> [1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
>>> [2]
>>> https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
>>> [3]
>>> https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
>>> [4]
>>> https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
>>> [5]
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> 
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Team Lead - WSO2 Machine Learner
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com
> *
> Twitter - *http://twitter.com/kishanthan
> *
>



 --

 *Aruna 

Re: [Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-15 Thread Isuru Perera
Hi Aruna,

This issue is reproducible when we create a Fragment Bundle with name "
org.wso2.carbon.ml.metrics.ui".

Thusitha, there is no problem when installing features. It's just that when
we add a new bundle with some names, the Fragment UI Bundle fails.

On Tue, Sep 15, 2015 at 11:56 AM, Aruna Karunarathna  wrote:

> Hi Isuru,
>
> Is this reproducible with ML beta2?
>
> Regards,
> Aruna
>
> On Tue, Sep 15, 2015 at 11:50 AM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi All,
>>
>> I tried to add the matrices feature as mentioned step to the WSO2-AS. I
>> didn't encounter any issues and it get installed successfully
>> Thanks
>>
>> On Tue, Sep 15, 2015 at 11:45 AM, Aruna Karunarathna 
>> wrote:
>>
>>> Sure will have a look.
>>>
>>> On Tue, Sep 15, 2015 at 11:13 AM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 @Aruna, can you have a look on this?

 On Mon, Sep 14, 2015 at 7:19 PM, Nirmal Fernando 
 wrote:

> Hi All,
>
> Any thoughts?
>
> On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera  wrote:
>
>> Hi,
>>
>> With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend
>> the Metrics UI and show product specific metrics in Management Console.
>>
>> WSO2 Message Broker successfully use a Fragment Bundle to show
>> Messaging Metrics [2].
>>
>> Now WSO2 Machine Learner product also wants show some ML specific
>> metrics. When we create a similar component like [2], we encounter
>> following issue.
>>
>> [2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher
>> Servlet.service() for servlet bridgeservlet threw exception
>> javax.servlet.ServletException: File
>> /metrics-view/index.jsp not found
>>
>> After further checking, we found out that the following properties in
>> MANIFEST.MF causes the issue.
>>
>> Bundle-Name: org.wso2.carbon.ml.metrics.ui
>> Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui
>>
>> For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*
>> .metrics.ui), the Fragment Bundle works fine.
>>
>> The host bundle source is at [3].
>>
>> If anyone wants to try this, build the Metrics tag v1.1.0 [1] locally
>> and install Metrics Feature to any WSO2 product via the Feature Manager.
>> Please use the target/p2-repo directory found in [4].
>>
>> Then try copying Messaging Metrics UI jar [5] to dropins. The
>> Messaging Metrics UI works. If we change the bundle name and symbolic 
>> name
>> as mentioned above, there will be an error.
>>
>> Any idea how these bundle names affect the Fragment Bundle?
>>
>> Thanks!
>>
>> Best Regards,
>>
>> [1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
>> [2]
>> https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
>> [3]
>> https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
>> [4]
>> https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
>> [5]
>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2
>> 
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 *
 Twitter - *http://twitter.com/kishanthan
 *

>>>
>>>
>>>
>>> --
>>>
>>> *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
>>>
>>>
>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>>
>>
>
>
> --
>
> *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 | 

Re: [Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-14 Thread Nirmal Fernando
Hi All,

Any thoughts?

On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera  wrote:

> Hi,
>
> With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend the
> Metrics UI and show product specific metrics in Management Console.
>
> WSO2 Message Broker successfully use a Fragment Bundle to show Messaging
> Metrics [2].
>
> Now WSO2 Machine Learner product also wants show some ML specific metrics.
> When we create a similar component like [2], we encounter following issue.
>
> [2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher Servlet.service()
> for servlet bridgeservlet threw exception
> javax.servlet.ServletException: File /metrics-view/index.jsp
> not found
>
> After further checking, we found out that the following properties in
> MANIFEST.MF causes the issue.
>
> Bundle-Name: org.wso2.carbon.ml.metrics.ui
> Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui
>
> For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*
> .metrics.ui), the Fragment Bundle works fine.
>
> The host bundle source is at [3].
>
> If anyone wants to try this, build the Metrics tag v1.1.0 [1] locally and
> install Metrics Feature to any WSO2 product via the Feature Manager. Please
> use the target/p2-repo directory found in [4].
>
> Then try copying Messaging Metrics UI jar [5] to dropins. The Messaging
> Metrics UI works. If we change the bundle name and symbolic name as
> mentioned above, there will be an error.
>
> Any idea how these bundle names affect the Fragment Bundle?
>
> Thanks!
>
> Best Regards,
>
> [1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
> [2]
> https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
> [3]
> https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
> [4] https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
> [5]
> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 
>



-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-14 Thread Kishanthan Thangarajah
@Aruna, can you have a look on this?

On Mon, Sep 14, 2015 at 7:19 PM, Nirmal Fernando  wrote:

> Hi All,
>
> Any thoughts?
>
> On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera  wrote:
>
>> Hi,
>>
>> With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend the
>> Metrics UI and show product specific metrics in Management Console.
>>
>> WSO2 Message Broker successfully use a Fragment Bundle to show Messaging
>> Metrics [2].
>>
>> Now WSO2 Machine Learner product also wants show some ML specific
>> metrics. When we create a similar component like [2], we encounter
>> following issue.
>>
>> [2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher Servlet.service()
>> for servlet bridgeservlet threw exception
>> javax.servlet.ServletException: File /metrics-view/index.jsp
>> not found
>>
>> After further checking, we found out that the following properties in
>> MANIFEST.MF causes the issue.
>>
>> Bundle-Name: org.wso2.carbon.ml.metrics.ui
>> Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui
>>
>> For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*
>> .metrics.ui), the Fragment Bundle works fine.
>>
>> The host bundle source is at [3].
>>
>> If anyone wants to try this, build the Metrics tag v1.1.0 [1] locally and
>> install Metrics Feature to any WSO2 product via the Feature Manager. Please
>> use the target/p2-repo directory found in [4].
>>
>> Then try copying Messaging Metrics UI jar [5] to dropins. The Messaging
>> Metrics UI works. If we change the bundle name and symbolic name as
>> mentioned above, there will be an error.
>>
>> Any idea how these bundle names affect the Fragment Bundle?
>>
>> Thanks!
>>
>> Best Regards,
>>
>> [1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
>> [2]
>> https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
>> [3]
>> https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
>> [4]
>> https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
>> [5]
>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2 
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
*Kishanthan Thangarajah*
Associate Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-08 Thread Isuru Perera
Hi,

With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend the
Metrics UI and show product specific metrics in Management Console.

WSO2 Message Broker successfully use a Fragment Bundle to show Messaging
Metrics [2].

Now WSO2 Machine Learner product also wants show some ML specific metrics.
When we create a similar component like [2], we encounter following issue.

[2015-09-08 13:20:58,603] ERROR - ApplicationDispatcher Servlet.service()
for servlet bridgeservlet threw exception
javax.servlet.ServletException: File /metrics-view/index.jsp
not found

After further checking, we found out that the following properties in
MANIFEST.MF causes the issue.

Bundle-Name: org.wso2.carbon.ml.metrics.ui
Bundle-SymbolicName: org.wso2.carbon.ml.metrics.ui

For example, If we change the "ml" to "ma" (org.wso2.carbon.*ma*.metrics.ui),
the Fragment Bundle works fine.

The host bundle source is at [3].

If anyone wants to try this, build the Metrics tag v1.1.0 [1] locally and
install Metrics Feature to any WSO2 product via the Feature Manager. Please
use the target/p2-repo directory found in [4].

Then try copying Messaging Metrics UI jar [5] to dropins. The Messaging
Metrics UI works. If we change the bundle name and symbolic name as
mentioned above, there will be an error.

Any idea how these bundle names affect the Fragment Bundle?

Thanks!

Best Regards,

[1] https://github.com/wso2/carbon-metrics/releases/tag/v1.1.0
[2]
https://github.com/wso2/carbon-business-messaging/tree/master/components/metrics/org.wso2.carbon.messaging.metrics.ui
[3]
https://github.com/wso2/carbon-metrics/tree/v1.1.0/components/org.wso2.carbon.metrics.view.ui
[4] https://github.com/wso2/carbon-metrics/tree/v1.1.0/features/repository
[5]
http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/messaging/org.wso2.carbon.messaging.metrics.ui/2.6.1/

-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
Contact: +IsuruPereraWSO2 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev