Re: [Dev] IS 5.2.0-SNAPSHOT - 03/08/2016

2016-08-03 Thread Pandula Kariyawasam
[+ Dilini and Kavitha]

On Wed, Aug 3, 2016 at 7:00 PM, Kasun Bandara <kas...@wso2.com> wrote:

> Hi All,
>
> Please find today's latest build pack for IS 5.2.0-SNAPSHOT [1]
>
> Thanks,
> Kasun.
>
> [1]
> http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/is/wso2is/5.2.0-SNAPSHOT/
>
>
>
>
> --
> Kasun Bandara
> *Software Engineer*
> Mobile : +94 (0) 718 338 360
> <%2B94%20%280%29%20773%20451194>
> kas...@wso2.com <thili...@wso2.com>
>



-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer*
Mobile: +94772314510



*WSO2 Inc.lean . enterprise . middlewear.http://www.wso2.com
<http://www.wso2.com>*
<http://www.wso2.com>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 IS Logs

2016-01-28 Thread Pandula Kariyawasam
NP. I'll stop the python server.

Thanks,
Pandula

On Thu, Jan 28, 2016 at 4:11 PM, Miyuru Dayarathna <miyu...@wso2.com> wrote:

> Hi Pandula,
>
> Thanks for sharing the scripts and the log files. I completed downloading
> all the log files.
>
> --
> Thanks,
> Miyuru Dayarathna
> Senior Technical Lead
> Mobile: +94713527783
> Blog: http://miyurublog.blogspot.com
>
> On Thu, Jan 28, 2016 at 2:58 PM, Pandula Kariyawasam <pand...@wso2.com>
> wrote:
>
>> Hi Miyuru,
>>
>> Please find the attached scripts for SAML SSO and OAuth.
>>
>> You can download some logs from following location.
>> http://192.168.18.74:8000/
>>
>> Thanks,
>> Pandula
>>
>>
>> On Thu, Jan 28, 2016 at 2:48 PM, Miyuru Dayarathna <miyu...@wso2.com>
>> wrote:
>>
>>> Hi Nadeesha,
>>>
>>> Yes,  scripts created for SSO and oauth for long running tests are
>>> fine. Could you please share those with us?
>>>
>>> --
>>> Thanks,
>>> Miyuru Dayarathna
>>> Senior Technical Lead
>>> Mobile: +94713527783
>>> Blog: http://miyurublog.blogspot.com
>>>
>>>
>>>
>>> On Thu, Jan 28, 2016 at 2:40 PM, Srinath Perera <srin...@wso2.com>
>>> wrote:
>>>
>>>> We need all logs, and yes mainly wso2carbon.log.
>>>>
>>>> --Srinath
>>>>
>>>> On Thu, Jan 28, 2016 at 2:31 PM, Nadeesha Meegoda <nadees...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Miyuru,
>>>>>
>>>>> Are you expecting wso2carbon.log as logs or what kind of specific logs
>>>>> are you looking for? We don't have logs to be shared for tests we ran on
>>>>> local environments cause those are deleted by now. But we may be able to
>>>>> share logs of our long running tests. We have scripts created for SSO and
>>>>> oauth for long running tests done for IS 5.1.0. Are you looking for those
>>>>> kind of scripts?
>>>>>
>>>>> Thanks,
>>>>> Nadeesha
>>>>>
>>>>> On Thu, Jan 28, 2016 at 2:23 PM, Srinath Perera <srin...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Jan 28, 2016 at 2:01 PM, Miyuru Dayarathna <miyu...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> We are currently working on to apply WSO2 LogAnalyzer to conduct
>>>>>>> analytics on multiple WSO2 products. I want to try out WSO2 IS logs with
>>>>>>> LogAnalyzer. Could you please let me know whether you already have such
>>>>>>> logs created in your test environment which I could get a copy? Also do 
>>>>>>> you
>>>>>>> have some test script(s) which you use to test WSO2 IS?
>>>>>>>
>>>>>>> --
>>>>>>> Thanks,
>>>>>>> Miyuru Dayarathna
>>>>>>> Senior Technical Lead
>>>>>>> Mobile: +94713527783
>>>>>>> Blog: http://miyurublog.blogspot.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 
>>>>>> Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
>>>>>> Site: http://people.apache.org/~hemapani/
>>>>>> Photos: http://www.flickr.com/photos/hemapani/
>>>>>> Phone: 0772360902
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Nadeesha Meegoda*
>>>>> Software Engineer - QA
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>> email : nadees...@wso2.com
>>>>> mobile: +94783639540
>>>>> <%2B94%2077%202273555>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 
>>>> Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
>>>> Site: http://people.apache.org/~hemapani/
>>>> Photos: http://www.flickr.com/photos/hemapani/
>>>> Phone: 0772360902
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Miyuru Dayarathna
>>> Senior Technical Lead
>>> Mobile: +94713527783
>>> Blog: http://miyurublog.blogspot.com
>>>
>>
>>
>>
>> --
>>
>> *Pandula Kariyawasam K.B.*
>> *Senior Software Engineer - QA*
>> Mobile: +94772314510
>>
>>
>>
>> *WSO2 Inc.lean . enterprise . middlewear.http://www.wso2.com
>> <http://www.wso2.com>*
>> <http://www.wso2.com>
>>
>
>
>
> --
> Thanks,
> Miyuru Dayarathna
> Senior Technical Lead
> Mobile: +94713527783
> Blog: http://miyurublog.blogspot.com
>



-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510



*WSO2 Inc.lean . enterprise . middlewear.http://www.wso2.com
<http://www.wso2.com>*
<http://www.wso2.com>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Identity Server 5.1.0 RC2

2015-12-22 Thread Pandula Kariyawasam
Hi All,

I have tested following scenarios and didn't introduce any issues on them.

- login to Office365 via SAML SSO using IS510 (with JDBC Userstore) as IDP.
- Smoke test on Federation and integration scenarios

[x] - Stable - Go ahead and release.

Thanks,
Pandula


On Wed, Dec 23, 2015 at 12:12 PM, Indunil Upeksha Rathnayake <
indu...@wso2.com> wrote:

> Hi All,
>
> I have tested following functionalities in both super tenant and tenant
> mode with email user name enabled/disabled.
>
> 1. SCIM (GET/PUT/PATCH operations, SCIM  Extentions, with Basic and OAuth
> authentication)
> 2. Provisioning - SCIM
> 3. Provisioning - Salesforce
> 4. OAuth/OpenID Connect Federation
> 5. IdP's default authenticator changes in SP, IDP multi-step
> authentication
>
> No issues found.
> [x] - Stable - Go ahead and release.
>
>
> On Wed, Dec 23, 2015 at 12:09 PM, Pulasthi Mahawithana <pulast...@wso2.com
> > wrote:
>
>> Hi All,
>>
>> Found no issues with IWA Application and carbon authenticators.
>>
>> [x] - Stable - Go ahead and release.
>>
>>
>> On Wed, Dec 23, 2015 at 12:04 PM, Kavitha Subramaniyam <kavi...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> QA has done smoke test on RC pack and there were no blocking issues
>>> found. Founded minor severity issues has been reported in jira.
>>>
>>>
>>> Thanks,
>>> Kavitha.
>>>
>>> On Wed, Dec 23, 2015 at 11:46 AM, Gayan Gunawardana <ga...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have tested following functionalities.
>>>>
>>>> 1. Passive STS federation for tenant and super tenant
>>>> 2. ID token for implicit grant type
>>>> 3. SCIM patch operation for groups with all basic SCIM operations
>>>>
>>>> No issues found.
>>>>
>>>> [x] - Stable - Go ahead and release.
>>>>
>>>> Thanks,
>>>> Gayan
>>>>
>>>> On Mon, Dec 21, 2015 at 6:29 PM, Hasintha Indrajee <hasin...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> This is the second release candidate of WSO2 Identity Server 5.1.0.
>>>>>
>>>>> This release fixes the following issues:
>>>>> https://wso2.org/jira/issues/?filter=12586
>>>>>
>>>>> Please download, test and vote.
>>>>>
>>>>> Source & binary distribution files:
>>>>> https://github.com/wso2/product-is/releases/tag/v5.1.0-rc2
>>>>>
>>>>> Maven staging repo:
>>>>> http://maven.wso2.org/nexus/content/repositories/orgwso2is-218/
>>>>>
>>>>> The tag to be voted upon:
>>>>> https://github.com/wso2/product-is/tree/v5.1.0-rc2
>>>>>
>>>>>
>>>>> [ ]  Stable - go ahead and release
>>>>> [ ]  Broken - do not release (explain why)
>>>>>
>>>>> Thanks and Regards,
>>>>> WSO2 Identity Server Team.
>>>>>
>>>>> --
>>>>> Hasintha Indrajee
>>>>> Software Engineer
>>>>> WSO2, Inc.
>>>>> Mobile:+94 771892453
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Gayan Gunawardana
>>>> Software Engineer; WSO2 Inc.; http://wso2.com/
>>>> Email: ga...@wso2.com
>>>> Mobile: +94 (71) 8020933
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Kavitha.S
>>> *Software Engineer -QA*
>>> Mobile : +94 (0) 771538811 <%2B94%20%280%29%20773%20451194>
>>> kavi...@wso2.com <thili...@wso2.com>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510



*WSO2 Inc.lean . enterprise . middlewear.http://www.wso2.com
<http://www.wso2.com>*
<http://www.wso2.com>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Exposing the Public Certificate via 'jwks_uri'

2015-11-18 Thread Pandula Kariyawasam
Hi All,

We are working on OpenID Connect Conformance Testing, using the test suite
provided in link [1].

The current requirement we have is, exposing the Public Certificate via
jwks.json ('jwks_uri'). We followed the 'jwks_uri'[2] of 'Google OAuth2
cert' and designed following jwks.json file to expose the public
certificate of our server.



{
 "keys": [
  {
   "kty": "RSA",
   "alg": "RS256",
   "use": "sig",
   "n": 
"94A7FA15D6F59CF3F4E4412880BD3A2EB0CCCE3386AC0768A5B6BD902A8CE78B969516EF35F0CA4E2D922BF0B3274F35A5949BEF680E510007696C409BFB8F058DB05ED21B1E51D3791E9C2F9C7FC35BC65C706BE4E7723A3ABABB84B0AFD591EDB8E0A8920873FC04EB8723EAF9092D31F5E7452E07ACA1894F3C5A09C53B39",
   "e": "65537"
  }
 ]
}


To get the modulus and the exponent values for the Public Key, we have
followed post [3].

After doing all these, when running the test suite, the signature
validation fails. What I feel is the "n" and "e" values we have set are not
is proper encoding/encryption. Seems this is not the format in google cert
[2].


   - Do you have any clue on how to get the modulus and the exponent values
   for a Public Key, in proper format ?
   - Have anyone came across similar requirement earlier?



[1] http://openid.net/certification/testing/

[2] https://www.googleapis.com/oauth2/v2/certs

[3] RSA: Get exponent and modulus given a public key
<http://stackoverflow.com/questions/3116907/rsa-get-exponent-and-modulus-given-a-public-key>


Thanks,
Pandula

-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510



*WSO2 Inc.lean . enterprise . middlewear.http://www.wso2.com
<http://www.wso2.com>*
<http://www.wso2.com>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.2 RC2

