[Carbon-dev] Carbon-components build problem in trunk

2010-01-12 Thread Nuwan Bandara
Hi guys,

Am getting few compilation errors when building carbon components (Module
Management BE / Identity Relying Party) in trunk from yesterday. the trace
looks like bellow,

*/home/nuwan/dev/Carbon-Platforms/trunk/carbon-components/module-mgt/org.wso2.carbon.module.mgt/src/main/java/org/wso2/carbon/module/mgt/internal/ModuleMgtServiceComponent.java:[29,31]
package org.wso2.carbon.user.mgt does not exist

/home/nuwan/dev/Carbon-Platforms/trunk/carbon-components/module-mgt/org.wso2.carbon.module.mgt/src/main/java/org/wso2/carbon/module/mgt/internal/ModuleMgtServiceComponent.java:[30,44]
package org.wso2.carbon.user.mgt.uipermission does not exist

/home/nuwan/dev/Carbon-Platforms/trunk/carbon-components/module-mgt/org.wso2.carbon.module.mgt/src/main/java/org/wso2/carbon/module/mgt/internal/ModuleMgtServiceComponent.java:[45,12]
cannot find symbol
symbol  : class UIPermissionService
location: class
org.wso2.carbon.module.mgt.internal.ModuleMgtServiceComponent*

. etc

I have successfully built *carbon* however but getting these errors
continuously, any idea ?

Thanks & Regards
/Nuwan
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Strange version naming of carbon bundles in trunk

2010-01-15 Thread Nuwan Bandara
Hi guys,

While I was working in the carbon.ui bundle in the trunk, I noticed that the
carbon ui bundle in the carbon distribution is named as org.wso2.carbon.ui-*
3.0.0.SNAPSHOT* but the actual jar which is (in the carbon.ui target)
getting created is org.wso2.carbon.ui-*3.0.0-SNAPSHOT*. I also checked the
carbon distribution and parent poms and the version is correctly typed
as *3.0.0-SNAPSHOT.
*The real problem is when a product is built some of the carbon core bundles
(not only the carbon.ui bundle) come in to the plugins directory as *
3.0.0.SNAPSHOT*. Any idea on this issue ?

Thanks & Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Strange version naming of carbon bundles in trunk

2010-01-15 Thread Nuwan Bandara
On Fri, Jan 15, 2010 at 3:14 PM, Sameera Jayasoma  wrote:

>
>
> On Fri, Jan 15, 2010 at 2:50 PM, Nuwan Bandara  wrote:
>
>> Hi guys,
>>
>> While I was working in the carbon.ui bundle in the trunk, I noticed that
>> the carbon ui bundle in the carbon distribution is named as
>> org.wso2.carbon.ui-*3.0.0.SNAPSHOT* but the actual jar which is (in the
>> carbon.ui target) getting created is org.wso2.carbon.ui-*3.0.0-SNAPSHOT*.
>> I also checked the carbon distribution and parent poms and the version is
>> correctly typed as *3.0.0-SNAPSHOT. *The real problem is when a product
>> is built some of the carbon core bundles (not only the carbon.ui bundle)
>> come in to the plugins directory as *3.0.0.SNAPSHOT*. Any idea on this
>> issue ?
>>
>
> Your observations are correct. Even though we have configured Maven to
> produces bundles with the version 3.0.0-SNAPSHOT, Carbon distribution has
> bundles with the version 3.0.0.SNAPSHOT. This is because of P2.
>
> In Carbon trunk, bundles are no longer copied to the distribution by Maven.
> We are using P2 for this purpose now. P2 always produces bundles with the
> version format x.x.x.qualifier.
>

ah :) thanks for the info

Regards
/Nuwan

>
> Sameera
>
>>
>> Thanks & Regards
>> --
>> Nuwan Bandara
>> WSO2 Inc. | http://www.wso2.com
>> email: nu...@wso2.com
>> mob: +94 772 907 484
>> blog: http://www.nuwanbando.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 2.0.3 RC2 packs for Testing

2010-01-21 Thread Nuwan Bandara
Hi,

https://wso2.org/jira/browse/GS-78 - Fixed

On Fri, Jan 22, 2010 at 12:15 PM, Samisa Abeysinghe  wrote:

> Folks, please respond to this thread as soon as these are fixed.
>
> Samisa...
>
>
> On Fri, Jan 22, 2010 at 12:12 PM, Yumani Ranaweera wrote:
>
>> Also, the version given in INSTALL.txt in GS and MS need to be updated.
>>
>> https://wso2.org/jira/browse/GS-78
>> https://wso2.org/jira/browse/MASHUP-1301
>>
>>
>> Thanks,
>> Yumani
>>
>>
>>
>>
>>
>> On Fri, Jan 22, 2010 at 11:42 AM, Charitha Kankanamge 
>> wrote:
>>
>>> Minor doc issue, but we cannot ship with this IMHO.
>>>
>>> Copyright is obsolete in /carbon/docs/about.html. it still shows
>>> 2008-2009, we need to fix this in all packs.
>>>
>>> Regards
>>> Charitha
>>>
>>> Charitha Kankanamge
>>> WSO2 Inc.
>>> http://wso2.org
>>> email: chari...@wso2.com
>>> cell: +94 718 359 265
>>> blog: http://charithaka.blogspot.com
>>>
>>>
>>> On Fri, Jan 22, 2010 at 9:21 AM, Lahiru Gunathilake wrote:
>>>
>>>> Hi all,
>>>>
>>>> Please find the carbon 2.0.3 RC2 release packs in here [1] and
>>>> qa-p2-repo at [2].
>>>>
>>>> [1]http://builder.wso2.org/~carbon/releases<http://builder.wso2.org/%7Ecarbon/releases>
>>>> [2]http://builder.wso2.org/~carbon/releases/carbon/2.0.3/RC2/p2-repo/<http://builder.wso2.org/%7Ecarbon/releases/carbon/2.0.3/RC2/p2-repo/>
>>>>
>>>> Regards
>>>> Lahiru
>>>>
>>>> --
>>>> Lahiru Gunathilake
>>>> Software Engineer - WSO2 Inc.
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Yumani Ranaweera
>>
>> WSO2, Inc. - http://wso2.org
>> Email : yum...@wso2.com
>> Cell: +94 077 7795242
>> Blog   : http://yumani.blogspot.com/
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://www.wso2.com/ - "lean . enterprise . middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 2.0.3 RC2 packs for Testing

2010-01-21 Thread Nuwan Bandara
Hi,

https://wso2.org/jira/browse/GS-77 - Fixed

Thanks,
/Nuwan

On Fri, Jan 22, 2010 at 12:31 PM, Yumani Ranaweera  wrote:

> Version given in docs folder within GS dist also needs to be fixed...
>
> https://wso2.org/jira/browse/GS-77
>
> Thanks,
> Yumani
>
>
>
>
> On Fri, Jan 22, 2010 at 12:23 PM, Charitha Kankanamge 
> wrote:
>
>> +1, but please give us at least 1 hour to go through all docs in RC2
>> packs, so that we can uncover most of the issues.
>>
>>
>>
>> Charitha Kankanamge
>> WSO2 Inc.
>> http://wso2.org
>> email: chari...@wso2.com
>> cell: +94 718 359 265
>> blog: http://charithaka.blogspot.com
>>
>>
>> On Fri, Jan 22, 2010 at 12:20 PM, Lahiru Gunathilake wrote:
>>
>>> Charitha,
>>>
>>> qa-p2 repo  is containing all the stuff now with bps and bam data
>>> publisher artifacts. Once the docs issue fixed in all the products .. how
>>> about giving the RC3, I can simply do an offline products build within half
>>> an hour with those docs fixes.
>>>
>>> Lahiru
>>>
>>> On Fri, Jan 22, 2010 at 11:42 AM, Charitha Kankanamge >> > wrote:
>>>
 Minor doc issue, but we cannot ship with this IMHO.

 Copyright is obsolete in /carbon/docs/about.html. it still shows
 2008-2009, we need to fix this in all packs.

 Regards
 Charitha

 Charitha Kankanamge
 WSO2 Inc.
 http://wso2.org
 email: chari...@wso2.com
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com


 On Fri, Jan 22, 2010 at 9:21 AM, Lahiru Gunathilake wrote:

> Hi all,
>
> Please find the carbon 2.0.3 RC2 release packs in here [1] and
> qa-p2-repo at [2].
>
> [1]http://builder.wso2.org/~carbon/releases
> [2]http://builder.wso2.org/~carbon/releases/carbon/2.0.3/RC2/p2-repo/
>
> Regards
> Lahiru
>
> --
> Lahiru Gunathilake
> Software Engineer - WSO2 Inc.
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


>>>
>>>
>>> --
>>> Lahiru Gunathilake
>>> Software Engineer - WSO2 Inc.
>>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Yumani Ranaweera
>
> WSO2, Inc. - http://wso2.org
> Email : yum...@wso2.com
> Cell: +94 077 7795242
> Blog   : http://yumani.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 2.0.3 RC2 packs for Testing

2010-01-22 Thread Nuwan Bandara
Hi,

https://wso2.org/jira/browse/GS-79 - Fixed

Thanks,
/Nuwan

On Fri, Jan 22, 2010 at 1:37 PM, Yumani Ranaweera  wrote:

> Hi,
> Below are the updating need in IS and MS products.
>
> In IS
> The release note within the bin distribution needs to changed according to
> new format. Here :
>  - the new feature list need to appear before the key feature list.
> - Get Involved section is missing
> - Known Issues section is missing.
> - The 'Get Involved' section in new format is appearing as 'Reporting
> Problems'
>
> In MS
> The release note within the bin distribution and doc distribution need to
> changed according to new format. Here :
>  - The new feature list need to appear before the key feature list.
> - Get Involved section is missing
> - Known Issues section is missing.
> -There's an additional section "future Directions".
> - The 'Get Involved' section in new format is appearing as 'Reporting
> Problems'
> -Last two sentences in 'Support' section need to be seperated by a
> fullstop. (i.e. Fullstop after 'http://wso2.com/support/' link)
>
>
> Thanks,
> Yumani
>
>
>
>
>
>
> On Fri, Jan 22, 2010 at 12:57 PM, Charitha Kankanamge 
> wrote:
>
>> Anjana,
>>
>> Please fix the following issues.
>> DS doc issues
>> =
>>
>> 1. "New Features In This Release" section of the release-notes.html (in
>> binary pack) and README.txt is wrong. please update it
>> 2. Copyright shows 2009 as the year in README.txt
>> 3. Support and Training in both release-notes.html (in binary pack) and
>> README has to be updated according to the content given by Hasmin yesterday
>> 4. "New features in this release" section is wrong in
>> wso2dataservices-2.2.1-docs/index.html
>> 5. Mailing lists have to be updated in
>> wso2dataservices-2.2.1-docs/index.html. There is no such ds-dev user list
>> 6. Update wso2dataservices-2.2.1-docs/mail-lists.html too
>>
>>
>>
>>
>> Charitha Kankanamge
>> WSO2 Inc.
>> http://wso2.org
>> email: chari...@wso2.com
>> cell: +94 718 359 265
>> blog: http://charithaka.blogspot.com
>>
>>
>> On Fri, Jan 22, 2010 at 12:38 PM, Charitha Kankanamge 
>> wrote:
>>
>>> I think the license generation tool has some problems, hence the
>>> generated license file is wrong, jar versions are outdated! please have a
>>> look.
>>>
>>>
>>>
>>> Charitha Kankanamge
>>> WSO2 Inc.
>>> http://wso2.org
>>> email: chari...@wso2.com
>>> cell: +94 718 359 265
>>> blog: http://charithaka.blogspot.com
>>>
>>>
>>> On Fri, Jan 22, 2010 at 9:21 AM, Lahiru Gunathilake wrote:
>>>
>>>> Hi all,
>>>>
>>>> Please find the carbon 2.0.3 RC2 release packs in here [1] and
>>>> qa-p2-repo at [2].
>>>>
>>>> [1]http://builder.wso2.org/~carbon/releases<http://builder.wso2.org/%7Ecarbon/releases>
>>>> [2]http://builder.wso2.org/~carbon/releases/carbon/2.0.3/RC2/p2-repo/<http://builder.wso2.org/%7Ecarbon/releases/carbon/2.0.3/RC2/p2-repo/>
>>>>
>>>> Regards
>>>> Lahiru
>>>>
>>>> --
>>>> Lahiru Gunathilake
>>>> Software Engineer - WSO2 Inc.
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Yumani Ranaweera
>
> WSO2, Inc. - http://wso2.org
> Email : yum...@wso2.com
>
> Cell: +94 077 7795242
> Blog   : http://yumani.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 2.0.3 RC3 packs for testing

2010-01-24 Thread Nuwan Bandara
Hi,

The date is automatically appended. Since the build was done on 24th it is
appended as 24th

Regards
/Nuwan

On Mon, Jan 25, 2010 at 11:03 AM, Yumani Ranaweera  wrote:

> Hi,
>
> The date in the release notes for GS and MS appears as 24th Jan. Shouldn't
> this be 25th Jan?
>
> Thanks,
> Yumani
>
>
>
>
>
> On Mon, Jan 25, 2010 at 10:54 AM, Samisa Abeysinghe wrote:
>
>> Unless a blocker is hit, can we consider these as final packs.
>>
>> Samisa...
>>
>> On Mon, Jan 25, 2010 at 10:07 AM, Lahiru Gunathilake wrote:
>>
>>> [2]http://builder.wso2.org/~carbon/releases/carbon/2.0.3/RC3/p2-repo/<http://builder.wso2.org/%7Ecarbon/releases/carbon/2.0.3/RC3/p2-repo/>
>>>
>>>
>>> Lahiru
>>>
>>>
>>> On Mon, Jan 25, 2010 at 10:05 AM, Lahiru Gunathilake wrote:
>>>
>>>> Hi all,
>>>>
>>>> Please find the RC3 build packs here[1] and qa-p2-repo[2].
>>>>
>>>> [1]http://builder.wso2.org/~carbon/releases<http://builder.wso2.org/%7Ecarbon/releases>
>>>> [2]http://builder.wso2.org/~carbon/releases/core/RC3<http://builder.wso2.org/%7Ecarbon/releases/core/RC3>
>>>>
>>>>
>>>> Regards
>>>> Lahiru
>>>>
>>>> --
>>>> Lahiru Gunathilake
>>>> Software Engineer - WSO2 Inc.
>>>>
>>>
>>>
>>>
>>> --
>>> Lahiru Gunathilake
>>> Software Engineer - WSO2 Inc.
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Samisa Abeysinghe
>> Director, Engineering - WSO2 Inc.
>>
>> http://www.wso2.com/ - "lean . enterprise . middleware"
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Yumani Ranaweera
> WSO2, Inc. - http://wso2.org
> Email : yum...@wso2.com
> Cell: +94 077 7795242
> Blog   : http://yumani.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Changes to the carbon.ui and dashboard-populator

2010-02-08 Thread Nuwan Bandara
Hi guys,

   1. Because of the Gadget Server has a different index page, once logged
   in to Carbon we had to redirect the user to the custom index, to achieve
   this, in the custom login form you can specify a hidden field/request param
   called "*indexPageUrl*" and submit the form to */admin/login_action.jsp*.
   Necessary changes are done at *CarbonSecuredHttpContext* in carbon.ui
   2. The location of the *Dashboard-populator* is changed. The new svn
   location is
   
https://svn.wso2.org/repos/wso2/trunk/carbon/components/dashboard/org.wso2.carbon.dashboard.dashboardpopulator

Thanks & Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Self-registration and open-id not working

2010-02-09 Thread Nuwan Bandara
Hi,

I have added *self-registration*, *relying-party* and
*identity-core*features to the gadget server product, in-order to get
self registration,
open-id and inforcard up and running. however when trying to self register I
get the following exception.

Exception occurred while trying to invoke service method
readUserFieldsForUserRegistration
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:205)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
...
[2010-02-09 18:03:34,599] ERROR -  Error retrieving UserFiledDTOs for the
dialecthttp://wso2.org/claims
org.apache.axis2.AxisFault: Exception occurred while trying to invoke
service method readUserFieldsForUserRegistration
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508)

and also when trying to invoke *open-id* I get,

 [2010-02-09 18:15:09,850]  INFO -  Verification successful for URI
"#Id-9187047"
[2010-02-09 18:15:09,850]  INFO -  Verification successful for URI
"#Timestamp-1"
[2010-02-09 18:15:09,885] ERROR -  Exception occurred while trying to invoke
service method getOpenIDAuthInfo
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
.
... 33 more
[2010-02-09 18:15:09,996]  INFO -  Verification successful for URI
"#Id-21966335"
[2010-02-09 18:15:10,000]  INFO -  Verification successful for URI
"#Timestamp-3"
[2010-02-09 18:15:10,018] ERROR -  Error ouccured retrieving openid
authnetication information
org.apache.axis2.AxisFault: Exception occurred while trying to invoke
service method getOpenIDAuthInfo
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)

Any idea on where things have gone wrong,

Thanks & Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Product Specific Dashboard

2010-02-09 Thread Nuwan Bandara
Hi guys,

The dashboard menu element, will not come from the dashboard component any
more. you will have to mange this in product level. The best posible
solution is to add the menu defenition to one of your product spesific
bundles. The reason to do this is, to give product specific names to the
dashboard. the menu defenition will be,


dashboard_menu
*(i18 key)*
*(Path to the i18n bundle)*
dashboard_main_menu
../dashboard/index.jsp
 name=*(product-name i.e. bam)*
region1
1
manage
../dashboard/images/dashboard.gif


Thanks & Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Product Specific Dashboard

2010-02-10 Thread Nuwan Bandara
On Wed, Feb 10, 2010 at 1:34 PM, Sumedha Rubasinghe wrote:

> Nuwan,
> I am working on an alternative approach for this problem. This problem is
> applicable to any component.
> So, I think it's best to let products to decide
> - the location a given menu item appears
> - the text to be displayed for this menu item
>
> via product.xml. The default existing behavior will also be supported.
>

+1, yeah the product xml would be ideal. This is simply a workaround for the
existing problem.

/Nuwan

But I still haven't figured out how to support this in the case of features
> added to an existing product.
>
> /sumedha
>
>
> On Wed, Feb 10, 2010 at 12:44 PM, Nuwan Bandara  wrote:
>
>> Hi guys,
>>
>> The dashboard menu element, will not come from the dashboard component any
>> more. you will have to mange this in product level. The best posible
>> solution is to add the menu defenition to one of your product spesific
>> bundles. The reason to do this is, to give product specific names to the
>> dashboard. the menu defenition will be,
>>
>> 
>> dashboard_menu
>> *(i18 key)*
>> *(Path to the i18n bundle)*
>> dashboard_main_menu
>> ../dashboard/index.jsp
>>  name=*(product-name i.e. bam)*
>> region1
>> 1
>> manage
>> ../dashboard/images/dashboard.gif
>> 
>>
>> Thanks & Regards
>> --
>> Nuwan Bandara
>> WSO2 Inc. | http://www.wso2.com
>> email: nu...@wso2.com
>> mob: +94 772 907 484
>> blog: http://www.nuwanbando.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.0 - Iridium - M1 builds

2010-02-10 Thread Nuwan Bandara
Hi,

Couldnt make the port changes, in the M1, will fix it now along with the txt
files.

Regards
/Nuwan

On Thu, Feb 11, 2010 at 9:08 AM, Yumani Ranaweera  wrote:

> Hi,
>
> In M1, GS is starting in port 9443\9763. This needs to switch to 8443\8080.
>
>
>
> Few other minor things noticed are (might not important at this level);
> -In GS, INSTALL.txt, README.txt that appear at the root level of the dist
> are of release 1.0. The release-notes.html appears to be empty.
> -In IS, only the readme.txt is available at the root level. This is also of
> Identity Solution 1.0.
>
>
> *Both the servers (IS and GS) started without a problem. The main UI
> looked fine in FF35.
>
> Thanks,
> Yumani
>
>
> On Thu, Feb 11, 2010 at 8:09 AM, Samisa Abeysinghe wrote:
>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/0M1/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/0M1/>
>>
>> <http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/0M1/>NOTES:
>> 1. bam, bps, ds, ms builds are not yet available due to build failures.
>> Will try to make them available ASAP
>>
>> 2. These packs have not been tested at all. They might not even start up,
>> the rationale of M1 is to find those basic issues.
>>
>> 3. These builds were done against svn revision 54852
>>
>> Thanks,
>> Samisa...
>>
>> --
>> Samisa Abeysinghe
>> Director, Engineering - WSO2 Inc.
>>
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Yumani Ranaweera
> WSO2, Inc. - http://wso2.org
> Email : yum...@wso2.com
> Cell: +94 077 7795242
> Blog   : http://yumani.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Dashboard menu on WSAS

2010-02-11 Thread Nuwan Bandara
Hi,

Please take an update of components/dashboard. I have explain the scenrio in
the mail *[carbon-dev]Product Specific Dashboard*.

Regards
/Nuwan

On Thu, Feb 11, 2010 at 8:16 PM, Tyrell Perera  wrote:

> All carbon products will have a dashboard in the coming release. However,
> adding the menu needs to be done at the product level and I don't think it's
> done in this particular build.
>
> After adding the dashboard feature to your product, you need to add a menu
> link pointing to ../dashboard/index.jsp?name={name-of-the-dashboard}
>
>
> Tyrell
>
>
> On Thu, Feb 11, 2010 at 8:05 PM, Sanjiva Weerawarana wrote:
>
>> Don't we want a dashboard for WSAS too??
>>
>> Sanjiva.n
>>
>> On Thu, Feb 11, 2010 at 7:59 PM, Isuru Suriarachchi wrote:
>>
>>> Hi all,
>>>
>>> I can see the Dashboard menu on WSAS UI. See the attachment. Please fix..
>>>
>>> Thanks,
>>> ~Isuru
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Sanjiva Weerawarana, Ph.D.
>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>> email: sanj...@wso2.com; phone: +1 408 754 7388 x51726; cell: +94 77 787
>> 6880
>> blog: http://sanjiva.weerawarana.org/
>>
>> Lean . Enterprise . Middleware
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Tyrell Perera
> Technical Lead and Product Manager - WSO2 Mashup Server, WSO2 Gadget Server
>
> WSO2, Inc.; http://www.wso2.com/
> "Lean Enterprise Middleware"
>
> http://www.linkedin.com/in/tyrell
> http://tyrellperera.blogspot.com
> http://twitter.com/tyrellperera
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Dashboard menu on WSAS

2010-02-11 Thread Nuwan Bandara
Hello Samisa,

Not yet, but we are planning to create few common gadgets, for all products.
things like server load and some common stats gadgets came up as ideas.

Regards
/Nuwan

On Thu, Feb 11, 2010 at 10:31 PM, Samisa Abeysinghe  wrote:

> Folks, do we have some common gadgets defined that can be used across the
> platform by all products?
>
> Samisa...
>
>
> On Thu, Feb 11, 2010 at 9:30 PM, Nuwan Bandara  wrote:
>
>> Hi,
>>
>> Please take an update of components/dashboard. I have explain the scenrio
>> in the mail *[carbon-dev]Product Specific Dashboard*.
>>
>> Regards
>> /Nuwan
>>
>>
>> On Thu, Feb 11, 2010 at 8:16 PM, Tyrell Perera  wrote:
>>
>>> All carbon products will have a dashboard in the coming release. However,
>>> adding the menu needs to be done at the product level and I don't think it's
>>> done in this particular build.
>>>
>>> After adding the dashboard feature to your product, you need to add a
>>> menu link pointing to ../dashboard/index.jsp?name={name-of-the-dashboard}
>>>
>>>
>>> Tyrell
>>>
>>>
>>> On Thu, Feb 11, 2010 at 8:05 PM, Sanjiva Weerawarana 
>>> wrote:
>>>
>>>> Don't we want a dashboard for WSAS too??
>>>>
>>>> Sanjiva.n
>>>>
>>>> On Thu, Feb 11, 2010 at 7:59 PM, Isuru Suriarachchi wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I can see the Dashboard menu on WSAS UI. See the attachment. Please
>>>>> fix..
>>>>>
>>>>> Thanks,
>>>>> ~Isuru
>>>>>
>>>>> ___
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sanjiva Weerawarana, Ph.D.
>>>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>>>> email: sanj...@wso2.com; phone: +1 408 754 7388 x51726; cell: +94 77
>>>> 787 6880
>>>> blog: http://sanjiva.weerawarana.org/
>>>>
>>>> Lean . Enterprise . Middleware
>>>>
>>>> _______
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Tyrell Perera
>>> Technical Lead and Product Manager - WSO2 Mashup Server, WSO2 Gadget
>>> Server
>>>
>>> WSO2, Inc.; http://www.wso2.com/
>>> "Lean Enterprise Middleware"
>>>
>>> http://www.linkedin.com/in/tyrell
>>> http://tyrellperera.blogspot.com
>>> http://twitter.com/tyrellperera
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Nuwan Bandara
>>
>> WSO2 Inc. | http://www.wso2.com
>> email: nu...@wso2.com
>> mob: +94 772 907 484
>> blog: http://www.nuwanbando.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Dashboard menu on WSAS

