Re: [Dev] Cannot Login to Management Console -4.0.2 API-M build

2012-10-04 Thread Lalaji Sureshika
Hi,

This issue has been fixed now.I took a svn up again of kernel upto r144951
and now can log-in to management console successfully.

Thanks;

On Fri, Oct 5, 2012 at 10:10 AM, Lalaji Sureshika  wrote:

> Hi Manjula,
>
> On Fri, Oct 5, 2012 at 9:53 AM, Manjula Rathnayake wrote:
>
>> Hi Lalaji,
>>
>> Is API Manager configured to use with LDAP? we faced similar issue and
>> Suresh committed the fix about a week ago. And check if local transport is
>> enabled in API Manager pack as well.
>>
>
> API Manager referring to default JDBCUserStoreManager configurations and
> not LDAP  and yes,we have enabled local transport in it.
>
> Note: Until yesterday morning after building API-M pack,we could able to
> successfully login to APIM management console and its apps.Issue arose
> after taking a svn up on yesterday evening.
>
> Thanks;
>
>>
>> thank you.
>>
>> On Fri, Oct 5, 2012 at 10:34 AM, Lalaji Sureshika wrote:
>>
>>> Hi,
>>>
>>> Tried with updating kernel to r144948. Still the issue is there.
>>>
>>> Thanks;
>>>
>>>
>>> On Fri, Oct 5, 2012 at 9:07 AM, Lalaji Sureshika wrote:
>>>
 Hi,

 After taking a svn up in kernel level,on yesterday evening,cannot
 log-into the management console with default admin credentials in API-M
 build pack.Following warning log[1]  thrown at backend. Checked with
 locally built carbon-core  pack as well.Same issue exists there as well.

 Note that this issue was not exists earlier when I built API-M pack
 with taking a svn up on yesterday morning.

 [2012-10-05 08:59:49,480]  WARN
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
 Administrator login attempt 'admin[-1234]' at [2012-10-05 
 08:59:49,479+0430]

 Thanks;

 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com




>>>
>>>
>>> --
>>> Lalaji Sureshika
>>> Software Engineer; Development Technologies Team;WSO2, Inc.;
>>> http://wso2.com/
>>> email: lal...@wso2.com; cell: +94 71 608 6811
>>> blog: http://lalajisureshika.blogspot.com
>>>
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Manjula Rathnayaka
>> Software Engineer
>> WSO2, Inc.
>> Mobile:+94 77 743 1987
>>
>
>
>
> --
> Lalaji Sureshika
> Software Engineer; Development Technologies Team;WSO2, Inc.;
> http://wso2.com/
> email: lal...@wso2.com; cell: +94 71 608 6811
> blog: http://lalajisureshika.blogspot.com
>
>
>
>


-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot Login to Management Console -4.0.2 API-M build

2012-10-04 Thread Lalaji Sureshika
Hi Manjula,

On Fri, Oct 5, 2012 at 9:53 AM, Manjula Rathnayake wrote:

> Hi Lalaji,
>
> Is API Manager configured to use with LDAP? we faced similar issue and
> Suresh committed the fix about a week ago. And check if local transport is
> enabled in API Manager pack as well.
>

API Manager referring to default JDBCUserStoreManager configurations and
not LDAP  and yes,we have enabled local transport in it.

Note: Until yesterday morning after building API-M pack,we could able to
successfully login to APIM management console and its apps.Issue arose
after taking a svn up on yesterday evening.

Thanks;

>
> thank you.
>
> On Fri, Oct 5, 2012 at 10:34 AM, Lalaji Sureshika  wrote:
>
>> Hi,
>>
>> Tried with updating kernel to r144948. Still the issue is there.
>>
>> Thanks;
>>
>>
>> On Fri, Oct 5, 2012 at 9:07 AM, Lalaji Sureshika  wrote:
>>
>>> Hi,
>>>
>>> After taking a svn up in kernel level,on yesterday evening,cannot
>>> log-into the management console with default admin credentials in API-M
>>> build pack.Following warning log[1]  thrown at backend. Checked with
>>> locally built carbon-core  pack as well.Same issue exists there as well.
>>>
>>> Note that this issue was not exists earlier when I built API-M pack with
>>> taking a svn up on yesterday morning.
>>>
>>> [2012-10-05 08:59:49,480]  WARN
>>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
>>> Administrator login attempt 'admin[-1234]' at [2012-10-05 08:59:49,479+0430]
>>>
>>> Thanks;
>>>
>>> --
>>> Lalaji Sureshika
>>> Software Engineer; Development Technologies Team;WSO2, Inc.;
>>> http://wso2.com/
>>> email: lal...@wso2.com; cell: +94 71 608 6811
>>> blog: http://lalajisureshika.blogspot.com
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Lalaji Sureshika
>> Software Engineer; Development Technologies Team;WSO2, Inc.;
>> http://wso2.com/
>> email: lal...@wso2.com; cell: +94 71 608 6811
>> blog: http://lalajisureshika.blogspot.com
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>



-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot Login to Management Console -4.0.2 API-M build

2012-10-04 Thread Manjula Rathnayake
Hi Lalaji,

Is API Manager configured to use with LDAP? we faced similar issue and
Suresh committed the fix about a week ago. And check if local transport is
enabled in API Manager pack as well.

thank you.

On Fri, Oct 5, 2012 at 10:34 AM, Lalaji Sureshika  wrote:

> Hi,
>
> Tried with updating kernel to r144948. Still the issue is there.
>
> Thanks;
>
>
> On Fri, Oct 5, 2012 at 9:07 AM, Lalaji Sureshika  wrote:
>
>> Hi,
>>
>> After taking a svn up in kernel level,on yesterday evening,cannot
>> log-into the management console with default admin credentials in API-M
>> build pack.Following warning log[1]  thrown at backend. Checked with
>> locally built carbon-core  pack as well.Same issue exists there as well.
>>
>> Note that this issue was not exists earlier when I built API-M pack with
>> taking a svn up on yesterday morning.
>>
>> [2012-10-05 08:59:49,480]  WARN
>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
>> Administrator login attempt 'admin[-1234]' at [2012-10-05 08:59:49,479+0430]
>>
>> Thanks;
>>
>> --
>> Lalaji Sureshika
>> Software Engineer; Development Technologies Team;WSO2, Inc.;
>> http://wso2.com/
>> email: lal...@wso2.com; cell: +94 71 608 6811
>> blog: http://lalajisureshika.blogspot.com
>>
>>
>>
>>
>
>
> --
> Lalaji Sureshika
> Software Engineer; Development Technologies Team;WSO2, Inc.;
> http://wso2.com/
> email: lal...@wso2.com; cell: +94 71 608 6811
> blog: http://lalajisureshika.blogspot.com
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [New Concept] CarbonContext pool

2012-10-04 Thread Afkham Azeez
A small change in user.core is also needed. The RealmService has to be
published under two interfaces; RealmService & the
org.wso2.carbon.user.api.UserRealmService

On Fri, Oct 5, 2012 at 10:23 AM, Afkham Azeez  wrote:

> Dimuthu,
> Please review the attached patch.
>
>
> On Fri, Oct 5, 2012 at 10:19 AM, Afkham Azeez  wrote:
>
>> The UserRealm can be fetched on demand, and there is no need to set that
>> into the CarbonContext until such time somebody requests for it. I will
>> make this improvement.
>>
>> Azeez
>>
>>
>> On Sat, Sep 29, 2012 at 12:19 AM, Afkham Azeez  wrote:
>>
>>> Dimuthu,
>>> Instead of caching the UserRealm, if we set it as attribute in the
>>> tenant's ConfigContext, we should be saving quite a lot of time in
>>> retrieving the UserRealm.
>>>
>>> Azeez
>>>
>>>
>>> On Thu, Sep 27, 2012 at 10:18 PM, Afkham Azeez  wrote:
>>>
 The UserRealm is taken from the cache, however, retrieving it from the
 cache can itself be further optimized IMO. See attached screenshot. By
 using a more efficient cache key, we may be able to get a considerable
 improvement.

 On Thu, Sep 27, 2012 at 4:46 PM, Dimuthu Leelarathne >>> > wrote:

> Hi,
>
> We load the tenant UserRealm on the first call. This profile test must
> be done for the first call. What is the result for the second call 
> onwards?
> Is it the same Reka?
>
> thanks,
> dimuthu
>
>
> On Thu, Sep 27, 2012 at 4:24 PM, Afkham Azeez  wrote:
>
>> Dimuthu,
>> Clearly, there is something wrong with tenant UserRealm caching. For
>> ST it seems to be cached while for other tenants it is not.
>>
>> Azeez
>>
>>
>> On Thu, Sep 27, 2012 at 4:15 PM, Reka Thirunavukkarasu > > wrote:
>>
>>> Hi
>>>
>>> I have attached here with the ST and tenant results.
>>>
>>> Thanks,
>>> Reka
>>>
>>>  On Thu, Sep 27, 2012 at 3:53 PM, Afkham Azeez wrote:
>>>


 On Thu, Sep 27, 2012 at 3:33 PM, Afkham Azeez wrote:

> Dimuthu,
> Any idea why DefaultRealmService.getTenantUserRealm is taking
> quite a bit overhead?
>

 Shouldn't we be getting the Tenant UserRealm from the cache?


>
> Azeez
>
>
> On Thu, Sep 27, 2012 at 2:26 PM, Reka Thirunavukkarasu <
> r...@wso2.com> wrote:
>
>> With this improvement, for 1 requests to a webapp, consumed
>> load of getTenatDomain is nealy 1% and getAppName was below 1%. I 
>> have
>> attached the screen shot here with.
>>
>> Thanks,
>> Reka
>>
>>
>> On Thu, Sep 27, 2012 at 2:13 PM, Reka Thirunavukkarasu <
>> r...@wso2.com> wrote:
>>
>>> Hi
>>>
>>> Yes. It is fixed in r143911.
>>>
>>> Thanks,
>>> Reka
>>>
>>>
>>> On Thu, Sep 27, 2012 at 2:01 PM, Afkham Azeez wrote:
>>>


 On Mon, Sep 10, 2012 at 3:47 PM, Reka Thirunavukkarasu <
 r...@wso2.com> wrote:

> Hi
>
> On Mon, Sep 10, 2012 at 3:18 PM, Afkham Azeez 
> wrote:
>
>> Amani, Reka,
>> Please try to optimize the following code in Utils.
>> request.getServerName is somewhat expensive, so we should be 
>> doing that
>> only if a URL mapped request is coming in. We can check for all 
>> general
>> cases first, and if all of those fail, finally check for URL 
>> mapping;
>>
>> public static String getTenantDomain(HttpServletRequest
>> request) {
>> String requestURI = request.getRequestURI();
>>  String domain =
>> MultitenantConstants.SUPER_TENANT_DOMAIN_NAME;
>> *//if the request is from a url mapping(
>> https://apptest.wso2.com/),*
>> *// need to get the tenant domain from the map*
>> *String serverName = request.getServerName();*
>> String appContext =
>> ApplicationContext.getCurrentApplicationContext().
>> getApplicationFromUrlMapping(serverName);
>> if(appContext != null) {
>> requestURI = appContext;
>> }
>>
>
>
>> On Mon, Sep 10, 2012 at 3:09 PM, Afkham Azeez > > wrote:
>>
>>> Take a look at the attached profiler screenshot. Some inner
>>> classes in CarbonContextHolderBase keep getting instantiated 
>>> several times
>>> during a single flow. I think we should be able to avoid that.
>>
>>
> 

Re: [Dev] Cannot Login to Management Console -4.0.2 API-M build

2012-10-04 Thread Lalaji Sureshika
Hi,

Tried with updating kernel to r144948. Still the issue is there.

Thanks;

On Fri, Oct 5, 2012 at 9:07 AM, Lalaji Sureshika  wrote:

> Hi,
>
> After taking a svn up in kernel level,on yesterday evening,cannot log-into
> the management console with default admin credentials in API-M build
> pack.Following warning log[1]  thrown at backend. Checked with locally
> built carbon-core  pack as well.Same issue exists there as well.
>
> Note that this issue was not exists earlier when I built API-M pack with
> taking a svn up on yesterday morning.
>
> [2012-10-05 08:59:49,480]  WARN
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
> Administrator login attempt 'admin[-1234]' at [2012-10-05 08:59:49,479+0430]
>
> Thanks;
>
> --
> Lalaji Sureshika
> Software Engineer; Development Technologies Team;WSO2, Inc.;
> http://wso2.com/
> email: lal...@wso2.com; cell: +94 71 608 6811
> blog: http://lalajisureshika.blogspot.com
>
>
>
>


-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [build fail] Kernel user core tests failing - 4.0.2

2012-10-04 Thread Samisa Abeysinghe
On Fri, Oct 5, 2012 at 9:24 AM, Afkham Azeez  wrote:

>
>
> On Fri, Oct 5, 2012 at 7:39 AM, Samisa Abeysinghe  wrote:
>
>> Failed tests:   testStuff(org.wso2.carbon.user.core.jdbc.JDBCRealmTest):
>> expected:<3> but was:<0>
>>
>> testStuff(org.wso2.carbon.user.core.jdbc.AdvancedReadOnlyJDBCRealmTest):
>> expected:<3> but was:<0>
>>   testStuff(org.wso2.carbon.user.core.jdbc.AdvancedJDBCRealmTest):
>> expected:<3> but was:<0>
>>   testStuff(org.wso2.carbon.user.core.jdbc.PermissionTest)
>>   testStuff(org.wso2.carbon.user.core.jdbc.ReadOnlyJDBCRealmTest):
>> expected:<3> but was:<0>
>>   testStuff(org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest)
>>
>
> testStuff???!!! Smart! Why don't we start naming all our methods like
> doStuff, doOtherStuff etc.
>

:D funStuff...

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [New Concept] CarbonContext pool

2012-10-04 Thread Afkham Azeez
Dimuthu,
Please review the attached patch.

On Fri, Oct 5, 2012 at 10:19 AM, Afkham Azeez  wrote:

> The UserRealm can be fetched on demand, and there is no need to set that
> into the CarbonContext until such time somebody requests for it. I will
> make this improvement.
>
> Azeez
>
>
> On Sat, Sep 29, 2012 at 12:19 AM, Afkham Azeez  wrote:
>
>> Dimuthu,
>> Instead of caching the UserRealm, if we set it as attribute in the
>> tenant's ConfigContext, we should be saving quite a lot of time in
>> retrieving the UserRealm.
>>
>> Azeez
>>
>>
>> On Thu, Sep 27, 2012 at 10:18 PM, Afkham Azeez  wrote:
>>
>>> The UserRealm is taken from the cache, however, retrieving it from the
>>> cache can itself be further optimized IMO. See attached screenshot. By
>>> using a more efficient cache key, we may be able to get a considerable
>>> improvement.
>>>
>>> On Thu, Sep 27, 2012 at 4:46 PM, Dimuthu Leelarathne 
>>> wrote:
>>>
 Hi,

 We load the tenant UserRealm on the first call. This profile test must
 be done for the first call. What is the result for the second call onwards?
 Is it the same Reka?

 thanks,
 dimuthu


 On Thu, Sep 27, 2012 at 4:24 PM, Afkham Azeez  wrote:

> Dimuthu,
> Clearly, there is something wrong with tenant UserRealm caching. For
> ST it seems to be cached while for other tenants it is not.
>
> Azeez
>
>
> On Thu, Sep 27, 2012 at 4:15 PM, Reka Thirunavukkarasu 
> wrote:
>
>> Hi
>>
>> I have attached here with the ST and tenant results.
>>
>> Thanks,
>> Reka
>>
>>  On Thu, Sep 27, 2012 at 3:53 PM, Afkham Azeez wrote:
>>
>>>
>>>
>>> On Thu, Sep 27, 2012 at 3:33 PM, Afkham Azeez wrote:
>>>
 Dimuthu,
 Any idea why DefaultRealmService.getTenantUserRealm is taking quite
 a bit overhead?

>>>
>>> Shouldn't we be getting the Tenant UserRealm from the cache?
>>>
>>>

 Azeez


 On Thu, Sep 27, 2012 at 2:26 PM, Reka Thirunavukkarasu <
 r...@wso2.com> wrote:

> With this improvement, for 1 requests to a webapp, consumed
> load of getTenatDomain is nealy 1% and getAppName was below 1%. I have
> attached the screen shot here with.
>
> Thanks,
> Reka
>
>
> On Thu, Sep 27, 2012 at 2:13 PM, Reka Thirunavukkarasu <
> r...@wso2.com> wrote:
>
>> Hi
>>
>> Yes. It is fixed in r143911.
>>
>> Thanks,
>> Reka
>>
>>
>> On Thu, Sep 27, 2012 at 2:01 PM, Afkham Azeez wrote:
>>
>>>
>>>
>>> On Mon, Sep 10, 2012 at 3:47 PM, Reka Thirunavukkarasu <
>>> r...@wso2.com> wrote:
>>>
 Hi

 On Mon, Sep 10, 2012 at 3:18 PM, Afkham Azeez 
 wrote:

> Amani, Reka,
> Please try to optimize the following code in Utils.
> request.getServerName is somewhat expensive, so we should be 
> doing that
> only if a URL mapped request is coming in. We can check for all 
> general
> cases first, and if all of those fail, finally check for URL 
> mapping;
>
> public static String getTenantDomain(HttpServletRequest
> request) {
> String requestURI = request.getRequestURI();
>  String domain =
> MultitenantConstants.SUPER_TENANT_DOMAIN_NAME;
> *//if the request is from a url mapping(
> https://apptest.wso2.com/),*
> *// need to get the tenant domain from the map*
> *String serverName = request.getServerName();*
> String appContext =
> ApplicationContext.getCurrentApplicationContext().
> getApplicationFromUrlMapping(serverName);
> if(appContext != null) {
> requestURI = appContext;
> }
>


> On Mon, Sep 10, 2012 at 3:09 PM, Afkham Azeez 
> wrote:
>
>> Take a look at the attached profiler screenshot. Some inner
>> classes in CarbonContextHolderBase keep getting instantiated 
>> several times
>> during a single flow. I think we should be able to avoid that.
>
>
 sure. Will optimize it accordingly.

>>>
>>> Was this completed?
>>>
>>>
>>>
>>
>


 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * **
 email: *

Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Harshana Martin
Hi Samisa,
On Oct 5, 2012 10:12 AM, "Samisa Abeysinghe"  wrote:
>
>
>
> On Fri, Oct 5, 2012 at 10:10 AM, Harshana Martin 
wrote:
>>
>> Hi Samisa,
>>
>>
>> On Oct 5, 2012 5:00 AM, "Samisa Abeysinghe"  wrote:
>> >
>> >
>> >
>> > On Fri, Oct 5, 2012 at 2:34 AM, Ruchira Wageesha 
wrote:
>> >>
>> >> Hi,
>> >>
>> >> Is there a way to specify registry resource metadata & associations
etc. in a car file?
>> >
>> >
>> > Yes.
>> >>
>> >>
>> >> Also, if we have a Registry handler project and a Registry resource
project in the same car file, then will handler be given the priority over
the resource project during the deployment time. i.e. Will handler get
called for the resource addition from the same car file?
>> >
>> >
>> > Why not separate them?  Also, AFAIK, handlers are not hot deployed.
>>
>> All the server extention bundles are programmatically installed and
activated by C-App deployer. Therefore they are hot deployble. But they are
not hot updatable because Equinox need to be refreshed after bundle
uninstall operation.
>
>
> Hot deployable is pointless if they are not hot updatable, because, there
will be mistakes made and there will arise the need to update.

I agree.

Quite often users need to update the Reg Handlers, Class Mediators,etc
while developing it.

Previously when we try to refresh the OSGi runtime while server was
running, server endup with errors.

But didn't check the behavior after Tomcat OSGification.

If the aforementioned behavior is fixed after tomcat OSGification, we may
be able to enable the true hot update feature for bundles as well.

Thanks and Regards,
Harshana
>
>> Therefore after hot update server needs to be restarted to pick the new
bundle.
>>
>> Thanks and Regards,
>> Harshana
>>
>>
>> >
>> >>
>> >> Thanks,
>> >> Ruchira
>> >>
>> >> --
>> >> Ruchira Wageesha
>> >> Senior Software Engineer & Member, Management Committee, Development
Technologies
>> >> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>> >>
>> >> email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,
mobile: +94 77 5493444
>> >>
>> >>
>> >> ___
>> >> Dev mailing list
>> >> Dev@wso2.org
>> >> http://wso2.org/cgi-bin/mailman/listinfo/dev
>> >>
>> > Thanks,
>> > Samisa...
>> >
>> > Samisa Abeysinghe
>> > VP Engineering
>> > WSO2 Inc.
>> > http://wso2.com
>> > http://wso2.org
>> >
>> >
>> >
>> > ___
>> > Dev mailing list
>> > Dev@wso2.org
>> > http://wso2.org/cgi-bin/mailman/listinfo/dev
>> >
>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [New Concept] CarbonContext pool

2012-10-04 Thread Afkham Azeez
The UserRealm can be fetched on demand, and there is no need to set that
into the CarbonContext until such time somebody requests for it. I will
make this improvement.

Azeez

On Sat, Sep 29, 2012 at 12:19 AM, Afkham Azeez  wrote:

> Dimuthu,
> Instead of caching the UserRealm, if we set it as attribute in the
> tenant's ConfigContext, we should be saving quite a lot of time in
> retrieving the UserRealm.
>
> Azeez
>
>
> On Thu, Sep 27, 2012 at 10:18 PM, Afkham Azeez  wrote:
>
>> The UserRealm is taken from the cache, however, retrieving it from the
>> cache can itself be further optimized IMO. See attached screenshot. By
>> using a more efficient cache key, we may be able to get a considerable
>> improvement.
>>
>> On Thu, Sep 27, 2012 at 4:46 PM, Dimuthu Leelarathne 
>> wrote:
>>
>>> Hi,
>>>
>>> We load the tenant UserRealm on the first call. This profile test must
>>> be done for the first call. What is the result for the second call onwards?
>>> Is it the same Reka?
>>>
>>> thanks,
>>> dimuthu
>>>
>>>
>>> On Thu, Sep 27, 2012 at 4:24 PM, Afkham Azeez  wrote:
>>>
 Dimuthu,
 Clearly, there is something wrong with tenant UserRealm caching. For ST
 it seems to be cached while for other tenants it is not.

 Azeez


 On Thu, Sep 27, 2012 at 4:15 PM, Reka Thirunavukkarasu 
 wrote:

> Hi
>
> I have attached here with the ST and tenant results.
>
> Thanks,
> Reka
>
>  On Thu, Sep 27, 2012 at 3:53 PM, Afkham Azeez  wrote:
>
>>
>>
>> On Thu, Sep 27, 2012 at 3:33 PM, Afkham Azeez  wrote:
>>
>>> Dimuthu,
>>> Any idea why DefaultRealmService.getTenantUserRealm is taking quite
>>> a bit overhead?
>>>
>>
>> Shouldn't we be getting the Tenant UserRealm from the cache?
>>
>>
>>>
>>> Azeez
>>>
>>>
>>> On Thu, Sep 27, 2012 at 2:26 PM, Reka Thirunavukkarasu <
>>> r...@wso2.com> wrote:
>>>
 With this improvement, for 1 requests to a webapp, consumed
 load of getTenatDomain is nealy 1% and getAppName was below 1%. I have
 attached the screen shot here with.

 Thanks,
 Reka


 On Thu, Sep 27, 2012 at 2:13 PM, Reka Thirunavukkarasu <
 r...@wso2.com> wrote:

> Hi
>
> Yes. It is fixed in r143911.
>
> Thanks,
> Reka
>
>
> On Thu, Sep 27, 2012 at 2:01 PM, Afkham Azeez wrote:
>
>>
>>
>> On Mon, Sep 10, 2012 at 3:47 PM, Reka Thirunavukkarasu <
>> r...@wso2.com> wrote:
>>
>>> Hi
>>>
>>> On Mon, Sep 10, 2012 at 3:18 PM, Afkham Azeez wrote:
>>>
 Amani, Reka,
 Please try to optimize the following code in Utils.
 request.getServerName is somewhat expensive, so we should be doing 
 that
 only if a URL mapped request is coming in. We can check for all 
 general
 cases first, and if all of those fail, finally check for URL 
 mapping;

 public static String getTenantDomain(HttpServletRequest
 request) {
 String requestURI = request.getRequestURI();
  String domain = MultitenantConstants.SUPER_TENANT_DOMAIN_NAME;
 *//if the request is from a url mapping(
 https://apptest.wso2.com/),*
 *// need to get the tenant domain from the map*
 *String serverName = request.getServerName();*
 String appContext =
 ApplicationContext.getCurrentApplicationContext().
 getApplicationFromUrlMapping(serverName);
 if(appContext != null) {
 requestURI = appContext;
 }

>>>
>>>
 On Mon, Sep 10, 2012 at 3:09 PM, Afkham Azeez 
 wrote:

> Take a look at the attached profiler screenshot. Some inner
> classes in CarbonContextHolderBase keep getting instantiated 
> several times
> during a single flow. I think we should be able to avoid that.


>>> sure. Will optimize it accordingly.
>>>
>>
>> Was this completed?
>>
>>
>>
>

>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; 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*
>>> *
>>> *

Re: [Dev] XML schema for RXT & LC

2012-10-04 Thread Samisa Abeysinghe
On Fri, Oct 5, 2012 at 10:10 AM, Senaka Fernando  wrote:

> Hi Samisa,
>
> Harshana and the team is already working on getting the tool side of it
> sorted out. Also, we have a road-map item to have a add-RXT page like the
> add-LC page.
>

Unfortunately, the story is half baked without provision of these tooling
and supporting aspects.

I wonder what the priorities are on the road-map aspects - in the global
optima, not in the local optima.



>
> Thanks,
> Senaka.
>
>
> On Fri, Oct 5, 2012 at 9:56 AM, Samisa Abeysinghe  wrote:
>
>>
>>
>> On Fri, Oct 5, 2012 at 9:43 AM, Senaka Fernando  wrote:
>>
>>> Hi all,
>>>
>>> I think we should improve the docs to have this as a side note or even a
>>> sample (as to how to use the XSD to generate LC or RXT). I will work on
>>> getting this done.
>>>
>>
>> Well, actually, it is neither the doc nor the schema that we should have,
>> as that is tech detail. As a user, I would not care as long as I have a
>> tool to easily define RXTs.  That would solve lot of problems.
>>
>>
>>
>>>
>>> Thanks,
>>> Senaka.
>>>
>>> On Fri, Oct 5, 2012 at 9:26 AM, Eranda Sooriyabandara 
>>> wrote:
>>>
 Hi Samisa

 On Fri, Oct 5, 2012 at 9:19 AM, Samisa Abeysinghe wrote:

> Do we have schema defined for $subject?
>
> I am trying to see how I could do the least work and generate the RXT
> that I want, plus the LC for that.
>
>
> Yes, they are defined. You can find them in
 CARBON_HOME/repository/resource/rxt.xsd
 and  CARBON_HOME/repository/resource/lifecycle-config.xsd.

 thanks
 Eranda
 *
 *


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


>>>
>>>
>>> --
>>> *Senaka Fernando*
>>> Member - Integration Technologies Management Committee;
>>> Technical Lead; 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://linkedin.com/in/senakafernando
>>>
>>> *Lean . Enterprise . Middleware
>>>
>>>  Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; 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://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>  Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Samisa Abeysinghe
On Fri, Oct 5, 2012 at 10:10 AM, Harshana Martin  wrote:

> Hi Samisa,
>
> On Oct 5, 2012 5:00 AM, "Samisa Abeysinghe"  wrote:
> >
> >
> >
> > On Fri, Oct 5, 2012 at 2:34 AM, Ruchira Wageesha 
> wrote:
> >>
> >> Hi,
> >>
> >> Is there a way to specify registry resource metadata & associations
> etc. in a car file?
> >
> >
> > Yes.
> >>
> >>
> >> Also, if we have a Registry handler project and a Registry resource
> project in the same car file, then will handler be given the priority over
> the resource project during the deployment time. i.e. Will handler get
> called for the resource addition from the same car file?
> >
> >
> > Why not separate them?  Also, AFAIK, handlers are not hot deployed.
>
> All the server extention bundles are programmatically installed and
> activated by C-App deployer. Therefore they are hot deployble. But they are
> not hot updatable because Equinox need to be refreshed after bundle
> uninstall operation.
>

Hot deployable is pointless if they are not hot updatable, because, there
will be mistakes made and there will arise the need to update.

Therefore after hot update server needs to be restarted to pick the new
> bundle.
>
> Thanks and Regards,
> Harshana
>
> >
> >>
> >> Thanks,
> >> Ruchira
> >>
> >> --
> >> Ruchira Wageesha
> >> Senior Software Engineer & Member, Management Committee, Development
> Technologies
> >> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
> >>
> >> email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,
> mobile: +94 77 5493444
> >>
> >>
> >> ___
> >> Dev mailing list
> >> Dev@wso2.org
> >> http://wso2.org/cgi-bin/mailman/listinfo/dev
> >>
> > Thanks,
> > Samisa...
> >
> > Samisa Abeysinghe
> > VP Engineering
> > WSO2 Inc.
> > http://wso2.com
> > http://wso2.org
> >
> >
> >
> > ___
> > Dev mailing list
> > Dev@wso2.org
> > http://wso2.org/cgi-bin/mailman/listinfo/dev
> >
>
>  Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] XML schema for RXT & LC

2012-10-04 Thread Senaka Fernando
Hi Samisa,

Harshana and the team is already working on getting the tool side of it
sorted out. Also, we have a road-map item to have a add-RXT page like the
add-LC page.

Thanks,
Senaka.

On Fri, Oct 5, 2012 at 9:56 AM, Samisa Abeysinghe  wrote:

>
>
> On Fri, Oct 5, 2012 at 9:43 AM, Senaka Fernando  wrote:
>
>> Hi all,
>>
>> I think we should improve the docs to have this as a side note or even a
>> sample (as to how to use the XSD to generate LC or RXT). I will work on
>> getting this done.
>>
>
> Well, actually, it is neither the doc nor the schema that we should have,
> as that is tech detail. As a user, I would not care as long as I have a
> tool to easily define RXTs.  That would solve lot of problems.
>
>
>
>>
>> Thanks,
>> Senaka.
>>
>> On Fri, Oct 5, 2012 at 9:26 AM, Eranda Sooriyabandara wrote:
>>
>>> Hi Samisa
>>>
>>> On Fri, Oct 5, 2012 at 9:19 AM, Samisa Abeysinghe wrote:
>>>
 Do we have schema defined for $subject?

 I am trying to see how I could do the least work and generate the RXT
 that I want, plus the LC for that.


 Yes, they are defined. You can find them in
>>> CARBON_HOME/repository/resource/rxt.xsd
>>> and  CARBON_HOME/repository/resource/lifecycle-config.xsd.
>>>
>>> thanks
>>> Eranda
>>> *
>>> *
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Senaka Fernando*
>> Member - Integration Technologies Management Committee;
>> Technical Lead; 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://linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>  Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>


-- 
*Senaka Fernando*
Member - Integration Technologies Management Committee;
Technical Lead; 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://linkedin.com/in/senakafernando

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


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Harshana Martin
Hi Samisa,
On Oct 5, 2012 5:00 AM, "Samisa Abeysinghe"  wrote:
>
>
>
> On Fri, Oct 5, 2012 at 2:34 AM, Ruchira Wageesha  wrote:
>>
>> Hi,
>>
>> Is there a way to specify registry resource metadata & associations etc.
in a car file?
>
>
> Yes.
>>
>>
>> Also, if we have a Registry handler project and a Registry resource
project in the same car file, then will handler be given the priority over
the resource project during the deployment time. i.e. Will handler get
called for the resource addition from the same car file?
>
>
> Why not separate them?  Also, AFAIK, handlers are not hot deployed.

All the server extention bundles are programmatically installed and
activated by C-App deployer. Therefore they are hot deployble. But they are
not hot updatable because Equinox need to be refreshed after bundle
uninstall operation.

Therefore after hot update server needs to be restarted to pick the new
bundle.

Thanks and Regards,
Harshana
>
>>
>> Thanks,
>> Ruchira
>>
>> --
>> Ruchira Wageesha
>> Senior Software Engineer & Member, Management Committee, Development
Technologies
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,   mobile:
+94 77 5493444
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Cannot Login to Management Console -4.0.2 API-M build

2012-10-04 Thread Lalaji Sureshika
Hi,

After taking a svn up in kernel level,on yesterday evening,cannot log-into
the management console with default admin credentials in API-M build
pack.Following warning log[1]  thrown at backend. Checked with locally
built carbon-core  pack as well.Same issue exists there as well.

Note that this issue was not exists earlier when I built API-M pack with
taking a svn up on yesterday morning.

[2012-10-05 08:59:49,480]  WARN
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
Administrator login attempt 'admin[-1234]' at [2012-10-05 08:59:49,479+0430]

Thanks;

-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: [Bamboo-Build] Sonar Reporting > Branch Kernel_4.0.2 > #15 has FAILED

2012-10-04 Thread Maheshika Goonetilleke
-- Forwarded message --
From: Bamboo 
Date: Fri, Oct 5, 2012 at 9:49 AM
Subject: [Bamboo-Build] Sonar Reporting > Branch Kernel_4.0.2 > #15 has
FAILED
To: mahesh...@wso2.com


 [image: Failed]  Sonar Reporting
› Branch
Kernel_4.0.2  ›
#15
failed

This build was manually triggered by Maheshika
Goonetilleke
.

No failed tests found, a possible compilation error.
  Responsible  Kishanthan
Thangarajah
Automatically
assigned
  Failing Jobs Job
Duration Tests[image: Failed]  Default
Job (Default
Stage)  4 minutes  No tests found
Logs|
Artifacts 
View
Online  | Add
Comments

This message was sent by Atlassian Bamboo .

If you wish to stop receiving these emails edit your user
profileor
notify
your administrator .



Hi All

The following error occurs while trying to build Kernel 4.0.2;

04-Oct-2012 21:19:05 [ERROR] Failed to execute goal on project
org.wso2.carbon.core.feature: Could not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.core.feature:pom:4.0.2: The following
artifacts could not be resolved:
org.wso2.carbon:org.wso2.carbon.tomcat:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.tomcat.patch:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.tomcat.fragment.dummy:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.context:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.logging:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.securevault:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.core.common:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.server.admin.common:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.user.mgt.common:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.cluster.mgt.core:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.user.mgt:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.ui.menu.general:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.i18n:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.server.admin.ui:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.user.mgt.ui:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.queuing:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.base:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.registry.api:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.feature.mgt.ui:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.feature.mgt.core:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.feature.mgt.services:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.addressing:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.roles.mgt:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.roles.mgt.ui:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.roles.mgt.stub:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.core.bootup.validator:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.coordination.common:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.ndatasource.common:jar:4.0.2,
org.wso2.carbon:org.wso2.carbon.ndatasource.rdbms:jar:4.0.2: Failure to
find org.wso2.carbon:org.wso2.carbon.tomcat:jar:4.0.2 in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced -> [Help 1]04-Oct-2012
21:19:05 [ERROR]

Please assist.


-- 

Thanks & Best Regards,

Maheshika Goonetilleke
Engineering Process Coordinator
WSO2 Inc

www.wso2.com/

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


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Harshana Martin
Hi Ruchira,

Pleasr find the comments inline.
On Oct 5, 2012 2:34 AM, "Ruchira Wageesha"  wrote:
>
> Hi,
>
> Is there a way to specify registry resource metadata & associations etc.
in a car file?

Nope.

We cannot provide registry metadata from a CAR file because we currently
don't have a way to represent registry specific information in the file
system.

Due to this limitation we cannot provide registry metadata from a CAR file
and for the same reason we lose all the registry metadata when we do a
registy check-out.
>
> Also, if we have a Registry handler project and a Registry resource
project in the same car file, then will handler be given the priority over
the resource project during the deployment time. i.e. Will handler get
called for the resource addition from the same car file?

IIRC Registry resources has the priority but not the Reg Handler. So you
need to make them separate C- Apps and deploy Reg Handler app first.

Thanks and Regards,
Harshana
>
> Thanks,
> Ruchira
>
> --
> Ruchira Wageesha
> Senior Software Engineer & Member, Management Committee, Development
Technologies
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,   mobile:
+94 77 5493444
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] XML schema for RXT & LC

2012-10-04 Thread Samisa Abeysinghe
On Fri, Oct 5, 2012 at 9:43 AM, Senaka Fernando  wrote:

> Hi all,
>
> I think we should improve the docs to have this as a side note or even a
> sample (as to how to use the XSD to generate LC or RXT). I will work on
> getting this done.
>

Well, actually, it is neither the doc nor the schema that we should have,
as that is tech detail. As a user, I would not care as long as I have a
tool to easily define RXTs.  That would solve lot of problems.



>
> Thanks,
> Senaka.
>
> On Fri, Oct 5, 2012 at 9:26 AM, Eranda Sooriyabandara wrote:
>
>> Hi Samisa
>>
>> On Fri, Oct 5, 2012 at 9:19 AM, Samisa Abeysinghe wrote:
>>
>>> Do we have schema defined for $subject?
>>>
>>> I am trying to see how I could do the least work and generate the RXT
>>> that I want, plus the LC for that.
>>>
>>>
>>> Yes, they are defined. You can find them in
>> CARBON_HOME/repository/resource/rxt.xsd
>> and  CARBON_HOME/repository/resource/lifecycle-config.xsd.
>>
>> thanks
>> Eranda
>> *
>> *
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; 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://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>  Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Senaka Fernando
Hi Samisa,

No the docs should be improved to explain how this works. Eranda, we need a
high-level explanation of things like this, the low-level classloading
details won't help a user who's going to deploy a handler. They are not
supposed to debug the product source code to learn how to register handlers
and how they are sequenced.

Thanks,
Senaka.

On Fri, Oct 5, 2012 at 8:44 AM, Eranda Sooriyabandara wrote:

> Hi Samisa,
>
>
>
>>
>> Um I am confused by your statement - can you clarify further please? Or
>> better yet, do we have a doc on this preference order?
>>
>>
>
> AFAIK, There is a class loader which search jars in
> repository/components/lib folder if the class not found in the current
> classpath. First time you added to the classpath then it will remain in the
> classpath so that the modification to the same jar won't affect.
>
> thanks
> Eranda
> *
> *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Senaka Fernando*
Member - Integration Technologies Management Committee;
Technical Lead; 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://linkedin.com/in/senakafernando

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


Re: [Dev] XML schema for RXT & LC

2012-10-04 Thread Senaka Fernando
Hi all,

I think we should improve the docs to have this as a side note or even a
sample (as to how to use the XSD to generate LC or RXT). I will work on
getting this done.

Thanks,
Senaka.

On Fri, Oct 5, 2012 at 9:26 AM, Eranda Sooriyabandara wrote:

> Hi Samisa
>
> On Fri, Oct 5, 2012 at 9:19 AM, Samisa Abeysinghe  wrote:
>
>> Do we have schema defined for $subject?
>>
>> I am trying to see how I could do the least work and generate the RXT
>> that I want, plus the LC for that.
>>
>>
>> Yes, they are defined. You can find them in
> CARBON_HOME/repository/resource/rxt.xsd
> and  CARBON_HOME/repository/resource/lifecycle-config.xsd.
>
> thanks
> Eranda
> *
> *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Senaka Fernando*
Member - Integration Technologies Management Committee;
Technical Lead; 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://linkedin.com/in/senakafernando

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


Re: [Dev] XML schema for RXT & LC

2012-10-04 Thread Eranda Sooriyabandara
Hi Samisa

On Fri, Oct 5, 2012 at 9:19 AM, Samisa Abeysinghe  wrote:

> Do we have schema defined for $subject?
>
> I am trying to see how I could do the least work and generate the RXT that
> I want, plus the LC for that.
>
>
> Yes, they are defined. You can find them in
CARBON_HOME/repository/resource/rxt.xsd
and  CARBON_HOME/repository/resource/lifecycle-config.xsd.

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


Re: [Dev] [build fail] Kernel user core tests failing - 4.0.2

2012-10-04 Thread Afkham Azeez
On Fri, Oct 5, 2012 at 7:39 AM, Samisa Abeysinghe  wrote:

> Failed tests:   testStuff(org.wso2.carbon.user.core.jdbc.JDBCRealmTest):
> expected:<3> but was:<0>
>   testStuff(org.wso2.carbon.user.core.jdbc.AdvancedReadOnlyJDBCRealmTest):
> expected:<3> but was:<0>
>   testStuff(org.wso2.carbon.user.core.jdbc.AdvancedJDBCRealmTest):
> expected:<3> but was:<0>
>   testStuff(org.wso2.carbon.user.core.jdbc.PermissionTest)
>   testStuff(org.wso2.carbon.user.core.jdbc.ReadOnlyJDBCRealmTest):
> expected:<3> but was:<0>
>   testStuff(org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest)
>

testStuff???!!! Smart! Why don't we start naming all our methods like
doStuff, doOtherStuff etc.


>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; 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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] XML schema for RXT & LC