2015-10-16 Thread Pandula Kariyawasam
> Thank you
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Oct 12, 2015 at 9:24 PM, Manuri Amaya Perera <
>>>>>>>>>> manu...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>
>>>>>>>>>>> WSO2 Carbon Kernel 4.4.2 RC2 Release Vote.
>>>>>>>>>>>
>>>>>>>>>>> This release fixes the following issues:
>>>>>>>>>>> https://wso2.org/jira/issues/?filter=12396
>>>>>>>>>>>
>>>>>>>>>>> Please download and test your products with kernel 4.4.2 RC2 and
>>>>>>>>>>> vote. Vote will be open for 72 hours or longer as needed.
>>>>>>>>>>>
>>>>>>>>>>> *​Source and binary distribution files:*
>>>>>>>>>>> https://svn.wso2.org/repos/wso2/people/aruna/v4.4.2-rc2
>>>>>>>>>>>
>>>>>>>>>>> *Maven staging repository:*
>>>>>>>>>>>
>>>>>>>>>>> http://maven.wso2.org/nexus/content/repositories/orgwso2carbon-019/
>>>>>>>>>>>
>>>>>>>>>>> *The tag to be voted upon:*
>>>>>>>>>>> https://github.com/wso2/carbon-kernel/tree/v4.4.2-rc2
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> [ ] Broken - do not release (explain why)
>>>>>>>>>>> [ ] Stable - go ahead and release
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Thank you
>>>>>>>>>>> Carbon Team
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> *Manuri Amaya Perera*
>>>>>>>>>>>
>>>>>>>>>>> *Software Engineer*
>>>>>>>>>>>
>>>>>>>>>>> *WSO2 Inc.*
>>>>>>>>>>>
>>>>>>>>>>> *Blog: http://manuriamayaperera.blogspot.com
>>>>>>>>>>> <http://manuriamayaperera.blogspot.com>*
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Sasikala Kottegoda
>>>>>>>>>> *Software Engineer*
>>>>>>>>>> WSO2 Inc., http://wso2.com/
>>>>>>>>>> lean. enterprise. middleware
>>>>>>>>>> Mobile: +94 774835928/712792401
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Kishanthan Thangarajah*
>>>>>>>>> Associate Technical Lead,
>>>>>>>>> Platform Technologies Team,
>>>>>>>>> WSO2, Inc.
>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>
>>>>>>>>> Mobile - +94773426635
>>>>>>>>> Blog - *http://kishanthan.wordpress.com
>>>>>>>>> <http://kishanthan.wordpress.com>*
>>>>>>>>> Twitter - *http://twitter.com/kishanthan
>>>>>>>>> <http://twitter.com/kishanthan>*
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Indika Sampath
>>>>>>>> Senior Software Engineer
>>>>>>>> WSO2 Inc.
>>>>>>>> http://wso2.com
>>>>>>>>
>>>>>>>> Phone: +94 716 424 744
>>>>>>>> Blog: http://indikasampath.blogspot.com/
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks & Regards,
>>>>>>>
>>>>>>> *Johann Dilantha Nallathamby*
>>>>>>> Technical Lead & Product Lead of WSO2 Identity Server
>>>>>>> Governance Technologies Team
>>>>>>> WSO2, Inc.
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> Mobile - *+9476950*
>>>>>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Isura Dilhara Karunaratne
>>>>>> Senior Software Engineer
>>>>>>
>>>>>> Mob +94 772 254 810
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Kishanthan Thangarajah*
>>>>> Associate Technical Lead,
>>>>> Platform Technologies Team,
>>>>> WSO2, Inc.
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile - +94773426635
>>>>> Blog - *http://kishanthan.wordpress.com
>>>>> <http://kishanthan.wordpress.com>*
>>>>> Twitter - *http://twitter.com/kishanthan
>>>>> <http://twitter.com/kishanthan>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks & Regards,
>>>>
>>>> *Johann Dilantha Nallathamby*
>>>> Technical Lead & Product Lead of WSO2 Identity Server
>>>> Governance Technologies Team
>>>> WSO2, Inc.
>>>> lean.enterprise.middleware
>>>>
>>>> Mobile - *+9476950*
>>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Johann Dilantha Nallathamby*
>>> Technical Lead & Product Lead of WSO2 Identity Server
>>> Governance Technologies Team
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+9476950*
>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> <http://kishanthan.wordpress.com>*
>> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>>
>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Technical Lead & Product Lead of WSO2 Identity Server
> Governance Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>



-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510



*WSO2 Inc.lean . enterprise . middlewear.http://www.wso2.com
<http://www.wso2.com>*
<http://www.wso2.com>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.2 RC2

2015-10-16 Thread Pandula Kariyawasam
Hi Johann,

Still we are working on to identify the correct nginx config for this
scenario.

>From the QA perspective, we need to get this issue fixed, because if there
is a customer who will use this scenario, we will end up with a support
patch.

So, either need to get this fixed on 4.4.2 or have to wait for a fix on
4.4.3.

WDYT?

Thanks,
Pandula

On Fri, Oct 16, 2015 at 6:26 PM, Johann Nallathamby <joh...@wso2.com> wrote:

> Hi Pandula,
>
> Thanks. But actually the JIRA in concern is
> https://wso2.org/jira/browse/CARBON-15475 . Can you please provide your
> feedback on this.
>
> Thanks.
>
> On Fri, Oct 16, 2015 at 4:03 PM, Pandula Kariyawasam <pand...@wso2.com>
> wrote:
>
>> Hi Johann/Kishanthan,
>>
>> Both issue [2][3] were observed rarely on IS510 pack received on 8th Oct
>> 2015, which was based on kernel 4.4.1.
>> We didn't experience these issue up to now, on the pack received on 13th
>> Oct 2015, which is based on kernel 4.4.2.
>> So I think we can reduce the priority of these issues, and keep eye on
>> them in latest packs with kernel 4.4.2.
>>
>> [2] https://wso2.org/jira/browse/IDENTITY-3815
>> [3] https://wso2.org/jira/browse/IDENTITY-3817
>>
>> Thanks,
>> Pandula
>>
>>
>> On Fri, Oct 16, 2015 at 3:09 PM, Johann Nallathamby <joh...@wso2.com>
>> wrote:
>>
>>> Hi Kishanthan,
>>>
>>> On Fri, Oct 16, 2015 at 2:38 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Oct 16, 2015 at 11:27 AM, Johann Nallathamby <joh...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Kishanthan/Kernel Team,
>>>>>
>>>>> We have added the test case as well to the same PR.
>>>>>
>>>>
>>>> Thanks Johann.
>>>>
>>>> @MB Team, could you guys verify that all your scenarios are now
>>>> passing?.  We will start the next RC build once this is confirmed ASAP.
>>>>
>>>>>
>>>>> Also can we get CARBON-15505 merged? The PR for master is a very old
>>>>> PR which we have missed to review and merge. This mainly contains some
>>>>> reordering of fields in the UI to make it more consistent and reorder
>>>>> properties in user-mgt.xml to be consistent with UI. Hope we don't need 
>>>>> any
>>>>> tests for this.
>>>>>
>>>>
>>>> I think its better not to add any more changes at this stage. We will
>>>> merge this for next patch release.
>>>>
>>>>>
>>>>> Any update on the 3 issues raised above ?
>>>>>
>>>>
>>>> For [1], we need more information to reproduce (LB & IS config, example
>>>> requests, HTTP access logs on both LB and IS side with this issue). Will
>>>> send a separate mail on that, but I believe its not a blocker for the IS
>>>> release right?
>>>>
>>>
>>> I will request Hasanthi to upload the artifacts you requested.
>>>
>>> I may be not the right person to say if this is blocker or not.
>>> @QA Team, please give your opinion if we can consider this as not a
>>> blocker and go ahead with the release.
>>>
>>> Regards.
>>>
>>>
>>>> [2] and [3], we haven't seen this error previously and according the
>>>> trace, it looks like the "distributedCache" instance is becoming null in
>>>> CacheImpl class. If the exact steps can be found or given on how to
>>>> reproduce this, then we can work on finding the root cause for this.
>>>>
>>>>
>>>>> Thanks,
>>>>> Johann.
>>>>>
>>>>> On Thu, Oct 15, 2015 at 3:30 PM, Johann Nallathamby <joh...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Kishanthan/Kernel Team,
>>>>>>
>>>>>> We are in the process writing the test case for the issue. Should be
>>>>>> able to send it before end of day.
>>>>>>
>>>>>> [1] has been reported in another thread. This issue in particular
>>>>>> looks critical to me, because AFAIK there are many users using
>>>>>> proxyContextPath. Not sure about WebContextRoot though. Apart from that
>>>>>> WSO2 QA has reported [2,3] in IS 5.1.0 SNAPSHOT pack. May be its 
>>>>>> harmless,
>>>>>> but

[Dev] [IS] ORA-01653: unable to extend table

2015-10-05 Thread Pandula Kariyawasam
Hi Team,

We are experiencing the issue [1] during the long run test for OAuth on
IS510Alpha pack.

This is a 3 node cluster setup and the DBs are on Oracle 12c.
- 3 IS Nodes
- Load Balanced via Nginx Plus 1.7
- Registry Mounted
- Primary User store - Open LDAP
- DB -Oracle 12c

The scenario we are focusing in the Long Run as follows,
- Super Tenant Admin generate Authorization Code Token for his own App
- Super Tenant User generate Authorization Code Token for his own App
- Tenant2 User generate Authorization Code Token for his own App
- Tenant2 User generate Authorization Code Token for Super Tenant User's App
- Super Tenant User generate Authorization Code Token for Tenant2 User's App
- Tenant1 Admin generate Authorization Code Token for Tenant2 User's App
- Super Tenant Admin generate Authorization Code Token for Tenant2 User's
App
- Tenant3 Admin generate Authorization Code Token for Tenant2 User's App
- Tenant3 Admin generate Authorization Code Token for Super Tenant User's
App

The Jmeter script invokes these scenarios on 5 Threads, without a delay.


   - The cause for this issue is the 'USER DBF' file in
   'C:\app\oracle\oradata\ora12c' location of Oracle installation, has reached
   it's maximum limit.
   - As a workaround we can set a new file using following Oracle Script
   [2], with giving the maximum allowed size as 'MAXSIZE'.
   - Still the script we used for longrun test make it grow up to 1GB
   within 2 hours.
   - We can give a larger 'MAXSIZE' but it won't be practical for larger
   loads.
   - Can you check the validity of things that written in to this file,
   which cause it to grow so quickly?
   - Is this the expected behavior?

Related public JIRA [3]

Highly appreciate your opinion and advices on this.

Thanks,
Pandula



[1]

TID: [-1] [] [2015-10-05 11:48:19,909] ERROR
{org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore}
-  Error while storing session data
java.sql.SQLException: ORA-01653: unable to extend table
IS510ID.IDN_AUTH_SESSION_STORE by 8192 in tablespace USERS

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1017)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:566)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:215)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:58)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:943)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1075)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3820)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3897)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1361)
at
org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore.persistSessionData(SessionDataStore.java:345)
at
org.wso2.carbon.identity.application.authentication.framework.store.SessionDataPersistTask.run(SessionDataPersistTask.java:53)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)



[2]

ALTER TABLESPACE users
ADD DATAFILE 'C:\app\oracle\oradata\ora12c\users02.dbf' SIZE 10M
AUTOEXTEND ON
NEXT 512K
MAXSIZE 1024M;


[3] https://wso2.org/jira/browse/IDENTITY-3736


-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510



*WSO2 Inc.lean . enterprise . middlewear.http://www.wso2.com
<http://www.wso2.com>*
<http://www.wso2.com>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to get a thread dump for a crashed Java process

2015-01-05 Thread Pandula Kariyawasam
Hi All,

Is it possible to get a thread dump for a crashed Java process?

We are working on a long run test for IS 500, and a one node of the cluster
went down/crashed without leaving any Errors on Logs yesterday. The Heap
Dump which should get created after a memory level failure, in
/repository/logs/heap-dump.hprof is not there. Also we tried searching
the process id on log in /var/log/ , but there's no clue. Also we tried
various commands to create a dump, but all of them are looking for a
process that currently running.

What are the other options we have, and where else we should search for a
clue?

Thanks,
Pandula

-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] How to get a thread dump for a crashed Java process

2015-01-05 Thread Pandula Kariyawasam
Thanks Isuru  Vanji,

Are there any JVM level logs or any other logs we can refer to find out the
reason for the crash?

Thanks,
Pandula

