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 <ar...@wso2.com> 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 <ar...@wso2.com>
>> 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 <nir...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Any thoughts?
>>>>>
>>>>> On Tue, Sep 8, 2015 at 3:11 PM, Isuru Perera <isu...@wso2.com> 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
>>>>>> &quot;/metrics-view/index.jsp&quot; 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
>>>>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> 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
>>>> <http://kishanthan.wordpress.com>*
>>>> Twitter - *http://twitter.com/kishanthan
>>>> <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
>> About    http://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
>
>



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

about.me/chrishantha
Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to