2012-10-04 Thread Samisa Abeysinghe
Do we have schema defined for $subject?

I am trying to see how I could do the least work and generate the RXT that
I want, plus the LC for that.

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [build fail] Kernel user core tests failing - 4.0.2

2012-10-04 Thread Dimuthu Leelarathne
On Fri, Oct 5, 2012 at 7:39 AM, Samisa Abeysinghe  wrote:

> Failed tests:   testStuff(org.wso2.carbon.user.core.jdbc.JDBCRealmTest):
> expected:<3> but was:<0>
>   testStuff(org.wso2.carbon.user.core.jdbc.AdvancedReadOnlyJDBCRealmTest):
> expected:<3> but was:<0>
>   testStuff(org.wso2.carbon.user.core.jdbc.AdvancedJDBCRealmTest):
> expected:<3> but was:<0>
>   testStuff(org.wso2.carbon.user.core.jdbc.PermissionTest)
>   testStuff(org.wso2.carbon.user.core.jdbc.ReadOnlyJDBCRealmTest):
> expected:<3> but was:<0>
>   testStuff(org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest)
>
> Looking into this. Will fix.

thanks,
dimuthu

> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Eranda Sooriyabandara
Hi Samisa,



>
> Um I am confused by your statement - can you clarify further please? Or
> better yet, do we have a doc on this preference order?
>
>

AFAIK, There is a class loader which search jars in
repository/components/lib folder if the class not found in the current
classpath. First time you added to the classpath then it will remain in the
classpath so that the modification to the same jar won't affect.

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #433 has FAILED (14 tests failed, no failures were new)

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Platform_4.0.0 > #433 failed.
---
This build occurred because it is a dependant of WCB001-KER000-265.
14/1666 tests failed, no failures were new.

http://wso2.org/bamboo/browse/WCB001-PLA000-433/

-
Currently Responsible
-

Isuru Udana Loku Narangoda (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): 14 of 1666 tests failed.




--
Tests
--
Existing Test Failures (14)
   - DefaultLifecycleTest: Lifecycle
   - ActivityManagerImplTest: Create activity
   - ActivityManagerImplTest: Delete activities
   - ActivityManagerImplTest: Update activity
   - ActivityManagerImplTest: Get activities
   - ActivityManagerImplTest: Delete activity
   - ActivityManagerImplTest: Get activities2
   - AppDataManagerImplTest: App data manager
   - MessageManagerImplTest: Messages
   - MessageManagerImplTest: Message collections
   - RelationshipManagerImplTest: Relationship requesting
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Samisa Abeysinghe
On Fri, Oct 5, 2012 at 8:13 AM, Eranda Sooriyabandara wrote:

> Hi Samisa,
>
>
>>
>> Why not separate them?  Also, AFAIK, handlers are not hot deployed.
>>
>>>
>>>
> Handlers are hot deployed but they can't overwrite once added. If it want
> to overwrite then you need to restart the server.
>

Um I am confused by your statement - can you clarify further please? Or
better yet, do we have a doc on this preference order?


>
> thanks
> Eranda
>
>  Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Eranda Sooriyabandara
Hi Samisa,


>
> Why not separate them?  Also, AFAIK, handlers are not hot deployed.
>
>>
>>
Handlers are hot deployed but they can't overwrite once added. If it want
to overwrite then you need to restart the server.

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


[Dev] [build fail] Kernel user core tests failing - 4.0.2

2012-10-04 Thread Samisa Abeysinghe
Failed tests:   testStuff(org.wso2.carbon.user.core.jdbc.JDBCRealmTest):
expected:<3> but was:<0>
  testStuff(org.wso2.carbon.user.core.jdbc.AdvancedReadOnlyJDBCRealmTest):
expected:<3> but was:<0>
  testStuff(org.wso2.carbon.user.core.jdbc.AdvancedJDBCRealmTest):
expected:<3> but was:<0>
  testStuff(org.wso2.carbon.user.core.jdbc.PermissionTest)
  testStuff(org.wso2.carbon.user.core.jdbc.ReadOnlyJDBCRealmTest):
expected:<3> but was:<0>
  testStuff(org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest)

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Samisa Abeysinghe
On Fri, Oct 5, 2012 at 2:34 AM, Ruchira Wageesha  wrote:

> Hi,
>
> Is there a way to specify registry resource metadata & associations etc.
> in a car file?
>

Yes.

>
> Also, if we have a Registry handler project and a Registry resource
> project in the same car file, then will handler be given the priority over
> the resource project during the deployment time. i.e. Will handler get
> called for the resource addition from the same car file?
>

Why not separate them?  Also, AFAIK, handlers are not hot deployed.


> Thanks,
> Ruchira
>
> --
> *Ruchira Wageesha
> Senior Software Engineer & Member, Management Committee, Development
> Technologies*
> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
> *
> email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,   mobile: +94
> 77 5493444*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
> Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Products_4.0.0 > #145 has FAILED. Change made by 24 authors.

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Products_4.0.0 > #145 failed.
---
Code has been updated by krishantha, hasini, nandika, sinthuja, nuwanw, amilam, 
lalaji, anjana, eranda, maninda, suho, prabatha, damitha, shammi, dharshanaw, 
deep, charitham, suresh, reka, dinusha, amila, Isuru Udana Loku Narangoda, 
shariq, chanaka.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-PRO000-145/

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
nuwanw (144902):

>added proxy service editing test case

hasini (144822):

>updating dependency version

charitham (144868):

>adding 4.0.2 to fix ESBJAVA-1617



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-04 Thread Ruchira Wageesha
Hi,

Is there a way to specify registry resource metadata & associations etc. in
a car file?

Also, if we have a Registry handler project and a Registry resource project
in the same car file, then will handler be given the priority over the
resource project during the deployment time. i.e. Will handler get called
for the resource addition from the same car file?

Thanks,
Ruchira

-- 
*Ruchira Wageesha
Senior Software Engineer & Member, Management Committee, Development
Technologies*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
*
email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,   mobile:
+94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #432 has FAILED (14 tests failed, no failures were new). Change made by hasini.

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Platform_4.0.0 > #432 failed.
---
Code has been updated by hasini.
14/1666 tests failed, no failures were new.

http://wso2.org/bamboo/browse/WCB001-PLA000-432/

-
Currently Responsible
-

Isuru Udana Loku Narangoda (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): 14 of 1666 tests failed.



--
Code Changes
--
hasini (144941):

>fix for a compilation failure due to method signature change



--
Tests
--
Existing Test Failures (14)
   - DefaultLifecycleTest: Lifecycle
   - ActivityManagerImplTest: Delete activity
   - ActivityManagerImplTest: Get activities2
   - ActivityManagerImplTest: Create activity
   - ActivityManagerImplTest: Delete activities
   - ActivityManagerImplTest: Update activity
   - ActivityManagerImplTest: Get activities
   - AppDataManagerImplTest: App data manager
   - MessageManagerImplTest: Messages
   - MessageManagerImplTest: Message collections
   - RelationshipManagerImplTest: Relationship requesting
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #431 has FAILED (14 tests failed, 11 failures were new). Change made by 13 authors.

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Platform_4.0.0 > #431 failed.
---
This build occurred because it is a dependant of WCB001-KER000-264.
14/1666 tests failed, 11 failures were new.

http://wso2.org/bamboo/browse/WCB001-PLA000-431/

-
Currently Responsible
-

Isuru Udana Loku Narangoda (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): 14 of 1666 tests failed.



--
Code Changes
--
nuwanw (144902):

>added proxy service editing test case

reka (144932):

>updated log4j.properties

charitham (144930):

>adding hl7 feature to 4.0.2



--
Tests
--
New Test Failures (11)
   - DefaultLifecycleTest: Lifecycle
   - ActivityManagerImplTest: Delete activity
   - ActivityManagerImplTest: Get activities2
   - ActivityManagerImplTest: Create activity
   - ActivityManagerImplTest: Delete activities
   - ActivityManagerImplTest: Update activity
   - ActivityManagerImplTest: Get activities
   - AppDataManagerImplTest: App data manager
   - MessageManagerImplTest: Messages
   - MessageManagerImplTest: Message collections
   - RelationshipManagerImplTest: Relationship requesting