On Mon, Jan 5, 2015 at 2:14 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Pandula,


 On Mon, Jan 5, 2015 at 2:09 PM, Vanjikumaran Sivajothy va...@wso2.com
 wrote:

 you can find the process id in CARBON_HOME/wso2carbon.pid

 On Mon, Jan 5, 2015 at 1:30 PM, Pandula Kariyawasam pand...@wso2.com
 wrote:

 Hi All,

 Is it possible to get a thread dump for a crashed Java process?

 We are working on a long run test for IS 500, and a one node of the
 cluster went down/crashed without leaving any Errors on Logs yesterday. The
 Heap Dump which should get created after a memory level failure, in
 /repository/logs/heap-dump.hprof is not there. Also we tried searching
 the process id on log in /var/log/ , but there's no clue. Also we tried
 various commands to create a dump, but all of them are looking for a
 process that currently running.

 We cannot get a thread-dump if the process is not running at a particular
 time.


 What are the other options we have, and where else we should search for
 a clue?

 Thanks,
 Pandula

 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com

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




 --
 Sivajothy Vanjikumaran
 *Senior Software Engineer*
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com http://wso2.com/*
 *Mobile:(+94)777219209*
 [image: Facebook] https://www.facebook.com/vanjikumaran [image:
 Twitter] https://twitter.com/vanjikumaran [image: LinkedIn]
 http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image:
 Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare]
 http://www.slideshare.net/vanjikumaran

 This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may
 have received this communication in error, please reply to the
 sender indicating that fact and delete the copy you received and in
 addition, you should not print, copy, re-transmit, disseminate, or
 otherwise use the information contained in this communication.
 Internet communications cannot be guaranteed to be timely, secure, error
 or virus-free. The sender does not accept liability for any errors
 or omissions

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




 --
 *Isuru Udana*
 Senior
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] 'RelayState' parameter on 'Identity provider initiated SSO' scenario

2014-10-30 Thread Pandula Kariyawasam
Hi All,

I came across following confusion while trying out Identity provider
initiated SSO scenario [1].

- Actual behavior is, when we specify the 'RelayState' parameter, SAML
response maintain that as an 'parameter', and it redirects to 'Assertion
Consumer URL'.
- As per the docs [1], it says This request will authenticate and redirect
the user to the URL in the RelayState parameter itself.

Could you please confirm the expected behavior when specifying the
'RelayState' parameter in this scenario.


Thanks,
Pandula

[1] https://docs.wso2.com/display/IS500/Identity+Federation+and+SSO+Concepts

-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Pandula Kariyawasam
Hi Asanka,

As in BAM 241, Cassandra indexing will affect only for the data which
receive after adding the index, and there is no mechanism to index the
already existing data. If this implemented, we have to handle the size of
already
existing data, and the load it will create, and the time it will take to
complete the process. I believe, it will be better if this can be added to
BAM road map with a proper solution to all the upcoming problems.

Thanks,
Pandula


On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi All,

 According to the current BAM  implementation, We are supporting message
 and activity search  based on the Cassandra indexing via message console UI.

 Currently to make data indexing work, we have to define indexing on tBox
 and deploy it.But even after tBox deployed, indexing won't get executed
 till we publish new set of data.
 So According to this there is no way to index existing cassandra data set
 through BAM.
 If its possible how can i achieve that?

 Further since indexing can be considered as separate feature directly bind
 with cassandra, I believe we should provide a separate UI to execute
 indexing stuffs and It will increase the usability of BAM indexing feature.
 WDYT?




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Pandula Kariyawasam
Hi Asanka,

It was a different story at that time :). Anyway, have you tried this out
in the latest pack in standalone mode, with built in Cassandra, and
Datastax Cassandra? Is there any special configuration to enable this? if
secondary index should index the already existing data, and if it is not
working in current release, then there is a bug, either on Cassandra side,
or on BAM side. You can get this confirm by adding indexing externally
using Cassandra CLI (As in doc you shared above) This should index the data
which are already there in the column. If it doesn't work, then Cassandra
side has a problem, else you have to debug with BAM team.

Thanks,
Pandula


On Fri, Jul 25, 2014 at 2:38 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi Pandula,

 As per the BAM team secondary index should index the already existing data
 as well. When we create a secondary index on a cassandra column family,It
 should start the indexing process immediately so there shouldn't be a
 requirement to publish data again.

 I agree with your concern about load handling but as per Cassandra doc
 [1], It won't be a problem.But we have to do a test run to make sure.

 [1]http://www.datastax.com/docs/1.0/ddl/indexes


 On Fri, Jul 25, 2014 at 2:03 PM, Pandula Kariyawasam pand...@wso2.com
 wrote:

 Hi Asanka,

 As in BAM 241, Cassandra indexing will affect only for the data which
 receive after adding the index, and there is no mechanism to index the
 already existing data. If this implemented, we have to handle the size of
 already
 existing data, and the load it will create, and the time it will take to
 complete the process. I believe, it will be better if this can be added to
 BAM road map with a proper solution to all the upcoming problems.

 Thanks,
 Pandula


 On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi All,

 According to the current BAM  implementation, We are supporting message
 and activity search  based on the Cassandra indexing via message console UI.

 Currently to make data indexing work, we have to define indexing on tBox
 and deploy it.But even after tBox deployed, indexing won't get executed
 till we publish new set of data.
 So According to this there is no way to index existing cassandra data
 set through BAM.
 If its possible how can i achieve that?

 Further since indexing can be considered as separate feature directly
 bind with cassandra, I believe we should provide a separate UI to execute
 indexing stuffs and It will increase the usability of BAM indexing feature.
 WDYT?




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] CEP Server can not start with IBM JDK 1.6

2014-04-08 Thread Pandula Kariyawasam
Hi All,

We also tried out BAM 241 with IBM JDK 1.6, and server won't start with
having following error [1] on stack trace. Reported this on JIRA under BAM
[2].


[2] https://wso2.org/jira/browse/BAM-1540

[1]

Unhandled exception
Type=Segmentation error vmState=0x
J9Generic_Signal_Number=0004 Signal_Number=000b
Error_Value= Signal_Code=0080
Handler1=7F2C77D99200 Handler2=7F2C77A59720
InaccessibleAddress=
RDI=6D61657274530C00 RSI=7F2BD004E70E RAX=0028
RBX=7F2BD0870A00
RCX=7F2BD00176D8 RDX=6D61657274530C00 R8=6D61657274530C00
R9=7F2BD0017623
R10=7F2BD0003E6E R11=0003 R12=7F2C781730F0
R13=0108
R14=7F2C77EFC100 R15=7F2C332C93A0
RIP=7F2C759D5E45 GS= FS= RSP=7F2BD0017600
EFlags=00210202 CS=0033 RBP=7F2C096B0500 ERR=
TRAPNO=000D OLDMASK= CR2=
xmm0 7f2c096b0500 (f: 158008576.00, d: 6.908377e-310)
xmm1 7f2c78070438 (f: 2013725696.00, d: 6.908469e-310)
xmm2 7f2c78373eb0 (f: 2016886400.00, d: 6.908469e-310)
xmm3 7f2c096b0500 (f: 158008576.00, d: 6.908377e-310)
xmm4 0108 (f: 264.00, d: 1.304333e-321)
xmm5 7f2c332c93a0 (f: 858559360.00, d: 6.908412e-310)
xmm6 7f2c77efc100 (f: 2012201216.00, d: 6.908469e-310)
xmm7 0108 (f: 264.00, d: 1.304333e-321)
xmm8 70467265746c6946 (f: 1953261952.00, d: 6.969831e+232)
xmm9 6d6f6f6c62135400 (f: 1645433856.00, d: 1.387087e+219)
xmm10  (f: 0.00, d: 0.00e+00)
xmm11 ff00 (f: 0.00, d: 1.385239e-309)
xmm12  (f: 0.00, d: 0.00e+00)
xmm13  (f: 0.00, d: 0.00e+00)
xmm14  (f: 0.00, d: 0.00e+00)
xmm15  (f: 0.00, d: 0.00e+00)
Module=/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libjclscar_24.so
Module_base_address=7F2C7598B000
Symbol=sun_misc_Unsafe_getLong__Ljava_lang_Object_2J
Symbol_address=7F2C759D5E04
Target=2_40_20090519_035743_LHdSMr (Linux 3.11.0-19-generic)
CPU=amd64 (4 logical CPUs) (0x1e064d000 RAM)
--- Stack Backtrace ---
/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0xbd33)
[0x7f2c77a51d33]
/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x14cad)
[0x7f2c77d99cad]
/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x14b5f)
[0x7f2c77d99b5f]
/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0x12e21)
[0x7f2c77a58e21]
/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x1428b)
[0x7f2c77d9928b]
/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0x13891)
[0x7f2c77a59891]
/lib/x86_64-linux-gnu/libc.so.6(+0x36ff0) [0x7f2c7ce65ff0]
/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libjclscar_24.so(sun_misc_Unsafe_getLong__Ljava_lang_Object_2J+0x41)
[0x7f2c759d5e45]
---
JVMDUMP006I Processing dump event gpf, detail  - please wait.
JVMDUMP032I JVM requested System dump using
'/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/core.20140408.105356.20483.0001.dmp'
in response to an event
JVMDUMP010I System dump written to
/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/core.20140408.105356.20483.0001.dmp
JVMDUMP032I JVM requested Snap dump using
'/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/Snap.20140408.105356.20483.0002.trc'
in response to an event
JVMDUMP010I Snap dump written to
/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/Snap.20140408.105356.20483.0002.trc
JVMDUMP032I JVM requested Java dump using
'/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/javacore.20140408.105356.20483.0003.txt'
in response to an event
JVMDUMP010I Java dump written to
/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/javacore.20140408.105356.20483.0003.txt
JVMDUMP013I Processed dump event gpf, detail .


Thanks,
Pandula




On Tue, Apr 8, 2014 at 10:58 AM, Shashika Ubhayaratne shash...@wso2.comwrote:

 Hi,

 I tried to start CEP 310 alpha pack with IBM JDK 1.6 downloaded from
 [1] and observed startup errors. Jira has reported on [2]. Even the
 server started with errors, management console can be accessible yet
 tenant creation failed with a system error. Refer [3] for more
 details:

 [1]:
 http://atuwa.private.wso2.com/IBM/ibm-java-sdk-6.0-5.0-linux-x86_64.tgz
 [2]: https://wso2.org/jira/browse/CEP-796
 [3]: https://wso2.org/jira/browse/CEP-797

 Thanks,
 Shashika

 Shashika Ubhayaratne
 Associate Technical Lead - QA
 WSO2 Inc: http://www.wso2.com/
 Mobile: +94773383831
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

http://www.wso2.com

Re: [Dev] CEP Server can not start with IBM JDK 1.6

2014-04-08 Thread Pandula Kariyawasam
Hi All,

As per the offline discussion had with Anjana, I tried with disabling built
in Cassandra in BAM. It seems above JVM exception occurred due to
Cassandra. When starting BAM241 with Cassandra disabled mode, BAM sever
starts with the thrift issue [1] reported under CEP. Also found similar
error [2] which was reported under BAM few years back.

[1] https://wso2.org/jira/browse/CEP-796
[2] https://wso2.org/jira/browse/BAM-502

Thanks,
Pandula