2010-02-11 Thread Nuwan Bandara
Hello Senaka,

Yeah, you only need to add three features to your product build,

   1. org.wso2.carbon.dashboard.server.feature
   2. org.wso2.carbon.dashboard.ui.feature
   3. org.wso2.carbon.dashboard.dashboardpopulator.server.feature

You also have to modify the dashboard.xml file appropriately since we have
changed the registry paths, where the gadgets are saved etc. You can get the
dashboard.xml from BAM as an example in-order to change the file.

Regards
/Nuwan

On Thu, Feb 11, 2010 at 11:07 PM, Senaka Fernando  wrote:

> Hi Nuwan,
>
> We also need to add the dashboard to G-Reg (I temporarily removed this due
> to inconsistencies in the code on the G-Reg side). But, before we do that,
> we need to get rid of the old G-Reg code that was responsible of creating
> the infrastructure, which I believe is no longer needed. Assuming I make use
> of no old code, what do we need to get the dashboard to show up in G-Reg in
> addition to adding the features and the menu item configuration?
>
> Thanks,
> Senaka.
>
>
> On Thu, Feb 11, 2010 at 10:51 PM, Nuwan Bandara  wrote:
>
>> Hello Samisa,
>>
>> Not yet, but we are planning to create few common gadgets, for all
>> products. things like server load and some common stats gadgets came up as
>> ideas.
>>
>> Regards
>> /Nuwan
>>
>> On Thu, Feb 11, 2010 at 10:31 PM, Samisa Abeysinghe wrote:
>>
>>> Folks, do we have some common gadgets defined that can be used across the
>>> platform by all products?
>>>
>>> Samisa...
>>>
>>>
>>> On Thu, Feb 11, 2010 at 9:30 PM, Nuwan Bandara  wrote:
>>>
>>>> Hi,
>>>>
>>>> Please take an update of components/dashboard. I have explain the
>>>> scenrio in the mail *[carbon-dev]Product Specific Dashboard*.
>>>>
>>>> Regards
>>>> /Nuwan
>>>>
>>>>
>>>> On Thu, Feb 11, 2010 at 8:16 PM, Tyrell Perera  wrote:
>>>>
>>>>> All carbon products will have a dashboard in the coming release.
>>>>> However, adding the menu needs to be done at the product level and I don't
>>>>> think it's done in this particular build.
>>>>>
>>>>> After adding the dashboard feature to your product, you need to add a
>>>>> menu link pointing to ../dashboard/index.jsp?name={name-of-the-dashboard}
>>>>>
>>>>>
>>>>> Tyrell
>>>>>
>>>>>
>>>>> On Thu, Feb 11, 2010 at 8:05 PM, Sanjiva Weerawarana >>>> > wrote:
>>>>>
>>>>>> Don't we want a dashboard for WSAS too??
>>>>>>
>>>>>> Sanjiva.n
>>>>>>
>>>>>> On Thu, Feb 11, 2010 at 7:59 PM, Isuru Suriarachchi 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I can see the Dashboard menu on WSAS UI. See the attachment. Please
>>>>>>> fix..
>>>>>>>
>>>>>>> Thanks,
>>>>>>> ~Isuru
>>>>>>>
>>>>>>> ___
>>>>>>> Carbon-dev mailing list
>>>>>>> Carbon-dev@wso2.org
>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sanjiva Weerawarana, Ph.D.
>>>>>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>>>>>> email: sanj...@wso2.com; phone: +1 408 754 7388 x51726; cell: +94 77
>>>>>> 787 6880
>>>>>> blog: http://sanjiva.weerawarana.org/
>>>>>>
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>> ___
>>>>>> Carbon-dev mailing list
>>>>>> Carbon-dev@wso2.org
>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Tyrell Perera
>>>>> Technical Lead and Product Manager - WSO2 Mashup Server, WSO2 Gadget
>>>>> Server
>>>>>
>>>>> WSO2, Inc.; http://www.wso2.com/
>>>>> "Lean Enterprise Middleware"
>>>>>
>>>>> http://www.linkedi

Re: [Carbon-dev] Dashboard menu on WSAS

2010-02-11 Thread Nuwan Bandara
Hello Lahiru,

Can we arrange a meeting, to get an idea regarding the gadget framework
which is in-development. The proposal is to ship the framework with the
dashboard.

Regards
/Nuwan

On Fri, Feb 12, 2010 at 11:57 AM, Lahiru Priyadarshana wrote:

> Hi,
>
> Well, AFAIK, if we are gonna use the existing (BAM) flash gadgets we might
> have to use the same data pattern that we are using in BAM. This is because
> we do all the data processing inside the flash/flex gadget itself. However,
> the data source wouldn't be an issue if we can use the gadget framework. The
> presentation is separated from data sources.
>
> -Lahiru Priyadarshana.
>
>
> On Fri, Feb 12, 2010 at 11:51 AM, Samisa Abeysinghe wrote:
>
>>
>>
>> On Fri, Feb 12, 2010 at 11:43 AM, Sumedha Rubasinghe wrote:
>>
>>>
>>>
>>> On Fri, Feb 12, 2010 at 11:38 AM, Samisa Abeysinghe wrote:
>>>
>>>>
>>>>
>>>> On Fri, Feb 12, 2010 at 9:49 AM, Sumedha Rubasinghe 
>>>> wrote:
>>>>
>>>>> On Fri, Feb 12, 2010 at 9:44 AM, Tyrell Perera wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Feb 12, 2010 at 9:20 AM, Sumedha Rubasinghe >>>>> > wrote:
>>>>>>
>>>>>>> On Thu, Feb 11, 2010 at 10:31 PM, Samisa Abeysinghe >>>>>> > wrote:
>>>>>>>
>>>>>>>> Folks, do we have some common gadgets defined that can be used
>>>>>>>> across the platform by all products?
>>>>>>>
>>>>>>>
>>>>>>> During the discussions we had with-in DS team to identify gadgets for
>>>>>>> Data Services Server, we identified following common gadget ideas. I 
>>>>>>> believe
>>>>>>> having these written would benefit more than one product.
>>>>>>>
>>>>>>> 1. Service Name, Operation & success, failure counts per operation
>>>>>>> 2. Average Response time per operation
>>>>>>> 3. Service/Operation call breakdown per caller
>>>>>>> 4. Service/operation call breakdown per domain/IP
>>>>>>> 5. Average payload size per operation, per caller
>>>>>>> 6. Average response size per operation
>>>>>>>
>>>>>>
>>>>>> I think these Gadgets are BAM. I know some are already in place
>>>>>> because their first incarnations were written by me :)
>>>>>>
>>>>>
>>>>> Yes.. But can other products use those gadgets without having BAM data
>>>>> services in place ?
>>>>>
>>>>
>>>> In theory yes, because presentation is a separate concern form pulling
>>>> data. If the BAM gadget framework is not designed like that, then it is a
>>>> bug, and we need to fix that.
>>>>
>>>
>>> No.. my concern was... this means we cannot fully use the BAM gadget..
>>> only the UI part can be used... someone need to implement a similar service
>>> to get data into gadgets. What this means is.. there is work left to get
>>> those gadgets working on other products
>>>
>>
>> Yes, I am talking about presentation - that should not be re-done -
>> services that feeds data needs to be done, and BAM services cannot be used
>> there. But those again, are more or less there. As you have to use
>> components such as stats. You can use stat component's services to pull
>> almost all data given above. Even for ESB, they can re-use mediation stat
>> component's services.
>>
>> Samisa...
>>
>>>
>>> /sumedha
>>>
>>>
>>>
>>>>
>>>> Samisa...
>>>>
>>>>
>>>>>
>>>>> /sumedha
>>>>>
>>>>>>
>>>>>> 7. Currently logged in users to system (similar to `finger` command)
>>>>>>>
>>>>>>
>>>>>> This seems like an interesting and general purpose gadget to have.
>>>>>>
>>>>>> Tyrell
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Kalpanie is in the process of writing 2 DS specific gadgets.
>>>>>>> 1. How globally defined data sources are used in Data Services &
>>>>>>> status of connection with these data sources
>>&

Re: [Carbon-dev] Error when installing dashboard features to G-Reg

2010-02-14 Thread Nuwan Bandara
---
> [INFO] Total time: 31 seconds
> [INFO] Finished at: Sun Feb 14 18:33:36 IST 2010
> [INFO] Final Memory: 12M/74M
> [INFO]
> 
>
>
>
> Regards,
>
> Tharindu
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Dashboard not getting populated

2010-02-16 Thread Nuwan Bandara
Hi Tharindu,

I think the problem is at from the registry side. The registry dump
(dashboard.xml) is not getting restored.

Regards
/Nuwan

On Wed, Feb 17, 2010 at 12:37 PM, Tharindu Mathew  wrote:

> Hi,
>
> I took an update today and the dashboard is not getting populated. Has
> there been a change in the registry checkin client?
>
> Regards,
>
> Tharindu
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Compilation Error in Shindig Orbit bundle.

2010-02-18 Thread Nuwan Bandara
Hi Senaka,

We did a version change in shindig, follow the steps and you should be fine
:)

[1] Take an up of orbit/shindig. build it online.
[2] Take an up of components/dashboard - build it
[3] Take an up of features/dashboard - build it.

Regards
/Nuwan

On Thu, Feb 18, 2010 at 9:15 PM, Senaka Fernando  wrote:

> When I took an svn update and did an online build, I got this error.
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) org.apache.shindig:shindig-features:jar:r910768
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.apache.shindig
> -DartifactId=shindig-features -Dversion=r910768 -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>   mvn deploy:deploy-file -DgroupId=org.apache.shindig
> -DartifactId=shindig-features -Dversion=r910768 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>   2) org.apache.shindig:shindig-features:jar:r910768
>
> 2) org.apache.shindig:shindig-common:jar:r910768
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.apache.shindig
> -DartifactId=shindig-common -Dversion=r910768 -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>   mvn deploy:deploy-file -DgroupId=org.apache.shindig
> -DartifactId=shindig-common -Dversion=r910768 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>   2) org.apache.shindig:shindig-common:jar:r910768
>
> 3) org.apache.shindig:shindig-gadgets:jar:r910768
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.apache.shindig
> -DartifactId=shindig-gadgets -Dversion=r910768 -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>   mvn deploy:deploy-file -DgroupId=org.apache.shindig
> -DartifactId=shindig-gadgets -Dversion=r910768 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>   2) org.apache.shindig:shindig-gadgets:jar:r910768
>
> 4) org.apache.shindig:shindig-social-api:jar:r910768
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.apache.shindig
> -DartifactId=shindig-social-api -Dversion=r910768 -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>   mvn deploy:deploy-file -DgroupId=org.apache.shindig
> -DartifactId=shindig-social-api -Dversion=r910768 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>   2) org.apache.shindig:shindig-social-api:jar:r910768
>
> --
> 4 required artifacts are missing.
>
> for artifact:
>   org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>
> from the specified remote repositories:
>   wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
>   central (http://repo1.maven.org/maven2),
>   wso2-maven2-repository (http://dist.wso2.org/maven2),
>   java.net (http://download.java.net/maven/2/),
>   caja (http://google-caja.googlecode.com/svn/maven),
>   oauth (http://oauth.googlecode.com/svn/code/maven),
>   guice (http://guice-maven.googlecode.com/svn/trunk/)
>
>
>
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 7 minutes 26 seconds
> [INFO] Finished at: Thu Feb 18 21:09:07 IST 2010
> [INFO] Final Memory: 22M/329M
> [INFO]
> 
>
> Thanks,
> Senaka.
>
> --
> Senaka Fernando
> Software Engineer
> 

Re: [Carbon-dev] Compilation Error in Shindig Orbit bundle.

2010-02-18 Thread Nuwan Bandara
Hi,

There seems to be a build error. The issue is one of the artifacts haven't
been uploaded to our wso2 repository.
[1] http://dist.wso2.org/maven2/org/apache/shindig/shindig-common/r910768/

@Chamith can you please upload the common jar

Regards
/Nuwan

On Thu, Feb 18, 2010 at 9:20 PM, Nuwan Bandara  wrote:

> Hi Senaka,
>
> We did a version change in shindig, follow the steps and you should be fine
> :)
>
> [1] Take an up of orbit/shindig. build it online.
> [2] Take an up of components/dashboard - build it
> [3] Take an up of features/dashboard - build it.
>
> Regards
> /Nuwan
>
> On Thu, Feb 18, 2010 at 9:15 PM, Senaka Fernando  wrote:
>
>> When I took an svn update and did an online build, I got this error.
>>
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> --
>> 1) org.apache.shindig:shindig-features:jar:r910768
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=org.apache.shindig
>> -DartifactId=shindig-features -Dversion=r910768 -Dpackaging=jar
>> -Dfile=/path/to/file
>>
>>   Alternatively, if you host your own repository you can deploy the file
>> there:
>>   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>> -DartifactId=shindig-features -Dversion=r910768 -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>>   Path to dependency:
>>   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>>   2) org.apache.shindig:shindig-features:jar:r910768
>>
>> 2) org.apache.shindig:shindig-common:jar:r910768
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=org.apache.shindig
>> -DartifactId=shindig-common -Dversion=r910768 -Dpackaging=jar
>> -Dfile=/path/to/file
>>
>>   Alternatively, if you host your own repository you can deploy the file
>> there:
>>   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>> -DartifactId=shindig-common -Dversion=r910768 -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>>   Path to dependency:
>>   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>>   2) org.apache.shindig:shindig-common:jar:r910768
>>
>> 3) org.apache.shindig:shindig-gadgets:jar:r910768
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=org.apache.shindig
>> -DartifactId=shindig-gadgets -Dversion=r910768 -Dpackaging=jar
>> -Dfile=/path/to/file
>>
>>   Alternatively, if you host your own repository you can deploy the file
>> there:
>>   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>> -DartifactId=shindig-gadgets -Dversion=r910768 -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>>   Path to dependency:
>>   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>>   2) org.apache.shindig:shindig-gadgets:jar:r910768
>>
>> 4) org.apache.shindig:shindig-social-api:jar:r910768
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=org.apache.shindig
>> -DartifactId=shindig-social-api -Dversion=r910768 -Dpackaging=jar
>> -Dfile=/path/to/file
>>
>>   Alternatively, if you host your own repository you can deploy the file
>> there:
>>   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>> -DartifactId=shindig-social-api -Dversion=r910768 -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>>   Path to dependency:
>>   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>>   2) org.apache.shindig:shindig-social-api:jar:r910768
>>
>> --
>> 4 required artifacts are missing.
>>
>> for artifact:
>>   org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>>
>> from the specified remote repositories:
>>   wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2
>> ),
>>   central (http://repo1.maven.org/maven2),
>>   wso2-maven2-reposito

Re: [Carbon-dev] Compilation Error in Shindig Orbit bundle.

2010-02-18 Thread Nuwan Bandara
Hi Ruwan,

+1, I'll work on that.

Regards
/Nuwan

On Fri, Feb 19, 2010 at 8:15 AM, Tyrell Perera  wrote:

>
>
> On Fri, Feb 19, 2010 at 2:06 AM, Ruwan Linton  wrote:
>
>> Hi Nuwan,
>>
>> Is this shindig version (r910768) a custom built one by us??
>>
>> If so we need to have the source of that some where, ideally under
>> trunk/carbon/dependencies/shindig
>>
>>
> +1  It would be easier to track our changes, if we get the need to do them.
>
> Tyrell
>
>
>> Thanks,
>> Ruwan
>>
>> Nuwan Bandara wrote:
>> > Hi,
>> >
>> > There seems to be a build error. The issue is one of the artifacts
>> > haven't been uploaded to our wso2 repository.
>> > [1]
>> http://dist.wso2.org/maven2/org/apache/shindig/shindig-common/r910768/
>> >
>> > @Chamith can you please upload the common jar
>> >
>> > Regards
>> > /Nuwan
>> >
>> > On Thu, Feb 18, 2010 at 9:20 PM, Nuwan Bandara > > <mailto:nu...@wso2.com>> wrote:
>> >
>> > Hi Senaka,
>> >
>> > We did a version change in shindig, follow the steps and you
>> > should be fine :)
>> >
>> > [1] Take an up of orbit/shindig. build it online.
>> > [2] Take an up of components/dashboard - build it
>> > [3] Take an up of features/dashboard - build it.
>> >
>> > Regards
>> > /Nuwan
>> >
>> > On Thu, Feb 18, 2010 at 9:15 PM, Senaka Fernando > > <mailto:sen...@wso2.com>> wrote:
>> >
>> > When I took an svn update and did an online build, I got this
>> > error.
>> >
>> > [INFO]
>> >
>> 
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> >
>> 
>> > [INFO] Failed to resolve artifact.
>> >
>> > Missing:
>> > --
>> > 1) org.apache.shindig:shindig-features:jar:r910768
>> >
>> >   Try downloading the file manually from the project website.
>> >
>> >   Then, install it using the command:
>> >   mvn install:install-file -DgroupId=org.apache.shindig
>> > -DartifactId=shindig-features -Dversion=r910768
>> > -Dpackaging=jar -Dfile=/path/to/file
>> >
>> >   Alternatively, if you host your own repository you can
>> > deploy the file there:
>> >   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>> > -DartifactId=shindig-features -Dversion=r910768
>> > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> > -DrepositoryId=[id]
>> >
>> >   Path to dependency:
>> >   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>> >   2) org.apache.shindig:shindig-features:jar:r910768
>> >
>> > 2) org.apache.shindig:shindig-common:jar:r910768
>> >
>> >   Try downloading the file manually from the project website.
>> >
>> >   Then, install it using the command:
>> >   mvn install:install-file -DgroupId=org.apache.shindig
>> > -DartifactId=shindig-common -Dversion=r910768 -Dpackaging=jar
>> > -Dfile=/path/to/file
>> >
>> >   Alternatively, if you host your own repository you can
>> > deploy the file there:
>> >   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>> > -DartifactId=shindig-common -Dversion=r910768 -Dpackaging=jar
>> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> >
>> >   Path to dependency:
>> >   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>> >   2) org.apache.shindig:shindig-common:jar:r910768
>> >
>> > 3) org.apache.shindig:shindig-gadgets:jar:r910768
>> >
>> >   Try downloading the file manually from the project website.
>> >
>> >   Then, install it using the command:
>> >   mvn install:install-file -DgroupId=org.apache.shindig
>> > -DartifactId=shindig-gadgets -Dversion=r910768 -Dpackaging=jar
>> > -Dfile=/path/to/file
>> >
>> >   Alternatively, if you host your own repo

Re: [Carbon-dev] Compilation Error in Shindig Orbit bundle.

2010-02-18 Thread Nuwan Bandara
Hi,

Just to clarify, What is the best way to do this ?, since we used the latest
revision (as of yesterday) and made a wso2 version out of it, would it be
better to do a mvn deploy, or keep it as it is and ignore the checksum
policy check.

Regards
/Nuwan

On Fri, Feb 19, 2010 at 10:04 AM, Lahiru Gunathilake wrote:

> Hi Nuwan,
>
> This is due to having checksumPolicy fail in the orbit parent pom. If are
> just copying jar files to the repo, change the checksum policy of
> orbit-parent pom file to checksumPolicy ignore like
> this  ignore
>
> Lahiru
>
> On Fri, Feb 19, 2010 at 9:23 AM, Nuwan Bandara  wrote:
>
>> Hi Ruwan,
>>
>> +1, I'll work on that.
>>
>> Regards
>> /Nuwan
>>
>>
>> On Fri, Feb 19, 2010 at 8:15 AM, Tyrell Perera  wrote:
>>
>>>
>>>
>>> On Fri, Feb 19, 2010 at 2:06 AM, Ruwan Linton  wrote:
>>>
>>>> Hi Nuwan,
>>>>
>>>> Is this shindig version (r910768) a custom built one by us??
>>>>
>>>> If so we need to have the source of that some where, ideally under
>>>> trunk/carbon/dependencies/shindig
>>>>
>>>>
>>> +1  It would be easier to track our changes, if we get the need to do
>>> them.
>>>
>>> Tyrell
>>>
>>>
>>>> Thanks,
>>>> Ruwan
>>>>
>>>> Nuwan Bandara wrote:
>>>> > Hi,
>>>> >
>>>> > There seems to be a build error. The issue is one of the artifacts
>>>> > haven't been uploaded to our wso2 repository.
>>>> > [1]
>>>> http://dist.wso2.org/maven2/org/apache/shindig/shindig-common/r910768/
>>>> >
>>>> > @Chamith can you please upload the common jar
>>>> >
>>>> > Regards
>>>> > /Nuwan
>>>> >
>>>> > On Thu, Feb 18, 2010 at 9:20 PM, Nuwan Bandara >>> > <mailto:nu...@wso2.com>> wrote:
>>>> >
>>>> > Hi Senaka,
>>>> >
>>>> > We did a version change in shindig, follow the steps and you
>>>> > should be fine :)
>>>> >
>>>> > [1] Take an up of orbit/shindig. build it online.
>>>> > [2] Take an up of components/dashboard - build it
>>>> > [3] Take an up of features/dashboard - build it.
>>>> >
>>>> > Regards
>>>> > /Nuwan
>>>> >
>>>> > On Thu, Feb 18, 2010 at 9:15 PM, Senaka Fernando >>> > <mailto:sen...@wso2.com>> wrote:
>>>> >
>>>> > When I took an svn update and did an online build, I got this
>>>> > error.
>>>> >
>>>> > [INFO]
>>>> >
>>>> 
>>>> > [ERROR] BUILD ERROR
>>>> > [INFO]
>>>> >
>>>> 
>>>> > [INFO] Failed to resolve artifact.
>>>> >
>>>> > Missing:
>>>> > --
>>>> > 1) org.apache.shindig:shindig-features:jar:r910768
>>>> >
>>>> >   Try downloading the file manually from the project website.
>>>> >
>>>> >   Then, install it using the command:
>>>> >   mvn install:install-file -DgroupId=org.apache.shindig
>>>> > -DartifactId=shindig-features -Dversion=r910768
>>>> > -Dpackaging=jar -Dfile=/path/to/file
>>>> >
>>>> >   Alternatively, if you host your own repository you can
>>>> > deploy the file there:
>>>> >   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>>>> > -DartifactId=shindig-features -Dversion=r910768
>>>> > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>>>> > -DrepositoryId=[id]
>>>> >
>>>> >   Path to dependency:
>>>> >   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>>>> >   2) org.apache.shindig:shindig-features:jar:r910768
>>>> >
>>>> > 2) org.apache.shindig:shindig-common:jar:r910768
>>>> >
>>>> >   Try downloading the file manually 

[Carbon-dev] [Carbon-Dev] Operation Management BE - Compilation failure

2010-02-20 Thread Nuwan Bandara
Hi,

I am getting a build error when building carbon components, seems that
*PersistenceManager
class* is not there in *org.wso2.carbon.core.persistence* any more.

[INFO] Building WSO2 Carbon - Operation Management BE
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory
/home/nuwan/dev/Carbon-Platforms/trunk/carbon/components/operation-mgt/org.wso2.carbon.operation.mgt/target
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to
/home/nuwan/dev/Carbon-Platforms/trunk/carbon/components/operation-mgt/org.wso2.carbon.operation.mgt/target/classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/nuwan/dev/Carbon-Platforms/trunk/carbon/components/operation-mgt/org.wso2.carbon.operation.mgt/src/main/java/org/wso2/carbon/operation/mgt/OperationAdmin.java:[47,39]
cannot find symbol
symbol  : class PersistenceManager
location: package org.wso2.carbon.core.persistence

/home/nuwan/dev/Carbon-Platforms/trunk/carbon/components/operation-mgt/org.wso2.carbon.operation.mgt/src/main/java/org/wso2/carbon/operation/mgt/OperationAdmin.java:[68,12]
cannot find symbol
symbol  : class PersistenceManager
location: class org.wso2.carbon.operation.mgt.OperationAdmin

/home/nuwan/dev/Carbon-Platforms/trunk/carbon/components/operation-mgt/org.wso2.carbon.operation.mgt/src/main/java/org/wso2/carbon/operation/mgt/OperationAdmin.java:[71,17]
cannot find symbol
symbol  : class PersistenceManager
location: class org.wso2.carbon.operation.mgt.OperationAdmin


Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Compilation Error in Shindig Orbit bundle.

2010-02-21 Thread Nuwan Bandara
Hi samisa,

I'll get the checksums uploaded soon.

Regards
/Nuwan

On Sun, Feb 21, 2010 at 8:19 PM, Ruwan Linton  wrote:

> Samisa Abeysinghe wrote:
> >
> >
> > On Thu, Feb 18, 2010 at 11:29 PM, Nuwan Bandara  > <mailto:nu...@wso2.com>> wrote:
> >
> > Hi,
> >
> > There seems to be a build error. The issue is one of the artifacts
> > haven't been uploaded to our wso2 repository.
> > [1]
> >
> http://dist.wso2.org/maven2/org/apache/shindig/shindig-common/r910768/
> >
> > @Chamith can you please upload the common jar
> >
> >
> > Is this done? I still get the same error trying to build alpha packs
> >
> > Can you please tell me how to get he build working?
> Change the checksum policy to "ignore" on the orbit root pom.
>
> Thanks,
> Ruwan
> >
> > Samisa...
> >
> >
> >
> > Regards
> > /Nuwan
> >
> >
> > On Thu, Feb 18, 2010 at 9:20 PM, Nuwan Bandara  > <mailto:nu...@wso2.com>> wrote:
> >
> > Hi Senaka,
> >
> > We did a version change in shindig, follow the steps and you
> > should be fine :)
> >
> > [1] Take an up of orbit/shindig. build it online.
> > [2] Take an up of components/dashboard - build it
> > [3] Take an up of features/dashboard - build it.
> >
> > Regards
> > /Nuwan
> >
> > On Thu, Feb 18, 2010 at 9:15 PM, Senaka Fernando
> > mailto:sen...@wso2.com>> wrote:
> >
> > When I took an svn update and did an online build, I got
> > this error.
> >
> > [INFO]
> >
> 
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> 
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > --
> > 1) org.apache.shindig:shindig-features:jar:r910768
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >   mvn install:install-file
> > -DgroupId=org.apache.shindig -DartifactId=shindig-features
> > -Dversion=r910768 -Dpackaging=jar -Dfile=/path/to/file
> >
> >   Alternatively, if you host your own repository you can
> > deploy the file there:
> >   mvn deploy:deploy-file -DgroupId=org.apache.shindig
> > -DartifactId=shindig-features -Dversion=r910768
> > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> > -DrepositoryId=[id]
> >
> >   Path to dependency:
> >   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
> >   2) org.apache.shindig:shindig-features:jar:r910768
> >
> > 2) org.apache.shindig:shindig-common:jar:r910768
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >   mvn install:install-file
> > -DgroupId=org.apache.shindig -DartifactId=shindig-common
> > -Dversion=r910768 -Dpackaging=jar -Dfile=/path/to/file
> >
> >   Alternatively, if you host your own repository you can
> > deploy the file there:
> >   mvn deploy:deploy-file -DgroupId=org.apache.shindig
> > -DartifactId=shindig-common -Dversion=r910768
> > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> > -DrepositoryId=[id]
> >
> >   Path to dependency:
> >   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
> >   2) org.apache.shindig:shindig-common:jar:r910768
> >
> > 3) org.apache.shindig:shindig-gadgets:jar:r910768
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >   mvn install:install-file
> > -DgroupId=org.apache.shindig -DartifactId=shindig-gadgets
> > -Dversion=r910768 -Dpackaging=jar -Dfile=/path/to/file
> >
> >   Alternatively, if you host your own repository you can
> > deploy the file there:
>

Re: [Carbon-dev] Compilation Error in Shindig Orbit bundle.

2010-02-21 Thread Nuwan Bandara
Hi,

Checksums are now uploaded. the shindig build should be fine now. sorry for
the trouble

Regards
/Nuwan

On Sun, Feb 21, 2010 at 9:07 PM, Nuwan Bandara  wrote:

> Hi samisa,
>
> I'll get the checksums uploaded soon.
>
> Regards
> /Nuwan
>
>
> On Sun, Feb 21, 2010 at 8:19 PM, Ruwan Linton  wrote:
>
>> Samisa Abeysinghe wrote:
>> >
>> >
>> > On Thu, Feb 18, 2010 at 11:29 PM, Nuwan Bandara > > <mailto:nu...@wso2.com>> wrote:
>> >
>> > Hi,
>> >
>> > There seems to be a build error. The issue is one of the artifacts
>> > haven't been uploaded to our wso2 repository.
>> > [1]
>> >
>> http://dist.wso2.org/maven2/org/apache/shindig/shindig-common/r910768/
>> >
>> > @Chamith can you please upload the common jar
>> >
>> >
>> > Is this done? I still get the same error trying to build alpha packs
>> >
>> > Can you please tell me how to get he build working?
>> Change the checksum policy to "ignore" on the orbit root pom.
>>
>> Thanks,
>> Ruwan
>> >
>> > Samisa...
>> >
>> >
>> >
>> > Regards
>> > /Nuwan
>> >
>> >
>> > On Thu, Feb 18, 2010 at 9:20 PM, Nuwan Bandara > > <mailto:nu...@wso2.com>> wrote:
>> >
>> > Hi Senaka,
>> >
>> > We did a version change in shindig, follow the steps and you
>> > should be fine :)
>> >
>> > [1] Take an up of orbit/shindig. build it online.
>> > [2] Take an up of components/dashboard - build it
>> > [3] Take an up of features/dashboard - build it.
>> >
>> > Regards
>> > /Nuwan
>> >
>> > On Thu, Feb 18, 2010 at 9:15 PM, Senaka Fernando
>> > mailto:sen...@wso2.com>> wrote:
>> >
>> > When I took an svn update and did an online build, I got
>> > this error.
>> >
>> > [INFO]
>> >
>> 
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> >
>> 
>> > [INFO] Failed to resolve artifact.
>> >
>> > Missing:
>> > --
>> > 1) org.apache.shindig:shindig-features:jar:r910768
>> >
>> >   Try downloading the file manually from the project
>> website.
>> >
>> >   Then, install it using the command:
>> >   mvn install:install-file
>> > -DgroupId=org.apache.shindig -DartifactId=shindig-features
>> > -Dversion=r910768 -Dpackaging=jar -Dfile=/path/to/file
>> >
>> >   Alternatively, if you host your own repository you can
>> > deploy the file there:
>> >   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>> > -DartifactId=shindig-features -Dversion=r910768
>> > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> > -DrepositoryId=[id]
>> >
>> >   Path to dependency:
>> >   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>> >   2) org.apache.shindig:shindig-features:jar:r910768
>> >
>> > 2) org.apache.shindig:shindig-common:jar:r910768
>> >
>> >   Try downloading the file manually from the project
>> website.
>> >
>> >   Then, install it using the command:
>> >   mvn install:install-file
>> > -DgroupId=org.apache.shindig -DartifactId=shindig-common
>> > -Dversion=r910768 -Dpackaging=jar -Dfile=/path/to/file
>> >
>> >   Alternatively, if you host your own repository you can
>> > deploy the file there:
>> >   mvn deploy:deploy-file -DgroupId=org.apache.shindig
>> > -DartifactId=shindig-common -Dversion=r910768
>> > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> > -DrepositoryId=[id]
>> >
>> >   Path to dependency:
>> >   1) org.apache.shindig.wso2:shindig:bundle:1.1.0.wso2v1
>> >   2) org

Re: [Carbon-dev] Errors with latest build of BAM (Dashboard/Unable to handle new service addition.)

2010-02-24 Thread Nuwan Bandara
Hi Ruwan,

Seems its not a dashboard related issue. Seems One of the resources you are
trying to access in not in the registry. (Resource does not exist at path
/_system/config/repository/axis2/service-groups/echo/services/echo/operations/echo).

btw. The tab 0 error can also come, if your request url contains a param
called name= this should be compatible with the registry
resource name. i.e : /_system/config/repository/dashboards/bam then the name
should be "bam". if this is not in place the error can occur.

Regards
/Nuwan

On Thu, Feb 25, 2010 at 12:18 PM, Lahiru Gunathilake wrote:

> Fixed ! Please update core. (registry.core and carbon.utils).
>
> Lahiru
>
> On Thu, Feb 25, 2010 at 12:05 PM, Ruwan Janapriya wrote:
>
>> During startup of the latest build[1] I get the following[2] errors.
>>
>> There are errors related to Dashboard as well. Once logged in, the
>> dashboard doesn't show BAM related tabs and gadgets. Shows the loading
>> screen with the tab - "Tab 0"
>>
>> regards,
>>
>> Janapriya.
>>
>> [1]
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/Thu%20Feb%2025%2005:09:18%20UTC%202010/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/Thu%20Feb%2025%2005:09:18%20UTC%202010/>
>> [2] http://pastebin.com/yn6uKhKj
>>
>> --
>> Ruwan Janapriya
>> Technical Lead - WSO2 Inc.
>>
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Lahiru Gunathilake
> Software Engineer - WSO2 Inc.
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Errors with latest build of BAM (Dashboard/Unable to handle new service addition.)

2010-02-25 Thread Nuwan Bandara
This seems to be an error produced when we have two versions of
google-collections, So far we got this for bam (Since they use Data Services
and Shindig both). we will update the orbit google-collections bundle to the
latest version and test this issue.

Regards
/Nuwan

On Thu, Feb 25, 2010 at 12:47 PM, Ruwan Janapriya wrote:

> Hi Nuwan,
>
> Please see inline comments.
>
> Seems its not a dashboard related issue. Seems One of the resources you are
>> trying to access in not in the registry. (Resource does not exist at path
>> /_system/config/repository/axis2/service-groups/echo/services/echo/operations/echo).
>>
>
> Yup this is not dashboard related. This issue is fixed with the fix
> provided by Lahiru.
>
>
>> btw. The tab 0 error can also come, if your request url contains a param
>> called name= this should be compatible with the registry
>> resource name. i.e : /_system/config/repository/dashboards/bam then the
>> name should be "bam". if this is not in place the error can occur.
>>
>
> Now the issue is reduced to show correct Tabs. However gadgets are missing.
> Please note earlier and now the url contained the "name=bam" correctly.
>
> I am still getting the error (related to shindig)
> http://pastebin.com/S1ENjMXm just after server start.
>
> regards,
>
> Janapriya.
>
>
>> Regards
>> /Nuwan
>>
>>
>> On Thu, Feb 25, 2010 at 12:18 PM, Lahiru Gunathilake wrote:
>>
>>> Fixed ! Please update core. (registry.core and carbon.utils).
>>>
>>> Lahiru
>>>
>>> On Thu, Feb 25, 2010 at 12:05 PM, Ruwan Janapriya wrote:
>>>
>>>> During startup of the latest build[1] I get the following[2] errors.
>>>>
>>>> There are errors related to Dashboard as well. Once logged in, the
>>>> dashboard doesn't show BAM related tabs and gadgets. Shows the loading
>>>> screen with the tab - "Tab 0"
>>>>
>>>> regards,
>>>>
>>>> Janapriya.
>>>>
>>>> [1]
>>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/Thu%20Feb%2025%2005:09:18%20UTC%202010/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/Thu%20Feb%2025%2005:09:18%20UTC%202010/>
>>>> [2] http://pastebin.com/yn6uKhKj
>>>>
>>>> --
>>>> Ruwan Janapriya
>>>> Technical Lead - WSO2 Inc.
>>>>
>>>> http://wso2.com/ - "lean . enterprise . middleware"
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Lahiru Gunathilake
>>> Software Engineer - WSO2 Inc.
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Nuwan Bandara
>> WSO2 Inc. | http://www.wso2.com
>> email: nu...@wso2.com
>> mob: +94 772 907 484
>> blog: http://www.nuwanbando.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Ruwan Janapriya
> Technical Lead - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Errors with latest build of BAM (Dashboard/Unable to handle new service addition.)

2010-02-25 Thread Nuwan Bandara
Hi Guys,

I have made the necessary changes in the shindig and dashboard features as
well.

please take and up of

[1] carbon/orbit/
[2] online build orbit/google-collect
[3] build orbit/shindig
[4] take an svn up of carbon/features/dashboard and build it.
[5] build BAM and test it.

lets hope all will work fine (I test it with GS and the new changes applied
without an issue)

Thanks and regards
/Nuwan

On Thu, Feb 25, 2010 at 3:38 PM, Anjana Fernando  wrote:

> Hello,
>
> I've upgraded the google-collections version to 1.0. The new version
> of the google-collect orbit bundle is '1.0.0.wso2v2'. The usages of
> the bundle are also changed accordingly.
>
> Cheers,
> Anjana.
>
> On Thu, Feb 25, 2010 at 1:31 PM, Nuwan Bandara  wrote:
> > This seems to be an error produced when we have two versions of
> > google-collections, So far we got this for bam (Since they use Data
> Services
> > and Shindig both). we will update the orbit google-collections bundle to
> the
> > latest version and test this issue.
> >
> > Regards
> > /Nuwan
> >
> > On Thu, Feb 25, 2010 at 12:47 PM, Ruwan Janapriya 
> > wrote:
> >>
> >> Hi Nuwan,
> >> Please see inline comments.
> >>>
> >>> Seems its not a dashboard related issue. Seems One of the resources you
> >>> are trying to access in not in the registry. (Resource does not exist
> at
> >>> path
> >>>
> /_system/config/repository/axis2/service-groups/echo/services/echo/operations/echo).
> >>
> >> Yup this is not dashboard related. This issue is fixed with the fix
> >> provided by Lahiru.
> >>
> >>>
> >>> btw. The tab 0 error can also come, if your request url contains a
> param
> >>> called name= this should be compatible with the registry
> >>> resource name. i.e : /_system/config/repository/dashboards/bam then the
> name
> >>> should be "bam". if this is not in place the error can occur.
> >>
> >> Now the issue is reduced to show correct Tabs. However gadgets are
> >> missing. Please note earlier and now the url contained the "name=bam"
> >> correctly.
> >> I am still getting the error (related to
> >> shindig) http://pastebin.com/S1ENjMXm just after server start.
> >>
> >> regards,
> >> Janapriya.
> >>>
> >>> Regards
> >>> /Nuwan
> >>>
> >>> On Thu, Feb 25, 2010 at 12:18 PM, Lahiru Gunathilake 
> >>> wrote:
> >>>>
> >>>> Fixed ! Please update core. (registry.core and carbon.utils).
> >>>> Lahiru
> >>>>
> >>>> On Thu, Feb 25, 2010 at 12:05 PM, Ruwan Janapriya  >
> >>>> wrote:
> >>>>>
> >>>>> During startup of the latest build[1] I get the following[2] errors.
> >>>>> There are errors related to Dashboard as well. Once logged in, the
> >>>>> dashboard doesn't show BAM related tabs and gadgets. Shows the
> loading
> >>>>> screen with the tab - "Tab 0"
> >>>>> regards,
> >>>>> Janapriya.
> >>>>>
> >>>>> [1]
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/Thu%20Feb%2025%2005:09:18%20UTC%202010/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/Thu%20Feb%2025%2005:09:18%20UTC%202010/>
> >>>>> [2] http://pastebin.com/yn6uKhKj
> >>>>> --
> >>>>> Ruwan Janapriya
> >>>>> Technical Lead - WSO2 Inc.
> >>>>>
> >>>>> http://wso2.com/ - "lean . enterprise . middleware"
> >>>>>
> >>>>> ___
> >>>>> Carbon-dev mailing list
> >>>>> Carbon-dev@wso2.org
> >>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Lahiru Gunathilake
> >>>> Software Engineer - WSO2 Inc.
> >>>>
> >>>> ___
> >>>> Carbon-dev mailing list
> >>>> Carbon-dev@wso2.org
> >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Nuwan Bandara
> >>> WSO2 Inc. | http:

[Carbon-dev] Shindig external missing in trunk

2010-03-02 Thread Nuwan Bandara
Hi,

When the recent branching of trunk took place, shindig is missed to be added
as an external.

Regards
-- 
/Nuwan
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Shindig external missing in trunk

2010-03-02 Thread Nuwan Bandara
Sorry, my bad; it was not in the default build profile.

Regards
/Nuwan

On Tue, Mar 2, 2010 at 4:44 PM, Ruwan Linton  wrote:

> Lahiru Gunathilake wrote:
> > Hi Samisa,
> >
> > Shindig is here[1] and we do not have an svn extern to that location
> > from trunk/carbon/dependencies/. So if we checking out from
> > dependencies from trunk and do the build, we do not get it.
> No way!!!, I am 100% sure that I have added the svn:external I have it
> on my machine. Has any one fixed this, if that is not there?
>
> How was it working if shindig was not there?? Build should fail saying
> at the very start if at least one of the deps are not there. :-(
>
> Thanks,
> Ruwan
> >
> > [1]
> https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/dependencies/shindig/
> > Regards
> > Lahiru
> >
> > On Tue, Mar 2, 2010 at 1:50 PM, Samisa Abeysinghe  > <mailto:sam...@wso2.com>> wrote:
> >
> >
> >
> > On Tue, Mar 2, 2010 at 1:47 PM, Nuwan Bandara  > <mailto:nu...@wso2.com>> wrote:
> >
> > Hi,
> >
> > When the recent branching of trunk took place, shindig is
> > missed to be added as an external.
> >
> >
> > oops :( Please fix, and let know. I am about to start alpha4 build.
> >
> > Samisa...
> >
> >
> >
> > Regards
> > --
> > /Nuwan
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
> >
> >
> > --
> > Samisa Abeysinghe
> > Director, Engineering - WSO2 Inc.
> >
> > http://wso2.com/ - "lean . enterprise . middleware"
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
> >
> >
> > --
> > Lahiru Gunathilake
> > Software Engineer - WSO2 Inc.
> > 
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
>
>
> --
> Ruwan Linton
> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
> WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org
> email: ru...@wso2.com; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
>
> Lean . Enterprise . Middleware
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] [carbon-dev]Compilation failure | org.wso2.carbon.utils

2010-03-10 Thread Nuwan Bandara
Hi guys,

I get a compilation failure, when building carbon core.

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/nuwan/dev/Carbon-Platforms/trunk/carbon/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/deployment/Axis2ModuleRegistry.java:[191,38]
unreported exception java.text.ParseException; must be caught or declared to
be thrown


Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Shindig Error at runtime

2010-03-10 Thread Nuwan Bandara
Hi Tharindu,

We fixed this issue few days back, you need to take an svn-up of
dependencies/shindig -> build it, build shindig orbit, take an svn-up of
dashboard -> build it.

that should solve the problem.

Regards
/Nuwan

On Thu, Mar 11, 2010 at 10:43 AM, Tharindu Mathew  wrote:

> Hi everyone,
>
> I get the following error when the dashboard is shown but all the gadgets
> work fine:
>
> SEVERE: Failed to fetch services methods from endpoint
> http://192.168.0.16:9443/social/rpc. Error
> org.apache.http.client.ClientProtocolException
> Mar 11, 2010 9:37:40 AM
> org.apache.shindig.gadgets.render.DefaultServiceFetcher retrieveServices
>
> Regards,
>
> Tharindu
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Registry build break in 3.0.0 branch

2010-03-16 Thread Nuwan Bandara
Hi guys,

am getting a build error in components/registry

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/nuwan/dev/Carbon-Platforms/3.0.0/components/registry/org.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/ResourceService.java:[42,25]
isRegistryReadOnly() in org.wso2.carbon.registry.core.utils.RegistryUtils
cannot be applied to (org.wso2.carbon.registry.core.config.RegistryContext)

/home/nuwan/dev/Carbon-Platforms/3.0.0/components/registry/org.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/ResourceService.java:[68,25]
isRegistryReadOnly() in org.wso2.carbon.registry.core.utils.RegistryUtils
cannot be applied to (org.wso2.carbon.registry.core.config.RegistryContext)

/home/nuwan/dev/Carbon-Platforms/3.0.0/components/registry/org.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/ResourceService.java:[81,25]
isRegistryReadOnly() in org.wso2.carbon.registry.core.utils.RegistryUtils
cannot be applied to (org.wso2.carbon.registry.core.config.RegistryContext)

Am I missing something ?

Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Important] Carbon 3.0.0 branch is frozen from 8.15 PM (LKT) onwards for svn restructuring

2010-03-18 Thread Nuwan Bandara
Hi Milinda,

Am also getting externals issues,

svn: warning: Error handling externals definition for
'components/data-services/3.0.0/org.wso2.carbon.dataservices.core/src/test/resources/bam-wsdls':
svn: warning: URL '
https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.core/src/main/resources/wsdl'
at revision 59980 doesn't exist
svn: warning: Error handling externals definition for
'components/governance/3.0.0/org.wso2.carbon.governance.services.ui/src/main/resources/AddServicesService/CustomLifecyclesChecklistAdminService':
svn: warning: URL '
https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/components/governance/org.wso2.carbon.governance.custom.lifecycles.checklist.ui/src/main/resources/CustomLifecyclesChecklistAdminService'
at revision 59980 doesn't exist
svn: warning: Error handling externals definition for
'components/governance/3.0.0/org.wso2.carbon.governance.notifications.ui/src/main/resources/InfoAdminService':
svn: warning: URL '
https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/components/registry/org.wso2.carbon.registry.info.ui/src/main/resources/InfoAdminService'
at revision 59980 doesn't exist

Regards
/Nuwan

On Fri, Mar 19, 2010 at 12:03 AM, Senaka Fernando  wrote:

> Hi Milinda,
>
> Please fix the svn:externals. I got,
>
> Fetching external item into
> '3.0.0/org.wso2.carbon.governance.notifications.ui/src/main/resources/InfoAdminService'
> svn: URL '
> https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/components/registry/org.wso2.carbon.registry.info.ui/src/main/resources/InfoAdminService'
> doesn't exist
>
> Thanks,
> Senaka.
>
> On Thu, Mar 18, 2010 at 11:23 PM, Milinda Pathirage wrote:
>
>> SVN restructuring was done for carbon components and features. Orbit
>> restructuring will happen on tomorrow morning (19th March 5.00 AM LK Time).
>> Please update your source code(fresh checkout is the best option because
>> there are directory structure changes) before doing any work. And please be
>> kind enough to report any issues with the svn restructuring.
>>
>> Code is unfrozen for commiting till tomorrow 5.00 AM.
>>
>> Thanks
>> Milinda
>>
>>
>> On Thu, Mar 18, 2010 at 8:05 PM, Milinda Pathirage wrote:
>>
>>> $subject. Please don't commit anything to 3.0.0 branch until svn
>>> restructuring is over. I'll send a notification once this is done.
>>>
>>> Thanks
>>> Milinda
>>>
>>> --
>>> Milinda Pathirage
>>> Product Manager, Business Process Server - WSO2 Inc
>>> Blog: http://blog.mpathirage.com
>>>
>>
>>
>>
>> --
>> Milinda Pathirage
>> Product Manager, Business Process Server - WSO2 Inc
>> Blog: http://blog.mpathirage.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Senaka Fernando
> Software Engineer
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Dashboard Related Questions

2010-03-19 Thread Nuwan Bandara
Hi Samisa,

On Fri, Mar 19, 2010 at 4:16 PM, Samisa Abeysinghe  wrote:

>
>
> On Fri, Mar 19, 2010 at 4:06 PM, Ruwan Janapriya wrote:
>
>> Hi Dashboard Devs,
>>
>> Can you please answer the following? Note that these questions
>> are targeting the Dashboard shipped with BAM.
>>
>> 1. Can we have a UI, where users can pick and choose gadgets from a gadget
>> repo? AFAIK, GS has this feature right?
>>
> Yes, you can simply add this component.


> 2. Is there a mechanism to categorize gadgets. Tagging would be ideal. e.g.
>> Gadgets belong to Mediation category.
>>
>
Do you mean inside the repository ? If so we don't have that feature yet.
But since registry resources has tagging. we can easily provide this feature
and show the tag cloud before the gadgets in the gadget repository.

>
> Basically we need to be able to have a hierarchical categorization
> mechanism. e.g.
>
> --> Mediation
>   |--> Endpoint
>   |--> Analytics
>   |--> Proxy
>   |--> Analytics
>
> May be a multiple tagging would also do the job.
>
> Samisa...
>
>
>  as well as a tagging mechanism
>
>> 3. Can we have multiple dashboards in a single product? I believe the
>> answer is yes, but want to confirm.
>>
>
Yes you can have.
You can have another menu item. i.e dashboard2, and  in the URL you should
send the param "name="
of cause we have to do some little work in the dashboard populater.

Regards
/Nuwan


>> Thanks and regards,
>>
>> --
>> Ruwan Janapriya
>> Technical Lead - WSO2 Inc.
>>
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Dashboard Related Questions

2010-03-19 Thread Nuwan Bandara
Hi,

On Fri, Mar 19, 2010 at 4:28 PM, Ruwan Janapriya  wrote:

> Hi Nuwan,
>
> 1. Can we have a UI, where users can pick and choose gadgets from a gadget
>>>> repo? AFAIK, GS has this feature right?
>>>>
>>> Yes, you can simply add this component.
>>
> Great. Will it show a preview, a small description etc..?
>

Yeah you have a thumbnail image, description, URL, user count (number of
users using it) and rating.

>
> Do you mean inside the repository ? If so we don't have that feature yet.
>> But since registry resources has tagging. we can easily provide this feature
>> and show the tag cloud before the gadgets in the gadget repository.
>>
>
> Yeah, I meant that.
>
> thanks and regards,
>
> --
> Ruwan Janapriya
> Technical Lead - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>

Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] SNAPSHOTs on 3.0.0 branch

2010-03-26 Thread Nuwan Bandara
Hi,

GS, snapshot dependencies are removed. also it seems the jibx and jaxb are
not used, hence removed.

Regards
/Nuwan

On Fri, Mar 26, 2010 at 4:19 PM, Isuru Suriarachchi  wrote:

> All SNAPSHOTs are removed except BPS, GS, IS and MS products. Product team
> members, please fix those as well. I wonder why GS, MS and IS needs Axis2
> jibx and jaxb. If those are not needed, please remove those dependencies
> from poms.
>
> Thanks,
> ~Isuru
>
>
> On Fri, Mar 26, 2010 at 12:47 PM, Samisa Abeysinghe wrote:
>
>> And inside features:
>>
>> ./bam-data-publishers/pom.xml:
>>  1.4.0-SNAPSHOT
>> ./mashup/js-services/pom.xml:
>>  1.6.0.wso2v1-SNAPSHOT
>> ./ws-discovery/org.wso2.carbon.discovery.feature/3.0.0/pom.xml:
>>  3.0.0-SNAPSHOT
>> ./rule/org.wso2.carbon.rule.mediator.feature/3.0.0/pom.xml:
>>  1.4.0-SNAPSHOT
>> ./repository/pom.xml:   3.2.0-SNAPSHOT
>> ./repository/pom.xml:
>> 3.5.0-SNAPSHOT
>> ./repository/pom.xml:   1.1.0-SNAPSHOT
>> ./repository/pom.xml:   2.1.0-SNAPSHOT
>> ./mediators/smooks-mediator/3.0.0/pom.xml:
>>  1.2.4.wso2v1-SNAPSHOT
>>
>> and products:
>> ./bps/pom.xml:SNAPSHOT
>> ./bps/pom.xml:SNAPSHOT
>> ./gs/modules/features/pom.xml:
>>  1.6.0.wso2v1-SNAPSHOT
>> ./gs/modules/features/pom.xml:
>>  1.6.0.wso2v1-SNAPSHOT
>> ./is/pom.xml:   Apache Maven2 SNAPSHOTS
>> ./is/modules/distribution/pom.xml:SNAPSHOT
>> ./is/modules/features/pom.xml:
>>  1.6.0.wso2v1-SNAPSHOT
>> ./is/modules/features/pom.xml:
>>  1.6.0.wso2v1-SNAPSHOT
>> ./is/modules/styles/pom.xml:
>>  2.0.0.SNAPSHOT
>> ./pom.xml:WSO2 Maven2 SNAPSHOTS
>> ./esb/modules/distribution/pom.xml:
>>  3.3.0-SNAPSHOT
>> ./esb/modules/distribution/pom.xml:
>>  1.2.4.wso2v1-SNAPSHOT
>> ./ms/pom.xml:SNAPSHOT
>> ./ms/modules/distribution/pom.xml:
>>  
>> ./ms/modules/features/pom.xml:
>>  1.6.0.wso2v1-SNAPSHOT
>> ./ms/modules/features/pom.xml:
>>  1.6.0.wso2v1-SNAPSHOT
>>
>>
>> Samisa...
>>
>> On Fri, Mar 26, 2010 at 12:41 PM, Samisa Abeysinghe wrote:
>>
>>> Also, inside component:
>>>
>>> ./throttling/org.wso2.carbon.throttle/3.0.0/pom.xml:
>>>  SNAPSHOT
>>> ./throttling/org.wso2.carbon.throttle/3.0.0/pom.xml:
>>>  SNAPSHOT
>>> ./wsdl2form/pom.xml:
>>>  1.6.0.wso2v1-SNAPSHOT
>>> ./wsdl2form/pom.xml:
>>>  1.2.9.wso2v1-SNAPSHOT
>>> ./identity/org.wso2.carbon.identity.samples.oauth/3.0.0/pom.xml:
>>> 2.1.1-SNAPSHOT
>>> ./mashup/pom.xml:
>>> 1.6.0.wso2v1-SNAPSHOT
>>> ./human-task/org.wso2.carbon.human-task.registry.handler/3.0.0/pom.xml:
>>>  1.2.9.wso2v1-SNAPSHOT
>>> ./human-task/org.wso2.carbon.human-task/3.0.0/pom.xml:
>>>  1.2.9.wso2v1-SNAPSHOT
>>> ./mediators/smooks/3.0.0/pom.xml:
>>>  1.2.4.wso2v1-SNAPSHOT
>>>
>>> Samisa...
>>>
>>> On Fri, Mar 26, 2010 at 10:38 AM, Sumedha Rubasinghe 
>>> wrote:
>>>
>>>> Devs,
>>>> Why are we having 'org.apache.axiom.trunk'[1] on orbit? This is
>>>> something redundant. Right?
>>>> And following bundles on orbit seems to be still associated with
>>>> 'SNAPSHOT'.
>>>>
>>>> ./axis2-json/1.6.0.wso2v1-SNAPSHOT/
>>>> ./smooks/1.2.4.wso2v1-SNAPSHOT/
>>>>
>>>> /sumedha
>>>>
>>>> [1]
>>>> https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/orbit/org.apache.axiom.trunk/3.0.0-SNAPSHOT
>>>> _______
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Samisa Abeysinghe
>>> Director, Engineering - WSO2 Inc.
>>>
>>> http://wso2.com/ - "lean . enterprise . middleware"
>>>
>>
>>
>>
>> --
>> Samisa Abeysinghe
>> Director, Engineering - WSO2 Inc.
>>
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
email: nu...@wso2.com
mob: +94 772 907 484
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How do I get to the Management Console from the Portal mode?

2010-04-17 Thread Nuwan Bandara
Hi Senaka,

On Sun, Apr 18, 2010 at 12:16 AM, Senaka Fernando  wrote:

>
>
> On Sun, Apr 18, 2010 at 12:11 AM, Senaka Fernando  wrote:
>
>>
>>
>> On Sun, Apr 18, 2010 at 12:06 AM, Tyrell Perera  wrote:
>>
>>>
>>>
>>> On Sun, Apr 18, 2010 at 12:00 AM, Senaka Fernando wrote:
>>>
>>>> Hi Nuwan,
>>>>
>>>> Once you sign into the Gadget Server management console, you can click
>>>> on the View Portal to get to the Gadget Server portal mode. Now, once I'm 
>>>> in
>>>> the portal, how can I get back to the management console? I of course can
>>>> key in the URL and get back there. But what I'm looking for is a button 
>>>> that
>>>> I could click which takes me back to the management console.
>>>>
>>>>
>>> Portal mode is for non-admin users. There is no need for a user to visit
>>> the admin console. He won't be able to do anything useful there. That's the
>>> reason why there's no point and click way to go there from the portal pages.
>>>
>>
>> Ok, it does make sense.
>>
>> But in this case, I'm the admin. What I was trying to do here is to create
>> a gadget and do some modifications and see how it appears on the portal. So,
>> is there any other way that I can get back to the management console (it is
>> ideal if I can get to the exact registry resource), where I can edit the
>> gadget?
>>
>
> Another option is to bring up a new window/tab when someone clicks on the
> view portal menu option, so that the management console as well as the
> portal can be seen side-by-side.
>

+1, We can implement that. Once the admin clicks the link to portal from mgt
console, we can open up the portal in a new tab.

Regards,
/Nuwan

>
> Thanks,
> Senaka.
>
>>
>> Thanks,
>> Senaka.
>>
>>>
>>>
>>> Tyrell
>>>
>>>
>>>
>>>
>>>> Thanks,
>>>> Senaka.
>>>>
>>>> --
>>>> Senaka Fernando
>>>> Software Engineer
>>>> WSO2 Inc.
>>>> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>>>>
>>>> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Tyrell Perera
>>> Technical Lead and Product Manager - WSO2 Mashup Server, WSO2 Gadget
>>> Server
>>>
>>> WSO2, Inc.; http://www.wso2.com/
>>> "Lean Enterprise Middleware"
>>>
>>> http://www.linkedin.com/in/tyrell
>>> http://tyrellperera.blogspot.com
>>> http://twitter.com/tyrellperera
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Senaka Fernando
>> Software Engineer
>> WSO2 Inc.
>> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>>
>> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>>
>
>
>
> --
> Senaka Fernando
> Software Engineer
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
lean . enterprise . middleware

Cell: +94 77 290 7484
Office: +94 11 268 8451
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Question on Gadget Server INFO log at start-up

2010-04-17 Thread Nuwan Bandara
Yes, we can incorporate the change in the trunk, if there are no objections.
:)

Regards
/Nuwan

On Sun, Apr 18, 2010 at 11:31 AM, Senaka Fernando  wrote:

> Hi all,
>
> I see the following two INFO logs at the start-up of GS.
>
> +
> [2010-04-18 11:17:59,981]  INFO -  Mgt Console URL  :
> https://10.0.0.14:8443/carbon/
> [2010-04-18 11:17:59,981]  INFO -  Gadget Server Default Context :
> http://10.0.0.14:8081/portal
> +
>
> The first log entry is common to all carbon-based products, and points to
> the Management Console. The second one, AFAIU points to the GS portal. So,
> how about calling this *Portal URL* instead of *Gadget Server Default
> Context*?
>
> WDYT?
>
> Thanks,
> Senaka.
>
> --
> Senaka Fernando
> Software Engineer
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
lean . enterprise . middleware

Cell: +94 77 290 7484
Office: +94 11 268 8451
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build failure in trunk

2010-04-19 Thread Nuwan Bandara
Hi guys,

I am getting a compilation failure while building carbon components in
trunk.

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/nuwan/dev/carbon-platforms/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt/src/main/java/org/wso2/carbon/service/mgt/reports/DeployedServicesReportDataCollector.java:[4,39]
cannot find symbol
symbol  : class ReportDataSource
location: package org.wso2.carbon.reporting.common

/home/nuwan/dev/carbon-platforms/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt/src/main/java/org/wso2/carbon/service/mgt/reports/DeployedServicesReportDataCollector.java:[17,60]
cannot find symbol
symbol: class ReportDataSource
public class DeployedServicesReportDataCollector implements ReportDataSource
{

Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
lean . enterprise . middleware

Cell: +94 77 290 7484
Office: +94 11 268 8451
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build failure in trunk

2010-04-19 Thread Nuwan Bandara
I commented it out and built. now am getting an error in
mediation-initializer, when building the carbon-components default profile;
I have taken an up of dependencies/synapse and have built it.

the trace is

[INFO] Compiling 32 source files to
/home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/target/classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/RegistryBasedSynapseConfigSerializer.java:[214,57]
cannot find symbol
symbol  : method getFileName()
location: interface org.apache.synapse.Startup

/home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/RegistryBasedSynapseConfigBuilder.java:[265,18]
cannot find symbol
symbol  : method setFileName(java.lang.String)
location: interface org.apache.synapse.Startup

/home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/RegistryBasedSynapseConfigBuilder.java:[269,45]
cannot find symbol
symbol  : method getFileName()
location: interface org.apache.synapse.Startup

/home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/persistence/ExecutorStore.java:[45,29]
serializeExecutor(org.apache.synapse.commons.executors.PriorityExecutor,org.apache.axiom.om.OMElement)
has private access in
org.apache.synapse.config.xml.MultiXMLConfigurationSerializer


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 19 seconds
[INFO] Finished at: Mon Apr 19 16:25:49 IST 2010
[INFO] Final Memory: 52M/139M
[INFO]


Regards
/Nuwan


On Mon, Apr 19, 2010 at 4:11 PM, Samisa Abeysinghe  wrote:

> This is reporting component broken with service management.
>
> Samisa...
>
> On Mon, Apr 19, 2010 at 3:50 PM, Nuwan Bandara  wrote:
>
>> Hi guys,
>>
>> I am getting a compilation failure while building carbon components in
>> trunk.
>>
>> [INFO]
>> 
>> [ERROR] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Compilation failure
>>
>> /home/nuwan/dev/carbon-platforms/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt/src/main/java/org/wso2/carbon/service/mgt/reports/DeployedServicesReportDataCollector.java:[4,39]
>> cannot find symbol
>> symbol  : class ReportDataSource
>> location: package org.wso2.carbon.reporting.common
>>
>> /home/nuwan/dev/carbon-platforms/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt/src/main/java/org/wso2/carbon/service/mgt/reports/DeployedServicesReportDataCollector.java:[17,60]
>> cannot find symbol
>> symbol: class ReportDataSource
>> public class DeployedServicesReportDataCollector implements
>> ReportDataSource {
>>
>> Regards
>> --
>> Nuwan Bandara
>> WSO2 Inc. | http://www.wso2.com
>> lean . enterprise . middleware
>>
>> Cell: +94 77 290 7484
>> Office: +94 11 268 8451
>> blog: http://www.nuwanbando.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://www.wso2.com
lean . enterprise . middleware

Cell: +94 77 290 7484
Office: +94 11 268 8451
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build failure in trunk

2010-04-19 Thread Nuwan Bandara
Hi Dimuthu,

Yes that worked. I took a checkout from, synapse trunk and that solved the
problem.

Regards
/Nuwan

On Mon, Apr 19, 2010 at 5:16 PM, Dimuthu Gamage  wrote:

> Hi Nuwan,
> The reason is that the synapse version is wrong, get the checkout from the
> synapse trunk, http://synapse.apache.org/source-repository.html and
> probably the axis2 from the trunk. (It seems the externs are wrong)
>
> Thanks
> Dimuthu
>
>
> On Mon, Apr 19, 2010 at 4:49 PM, Hiranya Jayathilaka wrote:
>
>>
>>
>> On Mon, Apr 19, 2010 at 4:32 PM, Nuwan Bandara  wrote:
>>
>>> I commented it out and built. now am getting an error in
>>> mediation-initializer, when building the carbon-components default profile;
>>> I have taken an up of dependencies/synapse and have built it.
>>>
>>
>>  Works for me. I also checked the Synapse source code for the methods
>> which are reported as being missing. They are in place. Could you please
>> check the source file at
>> dependencies/synapse/modules/core/src/main/java/org/apache/synapse/Startup.java
>> and make sure it contains the getFileName method?
>>
>> Thanks,
>> Hiranya
>>
>>
>>> the trace is
>>>
>>> [INFO] Compiling 32 source files to
>>> /home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/target/classes
>>>
>>> [INFO]
>>> 
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Compilation failure
>>>
>>> /home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/RegistryBasedSynapseConfigSerializer.java:[214,57]
>>> cannot find symbol
>>> symbol  : method getFileName()
>>> location: interface org.apache.synapse.Startup
>>>
>>> /home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/RegistryBasedSynapseConfigBuilder.java:[265,18]
>>> cannot find symbol
>>> symbol  : method setFileName(java.lang.String)
>>> location: interface org.apache.synapse.Startup
>>>
>>> /home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/RegistryBasedSynapseConfigBuilder.java:[269,45]
>>> cannot find symbol
>>> symbol  : method getFileName()
>>> location: interface org.apache.synapse.Startup
>>>
>>> /home/nuwan/dev/carbon-platforms/trunk/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/persistence/ExecutorStore.java:[45,29]
>>> serializeExecutor(org.apache.synapse.commons.executors.PriorityExecutor,org.apache.axiom.om.OMElement)
>>> has private access in
>>> org.apache.synapse.config.xml.MultiXMLConfigurationSerializer
>>>
>>>
>>> [INFO]
>>> 
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> --------
>>> [INFO] Total time: 19 seconds
>>> [INFO] Finished at: Mon Apr 19 16:25:49 IST 2010
>>> [INFO] Final Memory: 52M/139M
>>> [INFO]
>>> 
>>>
>>> Regards
>>> /Nuwan
>>>
>>>
>>>
>>> On Mon, Apr 19, 2010 at 4:11 PM, Samisa Abeysinghe wrote:
>>>
>>>> This is reporting component broken with service management.
>>>>
>>>> Samisa...
>>>>
>>>> On Mon, Apr 19, 2010 at 3:50 PM, Nuwan Bandara  wrote:
>>>>
>>>>> Hi guys,
>>>>>
>>>>> I am getting a compilation failure while building carbon components in
>>>>> trunk.
>>>>>
>>>>> [INFO]
>>>>> 
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ----
>>>>> [INFO] Compilation failure
>>>>>
>>>>> /home/nuwan/dev/c

[Carbon-dev] [carbon-dev] Why do we have SVN externals from trunk/dependencies to branch's dependencies ?

2010-04-19 Thread Nuwan Bandara
Hi Guys,

While building the trunk, I figured out that the dependencies in trunk have
svn externals to carbon 3.0.0 branch's dependencies. is there a particular
reason for this ?
Also it seems that the mediation-initializer in carbon components is not
compatible with our dependency's synapse version (which is coming fron
carbon 3.0.0 dependencies)

Regards
-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://www.wso2.com
lean . enterprise . middleware

Cell: +94 77 290 7484
Office: +94 11 268 8451
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Cannot build GS in trunk due to a missing feature

2010-04-19 Thread Nuwan Bandara
Hi guys,

I am getting a build faliour, when trying to build GS in trunk, due to a
missing feature. Since the build works fine in the branch I assume some
modifications done in the branch are not synced with trunk, The message am
getting is,

!MESSAGE Missing requirement: WSO2 Gadget Server - Style Features
1.1.0.SNAPSHOT (org.wso2.gs.styles.feature.group 1.1.0.SNAPSHOT) requires
'org.wso2.carbon.core.ui.feature.group [3.0.0.SNAPSHOT,3.1.0)' but it could
not be found

Regards
-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

Cell: +94 77 290 7484
Office: +94 11 268 8451
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Cannot build GS in trunk due to a missing feature

2010-04-19 Thread Nuwan Bandara
Sry my bad, taking an svn-up and building the tools/maven/carbon-p2-plugin
solved the issue :)

Regards
/Nuwan

On Tue, Apr 20, 2010 at 10:20 AM, Nuwan Bandara  wrote:

> Hi guys,
>
> I am getting a build faliour, when trying to build GS in trunk, due to a
> missing feature. Since the build works fine in the branch I assume some
> modifications done in the branch are not synced with trunk, The message am
> getting is,
>
> !MESSAGE Missing requirement: WSO2 Gadget Server - Style Features
> 1.1.0.SNAPSHOT (org.wso2.gs.styles.feature.group 1.1.0.SNAPSHOT) requires
> 'org.wso2.carbon.core.ui.feature.group [3.0.0.SNAPSHOT,3.1.0)' but it could
> not be found
>
> Regards
> --
> Nuwan Bandara
> Software Engineer
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>
> Cell: +94 77 290 7484
> Office: +94 11 268 8451
> blog: http://www.nuwanbando.com
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Adding User Kernel Documentation to Products

2010-04-20 Thread Nuwan Bandara
Done for GS

Regards
/Nuwan

On Tue, Apr 20, 2010 at 12:49 PM, Kalpanie Wanigaratne wrote:

> Done in Data Services.
> /Kalpanie
>
>
> On Tue, Apr 20, 2010 at 12:18 PM, Isuru Suriarachchi wrote:
>
>> Done in WSAS.
>>
>> Thanks,
>> ~Isuru
>>
>>
>> On Mon, Apr 19, 2010 at 3:54 PM, Dimuthu Leelarathne 
>> wrote:
>>
>>> Hi all,
>>>
>>> Please add the user-core documentation to your products. This is already
>>> added to WSO2IS.
>>>
>>> 1) Add an svn external and copy the files into xdocs. This is how we did
>>> it for WSO2IS.
>>>
>>> svn propedit svn:externals .
>>> user-core
>>> https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/core/docs/xdoc/user.core/
>>>
>>> 2) Add the admin_guide to your document index.
>>>
>>> 3) Then exclude the sample xmls from being converted to html by maven
>>> site plugin.
>>>>> includeemptydirs="false">
>>> >> dir="../../modules/documentation/src/site">
>>> 
>>> >> name="**/user-mgt-actdir.xml"/>
>>> >> name="**/user-mgt-jdbc.xml"/>
>>> >> name="**/user-mgt-ldap.xml"/>
>>> 
>>> 
>>> >> value="${buildNumber}"/>
>>> 
>>> 
>>>
>>> 4) Straight away copy to the docs distribution. This is how we did it in
>>> WSO2IS
>>>
>>>  
>>>
>>> ../../modules/documentation/src/site/xdoc/user-core
>>>
>>> wso2is-${pom.version}-docs/user-core
>>> 755
>>> 
>>> user-mgt-actdir.xml
>>> user-mgt-jdbc.xml
>>> user-mgt-ldap.xml
>>> 
>>> 
>>>
>>> Thanks,
>>> DimuthuL
>>>
>>> --
>>> WSO2, Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

Cell: +94 77 290 7484
Office: +94 11 268 8451
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] License.txt files for bam, bps, brs, dataservices, gs and ms in prebeta25

2010-04-30 Thread Nuwan Bandara
Done for GS

Regards
/Nuwan

On Fri, Apr 30, 2010 at 5:27 PM, Samisa Abeysinghe  wrote:

> Can we please commit these?
>
> Samisa...
>
>
> On Fri, Apr 30, 2010 at 5:10 PM, Pubudu Gunawardena wrote:
>
>> Hi,
>> The attached zip contains the license.txt files for
>> bam,bps,brs,dataservices,gs and ms in prebeta25.
>>
>> Thanks,
>> Pubudu
>>
> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Paging of a list of items

2010-05-05 Thread Nuwan Bandara
HI,

Yeah IMO, the number of pages are a calculated value, but the items for the
page should be able to manipulate.

Regards
/Nuwan

On Thu, May 6, 2010 at 10:31 AM, Anjana Fernando  wrote:

> Hi,
>
> Just a thought, by looking at the interface, the method
> "setNumberOfPages" .. isn't that suppose to be something like
> "setItemsPerPage", to set the number of items available in a page,
> because since we are setting the list with "set" method, the number of
> pages are suppose to be only queried from the interface.
>
> Cheers,
> Anjana.
>
> On Thu, May 6, 2010 at 10:12 AM, Afkham Azeez  wrote:
> > Hi folks,
> > I have introduced a method into org.wso2.carbon.utils.Utils;
> > /**
> >  * A reusable generic method for doing item paging
> >  *
> >  * @param pageNumber The page required. Page number starts with 0.
> >  * @param sourceList The original list of items
> >  * @param pageable  The type of Pageable item
> >  * @return Returned page
> >  */
> > public static  List doPaging(int pageNumber, List
> sourceList,
> > Pageable pageable) ;
> > This will set & return a page (a sub-list) of items of the sourceList.
> You
> > need to pass in a class implementing org.wso2.carbon.utils.Pageable. This
> > interface is as follows:
> > public interface Pageable {
> > /**
> >  * Get the total number of pages
> >  *
> >  * @return  the total number of pages
> >  */
> > public int getNumberOfPages();
> > /**
> >  * Set the total number of pages
> >  *
> >  * @param numberOfPages The total number of pages
> >  */
> > public void setNumberOfPages(int numberOfPages);
> > /**
> >  * Set the paged items
> >  *
> >  * @param t The collection
> >  * @param  The type of objects in the collection
> >  */
> > public  void set(List t);
> > }
> > Please make sure that you reuse this code to do item paging. This is
> > generally done at the BE.
> > --
> > Afkham Azeez
> > Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.;
> > http://wso2.com, Lean . Enterprise . Middleware
> > Member; Apache Software Foundation; http://www.apache.org/
> > email: az...@wso2.com cell: +94 77 3320919
> > blog: http://blog.afkham.org
> > twitter: http://twitter.com/afkham_azeez
> > linked-in: http://lk.linkedin.com/in/afkhamazeez
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> Anjana Fernando
> Software Engineer
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

Cell: +94 77 290 7484
Office: +94 11 268 8451
blog: http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build breaks at wsdl2code in trunk

2010-05-12 Thread Nuwan Bandara
Hi Guys,

I am getting a compilation failure in trunk when building wsdl2code,

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for
'org.eclipse.osgi:org.eclipse.osgi:pom:3.5.0.v20090311-1300:compile' is
invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to
/home/nuwan/dev/carbon-platforms/trunk/carbon/components/wsdl2code/org.wso2.carbon.modules.wsdl2code/target/classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/nuwan/dev/carbon-platforms/trunk/carbon/components/wsdl2code/org.wso2.carbon.modules.wsdl2code/src/main/java/org/wso2/carbon/wsdl2code/WSDL2Code.java:[238,27]
non-static method deleteDir(java.io.File) cannot be referenced from a static
context

Regards
-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC13

2010-05-12 Thread Nuwan Bandara
Hi,

On Wed, May 12, 2010 at 6:48 PM, Ruchira Wageesha  wrote:

> Hi Samisa,
>
> There are serveral L1 fixes for MS. So MS need to be rebuilt and
> 3.0.0/components/mashup and 3.0.0/products/ms need to be updated.
>

*3.0.0/features/mashup* too I belive :)

Regards
/Nuwan

>
> Thanks,
> Ruchira.
>
> On Wed, May 12, 2010 at 2:55 AM, Samisa Abeysinghe wrote:
>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC13/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC13/>
>>
>> <http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC13/>
>>
>> On Sat, May 8, 2010 at 12:06 PM, Samisa Abeysinghe wrote:
>>
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC12/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC12/>
>>>
>>> <http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC12/>I hope
>>> we will be able to release BRS, GS and MS with these packs.
>>>
>>> Please send an update when smoke tests are completed for each pack.
>>> Rather than waiting till all are complete, lets release whatever becomes
>>> ready to go.
>>>
>>> Thanks,
>>>
>>> Samisa...
>>> --
>>> blog: http://samisa-abeysinghe.blogspot.com/
>>>
>> Samisa...
>> --
>> blog: http://samisa-abeysinghe.blogspot.com/
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] user/role permissions and resource upload