Existing Test Failures (3)
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Code freeze for Carbon 4.0.2

2012-10-04 Thread Samisa Abeysinghe
Please consider code to be frozen from now on until further notice till the
release is done.

All devs should focus on testing at this point. Only the fixes for absolute
blockers will be commuted in from this point on.

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #430 has FAILED (5 tests failed). Change made by 18 authors.

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Platform_4.0.0 > #430 failed.
---
This build occurred because it is a dependant of WCB001-KER000-262.
5/1713 tests failed.

http://wso2.org/bamboo/browse/WCB001-PLA000-430/

-
Currently Responsible
-

Isuru Udana Loku Narangoda (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): 5 of 1713 tests failed.



--
Code Changes
--
lalaji (144848):

>update bin.xml

charitham (144868):

>adding 4.0.2 to fix ESBJAVA-1617

charitham (144875):

>updating wsdl tools version



--
Tests
--
New Test Failures (5)
   - APIKeyCacheTest: L r u behavior
   - APIKeyCacheTest: Caching
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Possible ClassCastException appearing when trying to retrieve carbon context holder for sessions [thrift/http] -4.0.2 branch

2012-10-04 Thread Lalaji Sureshika
Hi,

With the latest API-M pack build in public branch,when thrift enabled,there
was an ClassCastException[1] thrown while invoking APIs published through
APIStore.

When going through the code,found that issue is appearing with obtaining
the current context for a Thrift Session.

In the method 'getCurrentCarbonContextHolder(ThriftSession
thriftSession, boolean
addToSession)' of 'CarbonContextDataHolder' class there's an attribute is
set for ThriftSession with the object type 'CarbonContextDataHolder'
 [which is currently resides inside a private package]  and without
wrapping it through publicly accessible interface class object either "
CarbonContext/PrivilegedCarbonContext" as below.

   * private static CarbonContextDataHolder
getCurrentCarbonContextHolder(ThriftSession thriftSession,*
*
 boolean addToSession) {*
*Object contextObject =
thriftSession.getSessionCarbonContextHolder();*
*if (contextObject != null) {*
*return (CarbonContextDataHolder) contextObject;*
*} else if (!addToSession) {*
*return null;*
*}*
*CarbonContextDataHolder context = getClone();*
*log.debug("Added CarbonContext to the Thrift Session");*
*thriftSession.setAttribute(CARBON_CONTEXT_HOLDER, context);*
*return context;*
*}*

>From the APIMgt Keymgt code,we are invoking the method which returns the
above setter attribute and with the current implementation though it is
returning a 'CarbonContextDataHolder' object,it's trying to  cast that
object  to 'CarbonContext' type  as below.

 public CarbonContext getSessionCarbonContextHolder() {
CarbonBaseUtils.checkSecurity(ALLOWED_METHODS);
   * return (CarbonContext) attributeMap.get(CARBON_CONTEXT_HOLDER);*
}

and  then the error[1] is appearing. This issue is fixed[r 144918] .Thanks
Pradeep for help on it.

Additionally we noticed same issue can be appeared when getting carbon
context holder for *HTTPSession* as well. It would be great Platform team
can look in to that as well.


[1] java.lang.ClassCastException:
org.wso2.carbon.context.internal.CarbonContextDataHolder cannot be cast to
org.wso2.carbon.context.CarbonContext
at
org.wso2.carbon.utils.ThriftSession.getSessionCarbonContextHolder(ThriftSession.java:141)
at
org.wso2.carbon.apimgt.keymgt.service.thrift.APIKeyValidationServiceImpl.populateCurrentCarbonContextFromAuthSession(APIKeyValidationServiceImpl.java:56)
at
org.wso2.carbon.apimgt.keymgt.service.thrift.APIKeyValidationServiceImpl.validateKey(APIKeyValidationServiceImpl.java:99)
at
org.wso2.carbon.apimgt.keymgt.service.thrift.APIKeyValidationService$Processor$validateKey.getResult(APIKeyValidationService.java:177)
at
org.wso2.carbon.apimgt.keymgt.service.thrift.APIKeyValidationService$Processor$validateKey.getResult(APIKeyValidationService.java:165)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
[2012-10-04 13:26:53,929] ERROR - ThriftKeyValidatorClientPool Login
failed.. Reauthenticating again..
[2012-10-04 13:26:53,984] ERROR - TThreadPoolServer Error occurred during
processing of message.
java.lang.ClassCastException:
org.wso2.carbon.context.internal.CarbonContextDataHolder cannot be cast to
org.wso2.carbon.context.CarbonContext
at
org.wso2.carbon.utils.ThriftSession.getSessionCarbonContextHolder(ThriftSession.java:141)
at
org.wso2.carbon.apimgt.keymgt.service.thrift.APIKeyValidationServiceImpl.populateCurrentCarbonContextFromAuthSession(APIKeyValidationServiceImpl.java:56)
at
org.wso2.carbon.apimgt.keymgt.service.thrift.APIKeyValidationServiceImpl.validateKey(APIKeyValidationServiceImpl.java:99)
at
org.wso2.carbon.apimgt.keymgt.service.thrift.APIKeyValidationService$Processor$validateKey.getResult(APIKeyValidationService.java:177)
at
org.wso2.carbon.apimgt.keymgt.service.thrift.APIKeyValidationService$Processor$validateKey.getResult(APIKeyValidationService.java:165)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Thanks;
-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com


ThriftContext.diff
Description: Binary data
___

Re: [Dev] Intermittent NPE from AuthorizationCache

2012-10-04 Thread Asela Pathberiya
On Thu, Oct 4, 2012 at 3:25 PM, Nuwan Dias  wrote:

> I am getting this NPE as well, on the API-Manager build today. Occurs
> after a few minutes after logging in to the management console.


it seems to be there are some possible null pointers and fix them

Thanks,
Asela.


>
> Thanks,
> NuwanD.
>
> On Thu, Oct 4, 2012 at 3:03 PM, Hasini Gunasinghe  wrote:
>
>> Hi,
>>
>> I get NPE from AuthorizationCache intermittently.
>> I could not dig deep into that, but this doesn't happen in the packs
>> built on 26th Sept. Only getting it in the pack built today.
>>
>> Caused by: java.lang.NullPointerException
>> at
>> org.wso2.carbon.user.core.authorization.AuthorizationCache.isUserAuthorized(AuthorizationCache.java:134)
>>  at
>> org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.isUserAuthorized(JDBCAuthorizationManager.java:130)
>> at
>> org.wso2.carbon.identity.scim.provider.impl.IdentitySCIMManager.getUserManager(IdentitySCIMManager.java:183)
>>
>>
>> Thanks,
>> Hasini.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Dias
>
> Software Engineer - WSO2, Inc.
> Integration Technologies Team
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failure Andes - core

2012-10-04 Thread Deependra Ariyadewa
On Thu, Oct 4, 2012 at 10:58 AM, Dileepa Jayakody  wrote:

> Actually this jar is there in dist :
> http://dist.wso2.org/maven2/org/apache/cassandra/apache-cassandra/1.1.3-wso2v1/
> (however the jar has been updated very recently somehow)
>

I deployed these jars to fix a build issue. I used correct revision to
build the relevant artifacts.

Thanks,

Deependra.

>
> Need to run a sync for our maven repos.
> @Dhanushka can you please run a repo sync?
>
> Thanks,
> Dileepa
>
>
> On Thu, Oct 4, 2012 at 10:42 AM, Ajith Vitharana  wrote:
>
>> Hi Dileepa,
>>
>> Please upload org.apache.cassandra:apache-cassandra:jar:1.1.3-wso2v1 to
>> nexus repo.
>>
>> Thanks
>> Ajith
>>
>> On Thu, Oct 4, 2012 at 10:36 AM, Ajith Vitharana  wrote:
>>
>>> Hi all,
>>>
>>> I'm getting following build failure in clean repo.
>>>
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 15:15.223s
>>> [INFO] Finished at: Thu Oct 04 10:16:57 IST 2012
>>> [INFO] Final Memory: 1257M/1949M
>>> [INFO]
>>> 
>>> [ERROR] Failed to execute goal on project org.wso2.carbon.andes.core:
>>> Could not resolve dependencies for project
>>> org.wso2.carbon:org.wso2.carbon.andes.core:bundle:4.0.2: The following
>>> artifacts could not be resolved:
>>> org.apache.cassandra:apache-cassandra:jar:1.1.3-wso2v1,
>>> org.apache.cassandra:apache-cassandra-thrift:jar:1.1.3-wso2v1: Could not
>>> find artifact org.apache.cassandra:apache-cassandra:jar:1.1.3-wso2v1 in
>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) ->
>>> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>>
>>> --
>>> Ajith Vitharana.
>>> WSO2 Inc. - http://wso2.org
>>> Email  :  aji...@wso2.com
>>> Mobile : +94714631794
>>>
>>>
>>>
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  aji...@wso2.com
>> Mobile : +94714631794
>>
>>
>>
>
>
> --
> Dileepa Jayakody,
> Software Engineer, WSO2 Inc.
> Lean . Enterprise . Middleware
>
> Mobile : +94777-857616
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Deependra Ariyadewa
WSO2, Inc. http://wso2.com/ http://wso2.org

email d...@wso2.com; cell +94 71 403 5996 ;
Blog http://risenfall.wordpress.com/
PGP info: KeyID: 'DC627E6F'
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Stratos Manager startup fails in Java 7 because Drools 5.1.1 does not support it

2012-10-04 Thread Amila Suriarachchi
upgraded the drools version to 5.2.1.Final please have a look.

thanks,
Amila.

On Wed, Oct 3, 2012 at 8:31 PM, Amila Suriarachchi  wrote:

> Then lets upgrade drools version to 5.2. I'll check that.
>
> thanks,
> Amila.
>
>
> On Wed, Oct 3, 2012 at 7:32 PM, Amila Maha Arachchi wrote:
>
>> Hi Devs,
>>
>> I (actually Chamith has got this) got the below exception when starting
>> Stratos Manager in JDK 1.7. Reason for this is the Drools version which we
>> have used (5.1.1) does not support Java 1.7. This is explained in [1]. This
>> should be affecting BRS too.
>>
>> May be we should be able to get rid of this by using the workaround
>> mentioned in [1] at rule component level, or we'll have to upgrade to
>> Drools 5.2 which has fixed this.
>>
>> [1] 
>> http://stackoverflow.com/questions/7837663/no-support-for-java-7-in-drools-runtimedroolsexception-value-1-7-is-not-a
>>
>> 
>>
>> [2012-10-03 19:21:44,624] ERROR
>> {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
>> -   Multitenancy Throttling Manager bundle failed activating
>> org.wso2.carbon.throttling.manager.exception.ThrottlingException: Error
>> in building the throttling config, config file:
>> /home/amila/development/branches/4.0.0/platform/4.0.0/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/multitenancy/usage-throttling-agent-config.xml.
>> at
>> org.wso2.carbon.throttling.manager.conf.ThrottlingConfiguration.(ThrottlingConfiguration.java:52)
>> at
>> org.wso2.carbon.throttling.manager.utils.Util.initializeThrottling(Util.java:384)
>> at
>> org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent.activate(ThrottlingManagerServiceComponent.java:65)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:601)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
>> at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>> at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>> at
>> org.wso2.carbon.billing.mgt.util.Util.registerBillingInfo(Util.java:124)
>> at
>> org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent.activate(MultitenancyBillingServiceComponent.java:54)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:601)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent

[Dev] Intermittent NPE in CacheBackedRegistry.get

2012-10-04 Thread Nuwan Dias
Hi,

I am getting the following NPE intermittently when trying to access an API
on the API-Manager.

java.lang.NullPointerException
at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:179)
at
org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:519)
at
org.wso2.carbon.mediation.registry.WSO2Registry.getResource(WSO2Registry.java:446)
at
org.wso2.carbon.mediation.registry.WSO2Registry.lookup(WSO2Registry.java:131)
at
org.apache.synapse.registry.AbstractRegistry.getResource(AbstractRegistry.java:63)
at
org.apache.synapse.config.SynapseConfiguration.getEntry(SynapseConfiguration.java:707)
at
org.apache.synapse.core.axis2.Axis2MessageContext.getEntry(Axis2MessageContext.java:194)
at
org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.initThrottle(APIThrottleHandler.java:480)
at
org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.doThrottle(APIThrottleHandler.java:117)
at
org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.handleRequest(APIThrottleHandler.java:91)
at org.apache.synapse.rest.API.process(API.java:252)
at
org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76)
at
org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:63)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:180)
at
org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
at
org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
at
org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189)
at
org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411)
at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Since we are trying to get the GhostResource from the cache, I assume it
would be ok to do a null check at this point?

Thanks,
NuwanD.

-- 
Nuwan Dias

Software Engineer - WSO2, Inc.
Integration Technologies Team
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Ehcache related warning in bamboo build logs

2012-10-04 Thread Dimuthu Leelarathne
Hi Supun,

Will try to fix this.

thanks,
dimuthu

On Thu, Oct 4, 2012 at 2:14 PM, Supun Malinga  wrote:

> build 04-Oct-2012 01:12:45 [WARNING]
> build 04-Oct-2012 01:12:45 [WARNING] Some problems were encountered while
> building the effective model for net.sf.ehcache:ehcache:jar:1.5.0-wso2v2
> build 04-Oct-2012 01:12:45 [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: commons-httpclient:commons-httpclient:jar -> duplicate
> declaration of version 3.0.1 @ net.sf.ehcache:ehcache-parent:1.5.0,
> /home/bamboo/Bamboo-3.4/Bamboo/.m2/AGENT-23035905/repository/net/sf/ehcache/ehcache-parent/1.5.0/ehcache-parent-1.5.0.pom,
> line 167, column 25
> build 04-Oct-2012 01:12:45 [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: httpunit:httpunit:jar -> version 1.6 vs 1.6.1 @
> net.sf.ehcache:ehcache-parent:1.5.0,
> /home/bamboo/Bamboo-3.4/Bamboo/.m2/AGENT-23035905/repository/net/sf/ehcache/ehcache-parent/1.5.0/ehcache-parent-1.5.0.pom,
> line 173, column 25
> build 04-Oct-2012 01:12:45 [WARNING]
> build 04-Oct-2012 01:12:45 [WARNING] It is highly recommended to fix
> these problems because they threaten the stability of your build.
> build 04-Oct-2012 01:12:45 [WARNING]
> build 04-Oct-2012 01:12:45 [WARNING] For this reason, future Maven
> versions might no longer support building such malformed projects.
> build 04-Oct-2012 01:12:45 [WARNING]
>
> Please fix.
>
>  thanks,
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com 
> mobile - 071 56 91 321
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: [Commits] [Carbon-platform] svn commit r144866 - in carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/

2012-10-04 Thread Sagara Gunathunga
Following commit break the build with compilation error, it seems you
haven't commit new class called SignKeyDataHolder. Please look into this
issue.

Compilation failure:
[ERROR]
/home/sagara/dev/code/wso2/trunk/carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/Util.java:[66,71]
cannot find symbol
[ERROR] symbol  : class SignKeyDataHolder
[ERROR] location: package
org.wso2.carbon.identity.authenticator.saml2.sso.common.builders


Thanks !

-- Forwarded message --
From: 
Date: Thu, Oct 4, 2012 at 1:47 PM
Subject: [Commits] [Carbon-platform] svn commit r144866 - in
carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common:
. builders
To: comm...@wso2.org


Author: suresh
Date: Thu Oct  4 13:47:19 2012
New Revision: 144866
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=144866

Log:
committing saml signing code

Modified:

 
carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/Util.java

 
carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/builders/AuthenticationRequestBuilder.java

 
carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/builders/LogoutRequestBuilder.java

Modified:
carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/Util.java
URL:
http://wso2.org/svn/browse/wso2/carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/Util.java?rev=144866&r1=144865&r2=144866&view=diff
==
---
carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/Util.java
 (original)
+++
carbon/platform/branches/4.0.0/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/Util.java
 Thu Oct  4 13:47:19 2012
@@ -17,12 +17,31 @@
 */
 package org.wso2.carbon.identity.authenticator.saml2.sso.common;

+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.security.cert.CertificateEncodingException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.Random;
+import java.util.zip.DataFormatException;
+import java.util.zip.Deflater;
+import java.util.zip.DeflaterOutputStream;
+import java.util.zip.Inflater;
+import java.util.zip.InflaterInputStream;
+
+import javax.xml.namespace.QName;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.xml.security.c14n.Canonicalizer;
 import org.opensaml.Configuration;
 import org.opensaml.DefaultBootstrap;
-import org.opensaml.saml2.core.Response;
+import org.opensaml.saml2.core.AuthnRequest;
+import org.opensaml.saml2.core.LogoutRequest;
 import org.opensaml.xml.ConfigurationException;
 import org.opensaml.xml.XMLObject;
 import org.opensaml.xml.XMLObjectBuilder;
@@ -44,23 +63,7 @@
 import org.w3c.dom.ls.LSOutput;
 import org.w3c.dom.ls.LSSerializer;
 import org.wso2.carbon.core.security.AuthenticatorsConfiguration;
-
-import javax.xml.namespace.QName;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.security.cert.CertificateEncodingException;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-import java.util.Random;
-import java.util.zip.DataFormatException;
-import java.util.zip.Deflater;
-import java.util.zip.DeflaterOutputStream;
-import java.util.zip.Inflater;
-import java.util.zip.InflaterInputStream;
+import
org.wso2.carbon.identity.authenticator.saml2.sso.common.builders

Re: [Dev] data-bridge-config.xml not found error in Manager pack

2012-10-04 Thread Sinthuja Ragendran
Hi,

Thanks for pointing out. I missed this update, and locally I didn't have
this change.
It's not correct to have the data-bridge core feature in publisher feature,
I removed that and committed now.

Thanks,
Sinthuja.

On Thu, Oct 4, 2012 at 3:43 PM, Muhammed Shariq  wrote:

> Hi Sinthuja,
>
> It seems the  org.wso2.carbon.databridge.core.server.feature has been
> added to the publisher feature in the branched 4.0.2. version [1], that's
> how the org.wso2.carbon.databridge.core.server_4.0.2.jar ends up in Manager
> it seems. Can you please verify if this is correct ?!
>
> [1] -
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/features/data-bridge/org.wso2.carbon.databridge.datapublisher.feature/4.0.2/pom.xml
>
>
> On Thu, Oct 4, 2012 at 3:27 PM, Sinthuja Ragendran wrote:
>
>> Hi,
>>
>> No publisher feature doesn't include data-bridge core feature and that
>> doesn't need this file. And for publishing events, only the publisher
>> feature is enough.
>>
>> For the publisher feature only thrift-agent-config.xml is needed. You may
>> need to include the following in the bin.xml to include the
>> thrift-agent-config.xml,
>>
>>  
>> 
>>
>> ../p2-profile-gen/target/wso2carbon-core-${wso2carbon.version}/repository/conf/data-bridge/
>> 
>>
>> ${pom.artifactId}-${pom.version}/repository/conf/data-bridge/
>> 
>> **/thrift-agent-config.xml
>> 
>> 
>>
>> Thanks,
>> Sinthuja.
>>
>>
>>
>> On Thu, Oct 4, 2012 at 3:18 PM, Amila Maha Arachchi wrote:
>>
>>> We have databridge.publisher feature in Manager. Reason for that is we
>>> have added usage agent to Manager. But we are now considering whether
>>> usage.agent is required by the Manager (it doesn't host services, but it
>>> has registry browsing capabilities, so we might want to capture usage data
>>> related to registry).
>>>
>>> Is this file needed by the publisher feature also? or the publisher
>>> feature inclodes the core feature I guess.
>>>
>>>
>>> On Thu, Oct 4, 2012 at 3:02 PM, Sinthuja Ragendran wrote:
>>>
 Hi,

 This is coming from data-bridge core feature. You may need to add the
 following in the bin.xml,
 

 ../p2-profile-gen/target/wso2carbon-core-${carbon.version}/repository/conf/data-bridge/data-bridge-config.xml

 ${pom.artifactId}-${pom.version}/repository/conf/data-bridge
 true
 644
 

 But why the data-bridge feature is included in manager?
 It's used for data receiving in BAM and CEP, but I wonder the purpose
 of data-bridge feature in manager!

 Thanks,
 Sinthuja.


 On Thu, Oct 4, 2012 at 2:42 PM, Muhammed Shariq wrote:

> I am getting the following error. From where / which feature is the
> config file coming ?!
>
> [2012-10-04 14:37:32,730]  WARN
> {net.sf.ehcache.config.ConfigurationFactory} -  No configuration found.
> Configuring ehcache from ehcache-failsafe.xml  found in the classpath:
> bundleresource://35.fwk1742814727/ehcache-failsafe.xml
> [2012-10-04 14:37:33,571] ERROR
> {org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder} -
>  data-bridge-config.xmlcannot be found in the path :
> /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
> java.io.FileNotFoundException:
> /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
> (No such file or directory)
>  at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.(FileInputStream.java:106)
>  at
> org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder.loadConfigXML(DataBridgeCoreBuilder.java:57)
> at
> org.wso2.carbon.databridge.core.internal.DataBridgeDS.activate(DataBridgeDS.java:65)
>  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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>  at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>  at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
> at
> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>>>

Re: [Dev] data-bridge-config.xml not found error in Manager pack

2012-10-04 Thread Muhammed Shariq
Hi Sinthuja,

It seems the  org.wso2.carbon.databridge.core.server.feature has been added
to the publisher feature in the branched 4.0.2. version [1], that's how the
org.wso2.carbon.databridge.core.server_4.0.2.jar ends up in Manager it
seems. Can you please verify if this is correct ?!

[1] -
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/features/data-bridge/org.wso2.carbon.databridge.datapublisher.feature/4.0.2/pom.xml

On Thu, Oct 4, 2012 at 3:27 PM, Sinthuja Ragendran wrote:

> Hi,
>
> No publisher feature doesn't include data-bridge core feature and that
> doesn't need this file. And for publishing events, only the publisher
> feature is enough.
>
> For the publisher feature only thrift-agent-config.xml is needed. You may
> need to include the following in the bin.xml to include the
> thrift-agent-config.xml,
>
>  
> 
>
> ../p2-profile-gen/target/wso2carbon-core-${wso2carbon.version}/repository/conf/data-bridge/
> 
>
> ${pom.artifactId}-${pom.version}/repository/conf/data-bridge/
> 
> **/thrift-agent-config.xml
> 
> 
>
> Thanks,
> Sinthuja.
>
>
>
> On Thu, Oct 4, 2012 at 3:18 PM, Amila Maha Arachchi wrote:
>
>> We have databridge.publisher feature in Manager. Reason for that is we
>> have added usage agent to Manager. But we are now considering whether
>> usage.agent is required by the Manager (it doesn't host services, but it
>> has registry browsing capabilities, so we might want to capture usage data
>> related to registry).
>>
>> Is this file needed by the publisher feature also? or the publisher
>> feature inclodes the core feature I guess.
>>
>>
>> On Thu, Oct 4, 2012 at 3:02 PM, Sinthuja Ragendran wrote:
>>
>>> Hi,
>>>
>>> This is coming from data-bridge core feature. You may need to add the
>>> following in the bin.xml,
>>> 
>>>
>>> ../p2-profile-gen/target/wso2carbon-core-${carbon.version}/repository/conf/data-bridge/data-bridge-config.xml
>>>
>>> ${pom.artifactId}-${pom.version}/repository/conf/data-bridge
>>> true
>>> 644
>>> 
>>>
>>> But why the data-bridge feature is included in manager?
>>> It's used for data receiving in BAM and CEP, but I wonder the purpose of
>>> data-bridge feature in manager!
>>>
>>> Thanks,
>>> Sinthuja.
>>>
>>>
>>> On Thu, Oct 4, 2012 at 2:42 PM, Muhammed Shariq  wrote:
>>>
 I am getting the following error. From where / which feature is the
 config file coming ?!

 [2012-10-04 14:37:32,730]  WARN
 {net.sf.ehcache.config.ConfigurationFactory} -  No configuration found.
 Configuring ehcache from ehcache-failsafe.xml  found in the classpath:
 bundleresource://35.fwk1742814727/ehcache-failsafe.xml
 [2012-10-04 14:37:33,571] ERROR
 {org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder} -
  data-bridge-config.xmlcannot be found in the path :
 /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
 java.io.FileNotFoundException:
 /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
 (No such file or directory)
  at java.io.FileInputStream.open(Native Method)
 at java.io.FileInputStream.(FileInputStream.java:106)
  at
 org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder.loadConfigXML(DataBridgeCoreBuilder.java:57)
 at
 org.wso2.carbon.databridge.core.internal.DataBridgeDS.activate(DataBridgeDS.java:65)
  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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
  at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispat

[Dev] Build failure in 4.0.2 branch - saml2-sso-authenticator component

2012-10-04 Thread Rajika Kumarasiri
INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 24:25.038s
[INFO] Finished at: Thu Oct 04 15:15:23 IST 2012
[INFO] Final Memory: 1389M/2115M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project
org.wso2.carbon.identity.authenticator.saml2.sso.common: Compilation
failure: Compilation failure:
[ERROR]
/home/rajika/projects/carbon/branch/4.0.0/platform/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/Util.java:[66,71]
cannot find symbol
[ERROR] symbol  : class SignKeyDataHolder
[ERROR] location: package
org.wso2.carbon.identity.authenticator.saml2.sso.common.builders
[ERROR]
/home/rajika/projects/carbon/branch/4.0.0/platform/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/Util.java:[272,42]
cannot find symbol
[ERROR] symbol  : class SignKeyDataHolder
[ERROR] location: class
org.wso2.carbon.identity.authenticator.saml2.sso.common.Util
[ERROR]
/home/rajika/projects/carbon/branch/4.0.0/platform/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/builders/AuthenticationRequestBuilder.java:[74,80]
cannot find symbol
[ERROR] symbol  : class SignKeyDataHolder
[ERROR] location: class
org.wso2.carbon.identity.authenticator.saml2.sso.common.builders.AuthenticationRequestBuilder
[ERROR]
/home/rajika/projects/carbon/branch/4.0.0/platform/components/authenticators/saml2-sso-authenticator/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.0.2/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/common/builders/LogoutRequestBuilder.java:[76,77]
cannot find symbol
[ERROR] symbol  : class SignKeyDataHolder
[ERROR] location: class
org.wso2.carbon.identity.authenticator.saml2.sso.common.builders.LogoutRequestBuilder
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf
:org.wso2.carbon.identity.authenticator.saml2.sso.commo
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #262 was SUCCESSFUL

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Kernel_4.0.0 > #262 was successful.
---
This build was manually triggered by Maheshika Goonetilleke.

http://wso2.org/bamboo/browse/WCB001-KER000-262/





--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #254 has FAILED. Change made by supunm.

2012-10-04 Thread Supun Malinga
Hi,

On Thu, Oct 4, 2012 at 2:41 PM, Supun Malinga  wrote:

> Hi,
>
> I'm looking into bamboo issue.
>
> This is fixed. Now we have an integration test failure in kernel (Sent a
separate mail).

thanks,

thanks,
>
>
> On Thu, Oct 4, 2012 at 2:39 PM, Lakmali Baminiwatta wrote:
>
>> Hi,
>>
>> On Thu, Oct 4, 2012 at 2:23 PM, Supun Malinga  wrote:
>>
>>> Hi Lakmali,
>>>
>>> In [2] it uses the correct branch location. But the issue is still
>>> there. Please have a look.
>>>
>>> [2]
>>> http://wso2.org/bamboo/download/WCB001-KER000-JOB1/build_logs/WCB001-KER000-JOB1-259.log
>>>
>>
>> yes.  But I have upgraded zookeeper version and added it to orbit,
>> patch-release pom [3]. In the builder machine this issue didn't come, when
>> building orbit and then kernel through patch-release poms.
>>
>> Thanks,
>> Lakmali
>>
>>
>> [3]https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/patch-releases/4.0.2/pom.xml
>>
>> Thanks,
>> Lakmali
>>
>>>
>>> thanks,
>>>
>>>
>>> On Wed, Oct 3, 2012 at 9:49 PM, Lakmali Baminiwatta wrote:
>>>
 Hi,

 On Wed, Oct 3, 2012 at 8:08 PM, Supun Malinga  wrote:

> Hi,
>
> This is still there. Check the latest bamboo build.
>

 I checked the orbit build in bamboo. The svn location which it points
 to is https://svn.wso2.org/repos/wso2/carbon/orbit/trunk which is
 trunk. This needs to be pointed to the branch. Check the latest orbit build
 log [1].

 [1]
 http://wso2.org/bamboo/download/WSO2CARBON-CARBONKERNELBUILD-JOB1/build_logs/WSO2CARBON-CARBONKERNELBUILD-JOB1-197.log

 Thanks,
 Lakmali


> thanks,
>
>
> On Wed, Oct 3, 2012 at 10:04 AM, Lakmali Baminiwatta  > wrote:
>
>> Hi,
>>
>> On Wed, Oct 3, 2012 at 9:57 AM, Supun Malinga wrote:
>>
>>> Hi,
>>>
>>> Coordination core failure,
>>>
>>> build 02-Oct-2012 12:06:31 [ERROR] Failed to execute goal on
>>> project org.wso2.carbon.coordination.core: Could not resolve 
>>> dependencies
>>> for project 
>>> org.wso2.carbon:org.wso2.carbon.coordination.core:bundle:4.0.2:
>>> Could not find artifact
>>> org.apache.zookeeper.wso2:apache-zookeeper:jar:3.4.4.wso2v1 in 
>>> wso2-nexus (
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
>>>
>>
>> We have added zookeeper-3.4.4.wso2v1 to orbits. This was committed
>> yesterday and it seems orbit build hasn't gone after that change.
>>
>> Thanks,
>> Lakmali
>>
>>>
>>> On Wed, Oct 3, 2012 at 12:36 AM, Bamboo  wrote:
>>>
   [image: Failed]  WSO2 Carbon 
 BRANCH›
 Kernel_4.0.0  › 
 #254
 failed

 Code has been updated by 
 supunm
 .

 No failed tests found, a possible compilation error.
Responsible No one is responsible for this build.
Failing Jobs 
 Job
 Duration Tests[image: Failed]  Default 
 Job (Default
 Stage)  26 minutes  No tests found  
 Logs|
 Artifacts
  Code
 Changes   View
 full change 
 details
 supunm 
 improvements related to 
 CARBON-13899
 144597supunm 
 improvements related to 
 CARBON-13899
 144596 View Online
 | Add 
 Comments

 This message was sent by Atlassian Bamboo .

 If you wish to stop receiving these emails edit your user 
 profileor 
 notify
 your administrator
 .

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


>>>
>>>
>>> --
>>> Supun Malinga,
>>>
>>> Software Engineer,
>>> WSO2 Inc.
>

Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #261 has FAILED

2012-10-04 Thread Supun Malinga
Hi,

Core integration test failure,

build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-10-04 02:52:05,046] ERROR
{org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -
 System error while Authenticating/Authorizing User : null
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 java.lang.NullPointerException
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.user.core.authorization.AuthorizationCache.isUserAuthorized(AuthorizationCache.java:134)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.isUserAuthorized(JDBCAuthorizationManager.java:130)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:106)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.lang.reflect.Method.invoke(Method.java:597)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,048]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
build 04-Oct-2012 02:52:05 [2012-10-04 02:52:05,049]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
build 0

Re: [Dev] data-bridge-config.xml not found error in Manager pack

2012-10-04 Thread Sinthuja Ragendran
Hi,

No publisher feature doesn't include data-bridge core feature and that
doesn't need this file. And for publishing events, only the publisher
feature is enough.

For the publisher feature only thrift-agent-config.xml is needed. You may
need to include the following in the bin.xml to include the
thrift-agent-config.xml,

 


../p2-profile-gen/target/wso2carbon-core-${wso2carbon.version}/repository/conf/data-bridge/


${pom.artifactId}-${pom.version}/repository/conf/data-bridge/

**/thrift-agent-config.xml



Thanks,
Sinthuja.


On Thu, Oct 4, 2012 at 3:18 PM, Amila Maha Arachchi  wrote:

> We have databridge.publisher feature in Manager. Reason for that is we
> have added usage agent to Manager. But we are now considering whether
> usage.agent is required by the Manager (it doesn't host services, but it
> has registry browsing capabilities, so we might want to capture usage data
> related to registry).
>
> Is this file needed by the publisher feature also? or the publisher
> feature inclodes the core feature I guess.
>
>
> On Thu, Oct 4, 2012 at 3:02 PM, Sinthuja Ragendran wrote:
>
>> Hi,
>>
>> This is coming from data-bridge core feature. You may need to add the
>> following in the bin.xml,
>> 
>>
>> ../p2-profile-gen/target/wso2carbon-core-${carbon.version}/repository/conf/data-bridge/data-bridge-config.xml
>>
>> ${pom.artifactId}-${pom.version}/repository/conf/data-bridge
>> true
>> 644
>> 
>>
>> But why the data-bridge feature is included in manager?
>> It's used for data receiving in BAM and CEP, but I wonder the purpose of
>> data-bridge feature in manager!
>>
>> Thanks,
>> Sinthuja.
>>
>>
>> On Thu, Oct 4, 2012 at 2:42 PM, Muhammed Shariq  wrote:
>>
>>> I am getting the following error. From where / which feature is the
>>> config file coming ?!
>>>
>>> [2012-10-04 14:37:32,730]  WARN
>>> {net.sf.ehcache.config.ConfigurationFactory} -  No configuration found.
>>> Configuring ehcache from ehcache-failsafe.xml  found in the classpath:
>>> bundleresource://35.fwk1742814727/ehcache-failsafe.xml
>>> [2012-10-04 14:37:33,571] ERROR
>>> {org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder} -
>>>  data-bridge-config.xmlcannot be found in the path :
>>> /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
>>> java.io.FileNotFoundException:
>>> /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
>>> (No such file or directory)
>>>  at java.io.FileInputStream.open(Native Method)
>>> at java.io.FileInputStream.(FileInputStream.java:106)
>>>  at
>>> org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder.loadConfigXML(DataBridgeCoreBuilder.java:57)
>>> at
>>> org.wso2.carbon.databridge.core.internal.DataBridgeDS.activate(DataBridgeDS.java:65)
>>>  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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>  at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>>>  at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>>>  at
>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>>>  at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>> at
>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>  at
>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>  at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>  at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>> at
>>> org.e

[Dev] [Intermittent] getting NPE AuthenticationAdmin if fails.. ESB 4.5.1

2012-10-04 Thread Dushan Abeyruwan
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:172)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
[2012-10-04 15:01:51,507]  INFO - CarbonAuthenticationUtil
'admin@carbon.super [-1234]' logged in at [2012-10-04 15:01:51,506+0530]
*[2012-10-04 15:02:36,955]  INFO - AuthenticationAdmin
'admin@carbon.super[-1234]' logged out at [2012-10-04 15:02:36,0955]
[2012-10-04 15:21:43,207] ERROR - AuthenticationAdmin System error while
Authenticating/Authorizing User : null
java.lang.NullPointerException
at
org.wso2.carbon.user.core.authorization.AuthorizationCache.isUserAuthorized(AuthorizationCache.java:134)
at
org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.isUserAuthorized(JDBCAuthorizationManager.java:130)
at org.wso2.carbon.core.services.authentication*
.AuthenticationAdmin.login(AuthenticationAdmin.java:106)
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:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)