On Tue, Apr 8, 2014 at 11:46 AM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi All,

 We also tried out BAM 241 with IBM JDK 1.6, and server won't start with
 having following error [1] on stack trace. Reported this on JIRA under BAM
 [2].


 [2] https://wso2.org/jira/browse/BAM-1540

 [1]

 Unhandled exception
 Type=Segmentation error vmState=0x
 J9Generic_Signal_Number=0004 Signal_Number=000b
 Error_Value= Signal_Code=0080
 Handler1=7F2C77D99200 Handler2=7F2C77A59720
 InaccessibleAddress=
 RDI=6D61657274530C00 RSI=7F2BD004E70E RAX=0028
 RBX=7F2BD0870A00
 RCX=7F2BD00176D8 RDX=6D61657274530C00 R8=6D61657274530C00
 R9=7F2BD0017623
 R10=7F2BD0003E6E R11=0003 R12=7F2C781730F0
 R13=0108
 R14=7F2C77EFC100 R15=7F2C332C93A0
 RIP=7F2C759D5E45 GS= FS= RSP=7F2BD0017600
 EFlags=00210202 CS=0033 RBP=7F2C096B0500 ERR=
 TRAPNO=000D OLDMASK= CR2=
 xmm0 7f2c096b0500 (f: 158008576.00, d: 6.908377e-310)
 xmm1 7f2c78070438 (f: 2013725696.00, d: 6.908469e-310)
 xmm2 7f2c78373eb0 (f: 2016886400.00, d: 6.908469e-310)
 xmm3 7f2c096b0500 (f: 158008576.00, d: 6.908377e-310)
 xmm4 0108 (f: 264.00, d: 1.304333e-321)
 xmm5 7f2c332c93a0 (f: 858559360.00, d: 6.908412e-310)
 xmm6 7f2c77efc100 (f: 2012201216.00, d: 6.908469e-310)
 xmm7 0108 (f: 264.00, d: 1.304333e-321)
 xmm8 70467265746c6946 (f: 1953261952.00, d: 6.969831e+232)
 xmm9 6d6f6f6c62135400 (f: 1645433856.00, d: 1.387087e+219)
 xmm10  (f: 0.00, d: 0.00e+00)
 xmm11 ff00 (f: 0.00, d: 1.385239e-309)
 xmm12  (f: 0.00, d: 0.00e+00)
 xmm13  (f: 0.00, d: 0.00e+00)
 xmm14  (f: 0.00, d: 0.00e+00)
 xmm15  (f: 0.00, d: 0.00e+00)

 Module=/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libjclscar_24.so
 Module_base_address=7F2C7598B000
 Symbol=sun_misc_Unsafe_getLong__Ljava_lang_Object_2J
 Symbol_address=7F2C759D5E04
 Target=2_40_20090519_035743_LHdSMr (Linux 3.11.0-19-generic)
 CPU=amd64 (4 logical CPUs) (0x1e064d000 RAM)
 --- Stack Backtrace ---
 /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0xbd33)
 [0x7f2c77a51d33]
 /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x14cad)
 [0x7f2c77d99cad]
 /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x14b5f)
 [0x7f2c77d99b5f]
 /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0x12e21)
 [0x7f2c77a58e21]
 /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x1428b)
 [0x7f2c77d9928b]
 /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0x13891)
 [0x7f2c77a59891]
 /lib/x86_64-linux-gnu/libc.so.6(+0x36ff0) [0x7f2c7ce65ff0]
 /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libjclscar_24.so(sun_misc_Unsafe_getLong__Ljava_lang_Object_2J+0x41)
 [0x7f2c759d5e45]
 ---
 JVMDUMP006I Processing dump event gpf, detail  - please wait.
 JVMDUMP032I JVM requested System dump using
 '/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/core.20140408.105356.20483.0001.dmp'
 in response to an event
 JVMDUMP010I System dump written to
 /home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/core.20140408.105356.20483.0001.dmp
 JVMDUMP032I JVM requested Snap dump using
 '/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/Snap.20140408.105356.20483.0002.trc'
 in response to an event
 JVMDUMP010I Snap dump written to
 /home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/Snap.20140408.105356.20483.0002.trc
 JVMDUMP032I JVM requested Java dump using
 '/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/javacore.20140408.105356.20483.0003.txt'
 in response to an event
 JVMDUMP010I Java dump written to
 /home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/javacore.20140408.105356.20483.0003.txt
 JVMDUMP013I Processed dump event gpf, detail .


 Thanks,
 Pandula




 On Tue, Apr 8, 2014 at 10:58 AM, Shashika Ubhayaratne 
 shash...@wso2.comwrote:

 Hi,

 I tried to start CEP 310 alpha pack with IBM JDK 1.6 downloaded from
 [1] and observed startup errors. Jira has reported on [2]. Even the
 server started with errors, management console can be accessible yet
 tenant creation failed

[Dev] [BAM] Permission denied exception for '.svn/entries'

2014-04-02 Thread Pandula Kariyawasam
)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
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.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
at
org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
at
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
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:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
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.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
at
org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)




Thanks,
Pandula


-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] [BAM] Permission denied exception for '.svn/entries'

2014-04-02 Thread Pandula Kariyawasam
Hi Maninda,

I'll check this on the RC2 pack which will release today or tomorrow. Hope
this change is there.
But, what I couldn't understand is, that this was working yesterday also,
and there were no new deployments AFAICR.
Will check on new release, and will update you.

Thanks,
Pandula


On Wed, Apr 2, 2014 at 10:06 PM, Maninda Edirisooriya mani...@wso2.comwrote:

 Hi Pandula,

 I am not sure how this problem happens but this is when and why it happens
 as I think.

 When a toolbox is deployed, its extracted Jaggery directory in tmp
 directory, is copied to the Jaggery deployment directory (i.e. jaggeryapps
 ditectory) using a recursive function.
 When extracted, tmp directory is added to svn so, .svn directories are
 created.
 The problem happens when trying to overwrite some content in .svn
 directory in the jaggeryapps.
 There the .svn directory may not have enough permissions to write as it
 was created by some other user like root as I think.
 This should be resolved if we can move the tmp directory outside the
 deployment directory as I discussed with Dunith as it will avoid
 overwriting .svn directories as there  would be no svn involved with tmp
 directory when moved out from the deployment directory.



 *Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc. *lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Tue, Apr 1, 2014 at 11:30 PM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi All,

 We are testing profiling feature on BAM241 with enabling depsync for
 Analyzer  Dashboard nodes.
 - We observed following error [1] only on Dashboard node today, which was
 not there in same setup on previous days.
 - After clearing both local deployment folder  svn working copy, still
 this error comes on dashboard node.
 - NOTE :
 Local SVN Client Version 1.7.9 , SVN Server Version 1.6.17
  SVN Jars used : svnClientBundle-1.0.0.jar ,
 trilead-ssh2-1.0.0-build215.jar

 WDYT? Appreciate your comments ideas  advices on this.


 [1]

 [2014-04-02 10:11:30,478] ERROR
 {org.wso2.carbon.bam.toolbox.deployer.deploy.BAMArtifactDeployerManager} -
 /home/pandula/packs/2014mar27_BAM_2.4.1-RC1/profile/wso2bam-2.4.1-dashboard/repository/deployment/server/jaggeryapps/gadgetgen/.svn/entries
 (Permission denied)
 java.io.FileNotFoundException:
 /home/pandula/packs/2014mar27_BAM_2.4.1-RC1/profile/wso2bam-2.4.1-dashboard/repository/deployment/server/jaggeryapps/gadgetgen/.svn/entries
 (Permission denied)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.init(FileOutputStream.java:194)
 at java.io.FileOutputStream.init(FileOutputStream.java:145)
 at
 org.wso2.carbon.bam.toolbox.deployer.deploy.BAMArtifactDeployerManager.copyFolder(BAMArtifactDeployerManager.java:274)
 at
 org.wso2.carbon.bam.toolbox.deployer.deploy.BAMArtifactDeployerManager.copyFolder(BAMArtifactDeployerManager.java:267)
 at
 org.wso2.carbon.bam.toolbox.deployer.deploy.BAMArtifactDeployerManager.copyFolder(BAMArtifactDeployerManager.java:267)
 at
 org.wso2.carbon.bam.toolbox.deployer.deploy.BAMArtifactDeployerManager.copyFolder(BAMArtifactDeployerManager.java:267)
 at
 org.wso2.carbon.bam.toolbox.deployer.deploy.BAMArtifactDeployerManager.deployJaggeryApps(BAMArtifactDeployerManager.java:229)
 at
 org.wso2.carbon.bam.toolbox.deployer.deploy.BAMArtifactDeployerManager.deploy(BAMArtifactDeployerManager.java:197)
 at
 org.wso2.carbon.bam.toolbox.deployer.core.BAMToolBoxDeployer.deploy(BAMToolBoxDeployer.java:113)
 at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.wso2.carbon.bam.toolbox.deployer.internal.ServerStartUpInspector.doPausedDeployments(ServerStartUpInspector.java:49)
 at
 org.wso2.carbon.bam.toolbox.deployer.internal.ServerStartUpInspector.invoke(ServerStartUpInspector.java:35)
 at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.startup(CarbonCoreServiceComponent.java:185)
 at
 org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:205)
 at
 org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 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

[Dev] [BAM] Call timed out for com.hazelcast.concurrent.lock.LockOperation

2014-04-01 Thread Pandula Kariyawasam
Hi All,

We observed following error on BAM241 after keeping all nodes idle for
sometime.
This is an intermittent issue.
WDYT?

Similar issue reported under CEP [1].
[1] https://wso2.org/jira/browse/CEP-765


Exception in thread Cluster [wso2.carbon.domain] coordinator elector
thread com.hazelcast.spi.exception.CallTimeoutException: Call timed out
for com.hazelcast.concurrent.lock.LockOperation
at
com.hazelcast.spi.impl.WaitNotifyServiceImpl$WaitingOp.isCallTimedOut(WaitNotifyServiceImpl.java:278)
at
com.hazelcast.spi.impl.WaitNotifyServiceImpl$WaitingOp.needsInvalidation(WaitNotifyServiceImpl.java:264)
at
com.hazelcast.spi.impl.WaitNotifyServiceImpl$1.run(WaitNotifyServiceImpl.java:83)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
at
com.hazelcast.util.executor.SingleExecutorThreadFactory$ManagedThread.run(SingleExecutorThreadFactory.java:45)


Thanks,
Pandula

-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] WSO2 BAM 2.4.1 Alpha Released!

2014-03-14 Thread Pandula Kariyawasam
 Server - 5.2.1

 4. Customer Scenarios / Support Issues

- Selected scenarios will be tested

 5. CEP Features in BAM

- Smoke Test

 However due to time and resource constraints we will discuss with Anjana 
 Team and will refine the plan when required.

 Also QA Test plan  can be accessible from [1].

 1. QA Test 
 Planhttps://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AoNp5NttUhORdHhSTVB6cXFhc3RmeHpRNEtWUF9DakEusp=drive_web#gid=18


 On Thu, Mar 13, 2014 at 1:01 PM, Sinthuja Ragendran sinth...@wso2.comwrote:

 Hi,

 IMHO we need include basic testing of all default toolboxes HL7, message
 tracing, etc and Activity Dashboard as there are some changes in the
 data-bridge stream definition and index definition store.

 Thanks,
 Sinthuja.


 On Thu, Mar 13, 2014 at 12:54 PM, Thayalan thaya...@wso2.com wrote:

 Hi All,

 Please find below the BAM test plan for the upcoming v2.4.1 release.
 Please let us know if we miss any important areas that we suppose to test
 for this release.

 1. New Features for v2.4.1

- Message Console
- Dep Sync
- Hive Metastore support for MySQL/Oracle/MSSQL/DB2
- Server Profile - We will only test server start-up  
availability/functionality of related modules specific to the profile.
- Cassandra upgrade - Check existing functionality working with
v1.2.10. However as per the discussion with Anjana we will not be testing
external Cassandra version 1.1.3
- Remove Toolbox deployment status from UI
- Toolbox artifacts deployed, should not be editable
- Incremental Data Processing in Distributed mode

 2. Deployment Pattern

- Partially distributed set-up - Smoke Testing only
- Fully Distributed set-up - Long running, Load and functional
testing

 3. Integration scenarios

- External Task Server 1.1.0 with cluster set-up
- API Manager - 1.6.0  2.0.0
- ESB - 4.8.1
- Application Server - 5.2.1

 4. Customer Scenarios / Support Issues

- Selected scenarios will be tested

 5. CEP Features in BAM

- Smoke Test

 However due to time and resource constraints we will discuss with Anjana
  Team and will refine the plan when required.

 Also QA Test plan  can be accessible from [1].

 1. QA Test 
 Planhttps://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AoNp5NttUhORdHhSTVB6cXFhc3RmeHpRNEtWUF9DakEusp=drive_web#gid=18

 Thanks,
 Thayalan

 On Thu, Mar 13, 2014 at 10:19 AM, Maninda Edirisooriya mani...@wso2.com
  wrote:

 Yeah, The same issue was reported in [1] too.

 [1]


 *Maninda Edirisooriya*

 Software Engineer

 *WSO2, Inc. *lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Thu, Mar 13, 2014 at 12:06 AM, Pandula Kariyawasam pand...@wso2.com
  wrote:

 Hi Ajith,

 Thanks a lot for the quick support. As you mentioned, the svn version
 in node1 was 1.7. We downgraded it to 1.6, and now it works fine with
 svnkit-bundle-1.0.0.jar.
 Thanks again. We'll resolve the issue with mentioning the reason, and
 it's fix.

 Thanks,
 Pandula


 On Wed, Mar 12, 2014 at 11:09 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi Pandula,

 Please check that you have properly copied the SVN library jars.

 Thanks.
 Ajith


 On Wed, Mar 12, 2014 at 10:58 PM, Pandula Kariyawasam 
 pand...@wso2.com wrote:

 Hi All,

 We have configured the fully distributed cluster setup with Alpha
 pack. During the server startup, we have noticed OutOfMemoryError on 
 Java
 heap, which happened only on node1. [1]
 Please look in to this.

 We will keep updating this thread with the progress  problems we
 will face during this QA cycle.

 [1] https://wso2.org/jira/browse/BAM-1491

 Thanks,
 Pandula


 On Wed, Mar 12, 2014 at 4:24 PM, Dunith Dhanushka 
 dun...@wso2.comwrote:

 Hi all,

 BAM 2.4.1 Alpha distribution is available at
 https://svn.wso2.org/repos/wso2/people/dunith/2.4.1-alpha/wso2bam-2.4.1.zip

 Following are the bug fixes, improvements and the new features
 available with this release.

 Bug

 [BAM-1425 https://wso2.org/jira/browse/BAM-1425] - REST-API to
 send stream event saves double quotes in the storage
 [BAM-1438 https://wso2.org/jira/browse/BAM-1438] - [Windows]
 hive-site-win.xml file needs to be updated for Windows
 [BAM-1444 https://wso2.org/jira/browse/BAM-1444] - In Message
 Console, when search with a indexed field (of KPI sample) and came back
 with browser back button, that field duplicates in dropdown.
 [BAM-1461 https://wso2.org/jira/browse/BAM-1461] - Error
 occurred while adding a new JMX Profile
 [BAM-1462 https://wso2.org/jira/browse/BAM-1462] - NPE occurred
 when try to add a JMX Toolbox
 [BAM-1465 https://wso2.org/jira/browse/BAM-1465] - Tenant
 creation throwing exception
 [BAM-1467 https://wso2.org/jira/browse/BAM-1467] - An exception
 is thrown when accessing the default generated stream
 [BAM-1472 https://wso2.org/jira/browse/BAM-1472] - Error while
 using the BAM 2.3.0 based hive meta store with BAM 2.4.x
 [BAM-1475 https://wso2.org/jira/browse/BAM-1475

Re: [Dev] WSO2 BAM 2.4.1 Alpha Released!

2014-03-12 Thread Pandula Kariyawasam
Hi All,

We have configured the fully distributed cluster setup with Alpha pack.
During the server startup, we have noticed OutOfMemoryError on Java heap,
which happened only on node1. [1]
Please look in to this.

We will keep updating this thread with the progress  problems we will face
during this QA cycle.

[1] https://wso2.org/jira/browse/BAM-1491

Thanks,
Pandula


On Wed, Mar 12, 2014 at 4:24 PM, Dunith Dhanushka dun...@wso2.com wrote:

 Hi all,

 BAM 2.4.1 Alpha distribution is available at
 https://svn.wso2.org/repos/wso2/people/dunith/2.4.1-alpha/wso2bam-2.4.1.zip

 Following are the bug fixes, improvements and the new features available
 with this release.

 Bug

 [BAM-1425 https://wso2.org/jira/browse/BAM-1425] - REST-API to send
 stream event saves double quotes in the storage
 [BAM-1438 https://wso2.org/jira/browse/BAM-1438] - [Windows]
 hive-site-win.xml file needs to be updated for Windows
 [BAM-1444 https://wso2.org/jira/browse/BAM-1444] - In Message Console,
 when search with a indexed field (of KPI sample) and came back with browser
 back button, that field duplicates in dropdown.
 [BAM-1461 https://wso2.org/jira/browse/BAM-1461] - Error occurred while
 adding a new JMX Profile
 [BAM-1462 https://wso2.org/jira/browse/BAM-1462] - NPE occurred when
 try to add a JMX Toolbox
 [BAM-1465 https://wso2.org/jira/browse/BAM-1465] - Tenant creation
 throwing exception
 [BAM-1467 https://wso2.org/jira/browse/BAM-1467] - An exception is
 thrown when accessing the default generated stream
 [BAM-1472 https://wso2.org/jira/browse/BAM-1472] - Error while using
 the BAM 2.3.0 based hive meta store with BAM 2.4.x
 [BAM-1475 https://wso2.org/jira/browse/BAM-1475] - Starting BAM with
 cassandra profile throwing exception
 [BAM-1476 https://wso2.org/jira/browse/BAM-1476] - Port offset feature
 not working properly
 [BAM-1478 https://wso2.org/jira/browse/BAM-1478] - [Dep Sync]
 Deployment Synchronizer is not working
 [BAM-1479 https://wso2.org/jira/browse/BAM-1479] - When archiving data
 on BAM the system informs that the stream and the version does not exist
 [BAM-1481 https://wso2.org/jira/browse/BAM-1481] - [BAM]
 'NoClassDefFoundError' occurring when adding reports


 Improvement

 [BAM-1244 https://wso2.org/jira/browse/BAM-1244] - Avoid Storing Hive
 Scripts in the Registry, Instead Only Use DepSync
 [BAM-1458 https://wso2.org/jira/browse/BAM-1458] - Avoid appending a
 random number to Hive Script
 [BAM-1459 https://wso2.org/jira/browse/BAM-1459] - Remove toolbox
 deployment status updates from UI
 [BAM-1477 https://wso2.org/jira/browse/BAM-1477] - HL7 messages should
 be identified and displayed their payload_content in Expand Message
 view in Message Console


 New Feature

 [BAM-1489 https://wso2.org/jira/browse/BAM-1489] -  Multiple profiles
 for BAM server


 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,


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




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] WSO2 BAM 2.4.1 Alpha Released!

2014-03-12 Thread Pandula Kariyawasam
Hi Ajith,

Thanks a lot for the quick support. As you mentioned, the svn version in
node1 was 1.7. We downgraded it to 1.6, and now it works fine with
svnkit-bundle-1.0.0.jar.
Thanks again. We'll resolve the issue with mentioning the reason, and it's
fix.

Thanks,
Pandula


On Wed, Mar 12, 2014 at 11:09 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi Pandula,

 Please check that you have properly copied the SVN library jars.

 Thanks.
 Ajith


 On Wed, Mar 12, 2014 at 10:58 PM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi All,

 We have configured the fully distributed cluster setup with Alpha pack.
 During the server startup, we have noticed OutOfMemoryError on Java heap,
 which happened only on node1. [1]
 Please look in to this.

 We will keep updating this thread with the progress  problems we will
 face during this QA cycle.

 [1] https://wso2.org/jira/browse/BAM-1491

 Thanks,
 Pandula


 On Wed, Mar 12, 2014 at 4:24 PM, Dunith Dhanushka dun...@wso2.comwrote:

 Hi all,

 BAM 2.4.1 Alpha distribution is available at
 https://svn.wso2.org/repos/wso2/people/dunith/2.4.1-alpha/wso2bam-2.4.1.zip

 Following are the bug fixes, improvements and the new features available
 with this release.

 Bug

 [BAM-1425 https://wso2.org/jira/browse/BAM-1425] - REST-API to send
 stream event saves double quotes in the storage
 [BAM-1438 https://wso2.org/jira/browse/BAM-1438] - [Windows]
 hive-site-win.xml file needs to be updated for Windows
 [BAM-1444 https://wso2.org/jira/browse/BAM-1444] - In Message
 Console, when search with a indexed field (of KPI sample) and came back
 with browser back button, that field duplicates in dropdown.
 [BAM-1461 https://wso2.org/jira/browse/BAM-1461] - Error occurred
 while adding a new JMX Profile
 [BAM-1462 https://wso2.org/jira/browse/BAM-1462] - NPE occurred when
 try to add a JMX Toolbox
 [BAM-1465 https://wso2.org/jira/browse/BAM-1465] - Tenant creation
 throwing exception
 [BAM-1467 https://wso2.org/jira/browse/BAM-1467] - An exception is
 thrown when accessing the default generated stream
 [BAM-1472 https://wso2.org/jira/browse/BAM-1472] - Error while using
 the BAM 2.3.0 based hive meta store with BAM 2.4.x
 [BAM-1475 https://wso2.org/jira/browse/BAM-1475] - Starting BAM with
 cassandra profile throwing exception
 [BAM-1476 https://wso2.org/jira/browse/BAM-1476] - Port offset
 feature not working properly
 [BAM-1478 https://wso2.org/jira/browse/BAM-1478] - [Dep Sync]
 Deployment Synchronizer is not working
 [BAM-1479 https://wso2.org/jira/browse/BAM-1479] - When archiving
 data on BAM the system informs that the stream and the version does not
 exist
 [BAM-1481 https://wso2.org/jira/browse/BAM-1481] - [BAM]
 'NoClassDefFoundError' occurring when adding reports


 Improvement

 [BAM-1244 https://wso2.org/jira/browse/BAM-1244] - Avoid Storing Hive
 Scripts in the Registry, Instead Only Use DepSync
 [BAM-1458 https://wso2.org/jira/browse/BAM-1458] - Avoid appending a
 random number to Hive Script
 [BAM-1459 https://wso2.org/jira/browse/BAM-1459] - Remove toolbox
 deployment status updates from UI
 [BAM-1477 https://wso2.org/jira/browse/BAM-1477] - HL7 messages
 should be identified and displayed their payload_content in Expand
 Message view in Message Console


 New Feature

 [BAM-1489 https://wso2.org/jira/browse/BAM-1489] -  Multiple profiles
 for BAM server


 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,


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




 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com

 ___
 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 : +94772217350




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] [BAM] Stream creation error occurred due to caching in Data Agents

2014-03-02 Thread Pandula Kariyawasam
 by:
org.wso2.carbon.databridge.core.exception.EventConversionException: No
StreamDefinition for streamId bam_mediation_stats_data_publisher:1.0.1
present in cache
at
org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:112)
... 8 more




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] [BAM] Version maintaining for Agents such as Data Publishers

2014-02-26 Thread Pandula Kariyawasam
Hi Sagara/Kasun,

This is a small concern that we have came across while testing BAM241.

We have used ESB 481  AS 521, and faced above mentioned limitation in BAM
Agents in both of AS  ESB. It will be great if you can act on these in
future releases.

Added as improvements on following JIRAs.
ESB - https://wso2.org/jira/browse/ESBJAVA-3023
AS - https://wso2.org/jira/browse/WSAS-1675

Thanks,
Pandula



On Wed, Feb 26, 2014 at 12:30 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 These have to be fixed from the data agents, where if you make any changes
 to the stream definition, and try to save it, you will have to force the
 user to increment the version and save it, or probably automatically
 increment it and show it to the user. Basically allowing the user to use
 the same version where they are sending different events would be wrong.
 Worse case, probably, if the user insists, we should be able to delete the
 earlier stream definition for that version and re-create it.

 Cheers,
 Anjana.


 On Wed, Feb 26, 2014 at 9:45 AM, Pandula Kariyawasam pand...@wso2.comwrote:


 Hi All.

 This is a small concern that we have came across while testing BAM241.

 For all the Agents such as Data Publishers, it allows to save the
 configuration with different versions. When we do so, it will create the
 stream definition with relevant to that version.

 The problem occurs if we want to use a previous configuration with same
 version number. Unless the user set exact configuration as previous
 version, Agent won't send the messages to BAM after saving with same
 previous version number.


 Please consider the following scenario.

 - Consider a scenario that multiple users have access to the system.
 - 1st user configure the Agent for the first time setting the version as
 1.0.0, with specifying some properties.
 - 2nd user altering that Agent with adding and removing properties, and
 save it as 1.0.1
 - Now the 3rd user tries to role back to version 1.0.0, and he cannot
 figure out the initial configuration of version 1.0.0.
 - In a situation like this, if the 3rd user save it as 1.0.0 with
 configurations which are different from initial 1.0.0 configuration, the
 configuration will get saved properly. But when he trigger the app/service,
 the data sending to BAM will fail with prompting below error [1].


 All the Agents which use versioning such as Data Publishers, have this
 limitation. Better if we can implement a mechanism to handle this, such as
 adding a drop down to list/load the previous versions with configurations,
 or etc.

 I have added this as an improvement under [2]
 [2] https://wso2.org/jira/browse/BAM-1453


 WDUT?



 [1]

 [2014-02-25 14:05:33,006] ERROR
 {org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher} - Stream
 definition already exist
 org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException:
 Same stream id with different definition already defined before sending
 this event definitions to TCP,10.100.5.9:7611,TCP,10.100.5.9:7711
 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.EventPublisher.defineStream(EventPublisher.java:237)

 at
 org.wso2.carbon.databridge.agent.thrift.DataPublisher.defineStream(DataPublisher.java:295)

 at
 org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$DataPublishWorker.run(AsyncDataPublisher.java:690)

 at java.lang.Thread.run(Thread.java:662)
 Caused by:
 org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException:
 Thrift Different Stream Definition Already Defined
 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.ThriftEventPublisher.defineStream(ThriftEventPublisher.java:112)

 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.EventPublisher.defineStream(EventPublisher.java:222)

 ... 3 more
 Caused by:
 ThriftDifferentStreamDefinitionAlreadyDefinedException(message:Similar
 event stream for
 StreamDefinition{
 streamId='bam_webapp_statistics:1.0.0',
 name='bam_webapp_statistics',
 version='1.0.0',
 nickName='WebappDataAgent',
 description='Publish webapp statistics events',
 tags=null,
 metaData=[Attribute{name='serverAddess', type=STRING},
 Attribute{name='serverName', type=STRING}, Attribute{name='tenantId',
 type=INT}, Attribute{name='webappOwnerTenant', type=STRING},
 Attribute{name='userTenant', type=STRING}, Attribute{name='AAA',
 type=STRING}],
 correlationData=null,
 payloadData=[Attribute{name='webappName', type=STRING},
 Attribute{name='webappVersion', type=STRING}, Attribute{name='userId',
 type=STRING}, Attribute{name='resourcePath', type=STRING},
 Attribute{name='webappType', type=STRING},
 Attribute{name='webappDisplayName', type=STRING},
 Attribute{name='webappContext', type=STRING}, Attribute{name='sessionId',
 type=STRING}, Attribute{name='httpMethod', type=STRING},
 Attribute{name

[Dev] [BAM] Version maintaining for Agents such as Data Publishers

2014-02-25 Thread Pandula Kariyawasam
='httpMethod', type=STRING},
Attribute{name='contentType', type=STRING},
Attribute{name='responseContentType', type=STRING},
Attribute{name='remoteAddress', type=STRING}, Attribute{name='referer',
type=STRING}, Attribute{name='remoteUser', type=STRING},
Attribute{name='authType', type=STRING}, Attribute{name='userAgent',
type=STRING}, Attribute{name='browser', type=STRING},
Attribute{name='browserVersion', type=STRING},
Attribute{name='operatingSystem', type=STRING},
Attribute{name='operatingSystemVersion', type=STRING},
Attribute{name='searchEngine', type=STRING}, Attribute{name='country',
type=STRING}, Attribute{name='timestamp', type=LONG},
Attribute{name='responseHttpStatusCode', type=INT},
Attribute{name='responseTime', type=LONG}, Attribute{name='requestCount',
type=INT}, Attribute{name='responceCount', type=INT},
Attribute{name='faultCount', type=INT}, Attribute{name='requestSizeBytes',
type=LONG}, Attribute{name='responseSizeBytes', type=LONG}],
}
 with the same name and version already exist:
StreamDefinition{
streamId='bam_webapp_statistics:1.0.0',
name='bam_webapp_statistics',
version='1.0.0',
nickName='WebappDataAgent',
description='Publish webapp statistics events',
tags=null,
metaData=[Attribute{name='serverAddess', type=STRING},
Attribute{name='serverName', type=STRING}, Attribute{name='tenantId',
type=INT}, Attribute{name='webappOwnerTenant', type=STRING},
Attribute{name='userTenant', type=STRING}],
correlationData=null,
payloadData=[Attribute{name='webappName', type=STRING},
Attribute{name='webappVersion', type=STRING}, Attribute{name='userId',
type=STRING}, Attribute{name='resourcePath', type=STRING},
Attribute{name='webappType', type=STRING},
Attribute{name='webappDisplayName', type=STRING},
Attribute{name='webappContext', type=STRING}, Attribute{name='sessionId',
type=STRING}, Attribute{name='httpMethod', type=STRING},
Attribute{name='contentType', type=STRING},
Attribute{name='responseContentType', type=STRING},
Attribute{name='remoteAddress', type=STRING}, Attribute{name='referer',
type=STRING}, Attribute{name='remoteUser', type=STRING},
Attribute{name='authType', type=STRING}, Attribute{name='userAgent',
type=STRING}, Attribute{name='browser', type=STRING},
Attribute{name='browserVersion', type=STRING},
Attribute{name='operatingSystem', type=STRING},
Attribute{name='operatingSystemVersion', type=STRING},
Attribute{name='searchEngine', type=STRING}, Attribute{name='country',
type=STRING}, Attribute{name='timestamp', type=LONG},
Attribute{name='responseHttpStatusCode', type=INT},
Attribute{name='responseTime', type=LONG}, Attribute{name='requestCount',
type=INT}, Attribute{name='responceCount', type=INT},
Attribute{name='faultCount', type=INT}, Attribute{name='requestSizeBytes',
type=LONG}, Attribute{name='responseSizeBytes', type=LONG}],
}
)
at
org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$defineStream_result.read(ThriftEventTransmissionService.java:1441)

at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$Client.recv_defineStream(ThriftEventTransmissionService.java:80)

at
org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$Client.defineStream(ThriftEventTransmissionService.java:66)

at
org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.ThriftEventPublisher.defineStream(ThriftEventPublisher.java:109)

... 9 more




Thanks,
Pandula

-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] [DEV] [BAM241] Cassandra indexing on Message Console

2014-02-23 Thread Pandula Kariyawasam
Hi All,

I'm testing Message Console feature on BAM 2.4.1, which use Cassandra
indexing for searching.

I created some messages (HL7) in Cassandra before adding the indexing with
HL7 toolbox. Then I created another set of messages after adding the
toolbox.

Now, when I search for messages, it will list only the messages which
created after adding the toolbox.
But When I load/search Activities, it will load all the messages, including
messages created before toolbox adding.

Is this the expected behavior?

Thanks,
Pandula

-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] [DEV] [BAM241] Cassandra indexing on Message Console

2014-02-23 Thread Pandula Kariyawasam
Hi Maninda/Inosh,

As per the discussion had with Anjana, improvement added to address this
matter, under BAM-1449 [1]

[1] https://wso2.org/jira/browse/BAM-1449

Thanks,
Pandula



On Sun, Feb 23, 2014 at 4:57 PM, Maninda Edirisooriya mani...@wso2.comwrote:

 Hi Pandula,

 AFAIK this is correct. Message search needs all the messages to be indexed
 for all the filter conditions. As index is only initialized by the toolbox
 and because the index is updated only at the message receive time, all the
 messages received before the toolbox is created will not get indexed.

 But Activity ID index is enabled by default AFAIK. So all the messages
 with an Activity ID will get indexed in the Activity ID, custom index,
 irrespective from the toolbox. That is the reason of appearing all the
 messages in the Activity ID search.

 Inosh, please correct me if there are any corrections.

 Thank you.


 * Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Sun, Feb 23, 2014 at 3:45 PM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi All,

 I'm testing Message Console feature on BAM 2.4.1, which use Cassandra
 indexing for searching.

 I created some messages (HL7) in Cassandra before adding the indexing
 with HL7 toolbox. Then I created another set of messages after adding the
 toolbox.

 Now, when I search for messages, it will list only the messages which
 created after adding the toolbox.
 But When I load/search Activities, it will load all the messages,
 including messages created before toolbox adding.

 Is this the expected behavior?

 Thanks,
 Pandula

 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com





-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] Error using BAM mediator from proxy

2014-02-22 Thread Pandula Kariyawasam
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya
 Wordpress:http://chanakaudaya.wordpress.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




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] [EMM Clustering] What will be the best approach for EMM Clustering

2014-02-12 Thread Pandula Kariyawasam
Hi All,

Removing Engineering Group...

Thanks,
Pandula


On Thu, Feb 13, 2014 at 11:44 AM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi All,

 Appreciate all your ideas  advices regarding $subject.

 To give you some idea about EMM 1.0.0 ...

- EMM consist of two main component, MDM (Mobile Device Manage) and
MAM (Mobile Application Manager). Both of them are Jaggery apps, which host
on a Carbon server.
- MDM developed based on IS, and MAM based on ES. So, MAM has sub
components named, Store, Publisher , and MAM Console.
- The artifacts related to mobile apps added via MAM will keep on a
location inside the repository/deployment/.. which is need to share with
all the nodes in the cluster. [*We have used svn based depsync for
this in our current cluster*]
- Also, MAM keep the track of mobile apps added, on registry. [*We
have mount the nodes to a shared Registry*]
- MAM  MDM use a separate DB for things specific for EMM, and that
will use to keep the details related to policies.
- MDM will dispatch a monitoring message, which will request for the
current status of the devices, and the device will reply to the MDM. In
this case, this message need to be dispatch by a single node, other wise
there will be duplicates, and a higher traffic. Then the devices will
contact the other nodes and start communicating with them. This monitoring
message will dispatch with specific time intervals. [*We need to try
and check this behavior when the cluster is ready*]
- Admin need to access Carbon console for the tasks such as, adding
tenants, assigning admin specific permissions for Admin users, etc.
- MAM  MDM login to will handled via SSO. [*When it comes to cluster,
we need the support of  a person who have deployed SSO based Jaggery apps
on a cluster. This is the point that we have stuck*]
- Mobile client app will get install on mobile devices, and user needs
to register to the system via that client. This is the point that the
device connects to the system.


 Problems we are facing are.

- We have already setup a WM separated Cluster for EMM, fronted by
ELB. In this case, we are currently facing an issue when redirecting to SSO
login page. SSO login page will route to the 'HostName' which is the worker
host, but it need to route to the 'MgtHostName'. For this, is there a way
to pass the 'MgtHostName' to jaggery, with relevant port? Else can we go
ahead with a cluster which has only managers?
- If we go for a cluster which has only manager nodes, They all will
commit to the svn simultaneously. So will it crash the svn, and how can we
handle this?
- Publisher will be the app use to add Mobile apps  their artifacts,
and if we server publisher access via workers, then we need to give the svn
 registry write access to the workers. To overcome this, is there a way to
allow access to publisher app, only via Manager? What we have in mind is to
route the publisher  directly to manager host, and have to try it out when
the cluster is ready.
- Also, when it comes to tenancy we will face the issues discussed in
mail thread *[Dev] Issue with tenancy specific files in app layer*.


 What we currently planing to do is...

- Move to approach which has only manager nodes.
- In this case, we need to find answers for svn conflict issues.


 Hi Shan  Team,

 Please add if i have missed or misspelled anything.


 Hi Amila/Nirmal,

 Thanks for the great support. Appreciate all your concerns.


 Thanks ,

 Pandula


 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] [EMM Clustering] What will be the best approach for EMM Clustering

2014-02-12 Thread Pandula Kariyawasam
Hi All,

Appreciate all your ideas  advices regarding $subject.

To give you some idea about EMM 1.0.0 ...

   - EMM consist of two main component, MDM (Mobile Device Manage) and MAM
   (Mobile Application Manager). Both of them are Jaggery apps, which host on
   a Carbon server.
   - MDM developed based on IS, and MAM based on ES. So, MAM has sub
   components named, Store, Publisher , and MAM Console.
   - The artifacts related to mobile apps added via MAM will keep on a
   location inside the repository/deployment/.. which is need to share with
   all the nodes in the cluster. [*We have used svn based depsync for this
   in our current cluster*]
   - Also, MAM keep the track of mobile apps added, on registry. [*We have
   mount the nodes to a shared Registry*]
   - MAM  MDM use a separate DB for things specific for EMM, and that will
   use to keep the details related to policies.
   - MDM will dispatch a monitoring message, which will request for the
   current status of the devices, and the device will reply to the MDM. In
   this case, this message need to be dispatch by a single node, other wise
   there will be duplicates, and a higher traffic. Then the devices will
   contact the other nodes and start communicating with them. This monitoring
   message will dispatch with specific time intervals. [*We need to try and
   check this behavior when the cluster is ready*]
   - Admin need to access Carbon console for the tasks such as, adding
   tenants, assigning admin specific permissions for Admin users, etc.
   - MAM  MDM login to will handled via SSO. [*When it comes to cluster,
   we need the support of  a person who have deployed SSO based Jaggery apps
   on a cluster. This is the point that we have stuck*]
   - Mobile client app will get install on mobile devices, and user needs
   to register to the system via that client. This is the point that the
   device connects to the system.


Problems we are facing are.

   - We have already setup a WM separated Cluster for EMM, fronted by ELB.
   In this case, we are currently facing an issue when redirecting to SSO
   login page. SSO login page will route to the 'HostName' which is the worker
   host, but it need to route to the 'MgtHostName'. For this, is there a way
   to pass the 'MgtHostName' to jaggery, with relevant port? Else can we go
   ahead with a cluster which has only managers?
   - If we go for a cluster which has only manager nodes, They all will
   commit to the svn simultaneously. So will it crash the svn, and how can we
   handle this?
   - Publisher will be the app use to add Mobile apps  their artifacts,
   and if we server publisher access via workers, then we need to give the svn
registry write access to the workers. To overcome this, is there a way to
   allow access to publisher app, only via Manager? What we have in mind is to
   route the publisher  directly to manager host, and have to try it out when
   the cluster is ready.
   - Also, when it comes to tenancy we will face the issues discussed in
   mail thread *[Dev] Issue with tenancy specific files in app layer*.


What we currently planing to do is...

   - Move to approach which has only manager nodes.
   - In this case, we need to find answers for svn conflict issues.


Hi Shan  Team,

Please add if i have missed or misspelled anything.


Hi Amila/Nirmal,

Thanks for the great support. Appreciate all your concerns.


Thanks ,

Pandula


*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] [EMM Cluster] SSO Login page loading issues on Cluster

2014-02-11 Thread Pandula Kariyawasam
Hi All,

We are trying clustering for EMM based on Worker Manager approach fronted
by a ELB.

In the cluster setup, it is possible to login to Carbon console. Also
possible to load EMM Dashboard.[https://mgt.emm.wso2.com:8243/].

But when we open MDM, MAM Console, Publisher via EMM Dashboard, they routed
to SSO Login page without the port. Store loads in anonymous mode, and it
also route to the same without the port when click on sign in.

When we try to load the SSO page with setting the port manually, still it
won't load.

Highly appreciate your ideas and advices regarding this.

Thanks,
Pandula

-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] [EMM Cluster] TTransportException: Could not bind to port 10500

2014-02-09 Thread Pandula Kariyawasam
Hi All,

This got resolved with following changes done in */etc/hosts*.


Machine which has both ELB  Mgr
Mgr's IP   Mgt Domain
ELB's IP   Wrk Domain


Wrk1 Machine
Wrk1's IP   Wrk Domain
ELB's IP Mgt Domain


Wrk2 Machine
Wrk2's IP   Wrk Domain
ELB's IP Mgt Domain


Hi Nirmal,

Thanks a lot for your support.


Thanks,
Pandula




On Fri, Feb 7, 2014 at 2:46 PM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi Nirmal,

 The port is not occupied. Verified via *netstat -nap|grep 10500*. This is
 happening for both worker nodes.

 Thanks,
 Pandula


 On Fri, Feb 7, 2014 at 2:29 PM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 Seems like port 10500 is already occupied.


 On Fri, Feb 7, 2014 at 2:20 PM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi All,

 We are experiencing below error related to $subject when starting a
 Worker nodes of a WM separated EMM Cluster fronted by ELB. This is not
 happening for the Manager node.

 Highly appreciate your ideas  support on this matter

 Thanks,
 Pandula


 [2014-02-07 10:24:47,708] ERROR
 {org.wso2.carbon.identity.entitlement.internal.EntitlementServiceComponent}
 -  Error in initializing thrift transport
 org.apache.thrift.transport.TTransportException: Could not bind to port
 10500
 at
 org.apache.thrift.transport.TSSLTransportFactory.createServer(TSSLTransportFactory.java:117)
 at
 org.apache.thrift.transport.TSSLTransportFactory.getServerSocket(TSSLTransportFactory.java:103)
 at
 org.wso2.carbon.identity.entitlement.internal.EntitlementServiceComponent.startThriftEntitlementService(EntitlementServiceComponent.java:328)
 at
 org.wso2.carbon.identity.entitlement.internal.EntitlementServiceComponent.startThriftServices(EntitlementServiceComponent.java:299)
 at
 org.wso2.carbon.identity.entitlement.internal.EntitlementServiceComponent.activate(EntitlementServiceComponent.java:161)
 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:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 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.thrift.authentication.internal.ThriftAuthenticationServiceComponent.activate(ThriftAuthenticationServiceComponent.java:69)
 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:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197

[Dev] [EMM Cluster] TTransportException: Could not bind to port 10500

2014-02-07 Thread Pandula Kariyawasam
(BundleContextImpl.java:451)
at
org.wso2.carbon.identity.thrift.authentication.internal.ThriftAuthenticationServiceComponent.activate(ThriftAuthenticationServiceComponent.java:69)
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:606)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
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.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
at
org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[2014-02-07 10:25:03,480]  INFO
{org.wso2.carbon.identity.entitlement.internal.SchemaBuilder} -  XACML
policy schema loaded successfully.






-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] [EMM Cluster] TTransportException: Could not bind to port 10500

2014-02-07 Thread Pandula Kariyawasam
Hi Nirmal,

The port is not occupied. Verified via *netstat -nap|grep 10500*. This is
happening for both worker nodes.

Thanks,
Pandula


On Fri, Feb 7, 2014 at 2:29 PM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 Seems like port 10500 is already occupied.


 On Fri, Feb 7, 2014 at 2:20 PM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi All,

 We are experiencing below error related to $subject when starting a
 Worker nodes of a WM separated EMM Cluster fronted by ELB. This is not
 happening for the Manager node.

 Highly appreciate your ideas  support on this matter

 Thanks,
 Pandula


 [2014-02-07 10:24:47,708] ERROR
 {org.wso2.carbon.identity.entitlement.internal.EntitlementServiceComponent}
 -  Error in initializing thrift transport
 org.apache.thrift.transport.TTransportException: Could not bind to port
 10500
 at
 org.apache.thrift.transport.TSSLTransportFactory.createServer(TSSLTransportFactory.java:117)
 at
 org.apache.thrift.transport.TSSLTransportFactory.getServerSocket(TSSLTransportFactory.java:103)
 at
 org.wso2.carbon.identity.entitlement.internal.EntitlementServiceComponent.startThriftEntitlementService(EntitlementServiceComponent.java:328)
 at
 org.wso2.carbon.identity.entitlement.internal.EntitlementServiceComponent.startThriftServices(EntitlementServiceComponent.java:299)
 at
 org.wso2.carbon.identity.entitlement.internal.EntitlementServiceComponent.activate(EntitlementServiceComponent.java:161)
 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:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 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.thrift.authentication.internal.ThriftAuthenticationServiceComponent.activate(ThriftAuthenticationServiceComponent.java:69)
 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:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861

[Dev] [EMM] Limitations when granting access of Operations for normal users

2014-01-30 Thread Pandula Kariyawasam
Hi All,

On MDM, we have observed following limitation when granting access of
Operations for normal user.

To assign permissions for Operations for a User, we have to go to Carbon
console, and assign 'Manage' permissions for 'Internal/everyone' role. (in
addition to assign permissions for the role via MDM)
A user who has this Manage permissions, can add or remove apps deployed in
Carbon console. He can even delete the MAM  MDM jag apps also.
So there is this risk, when a normal user get manage permissions.

This need to be handled.

Thanks,
Pandula


-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] [MAM] Adding New Version for an existing App

2014-01-17 Thread Pandula Kariyawasam
Hi All,

We have observed following limitation on MAM Publisher, in the process of
adding New Versions for an existing App.
Currently, when we add a new version via existing application, it will
replicate the content of the existing app with new version number in it.
Those content allow to edit, but there is no place to add the APK file /
IPA file / App Identifier / Package Name related to new version. It is
needed to add this as a feature, otherwise there's no point of adding new
versions.

Thanks,
Pandula

-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] [WSO2Store] Multi-tenant public store

2014-01-12 Thread Pandula Kariyawasam
Hi Ruchira,

Regrading the $subject on MAM aspect (which is based on ES), We are
experiencing the following behavior.

MAM Store shares the same Store Home page for both Super Tenant  Tenants
for Sign in. But Store home page listing only Super Tenant's apps. When
there are tenants with their own apps also, Tenant User will see the Super
Tenant's apps in Store home page, before Sign in.

Is there any place to view the Tenant's apps to the User before Sign in?

But after Sign in, there's no problem, because everyone see their tenant's
apps only.

This will make them confused. Is this the expected behavior?

Thanks,
Pandula



On Mon, Jan 13, 2014 at 9:09 AM, Ruchira Wageesha ruch...@wso2.com wrote:

 Hi Chan,

 I didn't get what you meant by push apps available in the store to roles
 and users. Anyway, MT has been already implemented in ES and when a user
 logs in, we retrieve his tenant id from login details and keep it in the
 backend session. After that, tenant ID stored in the session will be used
 for every operation performed through that logged in session, until it gets
 expired.

 Unless, you are writing an extension in the store/publisher apps, you are
 not allowed to pass a tenant Id. What you can do is, first authenticate
 either store/publisher as needed with a user in the tenant you need. Then
 execute all api calls as that user.

 We have an idea of adding an OAth support for store/publisher APIs as
 well, but we don't have it at the moment.

 /Ruchira


 On Sat, Jan 11, 2014 at 10:51 AM, Chan duli...@wso2.com wrote:

 Hi Nuwan/ Ruchira,
 I want to know how multi-tenancy for the public store going to work. For
 the EMM product - we have an application [MAM Console] that allows
 administrators to push apps available in the store to roles and users.
 Currently I am getting the available apps from the store using 
 *store/apis/assets/mobileapp
 *API. TenantID can be passed from the callee since we have a login
 session in MAM Console app.


 Cheers~
 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*

 *  ~Website   dulithawijewantha.com http://dulithawijewantha.com/ *

 *  ~Blog blog.dulithawijewantha.com
 http://dulichan.github.io/chan/*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

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




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] [MAM] Store listing Super Tenant's apps before Sign in

2014-01-11 Thread Pandula Kariyawasam
Hi All,

MAM Store shares the same Store Home page for both Super Tenant  Tenants
for Sign in. But Store home page listing only Super Tenant's apps. When
there are tenants with their own apps also, Tenant User will see the Super
Tenant's apps in Store home page, before Sign in. There is no place to view
the Tenant's apps to the User before Sign in.

But after Sign in, there's no problem, because everyone see their tenant's
apps only.

This will make them confused. Is this the expected behavior?

Thanks,
Pandula
-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] MAM Enrollment

2014-01-10 Thread Pandula Kariyawasam
Hi All,

I have tried with MDM, and it enrolled the device properly. Since this is a
blocker from MAM side, we will continue MAM side testing with enrolling via
MDM till the above get resolved.

Thanks,
Pandula


On Fri, Jan 10, 2014 at 10:50 AM, Pandula Kariyawasam pand...@wso2.comwrote:

 Thanx Chan,
 [1] added on Jira.

 [1]https://wso2.org/jira/browse/MAM-127

 Thanks,
 Pandula


 On Fri, Jan 10, 2014 at 8:43 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 This is a bug in MAM. But enrollment happens through MDM. Also the
 configuration will not be required since this will be automatically
 configured via a dynamic ip variable. Please put a JIRA for this.


 Cheers



 On Fri, Jan 10, 2014 at 7:36 AM, Chathurika Mahaarachchi 
 chathur...@wso2.com wrote:

 Yeah Pandula  I tried the same scenario. I also got the smiler message.

 @Niranjan  Appreciate if you could explain how to config this.

 Thanks,
 Chathurika


 On Fri, Jan 10, 2014 at 6:52 AM, Pandula Kariyawasam 
 pand...@wso2.comwrote:

 Hi Nieanjan/Dulitha,

 Below is the mail i received when adding a user via MAM console.  The
 enroll link seems to be not configured. I couldn't find the related config
 in Docs. Can you tell me how to config this?

 Thanks,
 Pandula






 -- Forwarded message --
 From: nira.testingw...@gmail.com
 Date: Fri, Jan 10, 2014 at 6:44 AM
 Subject: MAM Enrollment
 To: pand...@wso2.com


 Dear bax,
 You have been registered to the WSO2Mobile MAM.

 undefined/mdm/api/device_enroll
  Your password to your login : NBt0PK
 WSO2



 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com




 --
 *Chathurika Mahaarachchi*
 Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 lean.enterprise.middleware
 Mobile: +94718223950




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*

 *  ~Website   dulithawijewantha.com http://dulithawijewantha.com/ *

 *  ~Blog blog.dulithawijewantha.com
 http://dulichan.github.io/chan/*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*




 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com




-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] ESB 4.8.0 - Error occurred when loading the Proxies at server startup

2013-11-19 Thread Pandula Kariyawasam
)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)






-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] ESB 4.8.0 - Error occurred when loading the Proxies at server startup

2013-11-19 Thread Pandula Kariyawasam
The Twitter connector was deployed and enabled earlier. There were some
proxies also which use it. This happened when starting the server today,
only for one worker. This is intermittent, and cannot
 reproduce this consistently.


On Wed, Nov 20, 2013 at 10:57 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Twitter connector was not deployed/enabled and therefore the config cannot
 be resolved dynamically. Can we reproduce this consistently?


 On Wed, Nov 20, 2013 at 10:53 AM, Pandula Kariyawasam pand...@wso2.comwrote:


 Hi All,

 I have experienced the below error when starting a worker in a cluster
 setup. This worker was working fine earlier, and got this issue for all the
 proxies when starting it today. When restarting the worker, the issue
 didn't recreate. All other nodes started without a problem.


 Cluster is a SVN based setup which use MSSQL DB with SQLJDBC driver, runs
 on java 6.

 Please look into this to check whether it is harmful or not.



 [2013-11-20 10:24:34,499]  INFO - Axis2SynapseController Initializing
 Synapse at : Wed Nov 20 10:24:34 IST 2013
 [2013-11-20 10:24:34,554]  INFO - CarbonSynapseController Loading the
 mediation configuration from the file system
 [2013-11-20 10:24:34,558]  INFO - MultiXMLConfigurationBuilder Building
 synapse configuration from the synapse artifact repository at :
 ././repository/deployment/server/synapse-configs/default
 [2013-11-20 10:24:34,559]  INFO - XMLConfigurationBuilder Generating the
 Synapse configuration model by parsing the XML configuration
 [2013-11-20 10:24:35,080] ERROR - MediatorFactoryFinder Unknown mediator
 referenced by configuration element : {
 http://ws.apache.org/ns/synapse}twitter
 [2013-11-20 10:24:35,081]  WARN - SynapseXMLConfigurationFactory Proxy
 Service configuration: twitter_getFollowers cannot be built - Continue in
 fail-safe mode
 org.apache.synapse.SynapseException: Unknown mediator referenced by
 configuration element : {http://ws.apache.org/ns/synapse}twitter
 at
 org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:218)
 at
 org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
 at
 org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
 at
 org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:178)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineProxy(SynapseXMLConfigurationFactory.java:142)
 at
 org.apache.synapse.config.xml.MultiXMLConfigurationBuilder.createProxyServices(MultiXMLConfigurationBuilder.java:239)
 at
 org.apache.synapse.config.xml.MultiXMLConfigurationBuilder.getConfiguration(MultiXMLConfigurationBuilder.java:132)
 at
 org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:100)
 at
 org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:479)
 at
 org.wso2.carbon.mediation.initializer.CarbonSynapseController.createSynapseConfiguration(CarbonSynapseController.java:169)
 at org.apache.synapse.ServerManager.start(ServerManager.java:177)
 at
 org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:424)
 at
 org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:182)
 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:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 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

Re: [Dev] [DEV] Unable to create tenants in Greg - Unable to delete system collection at /_system/config

2013-10-22 Thread Pandula Kariyawasam
)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 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.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:101)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 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:1004)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)


 --
 *
 *
 *Nuwan Silva
 *
 *Senior Software Engineer - QA*
 Mobile: +94779804543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




 --
 Suneth Ranasinghe
 Senior Software Engineer - QA
 Mobile: +94717387198
 *
 *
 wso2.com
 Lean Enterprise Middleware




-- 
*Pandula Kariyawasam K.B.
*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] [DEV] Unable to create tenants in Greg - Unable to delete system collection at /_system/config

2013-10-22 Thread Pandula Kariyawasam
This is resolved with the provided kernel patch.


On Wed, Oct 23, 2013 at 2:22 AM, Pandula Kariyawasam pand...@wso2.comwrote:

 Experienced the same in the startup of Nodes in Cluster setup. Mount is
 broken for admin of Super Tenant also.

 [2013-10-23 01:21:44,377]  INFO
 {org.wso2.carbon.user.core.common.DefaultRealmService} -  Database already
 exists. Not creating a new database.
 [2013-10-23 01:21:49,516]  INFO
 {org.apache.catalina.startup.TaglibUriRule} -  TLD skipped. URI:
 http://tiles.apache.org/tags-tiles is already defined
 [2013-10-23 01:21:58,109]  INFO
 {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
 Registry in 12641ms
 [2013-10-23 01:21:58,195] ERROR
 {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
 Unable to create fixed remote mounts.

 org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to
 delete system collection at /_system/config.
 at
 org.wso2.carbon.registry.core.session.UserRegistry.delete(UserRegistry.java:679)
 at
 org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.setupMounts(RegistryCoreServiceComponent.java:343)
 at
 org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.buildRegistryService(RegistryCoreServiceComponent.java:572)
 at
 org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:117)
 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:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 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.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:71)
 at
 org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
 at
 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent

[Dev] GReg Cluster - ClassNotFoundExceptions

2013-10-15 Thread Pandula Kariyawasam
(ScheduledThreadPoolExecutor.java:178)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException:
org.wso2.carbon.registry.api.GhostResourge
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at
org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:131)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:83)
at com.hazelcast.nio.IOUtil$1.resolveClass(IOUtil.java:77)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:459)
at
com.hazelcast.nio.serialization.DefaultSerializers$ObjectSerializer.read(DefaultSerializers.java:187)

... 16 more



-- 
*Pandula Kariyawasam K.B.
*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-24 Thread Pandula Kariyawasam
(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


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




-- 
*Pandula Kariyawasam K.B.
*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


[Dev] NullPointerException occurred related to Hazelcast caching, when starting a GReg node in a Mounted Cluster setup

2013-09-16 Thread Pandula Kariyawasam
Hi All,

Experienced the $subject.  Please note that this is Intermittent.

More information on [1]

[1] https://wso2.org/jira/browse/REGISTRY-1984




Exception in thread hz.greg.qa.460.domain.instance.cached.thread-5
java.lang.NullPointerException
at
org.wso2.carbon.caching.impl.CacheImpl$MapEntryListenerImpl.entryAdded(CacheImpl.java:952)
at
org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap$1.entryAdded(HazelcastDistributedMapProvider.java:63)
at com.hazelcast.map.MapService.dispatchEvent(MapService.java:692)
at com.hazelcast.map.MapService.dispatchEvent(MapService.java:65)
at
com.hazelcast.spi.impl.EventServiceImpl$EventPacketProcessor.process(EventServiceImpl.java:444)
at
com.hazelcast.spi.impl.EventServiceImpl$RemoteEventPacketProcessor.run(EventServiceImpl.java:470)
at
com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:130)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
at
com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59)
Exception in thread hz.greg.qa.460.domain.instance.cached.thread-12
java.lang.NullPointerException
at
org.wso2.carbon.caching.impl.CacheImpl$MapEntryListenerImpl.entryAdded(CacheImpl.java:952)
at
org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap$1.entryAdded(HazelcastDistributedMapProvider.java:63)
at com.hazelcast.map.MapService.dispatchEvent(MapService.java:692)
at com.hazelcast.map.MapService.dispatchEvent(MapService.java:65)
at
com.hazelcast.spi.impl.EventServiceImpl$LocalEventDispatcher.run(EventServiceImpl.java:500)
at
com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:130)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
at
com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59)



Thanks  Regards,
Pandula

-- 
*Pandula Kariyawasam K.B.
*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] DSS samples broken in AS

2013-09-02 Thread Pandula Kariyawasam
 Hi Guys,

It seems this fix has not reflect to the AS came with RC8 pack also.

Thanks  Regards,
Pandula


On Sat, Aug 31, 2013 at 1:40 PM, Kasun Gajasinghe kas...@wso2.com wrote:



 On Saturday, August 31, 2013, Supun Malinga sup...@wso2.com wrote:
  Hi Sameera,,
  Still DSS samples external points to DSS 3.0.0. Can we please update
 that?

 Yes, please. I have sent the needed changes in the RC5 thread.

 Thanks.

  thanks,
 
  On Sat, Aug 31, 2013 at 12:14 PM, Iranga Muthuthanthri ira...@wso2.com
 wrote:
 
  The issues
 
  1) https://wso2.org/jira/browse/WSAS-1603
  2.)https://wso2.org/jira/browse/DS-793 (
 https://wso2.org/jira/browse/WSAS-1600)
 
  Still exist in the RC6 AS5.2.0 release.
 
  Regards,
  Iranga
 
 
  On Fri, Aug 30, 2013 at 5:09 PM, Pandula Kariyawasam pand...@wso2.com
 wrote:
 
  Forwarding to Dev Group.
 
 
  On Fri, Aug 30, 2013 at 4:12 PM, Pandula Kariyawasam pand...@wso2.com
 wrote:
 
  Hi DSS / AS Teams,
 
  The DSS sample GSpreadSample.dbs in AS giving invalid credential
 error.
  This is already reported from DSS side and fixed in DSS came with RC5
 pack. But, still it has the same issue in AS (came with RC5). This is
 reported under AS [1] also mentioning to get the fixed sample from DSS side.
 
  Please do the needful to update this fix to AS side.
 
 
  [1] https://wso2.org/jira/browse/WSAS-1603
 
 
 
  --
  Pandula Kariyawasam K.B.
  Senior Software Engineer - QA
  Mobile: +94772314510
 
 
 
 
  --
  Pandula Kariyawasam K.B.
  Senior Software Engineer - QA
  Mobile: +94772314510
 
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
  Thanks  Regards
 
  Iranga Muthuthanthri
  Technical Lead - QA
  (M) -0777-255773
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
  Supun Malinga,
 
  Senior Software Engineer,
  WSO2 Inc.
  http://wso2.com
  http://wso2.org
  email - sup...@wso2.com
  mobile - 071 56 91 321
 

 --
 ~~--~~
 Sending this mail via my phone. Do excuse any typo or short replies

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




-- 
*Pandula Kariyawasam K.B.
*
*Senior Software Engineer - QA*
Mobile: +94772314510

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


Re: [Dev] DSS samples broken in AS

2013-08-30 Thread Pandula Kariyawasam
Forwarding to Dev Group.


On Fri, Aug 30, 2013 at 4:12 PM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi DSS / AS Teams,

 The DSS sample GSpreadSample.dbs in AS giving invalid credential error.
 This is already reported from DSS side and fixed in DSS came with RC5
 pack. But, still it has the same issue in AS (came with RC5). This is
 reported under AS [1] also mentioning to get the fixed sample from DSS side.

 Please do the needful to update this fix to AS side.


 [1] https://wso2.org/jira/browse/WSAS-1603



 --
 *Pandula Kariyawasam K.B.
 *
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com




-- 
*Pandula Kariyawasam K.B.
*
*Senior Software Engineer - QA*
Mobile: +94772314510

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