2010-05-21 Thread Nuwan Bandara
Hi guys,

I am in the process of implementing a theme model for Gadget Server. My
requirement is, allowing users to upload a theme bundle and customize the GS
look and feel.

My Approach is, when a self registered user (A user with only login
permissions), logs in to the carbon web console, and try the theme
management UI, he will see several themes (defaults ones, added by the admin
for all users and themes uploaded by the user himself). User themes will be
uploaded to the user's registry space. (i.e :
/users//gadget-server/themes/theme-1)

When implementing the theme upload (a zip file), My initial plan was to use
fileupload/resource servlet provided by the registry.resource component.
However there is a limitation that I cannot user this method, since it users
the ResourceService which needs registry browse permission to access. (self
registered user has only login permissions). IMO a workaround would be to
extend the AbstractFileUploadExecutor class and write my own file upload
servlet, and do the registry put operation.

The other limitation is (which is a blocker for my work) when one user
(User-A) uploads a theme, another user (User-B) should not be able to access
it. hence when I am saving the resource I am authorizing the user to access
(GET) his/her theme location, however it seems at the moment user based
permission is not functioning. After I examined the code
(JDBCAuthorizationManager:133) it only checks for role based permission. So
inorder for a user to access a resource a Role should have appropriate
permission but in my case User-A and User-B are in the same role. Is there a
workaorund for this problem, or am I following the wrong procedure ?

Thanks & Regards
-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] user/role permissions and resource upload

2010-05-21 Thread Nuwan Bandara
Hi Senaka,

On Sat, May 22, 2010 at 10:09 AM, Senaka Fernando  wrote:

> Hi Nuwan,
>
> As we discussed offline on this,
>
> On Fri, May 21, 2010 at 6:19 PM, Nuwan Bandara  wrote:
>
>> Hi guys,
>>
>> I am in the process of implementing a theme model for Gadget Server. My
>> requirement is, allowing users to upload a theme bundle and customize the GS
>> look and feel.
>>
>> My Approach is, when a self registered user (A user with only login
>> permissions), logs in to the carbon web console, and try the theme
>> management UI, he will see several themes (defaults ones, added by the admin
>> for all users and themes uploaded by the user himself). User themes will be
>> uploaded to the user's registry space. (i.e :
>> /users//gadget-server/themes/theme-1)
>>
>> When implementing the theme upload (a zip file), My initial plan was to
>> use fileupload/resource servlet provided by the registry.resource
>> component.  However there is a limitation that I cannot user this method,
>> since it users the ResourceService which needs registry browse permission to
>> access. (self registered user has only login permissions). IMO a workaround
>> would be to extend the AbstractFileUploadExecutor class and write my own
>> file upload servlet, and do the registry put operation.
>>
>
> I believe that the Resource Admin Service and the Resource Upload servlet
> have restricted the uploading of resources to the roles with the permission
> to Browse the Registry for security reasons. Allowing the service to you
> means we are introducing a security hole, and therefore a specific servlet
> that allows just only this operation seems to be the best option at hand.
>

Yes, I developed the servlet in my side and handled the fileupload and made
the registry put via one of my admin services. That solved the issue.

>
>> The other limitation is (which is a blocker for my work) when one user
>> (User-A) uploads a theme, another user (User-B) should not be able to access
>> it. hence when I am saving the resource I am authorizing the user to access
>> (GET) his/her theme location, however it seems at the moment user based
>> permission is not functioning. After I examined the code
>> (JDBCAuthorizationManager:133) it only checks for role based permission. So
>> inorder for a user to access a resource a Role should have appropriate
>> permission but in my case User-A and User-B are in the same role. Is there a
>> workaorund for this problem, or am I following the wrong procedure ?
>>
>
> We haven't yet implemented the concept of ownership, and Dimuthu L is
> working on that. And, also at the moment, we don't quite support the concept
> of user-based permissions for Registry resources. Therefore, you have two
> options.
>
> 1. Create a role per user - which would introduce thousands of roles.
> 2. Use a registry handler to restrict resource access based on the logged
> on user. We should be having something similar for user profiles, IIRC.
>

I am planning to proceed with the second option as we have discussed, I can
manage the user based resource permission from a handler when a user is
requesting for their theme resources.

Thanks & Regards
/Nuwan

>
> Thanks,
> Senaka.
>
>>
>> Thanks & Regards
>> --
>> Nuwan Bandara
>> Software Engineer
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>> http://www.nuwanbando.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Senaka Fernando
> Associate Technical Lead
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon Trunk Does not Build on a Clean Repo

2010-05-28 Thread Nuwan Bandara
Hi Senaka,

I think this is the same issue I had few weeks back.
[carbon-dev] Why do we have SVN externals from trunk/dependencies to
branch's dependencies ?Regards
/Nuwan

On Fri, May 28, 2010 at 8:26 PM, Senaka Fernando  wrote:

> Hi all,
>
> We need to fix the build on the trunk. The versions of dependencies are
> wrong, which is the cause to $subject.
>
> Thanks,
> Senaka.
>
> --
> Senaka Fernando
> Associate Technical Lead
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE deprecated?

2010-06-01 Thread Nuwan Bandara
Hi Anjana,

There are several ways to get the registry, in Dashboard we use two methods
in different contexts,

[1] Via a declarative service we can obtain the registry service (If you
need the registry at bundle startup)

 * @scr.reference name="registry.service"
 * interface="org.wso2.carbon.registry.core.service.RegistryService"
 * cardinality="1..1"
 * policy="dynamic"
 * bind="setRegistryService"
 * unbind="unsetRegistryService"

[2] If its an admin service you can extend that from AbstractAdmin, and
there is a method to obtain the config registry (getConfigSystemRegistry()).

However if both of that doesn't work for you and if you need to get it via
Axis config, I think you can do it the way you have mentioned. even in
AbstractAdmin, its taken as

AbstratcAdmin.java:119 - (Registry)
getAxisConfig().getParameterValue(WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE);

The constant is deprecated IMO, Azeez, suggested to move all the constants
to one Appropriate place, hence there were duplicates found in
RegistryConstants, CarbonConstants and MultitenantConstants.

Regards
/Nuwan

On Tue, Jun 1, 2010 at 10:57 AM, Anjana Fernando  wrote:

> Hi,
>
> It seems that the class "WSO2Constants" has been deprecated. But I
> cannot find the new place where the variable
> "CONFIG_SYSTEM_REGISTRY_INSTANCE" is defined.
> I'm currently getting the specific registry instance using the following,
>
> "axisConfiguration().getParameterValue(WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE)".
> Is there an alternate way to do this? ..
>
> Cheers,
> Anjana.
>
> --
> Anjana Fernando
> Software Engineer
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> _______
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DS component broken on trunk

2010-06-03 Thread Nuwan Bandara
_
> >> >> Carbon-dev mailing list
> >> >> Carbon-dev@wso2.org
> >> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >> >
> >> > Samisa Abeysinghe
> >> > VP Engineering
> >> > WSO2 Inc.
> >> > http://wso2.com
> >> > http://wso2.org
> >> >
> >> > ___
> >> > Carbon-dev mailing list
> >> > Carbon-dev@wso2.org
> >> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Anjana Fernando
> >> Software Engineer
> >> WSO2, Inc.; http://wso2.com
> >> lean.enterprise.middleware
> >>
> >> ___
> >> Carbon-dev mailing list
> >> Carbon-dev@wso2.org
> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
> >
> > --
> > Sanjiva Weerawarana, Ph.D.
> > Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> > email: sanj...@wso2.com; phone: +1 408 754 7388 x51726; cell: +94 77 787
> > 6880 | +1 650 265 8311
> > blog: http://sanjiva.weerawarana.org/
> >
> > Lean . Enterprise . Middleware
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> Anjana Fernando
> Software Engineer
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DS component broken on trunk

2010-06-03 Thread Nuwan Bandara
np :)

Regards
/Nuwan

On Thu, Jun 3, 2010 at 7:24 PM, Sanjiva Weerawarana wrote:

> Oh sorry Nuwan :( yeah I remember now ..
>
> Gettin' old!
>
> Sanjiva.
>
> On Thu, Jun 3, 2010 at 7:03 PM, Nuwan Bandara  wrote:
>
>> Hi,
>>
>> We had a discussion about Jena-ARQ licence in @architecture *([Architect*
>> *ure] rdf/sparql support?**)* some time back when we did a POC for a
>> customer. Data services team is taking that work forward by integrating RDF
>> with data services, I believe Amani will send a detail description about the
>> work which is in planing stage.
>>
>> Regards
>> /Nuwan
>>
>>
>> On Thu, Jun 3, 2010 at 6:10 PM, Anjana Fernando  wrote:
>>
>>> Hi,
>>>
>>> Jena[1] is as what they call a "Symatic Web Framework". It can be used
>>> for querying RDF resources using SPARQL, among other things.
>>>
>>> This was added by Gadget Server folks for adding RDF support, I guess
>>> they created a Mashup Server host object using Jena. We are in the
>>> process of integrating RDF support for Data Services. Amani is
>>> currently working on this.
>>>
>>> [1] http://jena.sourceforge.net/
>>>
>>> Cheers,
>>> Anjana.
>>>
>>> On Thu, Jun 3, 2010 at 5:56 PM, Sanjiva Weerawarana 
>>> wrote:
>>> > Who's Jena and when did she join us and what's her profession?
>>> > Folks when adding new dependencies please send a note to architecture
>>> so
>>> > everyone knows about it.
>>> > Sanjiva.
>>> >
>>> > On Thu, Jun 3, 2010 at 11:24 AM, Anjana Fernando 
>>> wrote:
>>> >>
>>> >> > I built the default profile.
>>> >> > It looks like jena is not there in the root orbit pom at all :(
>>> >>
>>> >> Yeah. I wasn't aware of that. The entry is added now.
>>> >>
>>> >> Cheers,
>>> >> Anjana.
>>> >>
>>> >> On Thu, Jun 3, 2010 at 11:14 AM, Samisa Abeysinghe 
>>> >> wrote:
>>> >> > I built the default profile.
>>> >> > It looks like jena is not there in the root orbit pom at all :(
>>> >> > Samisa...
>>> >> >
>>> >> > On Thu, Jun 3, 2010 at 11:01 AM, Anjana Fernando 
>>> >> > wrote:
>>> >> >>
>>> >> >> Hi,
>>> >> >>
>>> >> >> Seems the Jena orbit bundle is not built. Please build that first
>>> and
>>> >> >> then try to build the DS component. This dependency was added
>>> >> >> yesterday.
>>> >> >>
>>> >> >> Cheers,
>>> >> >> Anjana.
>>> >> >>
>>> >> >> On Thu, Jun 3, 2010 at 10:53 AM, Samisa Abeysinghe <
>>> sam...@wso2.com>
>>> >> >> wrote:
>>> >> >> > [ERROR] BUILD ERROR
>>> >> >> > [INFO]
>>> >> >> >
>>> >> >> >
>>> 
>>> >> >> > [INFO] Failed to resolve artifact.
>>> >> >> > Missing:
>>> >> >> > --
>>> >> >> > 1) com.hp.hpl.jena.wso2:arq:jar:1.0.0.wso2v1
>>> >> >> >   Try downloading the file manually from the project website.
>>> >> >> >   Then, install it using the command:
>>> >> >> >   mvn install:install-file -DgroupId=com.hp.hpl.jena.wso2
>>> >> >> > -DartifactId=arq -Dversion=1.0.0.wso2v1 -Dpackaging=jar
>>> >> >> > -Dfile=/path/to/file
>>> >> >> >   Alternatively, if you host your own repository you can deploy
>>> the
>>> >> >> > file
>>> >> >> > there:
>>> >> >> >   mvn deploy:deploy-file -DgroupId=com.hp.hpl.jena.wso2
>>> >> >> > -DartifactId=arq
>>> >> >> > -Dversion=1.0.0.wso2v1 -Dpackaging=jar -Dfile=/path/to/file
>>> >> >> > -Durl=[url]
>>> >> >> > -DrepositoryId=[id]
>>> >> >> >   Path to dependency:
>>> >> >> > 1)
>>> >> >> >
>>> >> >> >
>>> org.wso2.carbon:org.wso2.carbon.dataservic

Re: [Carbon-dev] [Code Review] 2010/03/24 Gadget Dashboard

2010-06-03 Thread Nuwan Bandara
Hi Azeez,

Due to the release work on 3.0.0 and cloud GS, I could not adopt the major
changes we have discussed. I will be able to complete the rest of tasks by
next week. Completed tasks are as follows.

On Wed, Mar 24, 2010 at 5:39 PM, Ruchira Wageesha  wrote:

>
>- Need proper documentation for creating and configuring dashboard.xml
>
>
>- Structure of dashboard.xml should be easily understandable/readable
>
>
>- Using JSON format for dashboard.xml would not be appropriate, a
>   proper xml structure should be there
>   - Anyway, using JSON for gadgets and xml for the layout might be
>   appropriate
>
> We are planing to replace the entire dashboard.xml model with our coming up
template system. Hence did not invest much time on this, however I will
write a wiki page, for the use of previous dashboard versions.

>
>- Get rid of common bundle
>
> Since this is a major change in dashboard components we postponed this till
the release is done. I will incorporate these changes by next week.

>
>- Need to check whether debug is enabled before logging
>
> Done.

>
>- Exceptions should be properly handled
>
>
>-  Should be able to quickly identify any error with stacktrace and
>   logs
>
> Done, all exceptions are logged with a message and the stack-trace.

>
>-  Logging message should be added to the exception
>
> Done.

>
>-  Exceptions shouldn't be swallowed, if not in any case, should be
>   properly commented the reason
>
> Done.

>
>-  Throwing AxisFault with an error code/message and handing it
>   accordingly
>
> Need to complete, since we had to change most of the dashboard server and
UI bundles, to handle axis faults from the FE, we postponed it till the
release work is over.

>
>- Need to think about distributed nature
>
>
>- Availability of resources should be checked properly before using
>   them.
>
> Done.

>
>- i.e. we should check whether the registry is available and failure
>   conditions should be handled
>
> Done.

>
>- Add a mothod into carbon utils to get backend http port
>
>
>
>
>- Proper coding to avoid unnecessary memory usage.
>
>
>- e.g. defining error message separatly and passing it into the debug()
>   method
>
> Done.

>
>- Using readable variable names
>
>
>- e.g. boolean variable names should start with is, "isNewUser"
>
> Done.

>
>- Using primitive data types where possible as object initiation wastes
>more resources
>
> Done.

>
>- Remove unnecessary parenthesis
>
> Done.

>
>- Extract repetitive codes and use methods instead
>
>
>- both in Java and Javascript
>
> Done.

>
>- Remove redundant varialbes
>
> Done.

>
>- Comments should be added
>
>
>- At Java class declaration(describing the class)
>   - In Javascripts codes
>
> Done.

>
>- Proper coding convension should be followed across the plaltform for
>Javascripts
>
> I reviewed few coding standards on JS, I will send a mail regarding that to
@Archtecture ASAP

>
>
>
>- Get rid of using CDATA in gadgets as it is difficult to validate the
>JS code
>
>
>- Separate JS code into files and use references to those files
>   instead
>
> This should be practised by all gadget developers, in referent product
teams. Gadgets in GS are quite primitives and does not need external JS
links.

>
> *Proposed Features*
>
>- User specific gadget repo (i.e. giving users a registry space to
>store gadgets) and gadget sharing
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>

Thanks & Regards
-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Exception at Server startup

2010-06-04 Thread Nuwan Bandara
Hi guys,

I am getting the following exception while starting the server.

[2010-06-04 12:33:23,146]  WARN -  Error registering a MBean with objectname
' org.apache.axis2:Type=Transport,ConnectorName=tcp-sender ' for JMX
management
javax.management.InstanceAlreadyExistsException:
org.apache.axis2:Type=Transport,ConnectorName=tcp-sender
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at
org.apache.axis2.transport.base.TransportMBeanSupport.register(TransportMBeanSupport.java:91)
at
org.apache.axis2.transport.base.AbstractTransportSender.init(AbstractTransportSender.java:84)
at
org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(ConfigurationContextFactory.java:300)
at
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:231)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:93)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at
org.wso2.carbon.core.init.CarbonServerManager.getClientConfigurationContext(CarbonServerManager.java:480)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:386)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:242)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:100)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)

This is a new trunk built GS. any idea ?

Thanks & regards
-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Code Review] 2010/03/24 Gadget Dashboard

2010-06-04 Thread Nuwan Bandara
Hi,

The Due tasks are completed.

On Fri, Jun 4, 2010 at 11:25 AM, Nuwan Bandara  wrote:

> Hi Azeez,
>
> Due to the release work on 3.0.0 and cloud GS, I could not adopt the major
> changes we have discussed. I will be able to complete the rest of tasks by
> next week. Completed tasks are as follows.
>
>  On Wed, Mar 24, 2010 at 5:39 PM, Ruchira Wageesha wrote:
>
>>
>>- Need proper documentation for creating and configuring dashboard.xml
>>
>>
>>- Structure of dashboard.xml should be easily understandable/readable
>>
>>
>>- Using JSON format for dashboard.xml would not be appropriate, a
>>   proper xml structure should be there
>>   - Anyway, using JSON for gadgets and xml for the layout might be
>>   appropriate
>>
>> We are planing to replace the entire dashboard.xml model with our coming
> up template system. Hence did not invest much time on this, however I will
> write a wiki page, for the use of previous dashboard versions.
>

Done | http://wso2.org/wiki/display/GS/WSO2+Dashboard+Architecture

>
>>- Get rid of common bundle
>>
>> Since this is a major change in dashboard components we postponed this
> till the release is done. I will incorporate these changes by next week.
>

Done.

>
>>- Need to check whether debug is enabled before logging
>>
>>  Done.
>
>>
>>- Exceptions should be properly handled
>>
>>
>>-  Should be able to quickly identify any error with stacktrace and
>>   logs
>>
>> Done, all exceptions are logged with a message and the stack-trace.
>
>>
>>-  Logging message should be added to the exception
>>
>> Done.
>
>>
>>-  Exceptions shouldn't be swallowed, if not in any case, should be
>>   properly commented the reason
>>
>> Done.
>
>>
>>-  Throwing AxisFault with an error code/message and handing it
>>   accordingly
>>
>> Need to complete, since we had to change most of the dashboard server and
> UI bundles, to handle axis faults from the FE, we postponed it till the
> release work is over.
>

Added the necessary changes

>
>>- Need to think about distributed nature
>>
>>
>>- Availability of resources should be checked properly before using
>>   them.
>>
>> Done.
>
>>
>>- i.e. we should check whether the registry is available and failure
>>   conditions should be handled
>>
>> Done.
>
>>
>>- Add a mothod into carbon utils to get backend http port
>>
>> Done

>
>>
>>
>>- Proper coding to avoid unnecessary memory usage.
>>
>>
>>- e.g. defining error message separatly and passing it into the
>>   debug() method
>>
>> Done.
>
>>
>>- Using readable variable names
>>
>>
>>- e.g. boolean variable names should start with is, "isNewUser"
>>
>> Done.
>
>>
>>- Using primitive data types where possible as object initiation
>>wastes more resources
>>
>> Done.
>
>>
>>- Remove unnecessary parenthesis
>>
>> Done.
>
>>
>>- Extract repetitive codes and use methods instead
>>
>>
>>- both in Java and Javascript
>>
>> Done.
>
>>
>>- Remove redundant varialbes
>>
>> Done.
>
>>
>>- Comments should be added
>>
>>
>>- At Java class declaration(describing the class)
>>   - In Javascripts codes
>>
>> Done.
>
>>
>>- Proper coding convension should be followed across the plaltform for
>>Javascripts
>>
>> I reviewed few coding standards on JS, I will send a mail regarding that
> to @Archtecture ASAP
>
>>
>>
>>
>>- Get rid of using CDATA in gadgets as it is difficult to validate the
>>JS code
>>
>>
>>- Separate JS code into files and use references to those files
>>   instead
>>
>> This should be practised by all gadget developers, in referent product
> teams. Gadgets in GS are quite primitives and does not need external JS
> links.
>
>>
>> *Proposed Features*
>>
>>- User specific gadget repo (i.e. giving users a registry space to
>>store gadgets) and gadget sharing
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>

Thanks & Regards
-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Trunk and Synapse trunk

2010-06-08 Thread Nuwan Bandara
Hi,

I faced the same problem few days back. I wanted to change some code in
shindig dependency, but since the externals are still pointing to 3.0.0, I
removed the external entry and copied shindig from branch to trunk and
continued my development on the trunk version.

Regards
/Nuwan

On Wed, Jun 9, 2010 at 6:45 AM, Srinath Perera  wrote:

> Hi All,
>
> Trunk has moved to Synapse trunk, but still our trunk has svn externs
> pointing to our svn version. Shall we fix this? We should not leave
> this kind of inconsistencies. With this, only way to build trunk is to
> find a ESB guy and ask what is wrong. That is how I found the problem
> and wasted hours trying to build before that.
>
> Thanks
> Srinath
>
> --
> 
> Srinath Perera, Ph.D.
>   WSO2 Inc. http://wso2.com
>   Blog: http://srinathsview.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Exception at Server startup

2010-06-16 Thread Nuwan Bandara
Hi guys,

I am still getting this server startup error,

We are at the moment working towards deploying XAware in WSAS (AS), I built
the latest trunk and built wsas, but when starting the server I get,

[2010-06-16 13:41:33,572]  WARN
{org.apache.axis2.transport.base.TransportMBeanSupport} -  Error registering
a MBean with objectname '
org.apache.axis2:Type=Transport,ConnectorName=tcp-sender ' for JMX
management
javax.management.InstanceAlreadyExistsException:
org.apache.axis2:Type=Transport,ConnectorName=tcp-sender
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at
org.apache.axis2.transport.base.TransportMBeanSupport.register(TransportMBeanSupport.java:91)
at
org.apache.axis2.transport.base.AbstractTransportSender.init(AbstractTransportSender.java:84)
at
org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(ConfigurationContextFactory.java:300)
at
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:231)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:93)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at
org.wso2.carbon.core.init.CarbonServerManager.getClientConfigurationContext(CarbonServerManager.java:501)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:404)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:248)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:100)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2010-06-16 13:41:33,574]  INFO
{org.apache.axis2.transport.tcp.TCPTransportSender} -  TCP Sender started

Can this be a build issue in my set up ? Please advise

Thanks & regards
/Nuwan

On Fri, Jun 4, 2010 at 12:05 AM, Nuwan Bandara  wrote:

> Hi guys,
>
> I am getting the following exception while starting the server.
>
> [2010-06-04 12:33:23,146]  WARN -  Error registering a MBean with
> objectname ' org.apache.axis2:Type=Transport,ConnectorName=tcp-sender ' for
> JMX management
> javax.management.InstanceAlreadyExistsException:
> org.apache.axis2:Type=Transport,ConnectorName=tcp-sender
> at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
> at
> com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> at
> org.apache.axis2.transport.base.TransportMBeanSupport.register(TransportMBeanSupport.java:91)
> at
> org.apache.axis2.transport.base.AbstractTransportSender.init(AbstractTransportSender.java:84)
> at
> org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(ConfigurationContextFactory.java:300)
> at
> org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:231)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:93)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
> at
> org.wso2.carbon.core.init.CarbonServerManager.getClientConfigurationContext(CarbonServerManager.java:480)
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:386)
> at
> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerMan

[Carbon-dev] wsdl2java issue

2010-06-21 Thread Nuwan Bandara
Hi

I tried to generate the service code from a wsdl (useing wsas wsdl2code UI)
and then build it soon after using maven, I am getting

/home/nuwan/wso2/FHLB/dev/test/helloworld/src/org/wso2/www/types/Greet.java:[17,16]
org.wso2.www.types.Greet is not abstract and does not override abstract
method
serialize(javax.xml.namespace.QName,org.apache.axiom.om.OMFactory,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
in org.apache.axis2.databinding.ADBBean

/home/nuwan/wso2/FHLB/dev/test/helloworld/src/org/wso2/www/types/Greet.java:[79,23]
org.apache.axis2.databinding.ADBDataSource is abstract; cannot be
instantiated

/home/nuwan/wso2/FHLB/dev/test/helloworld/src/org/wso2/www/types/GreetResponse.java:[17,16]
org.wso2.www.types.GreetResponse is not abstract and does not override
abstract method
serialize(javax.xml.namespace.QName,org.apache.axiom.om.OMFactory,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
in org.apache.axis2.databinding.ADBBean

/home/nuwan/wso2/FHLB/dev/test/helloworld/src/org/wso2/www/types/GreetResponse.java:[79,23]
org.apache.axis2.databinding.ADBDataSource is abstract; cannot be
instantiated

The wsdl I used is the sample helloservice that comes with wsas.

Have i missed something ?

Thanks & regards
-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] wsdl2java issue

2010-06-21 Thread Nuwan Bandara
Yeah it works with 3.2.0, I tried it with a trunk build.

Thanks & Regards
/Nuwan

On Mon, Jun 21, 2010 at 7:37 PM, shelan Perera  wrote:

> Hi,
>
> What is the WSAS version you are using?.Buid successfull when i try with
> WSO2 WSAS 3.2.0.
>
>
> On Tue, Jun 22, 2010 at 5:43 AM, Nuwan Bandara  wrote:
>
>> Hi
>>
>> I tried to generate the service code from a wsdl (useing wsas wsdl2code
>> UI) and then build it soon after using maven, I am getting
>>
>> /home/nuwan/wso2/FHLB/dev/test/helloworld/src/org/wso2/www/types/Greet.java:[17,16]
>> org.wso2.www.types.Greet is not abstract and does not override abstract
>> method
>> serialize(javax.xml.namespace.QName,org.apache.axiom.om.OMFactory,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
>> in org.apache.axis2.databinding.ADBBean
>>
>> /home/nuwan/wso2/FHLB/dev/test/helloworld/src/org/wso2/www/types/Greet.java:[79,23]
>> org.apache.axis2.databinding.ADBDataSource is abstract; cannot be
>> instantiated
>>
>> /home/nuwan/wso2/FHLB/dev/test/helloworld/src/org/wso2/www/types/GreetResponse.java:[17,16]
>> org.wso2.www.types.GreetResponse is not abstract and does not override
>> abstract method
>> serialize(javax.xml.namespace.QName,org.apache.axiom.om.OMFactory,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
>> in org.apache.axis2.databinding.ADBBean
>>
>> /home/nuwan/wso2/FHLB/dev/test/helloworld/src/org/wso2/www/types/GreetResponse.java:[79,23]
>> org.apache.axis2.databinding.ADBDataSource is abstract; cannot be
>> instantiated
>>
>> The wsdl I used is the sample helloservice that comes with wsas.
>>
>> Have i missed something ?
>>
>> Thanks & regards
>> --
>> Nuwan Bandara
>> Software Engineer
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>> http://www.nuwanbando.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Shelan Perera
> Intern
>
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> +94718775031
>
> http://www.shelan.info
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Customizing CSS and translation

2010-06-25 Thread Nuwan Bandara
Hi Victor,

We are planing to add themeing in our next release. It is already implements
in our trunk. You can try it out by checking out the trunk GS.

Regards
/Nuwan

2010/6/25 Víctor Álvarez 

> Hi,
>
> Thanks, i've found the CSS.
>
> the i18n resource files are only on the i18n
> package org.wso2.carbon.i18n-3.0.0.
>
> They are not much Text Strings on these files.
>
> Thanks!
>
>
> On Fri, Jun 25, 2010 at 12:23 PM, Tyrell Perera  wrote:
>
>> Have a look at http://wso2.org/forum/thread/9182 for CSS styling. The
>> i18n resource files are within the bundles as well. Using these files, you
>> can add support to other languages.
>>
>>
>> Tyrell
>>
>> 2010/6/25 Víctor Álvarez 
>>
>>>  Hello,
>>>
>>> I've got to customize the look&feel of Gadget Server by the CSS and
>>> translate the labels.
>>>
>>> I've been working with the standalone server, and i would not like to run
>>> the server from the SRC, where can i find the resource files on the
>>> standalone version? (css, images...)
>>>
>>> Gadget server can be easily translated via language files? or is
>>> hardcoded?
>>>
>>>
>>> Thanks!
>>>
>>> --
>>> Víctor Álvarez
>>> Incoming IT www.incomingIT.com
>>> www.twitter.com/incomingIT
>>> Escribiendo en y sobre Accesibilidad Web:
>>> http://accesibilidad.blogspot.com
>>>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Tyrell Perera
>> Product Manager - WSO2 Mashup Server, WSO2 Gadget Server
>>
>> WSO2, Inc.; http://www.wso2.com/
>> "Lean Enterprise Middleware"
>>
>> http://www.linkedin.com/in/tyrell
>> http://tyrellperera.blogspot.com
>> http://twitter.com/tyrellperera
>>
>>
>> _______
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Víctor Álvarez
> Incoming IT www.incomingIT.com
> www.twitter.com/incomingIT
> Escribiendo en y sobre Accesibilidad Web:
> http://accesibilidad.blogspot.com
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Database backup on Gadget Server

2010-07-13 Thread Nuwan Bandara
Hi Victor,

Gadget Server uses WSO2 Registry (embedded) as its gadget repository, so
what you really need to do is backup the registry database. If you are using
this on a clustered environment I suppose you use GS with a separate
database server (mysql/oracle), so you can simply backup the database and
that will ensure the gadget data will be saved.

For your second question on clustering, the environment should be setup
where all GS nodes taking to one database cluster, where one node will only
have write access and others should be read only.

If you do need a separate backup mechanism you can use WSO2 Governance
Registry(GREG) to be setup with the same database where GS is also connected
to, and use the check-in client [1] that comes with GREG

[1]
http://wso2.org/project/registry/3.0.3/docs/user_guide/checkin_client.html

Regards
/Nuwan



2010/7/13 Víctor Álvarez 

> Hello,
>
> we are trying to know what is the best way to backup the Gadget Server
> database, altough users will be on a external User Store (LDAP) all the
> widgets configuration should be back up.
>
> The scenary is a bitt complex due to the clustering... we might have some
> GS servers configured on cluster, so they will be syncronized automatically
> ??
>
> GS provide some way to backup itself? or we may have to copy periodically
> the content on $GS_PATH$\repository\database in order to have a backup copy?
>
>
> Lot of thanks in advance.
>
> --
> Víctor Álvarez
> Incoming IT www.incomingIT.com
> www.twitter.com/incomingIT
> Escribiendo en y sobre Accesibilidad Web:
> http://accesibilidad.blogspot.com
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Editing the gadgets on a running server

2010-08-01 Thread Nuwan Bandara
Hi Samisa,

Japi's Gadget editor is added to the GS by default (as the registry resource
editor). But it will only be visible for the gadget media type. if not the
default registry text editor can be used.

Regards
/Nuwan

On Sun, Aug 1, 2010 at 11:45 PM, Sumedha Rubasinghe wrote:

>
>
> On Sun, Aug 1, 2010 at 11:14 AM, Senaka Fernando  wrote:
>
>> Hi Samisa,
>>
>> On Sun, Aug 1, 2010 at 10:59 AM, Samisa Abeysinghe wrote:
>>
>>> How can I edit the gadgets in a running server and tune the gadgets the
>>> way I want?
>>
>>
>> IIRC, there was a nice editor added by Japi, which allows you to edit
>> gadgets. There was a discussion, [1] in making this into some UI of the
>> Gadget Server which will help people edit gadgets. I'm not certain of its
>> existence.
>>
>> Also, you should be able to browse the registry, locate the corresponding
>> gadget.xml and edit the source. But, you should be careful about any
>> XML-escaped characters in the gadget.xml, due to [2]. A workaround is to
>> download the resource content, edit it on a text editor and upload the
>> changes. This can be done through the Registry Browser.
>>
>
>
> I used the default registry editor here[3].
> /sumedha
>
>
> [3] http://wso2.org/blog/sumedha/9008#registry-resource-editor
>
>>
>> [1] http://markmail.org/thread/uif6xflqbwqvqde6
>> [2] https://wso2.org/jira/browse/CARBON-7401
>>
>> Thanks,
>> Senaka.
>>
>>>
>>> I am using a data service instance.
>>>
>>> Thanks,
>>> Samisa...
>>>
>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Senaka Fernando
>> Associate Technical Lead
>> WSO2 Inc.
>> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>>
>> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Status Error 500

2010-08-06 Thread Nuwan Bandara
Hi,

Do you get any exceptions in the server console ?

Regards
/Nuwan

On Fri, Aug 6, 2010 at 12:49 PM, Daniel Callejas Albalate
wrote:

>  Hi,
>
>
>
> I’m having a strange behaviour with a gadget server, after a long period of
> inactivity when someone acces to the server get a 500 status error, after
> refreshing the web several times the server begins to run normally. The
> server is running on Amazon EC2.
>
>
>
> Any help?
>
>
>
> Thank you!
>
>
>
> *HTTP Status 500 - *
>  --
>
> *type* Exception report
>
> *message*
>
> *description* *The server encountered an internal error () that prevented
> it from fulfilling this request.*
>
> *exception*
>
> org.apache.jasper.JasperException: Exception in JSP:
> /dashboard/index.jsp:394
>
>
>
> 391:
> out.print("");
>
> 392: for (int i
> = x; i < 4 * ((x / 4) + 1); i++) {
>
> 393: if (i
> >= gadgetUrls.length) break;
>
> 394:
> String[] nameUrlPair = gadgetUrls[i].split(",");
>
> 395: %>
>
> 396:
>
> 397:  name="checkgroup"
>
>
>
>
>
> Stacktrace:
>
>
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
>
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
>
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117)
>
> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:55)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
>
>
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>
>
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>
>
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> *root cause*
>
> java.lang.NullPointerException
>
> org.apache.jsp.dashboard.index_jsp._jspService(index_jsp.java:796)
>
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
>
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117)
>
> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:55)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
>
>
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>
>
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>
>
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
>
>
>
>
>
>
>
> Att,
> Daniel Callejas Albalate
> 
> NexTReT - eBusiness Solutions http://www.nextret.net
> Passeig Bonanova, 9. 08022 Barcelona
> Calle Fortuny, 3 28010 Madrid
> Tf. (+34) 932 541 530 Fx. (+34) 934 175 062
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Status Error 500

2010-08-09 Thread Nuwan Bandara
lve.invoke(ErrorReportValve.java:117)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>
> at java.lang.Thread.run(Unknown Source)
>
> [2010-08-06 07:57:17,435] ERROR -  Servlet.service() for servlet
> bridgeservlet threw exception
> {org.apache.catalina.core.ContainerBase.[carbonEngine].[carbonhost].[/].[bridgeservlet]}
>
> java.lang.NullPointerException
>
> at
> org.apache.jsp.dashboard.index_jsp._jspService(index_jsp.java:796)
>
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>
> at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117)
>
> at
> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:55)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> at
> org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>
> at java.lang.Thread.run(Unknown Source)
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Nuwan Bandara
> *Enviado el:* viernes, 06 de agosto de 2010 9:52
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
> Hi,
>
> Do you get any exceptions in the server console ?
>
> Regards
> /Nuwan
>
> On Fri, Aug 6, 2010 at 12:49 PM, Daniel Callejas Albalate 
> wrote:
>
> Hi,
>
>
>
> I’m having a strange behaviour with a gadget server, after a long period of
> inactivity when someone acces to the server get a 500 status error, after
> refreshing the web several times the server begins

Re: [Carbon-dev] Changes to Gadget Deployer has broken build

2010-08-11 Thread Nuwan Bandara
Hi Senaka,

Sorry I haven't taken an update of core for few weeks, sorry for the
inconvenience.

Regards
/Nuwan

On Wed, Aug 11, 2010 at 11:52 PM, Senaka Fernando  wrote:

> Hi Nuwan,
>
> FYI, it seems that the commit [1] has accidentally reverted a previous fix
> to the same issue. I reapplied the fix in r71869.
>
> [1]
> http://wso2.org/svn/browse/wso2/trunk/carbon/components/dashboard/org.wso2.carbon.dashboard/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java?view=diff&r1=71863&r2=71864&pathrev=71864
>
> Thanks,
> Senaka.
>
> --
> Senaka Fernando
> Associate Technical Lead
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>



-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Status Error 500

2010-08-12 Thread Nuwan Bandara
Hi,

Seems the anonimous data are corrupted, can you clean the cookies and
refresh the portal and check.

Regards
/Nuwan

On Thu, Aug 12, 2010 at 7:49 PM, Daniel Callejas Albalate
wrote:

>  The only error a could see is a JavaScript error in that function
>
>
>
> gadgetserver.showExtraGadgets = function() {
>
> var checkGroup = document.newGadgetForm.checkgroup;
>
> if (checkGroup.length > 0) {
>
> jQuery("#newGadgetsPane").show("slow");
>
> }
>
> };
>
>
>
> The error is that
>
> Error: checkGroup is undefined
>
>
>
> And the line: if (checkGroup.length > 0) {
>
>
>
> But seems a error retrieving data from the db, or at least it seems to me,
> but in the logs there aren’t any error.
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Daniel Callejas Albalate
> *Enviado el:* jueves, 12 de agosto de 2010 15:37
>
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
> Thanks for the help! Now is working almost perfectly. The last thing that
> remains is, the default gadgets aren’t visible and only the gadgets added by
> the user can be viewed and the anonymous users can’t add gadgets the button
> to add gadgets doesn’t respond. Any idea?
>
>
>
> Thanks,
>
> Daniel Callejas
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Senaka Fernando
> *Enviado el:* jueves, 12 de agosto de 2010 10:31
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
>
>
> On Thu, Aug 12, 2010 at 11:42 AM, Tyrell Perera  wrote:
>
>
>
> On Wed, Aug 11, 2010 at 6:11 PM, Daniel Callejas Albalate 
> wrote:
>
> Well, we have a partial workaround. With one server in R/W mode and the
> other on Read Only, the Read only server doesn’t generate more error. With
> that in mind we mount a third server. Now two are in Read only mode, which
> act as front-end, and the last one are in R/W mode an isn’t accessible from
> outside and his only work is to update the DB. Now the two front-end server
> doesn’t generate more 500 errors, but now we have another issue, if we log
> in one of the front-end server and create a new tab or add a gadget this
> changes doesn’t persist only if we make the changes on the R/W server the
> changes are available on the other server. There are some issue with the
> replication of this elements?
>
>
>
>
> This is because of the read-only nodes. You can't use GS nodes with read
> only, they all have to be R/W. You might be able to fix the concurrent
> modification issue by disabling registry versioning.
>
>
> Yep. It seems that all nodes in GS needs to be R/W. To disable versioning
> in Registry, you will have to yet again modify the registry.xml of each
> node. More information can be found at [1]. Please note that you will need
> to start with a fresh database after versioning has been disabled.
>
> Regarding the clustering scenario, I believe that future versions of GS,
> might need to have the possibility of starting against a read-only config
> node.
>
> [1] http://wso2.org/library/tutorials/learning-registry-xml
>
> Thanks,
> Senaka.
>
>
>
> Tyrell
>
>
>
>
>  Thanks!
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Status Error 500

2010-08-12 Thread Nuwan Bandara
No it doesnt seems to be normal. Gadget server populates gadgets when the
server starts up, So in your case if there were errors at startup, that
could result this issue.

Regards
/Nuwan

On Thu, Aug 12, 2010 at 9:06 PM, Daniel Callejas Albalate
wrote:

>  We have clean the cache and tested in 3 different browser with the same
> results.
>
>
>
> Additionally I have launched this query manually and returns 0 rows, it’s
> normal?
>
>
>
> SELECT R.REG_NAME, R.REG_PATH_ID
>
> FROM REG_RESOURCE R, REG_PROPERTY P, REG_RESOURCE_PROPERTY
> RP, REG_PATH PA
>
> WHERE R.REG_VERSION=RP.REG_VERSION
>
> AND P.REG_NAME='unsignedUserGadget'
>
> AND P.REG_VALUE='true'
>
> AND P.REG_ID=RP.REG_PROPERTY_ID
>
> AND PA.REG_PATH_ID=R.REG_PATH_ID
>
>
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Nuwan Bandara
> *Enviado el:* jueves, 12 de agosto de 2010 17:36
>
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
> Hi,
>
> Seems the anonimous data are corrupted, can you clean the cookies and
> refresh the portal and check.
>
> Regards
> /Nuwan
>
> On Thu, Aug 12, 2010 at 7:49 PM, Daniel Callejas Albalate 
> wrote:
>
> The only error a could see is a JavaScript error in that function
>
>
>
> gadgetserver.showExtraGadgets = function() {
>
> var checkGroup = document.newGadgetForm.checkgroup;
>
> if (checkGroup.length > 0) {
>
> jQuery("#newGadgetsPane").show("slow");
>
> }
>
> };
>
>
>
> The error is that
>
> Error: checkGroup is undefined
>
>
>
> And the line: if (checkGroup.length > 0) {
>
>
>
> But seems a error retrieving data from the db, or at least it seems to me,
> but in the logs there aren’t any error.
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Daniel Callejas Albalate
> *Enviado el:* jueves, 12 de agosto de 2010 15:37
>
>
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
> Thanks for the help! Now is working almost perfectly. The last thing that
> remains is, the default gadgets aren’t visible and only the gadgets added by
> the user can be viewed and the anonymous users can’t add gadgets the button
> to add gadgets doesn’t respond. Any idea?
>
>
>
> Thanks,
>
> Daniel Callejas
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Senaka Fernando
> *Enviado el:* jueves, 12 de agosto de 2010 10:31
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
>
>
> On Thu, Aug 12, 2010 at 11:42 AM, Tyrell Perera  wrote:
>
>
>
> On Wed, Aug 11, 2010 at 6:11 PM, Daniel Callejas Albalate 
> wrote:
>
> Well, we have a partial workaround. With one server in R/W mode and the
> other on Read Only, the Read only server doesn’t generate more error. With
> that in mind we mount a third server. Now two are in Read only mode, which
> act as front-end, and the last one are in R/W mode an isn’t accessible from
> outside and his only work is to update the DB. Now the two front-end server
> doesn’t generate more 500 errors, but now we have another issue, if we log
> in one of the front-end server and create a new tab or add a gadget this
> changes doesn’t persist only if we make the changes on the R/W server the
> changes are available on the other server. There are some issue with the
> replication of this elements?
>
>
>
>
> This is because of the read-only nodes. You can't use GS nodes with read
> only, they all have to be R/W. You might be able to fix the concurrent
> modification issue by disabling registry versioning.
>
>
> Yep. It seems that all nodes in GS needs to be R/W. To disable versioning
> in Registry, you will have to yet again modify the registry.xml of each
> node. More information can be found at [1]. Please note that you will need
> to start with a fresh database after versioning has been disabled.
>
> Regarding the clustering scenario, I believe that future versions of GS,
> might need to have the possibility of starting against a read-only config
> node.
>
> [1] http://wso2.org/library/tutorials/learning-registry-xml
>
> Thanks,
> Senaka.
>
>
>
> Tyrell
>
>
>
>
>  Thanks!
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
>
>
> --
> Nuwan Bandara
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>
> http://www.nuwanbando.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Status Error 500

2010-08-12 Thread Nuwan Bandara
We will try to reproduce the issue at our end, and will let you know more
information about it.

Regards
/Nuwan

On Thu, Aug 12, 2010 at 10:08 PM, Daniel Callejas Albalate
wrote:

>  Making some tests i think the problem is with the scripts witch populate
> the gadget server.
>
> With the versioning activated the anonymous users see the default gadgets
> and can add but when I deactivate the versioning and create a fresh database
> then they can see the default gadgets and can’t add. Other test I do is use
> a DB created with the versioning activated and then deactivate the
> versioning and restart the server, then a anonymous user see gadget, with
> many errors, and can add, more or less.
>
>
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Daniel Callejas Albalate
> *Enviado el:* jueves, 12 de agosto de 2010 18:02
>
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
> At the startup all seems normal, i attach the log showed when I made the
> last “wso2server.sh –Dsetup”
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Nuwan Bandara
> *Enviado el:* jueves, 12 de agosto de 2010 17:48
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
> No it doesnt seems to be normal. Gadget server populates gadgets when the
> server starts up, So in your case if there were errors at startup, that
> could result this issue.
>
> Regards
> /Nuwan
>
> On Thu, Aug 12, 2010 at 9:06 PM, Daniel Callejas Albalate 
> wrote:
>
> We have clean the cache and tested in 3 different browser with the same
> results.
>
>
>
> Additionally I have launched this query manually and returns 0 rows, it’s
> normal?
>
>
>
> SELECT R.REG_NAME, R.REG_PATH_ID
>
> FROM REG_RESOURCE R, REG_PROPERTY P, REG_RESOURCE_PROPERTY
> RP, REG_PATH PA
>
> WHERE R.REG_VERSION=RP.REG_VERSION
>
> AND P.REG_NAME='unsignedUserGadget'
>
> AND P.REG_VALUE='true'
>
> AND P.REG_ID=RP.REG_PROPERTY_ID
>
> AND PA.REG_PATH_ID=R.REG_PATH_ID
>
>
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Nuwan Bandara
> *Enviado el:* jueves, 12 de agosto de 2010 17:36
>
>
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
> Hi,
>
> Seems the anonimous data are corrupted, can you clean the cookies and
> refresh the portal and check.
>
> Regards
> /Nuwan
>
> On Thu, Aug 12, 2010 at 7:49 PM, Daniel Callejas Albalate 
> wrote:
>
> The only error a could see is a JavaScript error in that function
>
>
>
> gadgetserver.showExtraGadgets = function() {
>
> var checkGroup = document.newGadgetForm.checkgroup;
>
> if (checkGroup.length > 0) {
>
> jQuery("#newGadgetsPane").show("slow");
>
> }
>
> };
>
>
>
> The error is that
>
> Error: checkGroup is undefined
>
>
>
> And the line: if (checkGroup.length > 0) {
>
>
>
> But seems a error retrieving data from the db, or at least it seems to me,
> but in the logs there aren’t any error.
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Daniel Callejas Albalate
> *Enviado el:* jueves, 12 de agosto de 2010 15:37
>
>
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
> Thanks for the help! Now is working almost perfectly. The last thing that
> remains is, the default gadgets aren’t visible and only the gadgets added by
> the user can be viewed and the anonymous users can’t add gadgets the button
> to add gadgets doesn’t respond. Any idea?
>
>
>
> Thanks,
>
> Daniel Callejas
>
>
>
> *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
> nombre de *Senaka Fernando
> *Enviado el:* jueves, 12 de agosto de 2010 10:31
> *Para:* carbon-dev@wso2.org
> *Asunto:* Re: [Carbon-dev] Status Error 500
>
>
>
>
>
> On Thu, Aug 12, 2010 at 11:42 AM, Tyrell Perera  wrote:
>
>
>
> On Wed, Aug 11, 2010 at 6:11 PM, Daniel Callejas Albalate 
> wrote:
>
> Well, we have a partial workaround. With one server in R/W mode and the
> other on Read Only, the Read only server doesn’t generate more error. With
> that in mind we mount a third server. Now two are in Read only mode, which
> act as front-end, and the last one are in R/W mode an isn’t accessible from
> outside and h

Re: [Carbon-dev] Fatal Error on Identity Server

2010-08-13 Thread Nuwan Bandara
When do you get this exception? at server startup or when you are doing a
certain operation ? more information would be helpful.

Regards
/Nuwan

On Fri, Aug 13, 2010 at 4:51 PM, Daniel Callejas Albalate
wrote:

>  Hi,
>
>
>
> I’m getting a Fatal Error on Identity Server. But, despite the error the
> server seems to work well. It’s a cluster configuration of two server,
> connected to the same MySql Database shared with a cluster of Gadget
> Servers.
>
>
>
> [2010-08-05 10:12:51,450] FATAL - Failed to add the root collection to the
> coreRegistry.
>
>
>
> thanks
>
>
>
> Att,
> Daniel Callejas Albalate
> 
> NexTReT - eBusiness Solutions http://www.nextret.net
> Passeig Bonanova, 9. 08022 Barcelona
> Calle Fortuny, 3 28010 Madrid
> Tf. (+34) 932 541 530 Fx. (+34) 934 175 062
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build error in dashboard component

2010-08-16 Thread Nuwan Bandara
Hi Anjana,

Should be fine now. sorry for the trouble.

Regards
/Nuwan

On Tue, Aug 17, 2010 at 6:38 AM, Anjana Fernando  wrote:

> Hi,
>
> When building the dashboard component in the 3.0.0/3.0.1 branch .. I'm
> getting the following build error [1]. Seems it's referring to some
> components with version 3.0.2, which are not there.
>
> [1] http://pastebin.com/xnvK4RHU
>
> Cheers,
> Anjana.
>
> --
> Anjana Fernando
> Software Engineer
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Failure in Dashboard BE in Carbon 3.0.1 branch

2010-08-26 Thread Nuwan Bandara
Hi Asela,

It should be fixed now :) sorry for the trouble. I have missed to commit a
property in components root pom

Regards
/Nuwan

On Thu, Aug 26, 2010 at 4:31 PM, Asela Pathberiya  wrote:

> Hi,
>
> Following compilation error, building
> components/dashboard/org.wso2.carbon.dashboard.
>
> [ERROR] BUILD FAILURE
> [INFO]
> 
> [INFO] Compilation failure
>
> /home/carbon/carbon-3.0.0/carbon/components/dashboard/org.wso2.carbon.dashboard/3.0.2/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[196,34]
> cannot find symbol
> symbol  : method formatPath(java.lang.String)
> location: class org.wso2.carbon.application.deployer.AppDeployerUtils
>
> /home/carbon/carbon-3.0.0/carbon/components/dashboard/org.wso2.carbon.dashboard/3.0.2/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[198,48]
> APP_UNZIP_DIR has private access in
> org.wso2.carbon.application.deployer.AppDeployerUtils
>
> Thanks,
> Asela.
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Issue on Carbon core 3.0.1 startup

2010-09-01 Thread Nuwan Bandara
I got the same issue, when building GS, -Dsetup works,

but this doesnt happen when i build the product in the builder machine.

Regards
/Nuwan

On Wed, Sep 1, 2010 at 5:36 PM, Amila Jayasekara  wrote:

> Hi,
>I will look into this issue.
> Thanks
> AmilaJ
>
> Rajika Kumarasiri wrote:
> > I faced with the same issue.
> >
> > Rajika
> >
> > On Wed, Sep 1, 2010 at 5:19 PM, Isuru Suriarachchi  > <mailto:is...@wso2.com>> wrote:
> >
> > Hi all,
> >
> > I'm getting the following DB creation issue on Carbon core 3.0.1
> > startup..
> >
> > [2010-09-01 17:12:42,714] ERROR -  Database Error - Table
> > UM_DIALECT not found; SQL statement:
> > SELECT COUNT(UM_ID) FROM UM_DIALECT WHERE UM_TENANT_ID=? [42102-112]
> > org.h2.jdbc.JdbcSQLException: Table UM_DIALECT not found; SQL
> > statement:
> > SELECT COUNT(UM_ID) FROM UM_DIALECT WHERE UM_TENANT_ID=? [42102-112]
> > at org.h2.message.Message.getSQLException(Message.java:107)
> > at org.h2.message.Message.getSQLException(Message.java:118)
> > at org.h2.message.Message.getSQLException(Message.java:77)
> > at org.h2.command.Parser.readTableOrView(Parser.java:4259)
> > at org.h2.command.Parser.readTableFilter(Parser.java:972)
> > at
> > org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1503)
> >
> > But it starts up properly with -Dsetup option..
> >
> > Thanks,
> > ~Isuru
> >
> > --
> > Isuru Suriarachchi
> > Technical Lead & Product Manager, WSO2 Web Services Application
> Server
> > WSO2 Inc. http://wso2.com
> > email : is...@wso2.com <mailto:is...@wso2.com>
> > blog : http://isurues.wordpress.com/
> >
> > lean . enterprise . middleware
> >
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
> > 
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Strange behavior when adding new jars to plugins directory

2010-09-22 Thread Nuwan Bandara
Hi Guys,

I encountered a strange behavior for couple of days, where I tried changing
some code in the dashboard.common bundle and copied the changed jar to the
plugins directory and replaced the old jar. But my changes were not
reflected. Even I restart the server, still the old code was executing.

I could only resolve this by building the dashboard components, dashboard
features and the the gadget server.

Any idea ? Only encountered this in Carbon 3.0.1 builds.

Thanks & Regards
-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DS gadgets fail when web context change

2010-09-24 Thread Nuwan Bandara
Hi,

You can have this change in shindig-1.1.0.wso2v2 which is added with carbon
3.0.1 branch.

Regards
/Nuwan

On Fri, Sep 24, 2010 at 2:11 AM, Samisa Abeysinghe  wrote:

> Is that in 3.0 branch?
>
>
> On Fri, Sep 24, 2010 at 12:47 PM, Tyrell Perera  wrote:
>
>> Can you change the Shindig orbit bundle version used in DS from
>> 1.1.0.wso2v1 to 1.1.0.wso2v2? We fixed this issue in the new version.
>>
>>
>> Tyrell
>>
>>
>> On Fri, Sep 24, 2010 at 11:46 AM, Amani Soysa  wrote:
>>
>>> Hi
>>>
>>> When I change the web context of DS, gadgets don't import the javascript
>>> code. There is a "/" at the beginning of the src value of the highlighted
>>> text(Red) which then calls the url https://10.100.0.170:9443/
>>> gadgets/concat?rewriteMime=text/javascript... in order to load needed
>>> javascript code. But the actual url should be https://10.100.0.170:9443/
>>> ds/gadgets/concat?rewriteMime=text/javascript i.e. we need to remove
>>> the "/" at the beginning for the proper operation. So the correct src value
>>> shoud be something like
>>>
>>> scr="gadgets/concat?rewriteMime=text/javascript...".
>>>
>>> https://10.100.0.170:9443/ds/ifr?container=defaul...";>
>>> 
>>> ...
>>> 
>>> 
>>> .
>>> .
>>> 
>>> 
>>> 
>>>
>>> If this a common issue in other products if not any idea how to fix this?
>>> :)
>>>
>>>
>>> Regards,
>>> Amani
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Tyrell Perera
>> Product Manager - WSO2 Mashup Server, WSO2 Gadget Server
>>
>> WSO2, Inc.; http://www.wso2.com/
>> "Lean Enterprise Middleware"
>>
>> http://www.tyrell.co
>> http://www.linkedin.com/in/tyrell
>> http://twitter.com/tyrellperera
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Can't built Carbon 3.0.1 branch

2010-09-24 Thread Nuwan Bandara
in/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Isuru Suriarachchi
>>>> Technical Lead & Product Manager, WSO2 Web Services Application Server
>>>> WSO2 Inc. http://wso2.com
>>>> email : is...@wso2.com
>>>> blog : http://isurues.wordpress.com/
>>>>
>>>> lean . enterprise . middleware
>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Charith Dhanushka Wickramarachchi
>>> Software Engineer
>>> WSO2 Inc
>>> http://wso2.org/
>>> http://wso2.com/
>>>
>>> http://charithwiki.blogspot.com/
>>> Mobile : +94 77 670 6568
>>>
>>>
>>>
>>
>>
>> --
>> Charith Dhanushka Wickramarachchi
>> Software Engineer
>> WSO2 Inc
>> http://wso2.org/
>> http://wso2.com/
>>
>> http://charithwiki.blogspot.com/
>> Mobile : +94 77 670 6568
>>
>>
>>
>
>
> --
> Charith Dhanushka Wickramarachchi
> Software Engineer
> WSO2 Inc
> http://wso2.org/
> http://wso2.com/
>
> http://charithwiki.blogspot.com/
> Mobile : +94 77 670 6568
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Strange behavior when adding new jars to plugins directory

2010-09-24 Thread Nuwan Bandara
Hi

On Thu, Sep 23, 2010 at 9:46 PM, Afkham Azeez  wrote:

> When you copy, you must replace the - with a .


Well thats, in trunk, I encountered this issue in 3.0.1 branch. Am still
having this issue. will reply if I was able to find the cause. :)

Regards
/Nuwan

>
> Azeez
>
>
>
> On Thu, Sep 23, 2010 at 11:54 AM, Nuwan Bandara  wrote:
>
>> Hi Guys,
>>
>> I encountered a strange behavior for couple of days, where I tried
>> changing some code in the dashboard.common bundle and copied the changed jar
>> to the plugins directory and replaced the old jar. But my changes were not
>> reflected. Even I restart the server, still the old code was executing.
>>
>> I could only resolve this by building the dashboard components, dashboard
>> features and the the gadget server.
>>
>> Any idea ? Only encountered this in Carbon 3.0.1 builds.
>>
>> Thanks & Regards
>> --
>> Nuwan Bandara
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>> http://www.nuwanbando.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How to include a user uploaded jsp page in a UI bundle?

2010-09-25 Thread Nuwan Bandara
Hi guys,

Am thinking out loud here. Since now we have web-app deployment capability,
why dont we take use of that. So simply what u need to do is, to create a
web-app out of the jsp and deploy it in our carbon server. so at that point
the jsp can be rendered. and it can also be included in any HT user
interface.

However I am not aware of all the use cases, but to simply to render a jsp
this will be a trivial solution.

Regards
/Nuwan

On Fri, Sep 24, 2010 at 12:48 AM, Sameera Jayasoma  wrote:

>
>
> On Fri, Sep 24, 2010 at 8:23 AM, Milinda Pathirage wrote:
>
>> Hi Sameera,
>>
>> We discussed this on IRC yesterday.Plan is to come up with a proxy bundle
>> which holds all the JSPs deployed with Human Task archives. This proxy
>> bundle will be a UI bundle which expose a seperate child context under
>> carbon context (for example: carbon/foo). Once you deploy a human task
>> archive we modify that bundle programetically and put the JSP files in HT
>> archive to that bundle and refresh the bundle.
>>
>>
>
>> Is this a good solution?
>>
>
> I am not sure whether this bundle refreshing will work. This action can
> cause other wired bundles to be refreshed also. Anyway we need to test this
> with a dummy bundle.
>
> Sameera
>
>>
>> Otherwise we'll have to write custom registry handler which makes JSP
>> available under 'carbon' context.
>>
>> Please feel free to comment on this.
>>
>> Thanks
>> Milinda
>>
>>
>> On Thu, Sep 23, 2010 at 10:31 PM, Sameera Jayasoma wrote:
>>
>>> Hi Sanjaya
>>>
>>> On Thu, Sep 23, 2010 at 2:53 PM, Sanjaya Vithanagama 
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> In the human-task implementation, we need to allow the user to include a
>>>> custom jsp page with the human task package which is uploaded. We add the
>>>> uploaded human-task (zip)package to the registry.
>>>>
>>>> Once the task instances are created for the uploaded task definition, in
>>>> the task view page we need to include the user uploaded jsp page. [The
>>>> purpose of this  is to render the task creation request message which has
>>>> the data required for task operator to perform the task]
>>>>
>>>> Is there a way to add the user uploaded jsp page (which resides in the
>>>> zip package added to the registry) to the application context of the
>>>> human-task ui bundle?  Then we can include the custom jsp in the task view
>>>> page using a .
>>>>
>>>
>>> With the current implementation of the Carbon UI framework we cannot do
>>> this. All the UI resources belongs to a Component should reside in its UI
>>> bundle's classpath.
>>>
>>> If you want to load UI resources reside in the registry, we need to
>>> improve the Carbon-UI framework to support this feature.
>>>
>>> Thanks
>>> Sameera.
>>>
>>>>
>>>> Regards,
>>>> SanjayaV.
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma
>>> Technical Lead and Product Manager, WSO2 Carbon
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://tech.jayasoma.org
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Milinda Pathirage
>> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
>> http://wso2.com
>> Blog: http://blog.mpathirage.com
>>
>> Lean Enterprise Middleware
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://tech.jayasoma.org
>
> Lean . Enterprise . Middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How to include a user uploaded jsp page in a UI bundle?

2010-09-30 Thread Nuwan Bandara
Hi Srinath,

Yes I had a chat with milinda regarding this, he said its a viable solution,
maybe he can add a comment on the implementation.

Regards
/Nuwan

On Thu, Sep 30, 2010 at 5:51 PM, Srinath Perera  wrote:

> Hi Nuwan,
>
> What happened to this? Do you guys have a solution agreed on (in case,
> please post it here), or else we should have a meeting.
>
> --Srinath
>
> On Sat, Sep 25, 2010 at 2:52 PM, Nuwan Bandara  wrote:
> > Hi guys,
> >
> > Am thinking out loud here. Since now we have web-app deployment
> capability,
> > why dont we take use of that. So simply what u need to do is, to create a
> > web-app out of the jsp and deploy it in our carbon server. so at that
> point
> > the jsp can be rendered. and it can also be included in any HT user
> > interface.
> >
> > However I am not aware of all the use cases, but to simply to render a
> jsp
> > this will be a trivial solution.
> >
> > Regards
> > /Nuwan
> >
> > On Fri, Sep 24, 2010 at 12:48 AM, Sameera Jayasoma 
> wrote:
> >>
> >>
> >> On Fri, Sep 24, 2010 at 8:23 AM, Milinda Pathirage 
> >> wrote:
> >>>
> >>> Hi Sameera,
> >>> We discussed this on IRC yesterday.Plan is to come up with a proxy
> bundle
> >>> which holds all the JSPs deployed with Human Task archives. This proxy
> >>> bundle will be a UI bundle which expose a seperate child context under
> >>> carbon context (for example: carbon/foo). Once you deploy a human task
> >>> archive we modify that bundle programetically and put the JSP files in
> HT
> >>> archive to that bundle and refresh the bundle.
> >>>
> >>>
> >>> Is this a good solution?
> >>
> >> I am not sure whether this bundle refreshing will work. This action can
> >> cause other wired bundles to be refreshed also. Anyway we need to test
> this
> >> with a dummy bundle.
> >>
> >> Sameera
> >>>
> >>> Otherwise we'll have to write custom registry handler which makes JSP
> >>> available under 'carbon' context.
> >>> Please feel free to comment on this.
> >>> Thanks
> >>> Milinda
> >>>
> >>> On Thu, Sep 23, 2010 at 10:31 PM, Sameera Jayasoma 
> >>> wrote:
> >>>>
> >>>> Hi Sanjaya
> >>>>
> >>>> On Thu, Sep 23, 2010 at 2:53 PM, Sanjaya Vithanagama <
> sanja...@wso2.com>
> >>>> wrote:
> >>>>>
> >>>>> Hi All,
> >>>>>
> >>>>> In the human-task implementation, we need to allow the user to
> include
> >>>>> a custom jsp page with the human task package which is uploaded. We
> add the
> >>>>> uploaded human-task (zip)package to the registry.
> >>>>>
> >>>>> Once the task instances are created for the uploaded task definition,
> >>>>> in the task view page we need to include the user uploaded jsp page.
> [The
> >>>>> purpose of this  is to render the task creation request message which
> has
> >>>>> the data required for task operator to perform the task]
> >>>>>
> >>>>> Is there a way to add the user uploaded jsp page (which resides in
> the
> >>>>> zip package added to the registry) to the application context of the
> >>>>> human-task ui bundle?  Then we can include the custom jsp in the task
> view
> >>>>> page using a .
> >>>>
> >>>> With the current implementation of the Carbon UI framework we cannot
> do
> >>>> this. All the UI resources belongs to a Component should reside in its
> UI
> >>>> bundle's classpath.
> >>>>
> >>>> If you want to load UI resources reside in the registry, we need to
> >>>> improve the Carbon-UI framework to support this feature.
> >>>>
> >>>> Thanks
> >>>> Sameera.
> >>>>>
> >>>>> Regards,
> >>>>> SanjayaV.
> >>>>>
> >>>>> ___
> >>>>> Carbon-dev mailing list
> >>>>> Carbon-dev@wso2.org
> >>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Sameera Jayasoma
&g

Re: [Carbon-dev] Remove shindig from dependencies root pom.xml

2010-10-09 Thread Nuwan Bandara
Hi,

You will have to build shindig with Tests, else it fails. We need to have
shindig as a dependancy, coz we have deviated from the shindig trunk. I will
look in to the build error.

Regards
/Nuwan

On Sat, Oct 9, 2010 at 8:43 AM, Danushka Menikkumbura wrote:

> You get a build error as there is no module inside dependencies. As far as
> I can see it has now been moved into orbit?
>
>
> On Sat, Oct 9, 2010 at 3:23 PM, Senaka Fernando  wrote:
>
>>
>>
>> On Fri, Oct 8, 2010 at 3:08 PM, Danushka Menikkumbura 
>> wrote:
>>
>>> Can we $subject?
>>>
>>
>> IIRC, we can't. Because this was customized on the trunk. Nuwan, Tyrell,
>> please confirm.
>>
>> Thanks,
>> Senaka.
>>
>>>
>>> Danushka
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Senaka Fernando
>> Associate Technical Lead
>> WSO2 Inc.
>> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>>
>> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] why we include JS scripts inside JSP pages.

2010-11-21 Thread Nuwan Bandara
Hi

On Sat, Nov 20, 2010 at 9:46 PM, Afkham Azeez  wrote:

>
>
>
>
> On Wed, Oct 20, 2010 at 10:04 AM, Pradeep Fernando wrote:
>
>> Hi devs,
>>
>> When i was going through the service mgt component index.jsp, I found
>> that there are some JS codes inside the dynamically generated page. My
>> perception was that, we are handling JavaScript separately. When I was
>> developing some other code, I refrained from doing this kind of stuff
>> & got the relevant data by setting some html properties. If I have
>> used something like this, my life would have been easier.
>>
>> Now is it a good practice to include JS inside our JSP pages? may be
>> there is a specific reason for doing this.
>> can anybody explain?
>>
>
> If you have a huge reusable Javascript, it is better to place such scripts
> withing a separate JS file. This helps in performance when such files can be
> cached.
>

It also helps if you can minify large JS includes.

Regards,
/Nuwan


>
>
>>
>> --
>>
>> Pradeep Fernando
>> Software Engineer
>> WSO2 Inc; http://wso2.com/
>>
>> blog: http://pradeepfernando.blogspot.com/
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Need release manager for each product for Carbon 3.1.0 releases

2010-11-21 Thread Nuwan Bandara
Hi,

I will work on the GS release.

Regards,
/Nuwan

On Fri, Nov 19, 2010 at 4:31 PM, Amila Suriarachchi  wrote:

>
>
> On Fri, Nov 19, 2010 at 4:07 PM, Charitha Kankanamge wrote:
>
>>
>>
>> On Fri, Nov 19, 2010 at 2:08 PM, shammi jayasinghe wrote:
>>
>>> I will do the CEP release
>>>
>>
>> Are we doing the first CEP release with 3.1.0?
>>
>
> that is the plan will do a review on Tuesday and see.
>
> thanks,
> Amila.
>
>>
>>
>>
>>>
>>> Thanks
>>>
>>>
>>> On Fri, Nov 19, 2010 at 2:05 PM, Amila Suriarachchi wrote:
>>>
>>>> I will do the BRS release.
>>>>
>>>> thanks,
>>>> Amila.
>>>>
>>>>
>>>> On Fri, Nov 19, 2010 at 10:40 AM, Senaka Fernando wrote:
>>>>
>>>>> I will work on the G-Reg release.
>>>>>
>>>>> Thanks,
>>>>> Senaka.
>>>>>
>>>>> On Fri, Nov 19, 2010 at 8:08 AM, Samisa Abeysinghe wrote:
>>>>>
>>>>>> Volunteers for each product please.
>>>>>>
>>>>>> The release manager is responsible for finishing off the release,
>>>>>> including making sure at QA, docs and other stuff are
>>>>>> complete.
>>>>>>
>>>>>> Thanks,
>>>>>> Samisa...
>>>>>>
>>>>>> ___
>>>>>> Carbon-dev mailing list
>>>>>> Carbon-dev@wso2.org
>>>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Senaka Fernando*
>>>>> Associate Technical Lead & Product Manager - WSO2 G-Reg;
>>>>> WSO2, Inc.; http://wso2.com
>>>>> *
>>>>> Member; Apache Software Foundation; http://apache.org
>>>>>
>>>>> E-mail: senaka AT wso2.com
>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>>>> Linked-In: http://www.linkedin.com/in/senakafernando
>>>>>
>>>>> *Lean . Enterprise . Middleware
>>>>>
>>>>>
>>>>> ___
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,*
>>>
>>> Shammi Jayasinghe*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com,
>>> mobile: +94 71 4493085
>>>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Gadget Best Practices

2010-11-24 Thread Nuwan Bandara
sure will do

Regards,
/Nuwan

On Wed, Nov 24, 2010 at 11:39 AM, Srinath Perera  wrote:

> Hi Nuwan,
>
> Can you add this to Azeez's google doc "WSO2 Carbon; Architecture,
> Best Practices & Convention" when you get a chance.
>
> Thanks
> Srinath
>
> On Wed, Nov 17, 2010 at 2:04 PM, Dinusha Senanayaka 
> wrote:
> > Very useful.Thanks Nuwan.
> >
> > Regards,
> > Dinusha.
> >
> > On Wed, Nov 17, 2010 at 1:27 PM, Tharindu Mathew 
> wrote:
> >>
> >>
> >> On Wed, Nov 17, 2010 at 1:09 PM, nu...@wso2.com  wrote:
> >>>
> >>> Hi Devs,
> >>>
> >>> Since there are at least one person in each team, writing a gadget,
> >>> specific to their product dashboard, I believe knowing "gadget
> authoring
> >>> best practices" are quite important. There are few key points that we
> should
> >>> understand when writing gadgets.
> >>>
> >>> Gadgets are not like jsps or any other server side script, Its purely
> on
> >>> JavaScript and they are browser dependent.
> >>> Limit the number of network calls you do within a gadget
> >>> (gadgets.io.makeRequest). Ideally limit it to one request to fetch the
> >>> dataset for presentation. (Do not perform orchestration within a
> gadget, IMO
> >>> gadget is not the right place to do that)
> >>
> >> Using a FE component is the right way to do this right?
> >>>
> >>> Keep your complex processing away from the gadget as much as possible.
> >>> If you are importing js libraries make sure to minify them.
> >>>
> >>> Also please do read [1] guide on gadget best practices published by
> >>> Google. Importantly read the section on "Use API Calls".
> >>>
> >>> Since our dashboards are getting populated more and more with gadgets,
> I
> >>> believe we will have to practice these steps as much as possible, to
> >>> minimize rendering latency.
> >>>
> >>> [1] http://code.google.com/support/bin/answer.py?hl=en&answer=81678
> >>>
> >>> --
> >>> Thanks & Regards,
> >>>
> >>> Nuwan Bandara
> >>> WSO2 Inc. | http://wso2.com
> >>> lean . enterprise . middleware
> >>>
> >>> http://www.nuwanbando.com
> >>>
> >>>
> >>>
> >>> ___
> >>> Carbon-dev mailing list
> >>> Carbon-dev@wso2.org
> >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>
> >>
> >>
> >>
> >> --
> >> Regards,
> >>
> >> Tharindu Mathew
> >> Software Engineer,
> >> WSO2 Inc.,
> >> http://wso2.com
> >>
> >> ___________
> >> Carbon-dev mailing list
> >> Carbon-dev@wso2.org
> >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>
> >
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> 
> Srinath Perera, Ph.D.
>   Senior Software Architect, WSO2 Inc.
>   Visiting Lecturer, University of Moratuwa
>   Member, Apache Software Foundation
>   Research Scientist, Lanka Software Foundation
>   Blog: http://srinathsview.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Gadget Server on 100% CPU

2010-11-24 Thread Nuwan Bandara
Hello Victor,

Can you provide more details about your environment. details such as,

   1. GS version
   2. System HW configuration (memory/processor/free disk space)

There are no special tuning to be done, and at normal deployment its highly
unlikely that CPU will max-out. If you could give some more details about
your deployment it would be easier to figure out the issue.

Regards,
/nuwan

2010/11/24 Víctor Álvarez 

> Hello,
>
> We already got a productive GS running on amazon, but this is ever running
> at 100% of CPU with a very low connections opened (8 o 9 per minut...)
>
> Is running under Ubuntu 10.04.
>
> There's any tunning for this?
>
>
> Thanks in advance.
>
> --
> Víctor Álvarez
> Incoming IT www.incomingIT.com
> www.twitter.com/incomingIT
> Escribiendo en y sobre Accesibilidad Web:
> http://accesibilidad.blogspot.com
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Gadget Server on 100% CPU

2010-11-24 Thread Nuwan Bandara
Hi Victor,

Could you do a thread dump and send us, to have a look.

Regards,
/Nuwan


2010/11/24 Víctor Álvarez 

> Take a look to the top
>
> top - 10:54:04 up 119 days, 23:48,  2 users,  load average: 4.27, 4.12,
> 3.96
> Tasks:  78 total,   2 running,  76 sleeping,   0 stopped,   0 zombie
> Cpu(s): 88.7%us,  0.3%sy,  0.0%ni,  0.3%id,  0.0%wa,  0.0%hi,  0.3%si,
> 10.3%st
> Mem:   7864548k total,  1867040k used,  5997508k free,   188800k buffers
> Swap: 15728632k total,0k used, 15728632k free,   647220k cached
>
>  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  15081 root  20   0  879m 662m  13m S  157  8.6 243:37.93 java
>
> Gadget server is 1.1
> And carbon 3.0.0 according the POM.xml
>
> org.wso2.carbon
> carbon
> pom
> 3.0.0-SNAPSHOT
> WSO2 Carbon - Platform
>
>
> disk info :
>
> FilesystemSize  Used Avail Use% Mounted on
> /dev/sda1  15G  1.7G   13G  12% /
> devtmpfs  3.7G  112K  3.7G   1% /dev
> none  3.8G 0  3.8G   0% /dev/shm
> none  3.8G   52K  3.8G   1% /var/run
> none  3.8G 0  3.8G   0% /var/lock
> none  3.8G 0  3.8G   0% /lib/init/rw
> /dev/sdb  414G  199M  393G   1% /mnt
>
>
>  *Large Instance*
>
> 7.5 GB memory
> 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each)
> 850 GB instance storage
> 64-bit platform
> I/O Performance: High
> API name: m1.large
>
>
> That's all... should be enough to run a service like WSO2
>
>
> Thanks in advance
>
>
>
>
> On Wed, Nov 24, 2010 at 11:10 AM, Nuwan Bandara  wrote:
>
>> Hello Victor,
>>
>> Can you provide more details about your environment. details such as,
>>
>>1. GS version
>>2. System HW configuration (memory/processor/free disk space)
>>
>> There are no special tuning to be done, and at normal deployment its
>> highly unlikely that CPU will max-out. If you could give some more details
>> about your deployment it would be easier to figure out the issue.
>>
>> Regards,
>> /nuwan
>>
>> 2010/11/24 Víctor Álvarez 
>>
>>>  Hello,
>>>
>>> We already got a productive GS running on amazon, but this is ever
>>> running at 100% of CPU with a very low connections opened (8 o 9 per
>>> minut...)
>>>
>>> Is running under Ubuntu 10.04.
>>>
>>> There's any tunning for this?
>>>
>>>
>>> Thanks in advance.
>>>
>>> --
>>> Víctor Álvarez
>>> Incoming IT www.incomingIT.com
>>> www.twitter.com/incomingIT
>>> Escribiendo en y sobre Accesibilidad Web:
>>> http://accesibilidad.blogspot.com
>>>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> Nuwan Bandara
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>> http://www.nuwanbando.com
>>
>> <http://www.nuwanbando.com/>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Víctor Álvarez
> Incoming IT www.incomingIT.com
> www.twitter.com/incomingIT
> Escribiendo en y sobre Accesibilidad Web:
> http://accesibilidad.blogspot.com
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Gadget Server - Google Gadget

2010-11-30 Thread Nuwan Bandara
You can embed the 2nd gadget as an iframe in to the 1st gadget, if I
understood ur requirement correctly.

Regards,
/Nuwan

On Tue, Nov 30, 2010 at 11:08 PM, Vitor Rodrigues <
vitor.rodrig...@pessoaseprocessos.com> wrote:

>
> Hi all,
>
> Does anyone have an idea in how to call a google gadget inside a google
> gadget? I will try to explain the purpose:
>
> I developed two google gadget's, one for email and other for SMS.
>
> Now i want to use this gadget's in one gadget but not reconstruing the all
> thing again. Just want to have 2 buttons(email and SMS), in a primary
> gadget.
>
> Is this possible?
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Why gadgets are stored in config registry?

2010-12-04 Thread Nuwan Bandara
Hi,

At the time we designed the dashboard aligning to the new registry model, we
had a discussion of this, and came to a decision that the Gadgets will
reside in the configuration registry, since they are product specific. So at
the moment if any one product is in a cluster (i.e. if GS has 3 nodes) and
since the config registry is shared among the clustered nodes, the product
dashboard can see its own gadgets.
(/config/repository/gadget-server/gadgets)

However with the Startos story we will have to re-change this model :), and
move the shared gadgets to the governance registry and product specific
gadgets to the config registry.

Regards,
/Nuwan

On Sat, Dec 4, 2010 at 10:29 AM, Senaka Fernando  wrote:

>
>
> On Sat, Dec 4, 2010 at 10:13 AM, Afkham Azeez  wrote:
>
>>
>>
>> On Sat, Dec 4, 2010 at 1:53 AM, Chintana Wilamuna wrote:
>>
>>> Hi,
>>>
>>> Why gadget XMLs are stored in the config registry and not in
>>> governance registry? Since usually config registries are shared
>>> between a cluster how would this work if it's GS is clustered?
>>>
>>
>> Correction! Config registries are NOT shared between clusters. Config
>> registries are shared by all nodes in A cluster. e.g. a single ESB cluster
>> will point to a single config registry, and an AS cluster will point to a
>> different config registry. It is the Governance registry that is shared
>> across clusters. So, all nodes in the above ESB & AS clusters will point to
>> the same Governance registry.
>>
>
> IMO, if we are to share these gadgets among multiple products, which should
> be theoretically possible, we need to have them on the governance registry.
>
> I believe that we had some similar requirement for Stratos? Don't recall
> this completely, though. IIRC, the idea was to have product-specific
> dashboard configurations on the config registry, and to have gadgets on the
> governance registry.
>
> Thanks,
> Senaka.
>
>>
>>
>>>
>>> Thanks in advance,
>>>
>>>-Chintana
>>>
>>> --
>>> Chintana Wilamuna
>>> Associate Technical Lead
>>> WSO2, Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94 75 211 1106
>>> blog: http://engwar.com/
>>> photos: http://flickr.com/photos/chintana
>>> linkedin: http://www.linkedin.com/in/engwar
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*<http://www.apache.org/>
>> *
>> email: **az...@wso2.com* * cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Associate Technical Lead & Product Manager - WSO2 G-Reg;
> WSO2, Inc.; http://wso2.com
> *
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Chunk-2 release readiness - on Carbon 3.1.0

2010-12-05 Thread Nuwan Bandara
Hi,

We are still working on trunk, due to the fact that chunk 1 products are
using dashboard in the branch and it is frozen to commit. once the chunck 1
products are released, we are planing to merge the changes to the branch
again.

At the moment I am working on .dar deployment which is broken in
3.0.1 release. Other than that all features planed for the release are
completed and committed to the trunk. Lalaji is also working on product Docs
and almost complete.

Thanks & Regards,
/Nuwan

On Mon, Dec 6, 2010 at 11:51 AM, Prabath Siriwardana wrote:

> [resending with the correct subject]
>
> Hi Nuwan, Asela, Anjana,
>
> Can you please update the list on the status of GS, IS and DSS..?
>
> These products are planned to go as chunk-2 [earlier we had BPS too - but
> moved in to chunk-1 now.]
>
> We need to plan to code freeze on these products by Thursday...
>
> --
> Thanks & Regards,
> Prabath
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 gadget server

2010-12-06 Thread Nuwan Bandara
Hi Supun,

What you can do is, deploy a carbon ui bundle with an ajaxprocessor jsp and
do an ajax call from the gadget to that jsp. that page will have the loging
session, where you can retrieve user information.

Regards,
/Nuwan

On Mon, Dec 6, 2010 at 4:49 PM, supun wickramasinghe
wrote:

> i am already running some servlets that run on the google app engine to
> manage the database needed for my gadget and they are accessed using post
> call from javascript. so is it possible for me to run a servlet on the app
> engine to access the data?
>
>
> On Mon, Dec 6, 2010 at 4:23 PM, Sumedha Rubasinghe wrote:
>
>> On Mon, Dec 6, 2010 at 3:35 PM, supun wickramasinghe
>>  wrote:
>> > hi
>> > i'm developing a Gadget for the WSO2 Gadget Server as my L3 project at
>> > UOM.i'd like to know if there is a way  to access the user details of
>> the
>> > current user from a gadget using JavaScript such as email,username and
>> other
>> > details.
>> > thanks in advance.
>>
>> You cannot access this from JS. But can access within a servlet.
>> Write a servlet which accesses these data & the return into front end
>> so that JS can process them.
>> /sumedha
>>
>>
>> >
>> > --
>> > Pulasthi Supun
>> > www.99gears.com
>> >
>> > ___
>> > Carbon-dev mailing list
>> > Carbon-dev@wso2.org
>> > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>> >
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> Pulasthi Supun
> www.99gears.com
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DAR files in Gadget server

2010-12-07 Thread Nuwan Bandara
Hi Guys,

On Wed, Dec 1, 2010 at 9:28 AM, Sumedha Rubasinghe  wrote:

> On Wed, Dec 1, 2010 at 7:24 AM, Afkham Azeez  wrote:
> > Does DAR deployment work?
> >
> There are some problems with this. Nuwan & I were talking about this
> yesterday & this will be fixed after Nuwan returns from study leave
> next week.
>

This is fixed and committed to the trunk. Once the branch is unfrozen will
merge it to the branch.

Thanks & regards,
/Nuwan


>
> /sumedha
>
>
> > --
> > Afkham Azeez
> > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> >
> > Member; Apache Software Foundation; http://www.apache.org/
> > email: az...@wso2.com cell: +94 77 3320919
> > blog: http://blog.afkham.org
> > twitter: http://twitter.com/afkham_azeez
> > linked-in: http://lk.linkedin.com/in/afkhamazeez
> >
> > Lean . Enterprise . Middleware
> >
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
> _______
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Why have we added 3.1.1 version of Dashboard components?

2010-12-08 Thread Nuwan Bandara
Hi Sameera,

Its for the chunk 2 products. I just added them to the svn, there are no
changes or effect for chunk one products from this commit.

Regards,
/Nuwan

On Wed, Dec 8, 2010 at 11:42 PM, Sameera Jayasoma  wrote:

> $Subject please
>
> Thanks
> Sameera
>
> --
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://tech.jayasoma.org
>
> Lean . Enterprise . Middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Why have we added 3.1.1 version of Dashboard components?

2010-12-08 Thread Nuwan Bandara
Hi

On Thu, Dec 9, 2010 at 9:01 AM, Sanjiva Weerawarana wrote:

> On Wed, Dec 8, 2010 at 11:53 PM, Sameera Jayasoma wrote:
>
>> On Wed, Dec 8, 2010 at 11:44 PM, Sameera Jayasoma wrote:
>>>
>>>> IMV, we don't need to add 3.1.1 versions, since we haven't released
>>>> 3.1.0. Please explain the rationale behind this change.
>>>>
>>>
>>> Do you mean we can still repack chuck 1 product with latest GS changes?
>>>
>>
>> Nope. Now its too late for that.
>>
>> Btw, I wasn't aware of this change.  If this is for the chunk2 release,
>> then it is fine.
>>
>
>  My understanding was that both groups of products were running on EXACTLY
> the same Carbon version. If that is not true we will have problems with
> using Carbon's feature management across these products.
>
> In that case what is this talk of a 3.1.1??
>

This is simply the version of the dashboard. It is on carbon 3.1.0.

Regards,
/Nuwan


>
> Sanjiva.
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 |
> +1 650 265 8311
> blog: http://sanjiva.weerawarana.org/
>
> Lean . Enterprise . Middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Please remove /target directories committed to 3.1.0 branch with dashboard

2010-12-08 Thread Nuwan Bandara
Hi

On Thu, Dec 9, 2010 at 5:08 AM, Prabath Siriwardana wrote:

> $subject
>
> dashboard/org.wso2.carbon.dashboard.mgt.gadgetrepo.ui/3.1.1/target
> dashboard/org.wso2.carbon.dashboard.mgt.oauth.ui/3.1.1/target
> dashboard/org.wso2.carbon.dashboard.themepopulator/3.1.1/target
> dashboard/org.wso2.carbon.dashboard/3.1.1/target
> dashboard/org.wso2.carbon.dashboard.mgt.users.ui/3.1.1/target
>

My bad :( cleaned it up in the morning

Regards,
/Nuwan


>
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] 1 login ... more than 900 SELECT querys????

2010-12-10 Thread Nuwan Bandara
Hi Victor,

I have looked in to the QSL log you have sent. One issue I saw was that
versioning is enabled in the registry, so for each select operation for a
gadget xml or any other property fetch, there will be an associated select
query to get version data.

You can disable versioning in registry by adding the parameters to the
registry.xml

false



false
false
false
false


Other than this, All other queries are standard ones and there are no
anomalies.

Thanks & Regards,
/Nuwan


2010/12/10 Víctor Álvarez 

> Any new about this??
>
> we have a huge load on the mysql due to this, and it reflects on GS Threads
> pending to the myslq response, and pains the GS CPU to the 200% with a very
> low index of concurrent connections.
>
> Thanks in advance
>
>
> On Sat, Dec 4, 2010 at 5:52 AM, Senaka Fernando  wrote:
>
>>
>>
>> On Sat, Dec 4, 2010 at 10:10 AM, Afkham Azeez  wrote:
>>
>>> Damitha,
>>> Can you profile GS server and verify why this is happening?
>>>
>>
>> +1.
>>
>> Thanks,
>> Senaka.
>>
>>>
>>> Azeez
>>>
>>> 2010/12/3 Víctor Álvarez 
>>>
>>>> Hello,
>>>> i've made a simple login to the administration panel on Gadget server...
>>>>
>>>> on the mysql logs... there are more than 900 select querys exectued
>>>> during the login...you can see the log file.
>>>>
>>>>
>>>> you can see repeated selects :
>>>>
>>>> 15 times :
>>>>
>>>> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=1 AND REG_NAME IS
>>>> NULL AND REG_TENANT_ID=0
>>>>
>>>> 8 times
>>>> SELECT REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR,
>>>> REG_LAST_UPDATED_TIME, REG_VERSION, REG_DESCRIPTION, REG_CONTENT_ID FROM
>>>> REG_RESOURCE WHERE REG_PATH_ID=4 AND REG_NAME IS NULL AND REG_TENANT_ID=0
>>>>
>>>> 15 times:
>>>> SELECT REG_PATH_ID FROM REG_PATH WHERE
>>>> REG_PATH_VALUE='/_system/config/repository/components/org.wso2.carbon.governance/configuration/services/service'
>>>> AND REG_TENANT_ID=0
>>>>
>>>> 10 veces:
>>>> SELECT UM_ROLE_NAME FROM UM_HYBRID_USER_ROLE, UM_HYBRID_ROLE WHERE
>>>> UM_USER_NAME='victor.alvarez' AND
>>>> UM_HYBRID_USER_ROLE.UM_ROLE_ID=UM_HYBRID_ROLE.UM_ID AND
>>>> UM_HYBRID_USER_ROLE.UM_TENANT_ID=0 AND UM_HYBRID_ROLE.UM_TENANT_ID=0
>>>>
>>>> 6 times:
>>>> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=19 AND
>>>> REG_NAME='gadget-13' AND REG_TENANT_ID=0
>>>>
>>>>
>>>> It shouldn't be normal to make this hard work over the myslq on every
>>>> simple login...
>>>>
>>>> I've checked too during the load of the main page of the gadget server,
>>>> and it produce hundreds of selects too...
>>>>
>>>> any idea? is this normal?
>>>>
>>>> Thanks in advance
>>>>
>>>> --
>>>> Víctor Álvarez
>>>> Incoming IT www.incomingIT.com
>>>> www.twitter.com/incomingIT
>>>> Escribiendo en y sobre Accesibilidad Web:
>>>> http://accesibilidad.blogspot.com
>>>>
>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation; 
>>> **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **az...@wso2.com* * cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Senaka Fernando*
>> Associate Technical Lead & Product Manager - WSO2 G-Reg;
>> WSO2, Inc.; http://wso2.com
>> *
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://www.linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Víctor Álvarez
> Incoming IT www.incomingIT.com
> www.twitter.com/incomingIT
> Escribiendo en y sobre Accesibilidad Web:
> http://accesibilidad.blogspot.com
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Internal App Support Knowledge base system (SKB) code review notes

2010-12-10 Thread Nuwan Bandara
HI Azeez,

As you have requested, I will be able to do a code review on dashboard
components, but since the chunk 2 release will happen next week, I would
like to schedule it for the week after next. So if someone else can
volunteer for next week that would be great.

Thanks & Regards,
/Nuwan

On Fri, Dec 10, 2010 at 5:06 PM, Afkham Azeez  wrote:

> What is the area which will be taken up for next week's review?
>
>
> On Fri, Dec 10, 2010 at 12:32 PM, Manjula Rathnayake wrote:
>
>> *Internal App Support Knowledge base system (SKB) code review notes*
>>
>> Participants: Ruwan, Nandika, Heshan, Nuwan, Srinath, Azeez, Manjula
>> Presenter: Sarasi
>>
>> *
>> Set of features identified to include in system as follows:*
>>
>> We can add Issues to KB, there, It is good to give following options;
>>
>>-   Extract Solution in addition to Question, Response from jira
>>-   Response contains mainly logs, memory dumps, thread dumps and
>>even solution as well sometimes.
>>-   Let user to make same statement as Question and Response, for
>>that use check boxes or option buttons as needed.
>>-   Once the users have selected statements as Question,Response
>>and Solution and submits, show the all selected questions.. and get user
>>confirmation rather showing each statement.
>>-   Current system allows user to add solution manually, if no
>>statement is checked as a solution, then only allow adding a solution
>>manually.
>>-   Let users to add related,similar links to the current issue.
>>-   Categorize the issues as performance issue, bug fixing and so.
>>-   Customized search for searching customer question, solution
>>-   Use pagination to show searched results
>>-   Extracting data from jira, supporting custom fields as
>>currently only selected fields are provided.
>>
>>
>> *Possible improvements in code:*
>>
>>
>>-   Change the resource path in registry to avoid data duplication
>>
>>   from
>>   SupportKB/Issue
>>   SupportKB/solutions
>>   SupportKB/wso2 response
>>   SupportKB/customer questions
>>   to
>>   SupportKB/jiraid/Issue
>>  /solutions
>>  /wso2 response
>>  /customer question
>>
>>-   Change package names from
>>org.wso2.carbon.registry.custom.skb.* to org.wso2.skb.*
>>-   Change jsp page names from skb_sample.jsp to sample.jsp since
>>the package name itself is there.
>>-   In exception handling, pass the exception to upper layers, and
>>handle it at ui with proper error message.
>>-   Introduce constants for kb items used. Here adding QName
>>constant is useful rather creating each time.
>>-   Use more java doc comments
>>-   Use idea to format codes
>>-   Try to use existing client code for RegistrySKBAdminService
>>-   Try to reduce while loops and introduce for each loops.
>>-   Use Data Objects and Data Access Objects to handle
>>Add,Get,Edit Util classes.
>>
>>
>> If there are any missing points, please feel free to add here.
>>
>> Thank you.
>> --
>> Manjula Rathnayaka
>> Software Engineer
>> WSO2, Inc.
>> Mobile:+94 77 743 1987
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Chunk-2 release readiness - on Carbon 3.1.0

2010-12-11 Thread Nuwan Bandara
Hi Senaka,

On Sat, Dec 11, 2010 at 2:52 PM, Senaka Fernando  wrote:

> Folks of DSS, BRS, GS and IS, are you all set for a release in ~1 week
> (20th December)?
>

Yeah, so far from GS side we are on schedule, but we have only done
development level QA, After a proper QA round I guess we can correctly
predict. :)

Also, Is the branch unfrozen now ?, I need to do some modifications do the
dependencies (Shindig), which I havent done yet.

Regards,
/Nuwan


>
> Thanks,
> Senaka.
>
>
> On Wed, Dec 8, 2010 at 1:58 PM, Anjana Fernando  wrote:
>
>> Hi,
>>
>> On Wed, Dec 8, 2010 at 1:05 PM, Sumedha Rubasinghe 
>> wrote:
>> >
>> >
>> > On Wed, Dec 8, 2010 at 12:46 PM, Anjana Fernando 
>> wrote:
>> >>
>> >> Hi,
>> >>
>> >> After a talk with Dr.Sanjiva, we decided to go with the new feature,
>> >
>> > Would be helpful if you mention what this is.. ;-) ... or else attach a
>> > screenshot of whiteboard for the benefit of all remote readers of the
>> list.
>>
>> Yeah :), sorry, the discussed topic is what I've mentioned in the mail
>> @architecture with the subject "Improved Complex Type Results in DSS".
>> Basically, this is to improve the result structure of data services so
>> it can have nested elements/attributes, so the user can model the
>> result in any format he likes.
>>
>> Cheers,
>> Anjana.
>>
>> >
>> > /sumedha
>> >
>> >
>> >>
>> >> so we need to do some UI changes for it as well, so by Friday we
>> >> should be able to code freeze.
>> >>
>> >> Regards,
>> >> Anjana.
>> >>
>> >> On Tue, Dec 7, 2010 at 9:51 AM, Anjana Fernando 
>> wrote:
>> >> > Hi Prabath,
>> >> >
>> >> > There are a few pending tasks that we have to have a meeting and
>> >> > discuss with Dr.Sanjiva, it's an extension to the data services
>> result
>> >> > format we have. Most of it is already implemented, just has to verify
>> >> > if we are going ahead with it or not, and if we are, there are some
>> >> > small UI changes to be done.
>> >> >
>> >> > As for the docs and all, the majority is completed, Amani was working
>> >> > on them in the last few days. Prabath was finishing up a new feature
>> >> > in DSS, adding a timer task functionality, we have to add some small
>> >> > UI functionality and update the docs for that.
>> >> >
>> >> > And there were some non-high priority jiras that can all be resolved
>> >> > in a few hours time.
>> >> >
>> >> > Regards,
>> >> > Anjana.
>> >> >
>> >> > On Tue, Dec 7, 2010 at 8:09 AM, Prabath Siriwardana <
>> prab...@wso2.com>
>> >> > wrote:
>> >> >> Thanks Nuwan for the update..
>> >> >> Asela/Anjana... how are we doing with the IS/DSS releases..? Are we
>> in
>> >> >> a
>> >> >> position to code freeze for those by this Thursday...?
>> >> >> Thanks & regards,
>> >> >> -Prabath
>> >> >>
>> >> >> On Mon, Dec 6, 2010 at 12:40 PM, Nuwan Bandara 
>> wrote:
>> >> >>>
>> >> >>> Hi,
>> >> >>> We are still working on trunk, due to the fact that chunk 1
>> products
>> >> >>> are
>> >> >>> using dashboard in the branch and it is frozen to commit. once the
>> >> >>> chunck 1
>> >> >>> products are released, we are planing to merge the changes to the
>> >> >>> branch
>> >> >>> again.
>> >> >>> At the moment I am working on .dar deployment which is broken in
>> >> >>> 3.0.1 release. Other than that all features planed for the release
>> are
>> >> >>> completed and committed to the trunk. Lalaji is also working on
>> >> >>> product Docs
>> >> >>> and almost complete.
>> >> >>> Thanks & Regards,
>> >> >>> /Nuwan
>> >> >>>
>> >> >>> On Mon, Dec 6, 2010 at 11:51 AM, Prabath Siriwardana
>> >> >>> 
>> >> >>> wrote:
>> >> >>>>
>> >> >>>> [resending with the correct subject]
&

Re: [Carbon-dev] Code is Frozen for Following Projects in Carbon 3.1.0 Branch

2010-12-11 Thread Nuwan Bandara
Hi  Shariq,

On Sat, Dec 11, 2010 at 8:10 PM, Shariq  wrote:

> Hi,
>
> Currently the WS-Discovery osgi service is located in the carbon core,
> because of this WS-D capabilities wont be available webapps deployed in
> Appserver etc as we found out while working on the platform sample. In order
> to fix this we moved the the WS-D service component to the carbon base.
> However I have no committed these changes to the 3.1.0 branch since since
> the code is frozen.
>
> Should this change be incorporated in the 3.1.0 branch or should it be in
> 3.1.1 ?
>

Since the carbon core is released as 3.1.0, you wont be able to do any
changes to it with 3.1.0 version, You will have to add the changes as 3.1.1
and it will be effective with 3.1.1 core release.

I also have some pending changes to be done [1] but need to change core.ui,
since it is not critical will postpone till the 3.1.1 core release.

[1] https://wso2.org/jira/browse/GS-146

Regards,
/Nuwan


>
> Thanks,
> Shariq.
>
> On Mon, Dec 6, 2010 at 1:02 PM, Sameera Jayasoma  wrote:
>
>>
>>
>> On Fri, Dec 3, 2010 at 11:39 PM, Sameera Jayasoma wrote:
>>
>>> Hi dev,
>>>
>>> Code is frozen for following projects in Carbon 3.1.0 branch[1].
>>>
>>> *dependencies*
>>> --axiom
>>> --axis2
>>> --carbon-p2-plugin
>>> --commons
>>>   --pwprovider
>>> --httpcore
>>> --jsr107cache
>>> --synapse
>>> --transports
>>> --wsdl4j
>>> --wss4j
>>>
>>> *orbit*
>>> --abdera
>>> --ajaxtags
>>> --annongen
>>> --ant
>>> --axiom
>>> --axis2
>>> --backport-util-concurrent
>>> --commons-lang
>>> --commons-cli
>>> --commons-fileupload
>>> --commons-collections
>>> --commons-pool
>>> --commons-codec
>>> --commons-dbcp
>>> --compass
>>> --ehcache
>>> --geronimo-stax-api_1.0_spec
>>> --geronimo-transaction
>>> --geronimo-saaj_1.3_spec
>>> --h2-database-engine
>>> --httpclient
>>> --httpcore
>>> --httpcore-nio
>>> --jaxws
>>> --jettison
>>> --json
>>> --neethi
>>> --opencsv
>>> --opensaml2
>>> --smack
>>> --smackx
>>> --tiles
>>> --tribes
>>> --woden
>>> --wsdl4j
>>> --wss4j
>>> --xalan
>>> --xerces
>>> --xml-apis
>>> --xmlbeans
>>> --xmlschema
>>>
>>> *core*
>>>
>>> If you want to commit to any of the above project, please inform the list
>>> and get the confirmation. If we do get changes to one of the above project,
>>> we need to patch Carbon Core release. So please *don't commit* anything
>>> to above projects.
>>>
>>> We are in the process of graduating about set of project artifacts.
>>>
>>
>> Please don't commit to any of the above projects. This is the second
>> reminder. If you do need to commit, please inform the list.
>>
>>>
>>> Thanks
>>> Sameera
>>>
>>> [1] https://svn.wso2.org/repos/wso2/branches/carbon/3.1.0
>>>
>>> --
>>> Sameera Jayasoma
>>> Technical Lead and Product Manager, WSO2 Carbon
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://tech.jayasoma.org
>>>
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> Sameera Jayasoma
>> Technical Lead and Product Manager, WSO2 Carbon
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://tech.jayasoma.org
>>
>> Lean . Enterprise . Middleware
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


  1   2   3   4   >