cheers,
Dushan Abeyruwan
Senior Software Engineer
Integration Technologies Team
WSO2 Inc. http://wso2.com/
Mobile:(+94)714408632
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Intermittent NPE from AuthorizationCache

2012-10-04 Thread Nuwan Dias
I am getting this NPE as well, on the API-Manager build today. Occurs after
a few minutes after logging in to the management console.

Thanks,
NuwanD.

On Thu, Oct 4, 2012 at 3:03 PM, Hasini Gunasinghe  wrote:

> Hi,
>
> I get NPE from AuthorizationCache intermittently.
> I could not dig deep into that, but this doesn't happen in the packs built
> on 26th Sept. Only getting it in the pack built today.
>
> Caused by: java.lang.NullPointerException
> at
> org.wso2.carbon.user.core.authorization.AuthorizationCache.isUserAuthorized(AuthorizationCache.java:134)
>  at
> org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.isUserAuthorized(JDBCAuthorizationManager.java:130)
> at
> org.wso2.carbon.identity.scim.provider.impl.IdentitySCIMManager.getUserManager(IdentitySCIMManager.java:183)
>
>
> Thanks,
> Hasini.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Dias

Software Engineer - WSO2, Inc.
Integration Technologies Team
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #261 has FAILED

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Kernel_4.0.0 > #261 failed.
---
This build occurred because it is a dependant of WCB001-ORB000-15.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-KER000-261/

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.




--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] data-bridge-config.xml not found error in Manager pack

2012-10-04 Thread Amila Maha Arachchi
We have databridge.publisher feature in Manager. Reason for that is we have
added usage agent to Manager. But we are now considering whether
usage.agent is required by the Manager (it doesn't host services, but it
has registry browsing capabilities, so we might want to capture usage data
related to registry).

Is this file needed by the publisher feature also? or the publisher feature
inclodes the core feature I guess.

On Thu, Oct 4, 2012 at 3:02 PM, Sinthuja Ragendran wrote:

> Hi,
>
> This is coming from data-bridge core feature. You may need to add the
> following in the bin.xml,
> 
>
> ../p2-profile-gen/target/wso2carbon-core-${carbon.version}/repository/conf/data-bridge/data-bridge-config.xml
>
> ${pom.artifactId}-${pom.version}/repository/conf/data-bridge
> true
> 644
> 
>
> But why the data-bridge feature is included in manager?
> It's used for data receiving in BAM and CEP, but I wonder the purpose of
> data-bridge feature in manager!
>
> Thanks,
> Sinthuja.
>
>
> On Thu, Oct 4, 2012 at 2:42 PM, Muhammed Shariq  wrote:
>
>> I am getting the following error. From where / which feature is the
>> config file coming ?!
>>
>> [2012-10-04 14:37:32,730]  WARN
>> {net.sf.ehcache.config.ConfigurationFactory} -  No configuration found.
>> Configuring ehcache from ehcache-failsafe.xml  found in the classpath:
>> bundleresource://35.fwk1742814727/ehcache-failsafe.xml
>> [2012-10-04 14:37:33,571] ERROR
>> {org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder} -
>>  data-bridge-config.xmlcannot be found in the path :
>> /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
>> java.io.FileNotFoundException:
>> /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
>> (No such file or directory)
>>  at java.io.FileInputStream.open(Native Method)
>> at java.io.FileInputStream.(FileInputStream.java:106)
>>  at
>> org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder.loadConfigXML(DataBridgeCoreBuilder.java:57)
>> at
>> org.wso2.carbon.databridge.core.internal.DataBridgeDS.activate(DataBridgeDS.java:65)
>>  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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>  at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>>  at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
>> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>>  at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
>> at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>  at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>> at
>> org.wso2.carbon.identity.authentication.internal.AuthenticationServiceComponent.activate(AuthenticationServiceComponent.java:57)
>>  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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
>> at
>> org.eclipse

[Dev] Intermittent NPE from AuthorizationCache

2012-10-04 Thread Hasini Gunasinghe
Hi,

I get NPE from AuthorizationCache intermittently.
I could not dig deep into that, but this doesn't happen in the packs built
on 26th Sept. Only getting it in the pack built today.

Caused by: java.lang.NullPointerException
at
org.wso2.carbon.user.core.authorization.AuthorizationCache.isUserAuthorized(AuthorizationCache.java:134)
at
org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.isUserAuthorized(JDBCAuthorizationManager.java:130)
at
org.wso2.carbon.identity.scim.provider.impl.IdentitySCIMManager.getUserManager(IdentitySCIMManager.java:183)


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


Re: [Dev] data-bridge-config.xml not found error in Manager pack

2012-10-04 Thread Sinthuja Ragendran
Hi,

This is coming from data-bridge core feature. You may need to add the
following in the bin.xml,


../p2-profile-gen/target/wso2carbon-core-${carbon.version}/repository/conf/data-bridge/data-bridge-config.xml

${pom.artifactId}-${pom.version}/repository/conf/data-bridge
true
644


But why the data-bridge feature is included in manager?
It's used for data receiving in BAM and CEP, but I wonder the purpose of
data-bridge feature in manager!

Thanks,
Sinthuja.


On Thu, Oct 4, 2012 at 2:42 PM, Muhammed Shariq  wrote:

> I am getting the following error. From where / which feature is the config
> file coming ?!
>
> [2012-10-04 14:37:32,730]  WARN
> {net.sf.ehcache.config.ConfigurationFactory} -  No configuration found.
> Configuring ehcache from ehcache-failsafe.xml  found in the classpath:
> bundleresource://35.fwk1742814727/ehcache-failsafe.xml
> [2012-10-04 14:37:33,571] ERROR
> {org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder} -
>  data-bridge-config.xmlcannot be found in the path :
> /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
> java.io.FileNotFoundException:
> /home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
> (No such file or directory)
>  at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.(FileInputStream.java:106)
>  at
> org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder.loadConfigXML(DataBridgeCoreBuilder.java:57)
> at
> org.wso2.carbon.databridge.core.internal.DataBridgeDS.activate(DataBridgeDS.java:65)
>  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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>  at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>  at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>  at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
> at
> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>  at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>  at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>  at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>  at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>  at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
> at
> org.wso2.carbon.identity.authentication.internal.AuthenticationServiceComponent.activate(AuthenticationServiceComponent.java:57)
>  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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>  at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>  at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>  at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
> at
> org.eclipse.osgi.internal.servicere

Re: [Dev] COMPILATION ERROR in governance.generic.ui

2012-10-04 Thread Sinthuja Ragendran
Hi,

I also got this issue, but building
service-stubs/org.wso2.carbon.governance.generic.stub/4.0.1 solved the
problem.

Thanks,
Sinthuja.

On Thu, Oct 4, 2012 at 2:53 PM, Kishanthan Thangarajah
wrote:

> Getting the same,
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project org.wso2.carbon.governance.generic.ui:
> Compilation failure
> [ERROR]
> /home/kicha/checkouts/wso2/carbon/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/src/main/java/org/wso2/carbon/governance/generic/ui/clients/ManageGenericArtifactServiceClient.java:[98,19]
> editArtifact(java.lang.String,java.lang.String,java.lang.String) in
> org.wso2.carbon.governance.generic.stub.ManageGenericArtifactServiceStub
> cannot be applied to
> (java.lang.String,java.lang.String,java.lang.String,java.lang.String)
> [ERROR] -> [Help 1]
>
>
>
>
> On Thu, Oct 4, 2012 at 2:48 PM, Ajith Vitharana  wrote:
>
>>
>>
>> On Thu, Oct 4, 2012 at 2:31 PM, Supun Malinga  wrote:
>>
>>> [INFO] Compiling 2 source files to
>>> /home/disk1/carbon_builds/newTrunk/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/target/classes
>>> [INFO] -
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -
>>> [ERROR]
>>> /home/disk1/carbon_builds/newTrunk/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/src/main/java/org/wso2/carbon/governance/generic/ui/clients/ManageGenericArtifactServiceClient.java:[98,19]
>>> editArtifact(java.lang.String,java.lang.String,java.lang.String) in
>>> org.wso2.carbon.governance.generic.stub.ManageGenericArtifactServiceStub
>>> cannot be applied to
>>> (java.lang.String,java.lang.String,java.lang.String,java.lang.String)
>>>
>>
>> I'm not getting such a exception even in clean repo.
>>
>> Thanks
>> Ajith
>>
>>>
>>> thanks,
>>> --
>>> Supun Malinga,
>>>
>>> Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>> email - sup...@wso2.com 
>>> mobile - 071 56 91 321
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  aji...@wso2.com
>> Mobile : +94714631794
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Software Engineer,
> Development Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com*
> Twitter - *http://twitter.com/kishanthan*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] COMPILATION ERROR in governance.generic.ui

2012-10-04 Thread Kishanthan Thangarajah
Getting the same,

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.governance.generic.ui:
Compilation failure
[ERROR]
/home/kicha/checkouts/wso2/carbon/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/src/main/java/org/wso2/carbon/governance/generic/ui/clients/ManageGenericArtifactServiceClient.java:[98,19]
editArtifact(java.lang.String,java.lang.String,java.lang.String) in
org.wso2.carbon.governance.generic.stub.ManageGenericArtifactServiceStub
cannot be applied to
(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
[ERROR] -> [Help 1]




On Thu, Oct 4, 2012 at 2:48 PM, Ajith Vitharana  wrote:

>
>
> On Thu, Oct 4, 2012 at 2:31 PM, Supun Malinga  wrote:
>
>> [INFO] Compiling 2 source files to
>> /home/disk1/carbon_builds/newTrunk/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/target/classes
>> [INFO] -
>> [ERROR] COMPILATION ERROR :
>> [INFO] -
>> [ERROR]
>> /home/disk1/carbon_builds/newTrunk/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/src/main/java/org/wso2/carbon/governance/generic/ui/clients/ManageGenericArtifactServiceClient.java:[98,19]
>> editArtifact(java.lang.String,java.lang.String,java.lang.String) in
>> org.wso2.carbon.governance.generic.stub.ManageGenericArtifactServiceStub
>> cannot be applied to
>> (java.lang.String,java.lang.String,java.lang.String,java.lang.String)
>>
>
> I'm not getting such a exception even in clean repo.
>
> Thanks
> Ajith
>
>>
>> thanks,
>> --
>> Supun Malinga,
>>
>> Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - sup...@wso2.com 
>> mobile - 071 56 91 321
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94714631794
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kishanthan Thangarajah*
Software Engineer,
Development Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #260 has FAILED

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Kernel_4.0.0 > #260 failed.
---
This build occurred because it is a dependant of WCB001-ORB000-14.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-KER000-260/

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.




--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] COMPILATION ERROR in governance.generic.ui

2012-10-04 Thread Ajith Vitharana
On Thu, Oct 4, 2012 at 2:31 PM, Supun Malinga  wrote:

> [INFO] Compiling 2 source files to
> /home/disk1/carbon_builds/newTrunk/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/target/classes
> [INFO] -
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR]
> /home/disk1/carbon_builds/newTrunk/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/src/main/java/org/wso2/carbon/governance/generic/ui/clients/ManageGenericArtifactServiceClient.java:[98,19]
> editArtifact(java.lang.String,java.lang.String,java.lang.String) in
> org.wso2.carbon.governance.generic.stub.ManageGenericArtifactServiceStub
> cannot be applied to
> (java.lang.String,java.lang.String,java.lang.String,java.lang.String)
>

I'm not getting such a exception even in clean repo.

Thanks
Ajith

>
> thanks,
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com 
> mobile - 071 56 91 321
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94714631794
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] data-bridge-config.xml not found error in Manager pack

2012-10-04 Thread Muhammed Shariq
I am getting the following error. From where / which feature is the config
file coming ?!

[2012-10-04 14:37:32,730]  WARN
{net.sf.ehcache.config.ConfigurationFactory} -  No configuration found.
Configuring ehcache from ehcache-failsafe.xml  found in the classpath:
bundleresource://35.fwk1742814727/ehcache-failsafe.xml
[2012-10-04 14:37:33,571] ERROR
{org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder} -
 data-bridge-config.xmlcannot be found in the path :
/home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
java.io.FileNotFoundException:
/home/shariq/src/4.0.0-branch/platform/products/manager/2.0.0/modules/distribution/target/wso2stratos-manager-2.0.0/repository/conf/data-bridge/data-bridge-config.xml
(No such file or directory)
 at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
 at
org.wso2.carbon.databridge.core.internal.utils.DataBridgeCoreBuilder.loadConfigXML(DataBridgeCoreBuilder.java:57)
at
org.wso2.carbon.databridge.core.internal.DataBridgeDS.activate(DataBridgeDS.java:65)
 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.identity.authentication.internal.AuthenticationServiceComponent.activate(AuthenticationServiceComponent.java:57)
 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
org.ec

Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #254 has FAILED. Change made by supunm.

2012-10-04 Thread Supun Malinga
Hi,

I'm looking into bamboo issue.

thanks,

On Thu, Oct 4, 2012 at 2:39 PM, Lakmali Baminiwatta wrote:

> Hi,
>
> On Thu, Oct 4, 2012 at 2:23 PM, Supun Malinga  wrote:
>
>> Hi Lakmali,
>>
>> In [2] it uses the correct branch location. But the issue is still there.
>> Please have a look.
>>
>> [2]
>> http://wso2.org/bamboo/download/WCB001-KER000-JOB1/build_logs/WCB001-KER000-JOB1-259.log
>>
>
> yes.  But I have upgraded zookeeper version and added it to orbit,
> patch-release pom [3]. In the builder machine this issue didn't come, when
> building orbit and then kernel through patch-release poms.
>
> Thanks,
> Lakmali
>
>
> [3]https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/patch-releases/4.0.2/pom.xml
>
> Thanks,
> Lakmali
>
>>
>> thanks,
>>
>>
>> On Wed, Oct 3, 2012 at 9:49 PM, Lakmali Baminiwatta wrote:
>>
>>> Hi,
>>>
>>> On Wed, Oct 3, 2012 at 8:08 PM, Supun Malinga  wrote:
>>>
 Hi,

 This is still there. Check the latest bamboo build.

>>>
>>> I checked the orbit build in bamboo. The svn location which it points to
>>> is https://svn.wso2.org/repos/wso2/carbon/orbit/trunk which is trunk.
>>> This needs to be pointed to the branch. Check the latest orbit build log
>>> [1].
>>>
>>> [1]
>>> http://wso2.org/bamboo/download/WSO2CARBON-CARBONKERNELBUILD-JOB1/build_logs/WSO2CARBON-CARBONKERNELBUILD-JOB1-197.log
>>>
>>> Thanks,
>>> Lakmali
>>>
>>>
 thanks,


 On Wed, Oct 3, 2012 at 10:04 AM, Lakmali Baminiwatta 
 wrote:

> Hi,
>
> On Wed, Oct 3, 2012 at 9:57 AM, Supun Malinga  wrote:
>
>> Hi,
>>
>> Coordination core failure,
>>
>> build 02-Oct-2012 12:06:31 [ERROR] Failed to execute goal on project
>> org.wso2.carbon.coordination.core: Could not resolve dependencies for
>> project org.wso2.carbon:org.wso2.carbon.coordination.core:bundle:4.0.2:
>> Could not find artifact
>> org.apache.zookeeper.wso2:apache-zookeeper:jar:3.4.4.wso2v1 in 
>> wso2-nexus (
>> http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
>>
>
> We have added zookeeper-3.4.4.wso2v1 to orbits. This was committed
> yesterday and it seems orbit build hasn't gone after that change.
>
> Thanks,
> Lakmali
>
>>
>> On Wed, Oct 3, 2012 at 12:36 AM, Bamboo  wrote:
>>
>>>   [image: Failed]  WSO2 Carbon 
>>> BRANCH›
>>> Kernel_4.0.0  › 
>>> #254
>>> failed
>>>
>>> Code has been updated by 
>>> supunm
>>> .
>>>
>>> No failed tests found, a possible compilation error.
>>>Responsible No one is responsible for this build.
>>>Failing Jobs 
>>> Job
>>> Duration Tests[image: Failed]  Default 
>>> Job (Default
>>> Stage)  26 minutes  No tests found  
>>> Logs|
>>> Artifacts
>>>  Code
>>> Changes   View
>>> full change 
>>> details
>>> supunm 
>>> improvements related to 
>>> CARBON-13899
>>> 144597supunm 
>>> improvements related to 
>>> CARBON-13899
>>> 144596 View Online
>>> | Add 
>>> Comments
>>>
>>> This message was sent by Atlassian Bamboo .
>>>
>>> If you wish to stop receiving these emails edit your user 
>>> profileor 
>>> notify
>>> your administrator
>>> .
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - sup...@wso2.com 
>> mobile - 071 56 91 321
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
>
>


 --
>

Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #254 has FAILED. Change made by supunm.

2012-10-04 Thread Lakmali Baminiwatta
Hi,

On Thu, Oct 4, 2012 at 2:23 PM, Supun Malinga  wrote:

> Hi Lakmali,
>
> In [2] it uses the correct branch location. But the issue is still there.
> Please have a look.
>
> [2]
> http://wso2.org/bamboo/download/WCB001-KER000-JOB1/build_logs/WCB001-KER000-JOB1-259.log
>

yes.  But I have upgraded zookeeper version and added it to orbit,
patch-release pom [3]. In the builder machine this issue didn't come, when
building orbit and then kernel through patch-release poms.

Thanks,
Lakmali


[3]https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/patch-releases/4.0.2/pom.xml

Thanks,
Lakmali

>
> thanks,
>
>
> On Wed, Oct 3, 2012 at 9:49 PM, Lakmali Baminiwatta wrote:
>
>> Hi,
>>
>> On Wed, Oct 3, 2012 at 8:08 PM, Supun Malinga  wrote:
>>
>>> Hi,
>>>
>>> This is still there. Check the latest bamboo build.
>>>
>>
>> I checked the orbit build in bamboo. The svn location which it points to
>> is https://svn.wso2.org/repos/wso2/carbon/orbit/trunk which is trunk.
>> This needs to be pointed to the branch. Check the latest orbit build log
>> [1].
>>
>> [1]
>> http://wso2.org/bamboo/download/WSO2CARBON-CARBONKERNELBUILD-JOB1/build_logs/WSO2CARBON-CARBONKERNELBUILD-JOB1-197.log
>>
>> Thanks,
>> Lakmali
>>
>>
>>> thanks,
>>>
>>>
>>> On Wed, Oct 3, 2012 at 10:04 AM, Lakmali Baminiwatta 
>>> wrote:
>>>
 Hi,

 On Wed, Oct 3, 2012 at 9:57 AM, Supun Malinga  wrote:

> Hi,
>
> Coordination core failure,
>
> build 02-Oct-2012 12:06:31 [ERROR] Failed to execute goal on project
> org.wso2.carbon.coordination.core: Could not resolve dependencies for
> project org.wso2.carbon:org.wso2.carbon.coordination.core:bundle:4.0.2:
> Could not find artifact
> org.apache.zookeeper.wso2:apache-zookeeper:jar:3.4.4.wso2v1 in wso2-nexus 
> (
> http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
>

 We have added zookeeper-3.4.4.wso2v1 to orbits. This was committed
 yesterday and it seems orbit build hasn't gone after that change.

 Thanks,
 Lakmali

>
> On Wed, Oct 3, 2012 at 12:36 AM, Bamboo  wrote:
>
>>   [image: Failed]  WSO2 Carbon 
>> BRANCH›
>> Kernel_4.0.0  › 
>> #254
>> failed
>>
>> Code has been updated by 
>> supunm
>> .
>>
>> No failed tests found, a possible compilation error.
>>Responsible No one is responsible for this build.
>>Failing Jobs Job
>> Duration Tests[image: Failed]  Default 
>> Job (Default
>> Stage)  26 minutes  No tests found  
>> Logs|
>> Artifacts 
>> Code
>> Changes   View
>> full change 
>> details
>> supunm 
>> improvements related to 
>> CARBON-13899
>> 144597supunm 
>> improvements related to 
>> CARBON-13899
>> 144596 View Online
>> | Add 
>> Comments
>>
>> This message was sent by Atlassian Bamboo .
>>
>> If you wish to stop receiving these emails edit your user 
>> profileor notify
>> your administrator 
>> .
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com 
> mobile - 071 56 91 321
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>




>>>
>>>
>>> --
>>> Supun Malinga,
>>>
>>> Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>> email - sup...@wso2.com 
>>> mobile - 071 56 91 321
>>>
>>>
>>
>>
>>
>>
>
>
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@

[Dev] Exceptions in accessing source view of ESB

2012-10-04 Thread Isuru Udana
Hi,

We are getting the following error intermittently when accessing the source
view of locally built ESB 4.5.1 pack .


[2012-10-04 14:21:29,140] ERROR - RPCMessageReceiver Exception occurred
while trying to invoke service method getConfigurationList
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
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:212)
 at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
 at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
 at
org.wso2.carbon.mediation.configadmin.stub.ConfigServiceAdminStub.getConfigurationList(ConfigServiceAdminStub.java:2130)
at
org.wso2.carbon.mediation.configadmin.ui.ConfigManagementClient.getConfigurations(ConfigManagementClient.java:137)
 at org.apache.jsp.configadmin.index_jsp._jspService(index_jsp.java:388)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
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:722)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 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:722)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
 at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:536)
at
org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
 at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:265)
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
 at
org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:643)
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:637)
 at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
 at
org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at
org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
 at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
 at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at
org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
 at
org

[Dev] COMPILATION ERROR in governance.generic.ui

2012-10-04 Thread Supun Malinga
[INFO] Compiling 2 source files to
/home/disk1/carbon_builds/newTrunk/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/disk1/carbon_builds/newTrunk/platform/branches/4.0.0/components/governance/org.wso2.carbon.governance.generic.ui/4.0.2/src/main/java/org/wso2/carbon/governance/generic/ui/clients/ManageGenericArtifactServiceClient.java:[98,19]
editArtifact(java.lang.String,java.lang.String,java.lang.String) in
org.wso2.carbon.governance.generic.stub.ManageGenericArtifactServiceStub
cannot be applied to
(java.lang.String,java.lang.String,java.lang.String,java.lang.String)

thanks,
-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #254 has FAILED. Change made by supunm.

2012-10-04 Thread Supun Malinga
Hi Lakmali,

In [2] it uses the correct branch location. But the issue is still there.
Please have a look.

[2]
http://wso2.org/bamboo/download/WCB001-KER000-JOB1/build_logs/WCB001-KER000-JOB1-259.log

thanks,

On Wed, Oct 3, 2012 at 9:49 PM, Lakmali Baminiwatta wrote:

> Hi,
>
> On Wed, Oct 3, 2012 at 8:08 PM, Supun Malinga  wrote:
>
>> Hi,
>>
>> This is still there. Check the latest bamboo build.
>>
>
> I checked the orbit build in bamboo. The svn location which it points to
> is https://svn.wso2.org/repos/wso2/carbon/orbit/trunk which is trunk.
> This needs to be pointed to the branch. Check the latest orbit build log
> [1].
>
> [1]
> http://wso2.org/bamboo/download/WSO2CARBON-CARBONKERNELBUILD-JOB1/build_logs/WSO2CARBON-CARBONKERNELBUILD-JOB1-197.log
>
> Thanks,
> Lakmali
>
>
>> thanks,
>>
>>
>> On Wed, Oct 3, 2012 at 10:04 AM, Lakmali Baminiwatta wrote:
>>
>>> Hi,
>>>
>>> On Wed, Oct 3, 2012 at 9:57 AM, Supun Malinga  wrote:
>>>
 Hi,

 Coordination core failure,

 build 02-Oct-2012 12:06:31 [ERROR] Failed to execute goal on project
 org.wso2.carbon.coordination.core: Could not resolve dependencies for
 project org.wso2.carbon:org.wso2.carbon.coordination.core:bundle:4.0.2:
 Could not find artifact
 org.apache.zookeeper.wso2:apache-zookeeper:jar:3.4.4.wso2v1 in wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]

>>>
>>> We have added zookeeper-3.4.4.wso2v1 to orbits. This was committed
>>> yesterday and it seems orbit build hasn't gone after that change.
>>>
>>> Thanks,
>>> Lakmali
>>>

 On Wed, Oct 3, 2012 at 12:36 AM, Bamboo  wrote:

>   [image: Failed]  WSO2 Carbon 
> BRANCH›
> Kernel_4.0.0  › 
> #254
> failed
>
> Code has been updated by 
> supunm
> .
>
> No failed tests found, a possible compilation error.
>Responsible No one is responsible for this build.
>Failing Jobs Job
> Duration Tests[image: Failed]  Default 
> Job (Default
> Stage)  26 minutes  No tests found  
> Logs|
> Artifacts  
>Code
> Changes   View
> full change 
> details
> supunm 
> improvements related to 
> CARBON-13899
> 144597supunm 
> improvements related to 
> CARBON-13899
> 144596 View Online
> | Add 
> Comments
>
> This message was sent by Atlassian Bamboo .
>
> If you wish to stop receiving these emails edit your user 
> profileor notify
> your administrator .
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com 
 mobile - 071 56 91 321


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


>>>
>>>
>>>
>>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - sup...@wso2.com 
>> mobile - 071 56 91 321
>>
>>
>
>
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Ehcache related warning in bamboo build logs

2012-10-04 Thread Supun Malinga
build 04-Oct-2012 01:12:45 [WARNING]
build 04-Oct-2012 01:12:45 [WARNING] Some problems were encountered while
building the effective model for net.sf.ehcache:ehcache:jar:1.5.0-wso2v2
build 04-Oct-2012 01:12:45 [WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: commons-httpclient:commons-httpclient:jar -> duplicate
declaration of version 3.0.1 @ net.sf.ehcache:ehcache-parent:1.5.0,
/home/bamboo/Bamboo-3.4/Bamboo/.m2/AGENT-23035905/repository/net/sf/ehcache/ehcache-parent/1.5.0/ehcache-parent-1.5.0.pom,
line 167, column 25
build 04-Oct-2012 01:12:45 [WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: httpunit:httpunit:jar -> version 1.6 vs 1.6.1 @
net.sf.ehcache:ehcache-parent:1.5.0,
/home/bamboo/Bamboo-3.4/Bamboo/.m2/AGENT-23035905/repository/net/sf/ehcache/ehcache-parent/1.5.0/ehcache-parent-1.5.0.pom,
line 173, column 25
build 04-Oct-2012 01:12:45 [WARNING]
build 04-Oct-2012 01:12:45 [WARNING] It is highly recommended to fix these
problems because they threaten the stability of your build.
build 04-Oct-2012 01:12:45 [WARNING]
build 04-Oct-2012 01:12:45 [WARNING] For this reason, future Maven versions
might no longer support building such malformed projects.
build 04-Oct-2012 01:12:45 [WARNING]

Please fix.

thanks,
-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #259 has FAILED. Change made by hasini.

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Kernel_4.0.0 > #259 failed.
---
This build was manually triggered by Maheshika Goonetilleke.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-KER000-259/

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
hasini (144862):

>fix for https://wso2.org/jira/browse/CARBON-13913



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] Carbon Snapshot > Kernel > #456 has FAILED

2012-10-04 Thread Bamboo

---
Carbon Snapshot > Kernel > #456 failed.
---
This build occurred because it is a dependant of 
WSO2CARBON-CARBONKERNELBUILD-198.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-456/

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.




--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > P2-Repo > #10 has FAILED. Change made by 14 authors.

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > P2-Repo > #10 failed.
---
Code has been updated by miyuru, rajika, amilam, Kishanthan Thangarajah, 
dushan, dileepa, pradeep, kasunw, suho, charitham, supunm, ajithn, dinusha, 
nirmal.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-P2R000-10/

-
Currently Responsible
-

Kishanthan Thangarajah (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
dileepa (138063):

>fixing AS category's featureIDs, adding product styles category

miyuru (141024):

>fixed patched feature versions

ajithn (141161):

>format



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS p2 failure with Reporting Feature 4.0.2

2012-10-04 Thread Sagara Gunathunga
Above issue has been fixed now I could build wso2appserver-profile-gen
successfully.

Thanks !

On Thu, Oct 4, 2012 at 12:45 PM, Sinthuja Ragendran wrote:

> HI,
>
> I couldn't reproduce this locally, I have committed the fix suggested by
> dileepa in components/reporting/org.wso2.carbon.reporting.core/4.0.2.
> can you please update this and try building?
>
> Thanks,
> Sinthuja.
>
>
> On Thu, Oct 4, 2012 at 12:28 PM, Sagara Gunathunga wrote:
>
>> I'm getting similar exception when building wso2appserver-profile-gen.
>>
>>
>> Cannot complete the install because one or more required items could not
>> be found.
>>  Software being installed: WSO2 Carbon - Reporting Feature 4.0.2
>> (org.wso2.carbon.reporting.feature.group 4.0.2)
>>   Missing requirement: org.wso2.carbon.reporting.core 4.0.2
>> (org.wso2.carbon.reporting.core 4.0.2) requires 'package
>> org.wso2.carbon.reporting.util [4.0.0,5.0.0)' but it could not be found
>>
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon - Reporting Feature 4.0.2
>> (org.wso2.carbon.reporting.feature.group 4.0.2)
>>   To: org.wso2.carbon.reporting.template.server.feature.group [4.0.2]
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon - Reporting Template Core Feature 4.0.2
>> (org.wso2.carbon.reporting.template.server.feature.group 4.0.2)
>>   To: org.wso2.carbon.reporting.core [4.0.2]
>> Application failed, log file location:
>> /home/sagara/dev/tools/build/m2_repo/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1349333645354.log
>>
>>
>> Thanks !
>>
>> On Sun, Sep 30, 2012 at 11:33 PM, Dileepa Jayakody wrote:
>>
>>>
>>>
>>> On Fri, Sep 28, 2012 at 1:48 PM, Supun Malinga  wrote:
>>>
 Hi,

 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - Reporting Feature 4.0.2
 (org.wso2.carbon.reporting.feature.group 4.0.2)
  Missing requirement: org.wso2.carbon.reporting.core 4.0.2
 (org.wso2.carbon.reporting.core 4.0.2) requires 'package
 org.wso2.carbon.reporting.api* [4.0.0,5.0.0)*' but it could not be
 found

>>>
>>> The above required package version range is probably injected by the
>>> maven bundle plugin based on the dependency tree.
>>> This is intermittent, and you can avoid this behavior of maven bundle
>>> plugin (bnd) injecting dependency version ranges automatically by properly
>>> defining export/import versions in the bundles.
>>> In this case if you give Import-Package for
>>> org.wso2.carbon.reporting.api as version=0.0.0 you can rectify this issue.
>>>
>>>   Cannot satisfy dependency:
   From: WSO2 Carbon - Reporting Feature 4.0.2
 (org.wso2.carbon.reporting.feature.group 4.0.2)
   To: org.wso2.carbon.reporting.template.server.feature.group [4.0.2]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Reporting Template Core Feature 4.0.2
 (org.wso2.carbon.reporting.template.server.feature.group 4.0.2)
   To: org.wso2.carbon.reporting.core [4.0.2]

 thanks,
  --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com 
 mobile - 071 56 91 321


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


>>>
>>>
>>> --
>>> Dileepa Jayakody,
>>> Software Engineer, WSO2 Inc.
>>> Lean . Enterprise . Middleware
>>>
>>> Mobile : +94777-857616
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Technical Lead; WSO2, Inc.;  http://wso2.com
>> V.P Apache Web Services ;  http://ws.apache.org/
>> Blog ;  http://ssagara.blogspot.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Sagara Gunathunga

Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services ;  http://ws.apache.org/
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Web app Deployment issue

2012-10-04 Thread Nuwan Bandara
Hi Guys,

If I drop a .war file into a already deployed webapp directory it also gets
deployed. this is wrong behavior IMO. I think the issue is
axis2 hierarchical deployment.

can we switch of hierarchical deployment for certain deployers. (for war
and jaggery)

-- 
*Thanks & Regards,

Nuwan Bandara
Associate Technical Lead & Member, MC, Development Technologies
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629
*

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #258 has FAILED. Change made by reka.

2012-10-04 Thread Bamboo

---
WSO2 Carbon BRANCH > Kernel_4.0.0 > #258 failed.
---
Code has been updated by reka.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-KER000-258/

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
reka (144851):

>unsetting application name for modules and adding log when removing a service



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Registry is not accessible after scheduling operation

2012-10-04 Thread Anjana Fernando
Hi,

On Thu, Oct 4, 2012 at 1:03 PM, Sinthuja Ragendran wrote:

> Hi Anjana,
>
> That solves the problem. I took update of ntask core and tried, now the
> problem is not there.
>

OK, that's great! .. Thanks.

Cheers,
Anjana.


>
> Thanks,
> Sinthuja.
>
>
> On Thu, Oct 4, 2012 at 12:51 PM, Anjana Fernando  wrote:
>
>> Hi Sinthuja,
>>
>> I've removed some scenarios of creating registry transaction contexts in
>> the ntask code, which were really not needed. But ideally, they should not
>> have any affect also, since this worked fine earlier also. Still, can you
>> just build the ntask.core and copy it to your product and see. I myself
>> couldn't properly build the full platform yet.
>>
>> Cheers,
>> Anjana.
>>
>> On Wed, Oct 3, 2012 at 4:17 PM, Sinthuja Ragendran wrote:
>>
>>> Hi,
>>>
>>> I'm unable to access registry and do any registry related operations
>>> after scheduling the script. But I can save the script without scheduling
>>> and every thing works fine. The problem comes only after scheduling the
>>> script.
>>>
>>> This is the exception trace.
>>>
>>> [2012-10-03 16:05:34,252]  INFO
>>> {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} -  Task
>>> scheduled: test1
>>> [2012-10-03 16:06:01,019]  INFO
>>> {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Running
>>> script executor task for script test1. [Wed Oct 03 16:06:01 IST 2012]
>>> [2012-10-03 16:06:35,226] ERROR
>>> {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} -  Failed to check
>>> the existence of the resource /_system/config/repository/hive/scripts.
>>> Timeout trying to lock table "REG_RESOURCE"; SQL statement:
>>> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS
>>> NULL AND REG_TENANT_ID=? [50200-140]
>>> org.h2.jdbc.JdbcSQLException: Timeout trying to lock table
>>> "REG_RESOURCE"; SQL statement:
>>> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS
>>> NULL AND REG_TENANT_ID=? [50200-140]
>>> at
>>> org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
>>> at org.h2.message.DbException.get(DbException.java:167)
>>> at org.h2.message.DbException.get(DbException.java:144)
>>> at org.h2.table.RegularTable.doLock(RegularTable.java:466)
>>> at org.h2.table.RegularTable.lock(RegularTable.java:404)
>>> at org.h2.table.TableFilter.lock(TableFilter.java:139)
>>> at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
>>> at org.h2.command.dml.Query.query(Query.java:241)
>>> at org.h2.command.CommandContainer.query(CommandContainer.java:80)
>>> at org.h2.command.Command.executeQuery(Command.java:132)
>>> at
>>> org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:184)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:147)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:156)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:159)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:644)
>>> at
>>> org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:249)
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:624)
>>> at
>>> org.wso2.carbon.analytics.hive.persistence.HiveScriptPersistenceManager.getAllHiveScriptNames(HiveScriptPersistenceManager.java:132)
>>> at
>>> org.wso2.carbon.analytics.hive.web.HiveScriptStoreService.getAllScriptNames(HiveScriptStoreService.java:130)
>>> 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:212)
>>> at
>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>>> at
>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>> at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
>>> at
>>> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)

Re: [Dev] Registry is not accessible after scheduling operation

2012-10-04 Thread Sinthuja Ragendran
Hi Anjana,

That solves the problem. I took update of ntask core and tried, now the
problem is not there.

Thanks,
Sinthuja.

On Thu, Oct 4, 2012 at 12:51 PM, Anjana Fernando  wrote:

> Hi Sinthuja,
>
> I've removed some scenarios of creating registry transaction contexts in
> the ntask code, which were really not needed. But ideally, they should not
> have any affect also, since this worked fine earlier also. Still, can you
> just build the ntask.core and copy it to your product and see. I myself
> couldn't properly build the full platform yet.
>
> Cheers,
> Anjana.
>
> On Wed, Oct 3, 2012 at 4:17 PM, Sinthuja Ragendran wrote:
>
>> Hi,
>>
>> I'm unable to access registry and do any registry related operations
>> after scheduling the script. But I can save the script without scheduling
>> and every thing works fine. The problem comes only after scheduling the
>> script.
>>
>> This is the exception trace.
>>
>> [2012-10-03 16:05:34,252]  INFO
>> {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} -  Task
>> scheduled: test1
>> [2012-10-03 16:06:01,019]  INFO
>> {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Running
>> script executor task for script test1. [Wed Oct 03 16:06:01 IST 2012]
>> [2012-10-03 16:06:35,226] ERROR
>> {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} -  Failed to check
>> the existence of the resource /_system/config/repository/hive/scripts.
>> Timeout trying to lock table "REG_RESOURCE"; SQL statement:
>> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS
>> NULL AND REG_TENANT_ID=? [50200-140]
>> org.h2.jdbc.JdbcSQLException: Timeout trying to lock table
>> "REG_RESOURCE"; SQL statement:
>> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS
>> NULL AND REG_TENANT_ID=? [50200-140]
>> at
>> org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
>> at org.h2.message.DbException.get(DbException.java:167)
>> at org.h2.message.DbException.get(DbException.java:144)
>> at org.h2.table.RegularTable.doLock(RegularTable.java:466)
>> at org.h2.table.RegularTable.lock(RegularTable.java:404)
>> at org.h2.table.TableFilter.lock(TableFilter.java:139)
>> at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
>> at org.h2.command.dml.Query.query(Query.java:241)
>> at org.h2.command.CommandContainer.query(CommandContainer.java:80)
>> at org.h2.command.Command.executeQuery(Command.java:132)
>> at
>> org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
>> at
>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:184)
>> at
>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:147)
>> at
>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:156)
>> at
>> org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:159)
>> at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:644)
>> at
>> org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:249)
>> at
>> org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:624)
>> at
>> org.wso2.carbon.analytics.hive.persistence.HiveScriptPersistenceManager.getAllHiveScriptNames(HiveScriptPersistenceManager.java:132)
>> at
>> org.wso2.carbon.analytics.hive.web.HiveScriptStoreService.getAllScriptNames(HiveScriptStoreService.java:130)
>> 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:212)
>> at
>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>> at
>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>> at
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
>> at
>> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
>> at
>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
>> at
>> org.apache.axis2.description.OutIn

Re: [Dev] Registry is not accessible after scheduling operation

2012-10-04 Thread Anjana Fernando
Hi Sinthuja,

I've removed some scenarios of creating registry transaction contexts in
the ntask code, which were really not needed. But ideally, they should not
have any affect also, since this worked fine earlier also. Still, can you
just build the ntask.core and copy it to your product and see. I myself
couldn't properly build the full platform yet.

Cheers,
Anjana.

On Wed, Oct 3, 2012 at 4:17 PM, Sinthuja Ragendran wrote:

> Hi,
>
> I'm unable to access registry and do any registry related operations after
> scheduling the script. But I can save the script without scheduling and
> every thing works fine. The problem comes only after scheduling the script.
>
> This is the exception trace.
>
> [2012-10-03 16:05:34,252]  INFO
> {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} -  Task
> scheduled: test1
> [2012-10-03 16:06:01,019]  INFO
> {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Running
> script executor task for script test1. [Wed Oct 03 16:06:01 IST 2012]
> [2012-10-03 16:06:35,226] ERROR
> {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} -  Failed to check
> the existence of the resource /_system/config/repository/hive/scripts.
> Timeout trying to lock table "REG_RESOURCE"; SQL statement:
> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS
> NULL AND REG_TENANT_ID=? [50200-140]
> org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "REG_RESOURCE";
> SQL statement:
> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS
> NULL AND REG_TENANT_ID=? [50200-140]
> at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
> at org.h2.message.DbException.get(DbException.java:167)
> at org.h2.message.DbException.get(DbException.java:144)
> at org.h2.table.RegularTable.doLock(RegularTable.java:466)
> at org.h2.table.RegularTable.lock(RegularTable.java:404)
> at org.h2.table.TableFilter.lock(TableFilter.java:139)
> at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
> at org.h2.command.dml.Query.query(Query.java:241)
> at org.h2.command.CommandContainer.query(CommandContainer.java:80)
> at org.h2.command.Command.executeQuery(Command.java:132)
> at
> org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
> at
> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:184)
> at
> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:147)
> at
> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:156)
> at
> org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:159)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:644)
> at
> org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:249)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:624)
> at
> org.wso2.carbon.analytics.hive.persistence.HiveScriptPersistenceManager.getAllHiveScriptNames(HiveScriptPersistenceManager.java:132)
> at
> org.wso2.carbon.analytics.hive.web.HiveScriptStoreService.getAllScriptNames(HiveScriptStoreService.java:130)
> 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:212)
> at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
> at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
> at
> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
> at
> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
> at
> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
> at
> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
> at
> org.wso2.carbon.analytics.hive.stub.

Re: [Dev] AS p2 failure with Reporting Feature 4.0.2

2012-10-04 Thread Sinthuja Ragendran
HI,

I couldn't reproduce this locally, I have committed the fix suggested by
dileepa in components/reporting/org.wso2.carbon.reporting.core/4.0.2.
can you please update this and try building?

Thanks,
Sinthuja.

On Thu, Oct 4, 2012 at 12:28 PM, Sagara Gunathunga  wrote:

> I'm getting similar exception when building wso2appserver-profile-gen.
>
>
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 Carbon - Reporting Feature 4.0.2
> (org.wso2.carbon.reporting.feature.group 4.0.2)
>   Missing requirement: org.wso2.carbon.reporting.core 4.0.2
> (org.wso2.carbon.reporting.core 4.0.2) requires 'package
> org.wso2.carbon.reporting.util [4.0.0,5.0.0)' but it could not be found
>
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Reporting Feature 4.0.2
> (org.wso2.carbon.reporting.feature.group 4.0.2)
>   To: org.wso2.carbon.reporting.template.server.feature.group [4.0.2]
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Reporting Template Core Feature 4.0.2
> (org.wso2.carbon.reporting.template.server.feature.group 4.0.2)
>   To: org.wso2.carbon.reporting.core [4.0.2]
> Application failed, log file location:
> /home/sagara/dev/tools/build/m2_repo/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1349333645354.log
>
>
> Thanks !
>
> On Sun, Sep 30, 2012 at 11:33 PM, Dileepa Jayakody wrote:
>
>>
>>
>> On Fri, Sep 28, 2012 at 1:48 PM, Supun Malinga  wrote:
>>
>>> Hi,
>>>
>>> Cannot complete the install because one or more required items could not
>>> be found.
>>>  Software being installed: WSO2 Carbon - Reporting Feature 4.0.2
>>> (org.wso2.carbon.reporting.feature.group 4.0.2)
>>>  Missing requirement: org.wso2.carbon.reporting.core 4.0.2
>>> (org.wso2.carbon.reporting.core 4.0.2) requires 'package
>>> org.wso2.carbon.reporting.api* [4.0.0,5.0.0)*' but it could not be found
>>>
>>
>> The above required package version range is probably injected by the
>> maven bundle plugin based on the dependency tree.
>> This is intermittent, and you can avoid this behavior of maven bundle
>> plugin (bnd) injecting dependency version ranges automatically by properly
>> defining export/import versions in the bundles.
>> In this case if you give Import-Package for org.wso2.carbon.reporting.api
>> as version=0.0.0 you can rectify this issue.
>>
>>   Cannot satisfy dependency:
>>>   From: WSO2 Carbon - Reporting Feature 4.0.2
>>> (org.wso2.carbon.reporting.feature.group 4.0.2)
>>>   To: org.wso2.carbon.reporting.template.server.feature.group [4.0.2]
>>>  Cannot satisfy dependency:
>>>   From: WSO2 Carbon - Reporting Template Core Feature 4.0.2
>>> (org.wso2.carbon.reporting.template.server.feature.group 4.0.2)
>>>   To: org.wso2.carbon.reporting.core [4.0.2]
>>>
>>> thanks,
>>>  --
>>> Supun Malinga,
>>>
>>> Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>> email - sup...@wso2.com 
>>> mobile - 071 56 91 321
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dileepa Jayakody,
>> Software Engineer, WSO2 Inc.
>> Lean . Enterprise . Middleware
>>
>> Mobile : +94777-857616
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services ;  http://ws.apache.org/
> Blog ;  http://ssagara.blogspot.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] 4.0.2 kernel build failure - missing org.wso2.carbon:org.wso2.carbon.coordination.core:bundle:4.0.2

2012-10-04 Thread Lakmali Baminiwatta
Hi,

On Thu, Oct 4, 2012 at 12:12 PM, Rajika Kumarasiri  wrote:

> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 5.601s
> [INFO] Finished at: Thu Oct 04 12:07:56 IST 2012
> [INFO] Final Memory: 21M/82M
> [INFO]
> 
> [ERROR] Failed to execute goal on project
> org.wso2.carbon.coordination.core: Could not resolve dependencies for
> project org.wso2.carbon:org.wso2.carbon.coordination.core:bundle:4.0.2:
> Could not find artifact
> org.apache.zookeeper.wso2:apache-zookeeper:jar:3.4.4.wso2v1 in wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
>

Please try again after building orbits from patch release pom [1].

[1]
https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/patch-releases/4.0.2/pom.xml

Thanks,
Lakmali

[ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [rajika@localhost 4.0.2]$
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] Carbon Snapshot > Orbit > #198 was SUCCESSFUL

2012-10-04 Thread Bamboo

---
Carbon Snapshot > Orbit > #198 was successful.
---
This build was triggered at the scheduled time of 12:00 AM

http://wso2.org/bamboo/browse/WSO2CARBON-CARBONKERNELBUILD-198/





--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev