Re: [Dev] [Architecture] [Vote] Release of WSO2 EI Analytics v7.1.0 RC1

2020-11-15 Thread Chanika Geeganage
Hi all,

Thank you for testing the WSO2 EI Analytics 7.1.0 RC1 pack.

Since this vote has passed with 5 +1s and 0 -1s, we're hereby closing the
vote and proceeding with the EI Analytics 7.1.0 GA release.

Thanks,
Chanika

On Sat, Nov 14, 2020 at 4:08 PM Nirothipan Megalingham 
wrote:

> Hi all,
>
> I did a smoke test of publishing statistics for API, Proxies, Sequences
> and Endpoints with tracing enabled in a linux environment with JDK 8 and
> found no blocker issues.
>
> Hence +1 for release.
>
> Thanks !
> Nirothipan
>
> On Sat, Nov 14, 2020 at 3:09 PM Chanika Geeganage 
> wrote:
>
>> Verified the folder structure, files inside the package. No blockers
>> found. +1 to proceed.
>>
>> On Fri, Nov 13, 2020 at 2:47 PM Arunan Sugunakumar 
>> wrote:
>>
>>> Hi all,
>>>
>>> I tested the following functionalities.
>>>
>>>- Tested the published statistics, trace events for API, Proxy,
>>>Inbound EP, and Endpoints from Micro Integrator 1.2.0
>>>- Configured MySQL database for Portal and Server and verified the
>>>above in Mac Environment
>>>
>>> No blockers found. +1 to release.
>>>
>>> Regards,
>>> Arunan
>>>
>>> On Thu, Nov 12, 2020 at 1:21 PM Nadeeshani Pathirennehelage <
>>> nadeesha...@wso2.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> +1 from the Security Team as the required security scans got completed.
>>>>
>>>> Best Regards,
>>>> Nadeeshani.
>>>>
>>>> On Wed, Nov 11, 2020 at 2:22 PM Chanika Geeganage 
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> WSO2 Enterprise Integrator team is pleased to announce the first
>>>>> release candidate of WSO2 EI Analytics v7.1.0 version.
>>>>>
>>>>> The WSO2 EI Analytics provides the capability to analyze statistics
>>>>> and tracing of WSO2 Enterprise Integrator.
>>>>>
>>>>> WSO2 EI Analytics is an instance of the WSO2 Streaming Integrator with
>>>>> Analytics Dashboard features. This by default is configured to monitor
>>>>> statistics related to the message mediation that is carried out by the 
>>>>> WSO2
>>>>> Micro Integrator.
>>>>>
>>>>> The tag to be voted upon is
>>>>> https://github.com/wso2/observability-ei/releases/tag/v7.1.0-rc1
>>>>>
>>>>> Documentation:
>>>>> https://ei.docs.wso2.com/en/7.2.0/micro-integrator/administer-and-observe/using-the-analytics-dashboard/
>>>>>
>>>>> Please download, test the tool and vote.
>>>>>
>>>>>
>>>>> *[+] Stable - Go ahead and release*
>>>>>
>>>>> *[-] Broken - Do not release *(explain why)
>>>>>
>>>>>
>>>>>
>>>>> Best Regards,
>>>>> WSO2 EI Team
>>>>>
>>>>> --
>>>>>
>>>>> *Chanika Geeganage* | WSO2 Inc.
>>>>>
>>>>> (m) +94-77-3522586 | (e) chan...@wso2.com
>>>>>
>>>>> <https://wso2.com/signature>
>>>>> _______
>>>>> Architecture mailing list
>>>>> architect...@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>
>>>>
>>>> --
>>>> Pathirennehelage Nadeeshani
>>>> Senior Software Engineer
>>>> Security & Compliance Team
>>>> WSO2 Inc.
>>>> mobile : +94 716545223
>>>>
>>>
>>>
>>> --
>>> *Sugunakumar Arunan*
>>> Software Engineer | WSO2
>>>
>>> Email : aru...@wso2.com
>>> Mobile : +94766016272
>>> Web : http://wso2.com
>>> <https://wso2.com/signature>
>>>
>>
>>
>> --
>>
>> *Chanika Geeganage* | WSO2 Inc.
>>
>> (m) +94-77-3522586 | (e) chan...@wso2.com
>>
>> <https://wso2.com/signature>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *M Nirothipan* | Senior Software Engineer | WSO2 Inc.
> (m) +94 772 172 692 | (e) nirothipan at wso2.com
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>


-- 

*Chanika Geeganage* | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [Vote] Release of WSO2 EI Analytics v7.1.0 RC1

2020-11-14 Thread Chanika Geeganage
Verified the folder structure, files inside the package. No blockers
found. +1 to proceed.

On Fri, Nov 13, 2020 at 2:47 PM Arunan Sugunakumar  wrote:

> Hi all,
>
> I tested the following functionalities.
>
>- Tested the published statistics, trace events for API, Proxy,
>Inbound EP, and Endpoints from Micro Integrator 1.2.0
>- Configured MySQL database for Portal and Server and verified the
>above in Mac Environment
>
> No blockers found. +1 to release.
>
> Regards,
> Arunan
>
> On Thu, Nov 12, 2020 at 1:21 PM Nadeeshani Pathirennehelage <
> nadeesha...@wso2.com> wrote:
>
>> Hi All,
>>
>> +1 from the Security Team as the required security scans got completed.
>>
>> Best Regards,
>> Nadeeshani.
>>
>> On Wed, Nov 11, 2020 at 2:22 PM Chanika Geeganage 
>> wrote:
>>
>>> Hi All,
>>>
>>> WSO2 Enterprise Integrator team is pleased to announce the first release
>>> candidate of WSO2 EI Analytics v7.1.0 version.
>>>
>>> The WSO2 EI Analytics provides the capability to analyze statistics and
>>> tracing of WSO2 Enterprise Integrator.
>>>
>>> WSO2 EI Analytics is an instance of the WSO2 Streaming Integrator with
>>> Analytics Dashboard features. This by default is configured to monitor
>>> statistics related to the message mediation that is carried out by the WSO2
>>> Micro Integrator.
>>>
>>> The tag to be voted upon is
>>> https://github.com/wso2/observability-ei/releases/tag/v7.1.0-rc1
>>>
>>> Documentation:
>>> https://ei.docs.wso2.com/en/7.2.0/micro-integrator/administer-and-observe/using-the-analytics-dashboard/
>>>
>>> Please download, test the tool and vote.
>>>
>>>
>>> *[+] Stable - Go ahead and release*
>>>
>>> *[-] Broken - Do not release *(explain why)
>>>
>>>
>>>
>>> Best Regards,
>>> WSO2 EI Team
>>>
>>> --
>>>
>>> *Chanika Geeganage* | WSO2 Inc.
>>>
>>> (m) +94-77-3522586 | (e) chan...@wso2.com
>>>
>>> <https://wso2.com/signature>
>>> _______
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>
>>
>> --
>> Pathirennehelage Nadeeshani
>> Senior Software Engineer
>> Security & Compliance Team
>> WSO2 Inc.
>> mobile : +94 716545223
>>
>
>
> --
> *Sugunakumar Arunan*
> Software Engineer | WSO2
>
> Email : aru...@wso2.com
> Mobile : +94766016272
> Web : http://wso2.com
> <https://wso2.com/signature>
>


-- 

*Chanika Geeganage* | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Architecture] [Vote] Release of WSO2 EI Analytics v7.1.0 RC1

2020-11-11 Thread Chanika Geeganage
Hi All,

WSO2 Enterprise Integrator team is pleased to announce the first release
candidate of WSO2 EI Analytics v7.1.0 version.

The WSO2 EI Analytics provides the capability to analyze statistics and
tracing of WSO2 Enterprise Integrator.

WSO2 EI Analytics is an instance of the WSO2 Streaming Integrator with
Analytics Dashboard features. This by default is configured to monitor
statistics related to the message mediation that is carried out by the WSO2
Micro Integrator.

The tag to be voted upon is
https://github.com/wso2/observability-ei/releases/tag/v7.1.0-rc1

Documentation:
https://ei.docs.wso2.com/en/7.2.0/micro-integrator/administer-and-observe/using-the-analytics-dashboard/

Please download, test the tool and vote.


*[+] Stable - Go ahead and release*

*[-] Broken - Do not release *(explain why)



Best Regards,
WSO2 EI Team

-- 

*Chanika Geeganage* | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 Integration Studio 7.0.0 RC1

2019-10-07 Thread Chanika Geeganage
://github.com/wso2/devstudio-tooling-ei/releases/download/v7.0.0-rc1/WSO2-Integration-Studio-7.0.0-rc1-macosx-cocoa-x86_64.dmg>
>>> Documentation
>>>
>>> Online documentation is available at
>>> https://ei.docs.wso2.com/en/latest/micro-integrator/develop/WSO2-Integration-Studio/
>>> Contribute to WSO2 Integration StudioMailing Lists
>>>
>>> Join our mailing lists and correspond with the developers directly. We
>>> also encourage you to take part in discussions related to the product in
>>> the architecture mailing list. If you have any questions regarding the
>>> product you can use our StackOverflow forum to raise them as well.
>>>
>>>
>>> *The tag to be voted upon*
>>>
>>> https://github.com/wso2/devstudio-tooling-ei/releases/tag/v7.0.0-rc1
>>>
>>>
>>> Please download, test the features, and vote.
>>>
>>> [+] Stable - go ahead and release
>>>
>>> [-] Broken - do not release (explain why)
>>>
>>>
>>> ~ The Enterprise Integrator Team ~
>>>
>>>
>>> --
>>> *Prabushi Samarakoon*
>>> Mobile: +94715434580
>>> Email: prabus...@wso2.com
>>>
>>>
>>>
>>
>> --
>> *Sajitha Liyanage | *Software Engineer | WSO2 Inc.
>> (m) +94716849672 | Email: sajit...@wso2.com
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>
>
> --
>
> *M.Nirothipan* | Senior Software Engineer | WSO2 Inc.
>
> (m) +94772172692 | (e) nirothi...@wso2.com
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

*Chanika Geeganage* | Associate Technical Lead | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Enterprise Integrator 7.0.0 RC1

2019-10-07 Thread Chanika Geeganage
Improvements
><https://github.com/wso2/ballerina-integrator/milestone/12?closed=1>
>
>
> Download and Location of the distribution
>
> Please use the Installer to download and install WSO2 EI7
>
>
> Installer location:
> https://drive.google.com/drive/folders/10Iqt4g_djJQsOtoEPzFCz8WX42uMu50P?usp=sharing
>
> Separate runtimes can be downloaded from,
>
>-
>
>Ballerina Integrator:
>https://github.com/wso2/ballerina-integrator/releases/tag/v1.0.0-rc1
>-
>
>Micro Integrator:
>https://github.com/wso2/micro-integrator/releases/tag/v1.0.0-rc1
>-
>
>Streaming Integrator:
>https://github.com/wso2/streaming-integrator/releases/tag/v1.0.0-rc1
>
> Documentation
>
> Please find the official documentation at
> https://ei.docs.wso2.com/en/latest/
>
> The tags to be voted upon
>
>-
>
>Ballerina Integrator:
>https://github.com/wso2/ballerina-integrator/tree/v1.0.0-rc1
>-
>
>Micro Integrator:
>https://github.com/wso2/micro-integrator/tree/v1.1.0-rc1
>-
>
>Streaming Integrator:
>https://github.com/wso2/streaming-integrator/tree/v1.0.0-rc1
>
>
>
> Please download, and test the features and vote.
>
>[+] Stable - go ahead and release
>
>[-] Broken - do not release (explain why)
>
>
>
> ~ The Enterprise Integrator Team ~
>
>
>
>
>
>
>
>
> <http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
>


-- 

*Chanika Geeganage* | Associate Technical Lead | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Enterprise Integrator 6.5.0 RC1

2019-05-17 Thread Chanika Geeganage
Hi All,

I tested following scenarios ( artifacts were created using both management
console and integration studio).
1. Call Template
2. Adding a datasource
3. Generating a dataservice form the datasource
4. Creating a dataservice and uploading a dataservice
5. Tested sample dataservices
6. Odata

[+] Stable - go ahead and release

On Thu, May 16, 2019 at 7:33 PM Nirothipan Megalingham 
wrote:

> Hi all,
>
> We are pleased to announce the first release candidate of WSO2 Enterprise
> Integrator 6.5.0.
>
> Please find the list of tasks / bug fixes and improvements shipped with
> this release below
>
>- Tasks/bug fixes and improvements in Enterprise Integrator
>
> <https://github.com/wso2/product-ei/issues?utf8=%E2%9C%93&q=is%3Aissue+closed%3A2018-10-09..2019-05-15+is%3Aclosed+>
>- Tasks/bug fixes and improvements in Micro Integrator
>
> <https://github.com/wso2/micro-integrator/issues?page=1&q=is%3Aissue+closed%3A2018-10-09..2019-05-14+is%3Aclosed&utf8=%E2%9C%93>
>
> Known Issues
>
>- https://github.com/wso2/product-ei/issues
>- https://github.com/wso2/micro-integrator/issues
>
> The tag to be voted upon:
> https://github.com/wso2/product-ei/tree/v6.5.0-rc1
>
> Source and binary distributions:
> https://github.com/wso2/product-ei/releases/tag/v6.5.0-rc1
>
> Please test and vote as follows
>
> [+] Stable - go ahead and release
> [-] Broken - do not release (explain why)
>
> You may find the official documentation in:
> https://docs.wso2.com/display/EI6xx
>
> ~ The Enterprise Integrator Team ~
>
>
> --
>
> *M.Nirothipan* | Senior Software Engineer | WSO2 Inc.
>
> (m) +94772172692 | (e) nirothi...@wso2.com
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>
>

-- 

*Chanika Geeganage* | Associate Technical Lead | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: Micro integrator: carbon datasource in dss - NullPointerException

2019-02-06 Thread Chanika Geeganage
Hi Иван,

The carbon datasources feature is not shipped with micro integrator.  When
a carbon datasource is created it saves in the registry in the default ESB
profile. As all the registry related features are removed from the micro
integrator, it is not available. Instead you can define the datasource in
line in the dataservice it self. Hope this helps.

Please forward your other queries in this mail thread or start a new one.

Thanks

On Wed, Feb 6, 2019 at 8:20 PM Иван Емельянов  wrote:

> I try 6.4.0.
> And may be 6.3.0.
>
> ср, 6 февр. 2019 г., 16:55 Nandika Jayawardana nand...@wso2.com:
>
>> Hi,
>>
>> Can you let us know the EI version you are trying? Is it EI 6.4.0 or EI
>> 6.3.0.
>>
>> Regards
>> Nandika
>>
>> On Wed, Feb 6, 2019 at 7:07 PM Иван Емельянов  wrote:
>>
>>>
>>> Hello!
>>> I have question about "wso2ei micro integrator". Anybody how know about
>>> work or dev it?
>>>
>>> I start wso2ei micro integrator profile and deploy carbonapp with carbon
>>> datasource in dbs file. Then I get nullpointer error in get datasource in
>>> log.
>>> If I specify jdbc datasource in dbs - it all ok.
>>> Can I use carbon datasource in dbs for micro integrator?
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>>
>> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

*Chanika Geeganage* | Associate Technical Lead | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue with datasource in wso2ei 6.4.0 Error in secure load of data source meta info: An error occurred while decrypting data.

2019-01-04 Thread Chanika Geeganage
ecureLoadElement(DataSourceUtils.java:197)
> at
> org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureLoadElement(DataSourceUtils.java:210)
> at
> org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureLoadElement(DataSourceUtils.java:210)
> at
> org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureLoadElement(DataSourceUtils.java:210)
> at
> org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureResolveDocument(DataSourceUtils.java:242)
> ... 65 more
> Caused by: org.wso2.carbon.core.util.CryptoException: A crypto service
> implementation has not been registered.
> at
> org.wso2.carbon.core.util.CryptoUtil.decrypt(CryptoUtil.java:231)
> ... 71 more
>
>
> Any idea?
>
>
> Regards,
>Jorge.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

*Chanika Geeganage* | Associate Technical Lead | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI][DSS] NPE when trying ARRAY SQLType

2018-10-19 Thread Chanika Geeganage
Hi Nuwandi,

The parameter type should be set as ARRAY instead of SCALAR if you want to
input an array. For example,

 

However the NPE should be fixed. Can you create an issue for that.
In the request you can send the payload as in [1]

[1]
https://docs.wso2.com/display/DSS351/Data+Types+of+Mappings#DataTypesofMappings-Arraydatatype

On Sat, Oct 20, 2018 at 1:58 AM Nuwandi Wickramasinghe 
wrote:

> Hi,
>
> I'm trying (With EI 6.4.0) to create an operation for a db query where the
> input param *SQLType* is defined as an *ARRAY*. Following are the query
> details.
>
> *SQL:* SELECT ORDER_ID FROM ROLE_ORDER WHERE ROLE IN (:Roles)
>
> Input Mappings
> *Mapping Name* *Parameter Type* *Type* *Action*
> Roles SCALAR ARRAY
>
> When I try to add a New Action for above query, following error is thrown.
>
> [2018-10-20 00:01:12,604] [EI-Core] ERROR - DBDeployer The
> OrderDetailService.dbs service, which is not valid, caused {1}
>
> java.lang.NullPointerException
>
> at
> org.wso2.carbon.dataservices.core.DBUtils.getSimpleSchemaTypeName(DBUtils.java:914)
>
> at
> org.wso2.carbon.dataservices.core.DataServiceDocLitWrappedSchemaGenerator.createInputEntryElement(DataServiceDocLitWrappedSchemaGenerator.java:292)
>
>
> In DBUtils class, I *cannot see any conversionType* mapped for "ARRAY"
> SqlType (In the map [1]). Would that be the reason for this?
>
> I have a requirement to run a query in the following format where I can
> pass ROLE1, ROLE2 etc (1 or more repetitions) as SOAP input parameters. Is
> there a way to achieve that?
>
> *SELECT ORDER_ID FROM ROLE_ORDER WHERE ROLE IN ('ROLE1', 'ROLE2')*
>
> [1]
> https://github.com/wso2/carbon-data/blob/v4.4.81/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/DBUtils.java#L135
>
> thanks
> Nuwandi
> --
>
> Best Regards,
>
> Nuwandi Wickramasinghe
>
> Senior Software Engineer
>
> WSO2 Inc.
>
> Web : http://wso2.com
>
> Mobile : 0719214873
>


-- 

*Chanika Geeganage* | Associate Technical Lead | WSO2 Inc.

(m) +94-77-3522586 | (e) chan...@wso2.com

<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 Enterprise Integrator 6.3.0 RC2

2018-06-16 Thread Chanika Geeganage
Hi All,

I have tested the following scenarios

   - Basic tests on dataservices samples
   - Dataservices REST requests including batch requests with JSON
   - Dataservices tasks
   - JSON path eval in EI profile

[+] Stable - go ahead and release

Thanks

On Sat, Jun 16, 2018 at 3:09 PM, Nirothipan Mehalingam 
wrote:

> Hi all,
>
> I have tested the following,
>
>- Adding a new user and log in using newly created user.
>- Deploying a simple custom class mediator as an OSGi bundle and
>validating the flow.
>- Enabling debug logs via the management console.
>- Adding scheduled task via management console and via carbon apps.
>- Deploying carbon apps in micro-integrator profile and validating the
>deployments and the artifacts.
>- Adding inline throttle policy and validating the flow.
>
>
> [+] Stable - go ahead and release
>
> Thanks.
> Nirothipan
>
>
> On Sat, Jun 16, 2018 at 12:57 PM, Isuru Udana  wrote:
>
>> Hi All,
>>
>> Did basic tests of all artifact types in both Integrator and Micro
>> Integrator profiles using artifacts created from EI Tooling.
>>
>> [+] Stable - go ahead and release
>>
>> Thanks.
>>
>>
>> On Sat, Jun 16, 2018 at 12:07 PM Thishani Lucas 
>> wrote:
>>
>>> Hi All,
>>>
>>> Tested the following in both ESB profile and Micro Integrator profile.
>>>
>>>- Store and forward with scheduled forwarding processor and JMS
>>>message store in the Broker profile.
>>>- Sampling message processor.
>>>- JMS inbound endpoint.
>>>- File inbound endpoint (vfs).
>>>- Mail-To transport using a listener proxy.
>>>- Constructing and sending multipart form data.
>>>- Publishing stats to the Analytics profile.
>>>- Basic functionalities of some mediators and endpoints.
>>>
>>> [+] Stable - Go ahead and release.
>>>
>>> Thanks,
>>> Thishani
>>>
>>> On Sat, Jun 16, 2018 at 11:46 AM Lahiru Madushanka 
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> Tested the following
>>>>
>>>> Ubuntu Windows
>>>> Test EI micro-integrator EI + MI
>>>> JMS inbound endpoint ✓ ✓ ✓
>>>> JMS listener proxy ✓ ✓ ✓
>>>> JMS publisher proxy ✓ ✓ ✓
>>>> JMS message Store ✓ ✓ ✓
>>>> JMS transaction and rollback ✓ ✓
>>>> Message sampling processor ✓ ✓ ✓
>>>> Class mediator ✓ ✓ ✓
>>>> Data Mapper mediator (using CAPP) ✓ ✓
>>>>
>>>> Smoke test management console of all profiles in windows
>>>> ✓
>>>> [+] Stable - go ahead and release
>>>>
>>>> Thanks,
>>>> Lahiru
>>>>
>>>> On Sat, Jun 16, 2018 at 1:11 AM Malaka Gangananda 
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> We are pleased to announce the second release candidate of WSO2
>>>>> Enterprise Integrator 6.3.0.
>>>>>
>>>>> Known issues: https://github.com/wso2/product-ei/issues
>>>>>
>>>>> Source and binary distribution files: https://github.com/wso2/produc
>>>>> t-ei/releases/tag/v6.3.0-rc2
>>>>>
>>>>> The tag to be voted upon: https://github.com/wso2/produc
>>>>> t-ei/tree/v6.3.0-rc2
>>>>>
>>>>> Please vote as follows:
>>>>> [+] Stable - go ahead and release
>>>>> [-] Broken - do not release (explain why)
>>>>>
>>>>> ~The WSO2 Integration Team~
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>> --
>>>>> Malaka.
>>>>> --
>>>>> Malaka Gangananda - Software Engineer | WSO2
>>>>> Email : mala...@wso2.com
>>>>> Mobile : +94713564340
>>>>> Web : http://wso2.com
>>>>>   <http://wso2.com/signature>
>>>>> ___
>>>>> 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
>>>>
>>>
>>>
>>> --
>>> *Thishani Lucas*
>>> *Software Engineer*
>>> *WSO2 Lanka (Private) Limited**: http://wso2.com <http://wso2.com/>*
>>> *lean.enterprise.middle-ware*
>>>
>>> *Tel: +94 77 2556931 *
>>>
>>> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
>>> <https://www.linkedin.com/in/thishani-lucas/>*
>>>
>>>
>>> <http://wso2.com/signature>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>
>>
>> --
>> *Isuru Udana*
>> Senior Technical Lead
>> WSO2 Inc.; http://wso2.com
>> email: isu...@wso2.com cell: +94 77 3791887
>> blog: http://mytecheye.blogspot.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> M.Nirothipan
> Software Engineer
> WSO2 Inc. http://wso2.com ,
> *Mobile : +94 77 2172692*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-13 Thread Chanika Geeganage
Hi Sidath,

What is the DSS version? Is it EI? Also can you please attach the
dataservice config and a sample request to identify the issue?

Thanks

On Thu, Jun 14, 2018 at 9:12 AM, Sidath Weerasinghe 
wrote:

> Hi Devs,
>
> I wrote a DSS service in the WSO2 EI 6.1.1 and I got the following error.
>
> [2018-06-14 09:08:33,557] [EI-Core] ERROR - GsonXMLStreamReader Value type
> miss match, Expected value type - 'null', but found - 'STRING'
> [2018-06-14 09:08:33,563] [EI-Core] ERROR - ServerWorker Error processing
> POST reguest for : /services/test/applications/3. Error detail: Value type
> miss match, Expected value type - 'null', but found - 'STRING'.
> java.lang.IllegalArgumentException: Value type miss match, Expected value
> type - 'null', but found - 'STRING'
> at org.apache.axis2.json.gson.GsonXMLStreamReader.nextValue(Gso
> nXMLStreamReader.java:737)
> at org.apache.axis2.json.gson.GsonXMLStreamReader.readValue(Gso
> nXMLStreamReader.java:626)
> at org.apache.axis2.json.gson.GsonXMLStreamReader.stateTransiti
> on(GsonXMLStreamReader.java:532)
> at org.apache.axis2.json.gson.GsonXMLStreamReader.next(GsonXMLS
> treamReader.java:178)
> at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(St
> AXOMBuilder.java:681)
> at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu
> ilder.java:214)
> at org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSer
> ializableImpl.java:78)
> at org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementI
> mpl.java:722)
> at org.apache.axiom.om.impl.llom.OMElementImpl.detach(OMElement
> Impl.java:700)
> at org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImpl.java:105)
> at org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMEleme
> ntImpl.java:296)
> at org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMEleme
> ntImpl.java:212)
> at org.apache.axiom.soap.impl.llom.SOAPBodyImpl.addChild(SOAPBo
> dyImpl.java:231)
> at org.apache.axis2.json.gson.JSONMessageHandler.invoke(JSONMes
> sageHandler.java:84)
> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
> at org.apache.synapse.transport.passthru.ServerWorker.processNo
> nEntityEnclosingRESTHandler(ServerWorker.java:326)
> at org.apache.synapse.transport.passthru.ServerWorker.processEn
> tityEnclosingRequest(ServerWorker.java:372)
> at org.apache.synapse.transport.passthru.ServerWorker.run(Serve
> rWorker.java:151)
> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.r
> un(NativeWorkerPool.java:172)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
> Executor.java:1149)
> at java.util.concurrent.ThreadPoolExecut
>
> any idea for this ?
>
>
>
> --
> Thank You,
> Best Regards,
>
> Sidath Weerasinghe
> Senior Software Engineer
> M: +94719802550 | E: sid...@wso2telco.com
> Blog: https://medium.com/@sidath
> Linkedin: https://lk.linkedin.com/in/sidathweerasinghe
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Enterprise Integrator 6.3.0-M8 Released !!!

2018-05-10 Thread Chanika Geeganage
The WSO2 Integration team is pleased to announce the release of Enterprise
Integrator 6.3.0-M8. It is available for download here
<https://github.com/wso2/product-ei/releases/download/v6.3.0-m8/wso2ei-6.3.0-m8.zip>
.

*Tasks/Bug Fixes and Improvements*

   - https://github.com/wso2/product-ei/milestone/39?closed=1


*Issues*

   - https://github.com/wso2/product-ei/issues?q=is%3Aopen+is%3Aissue
   - https://github.com/wso2/devstudio-tooling-ei/issues?q=is%3Ao
   pen+is%3Aissue
   - https://wso2.org/jira/issues/?filter=13994



*Documentation*

   - https://docs.wso2.com/display/EI6xx/WSO2+Enterprise+Integrat
   or+Documentation


*How To Contribute*
Your feedback is most welcome!

*Reporting Issues​*

We encourage you to report issues, improvements and feature requests
regarding WSO2 Integrator through WSO2 EI GIT Issues
<https://github.com/wso2/product-ei/issues>.

*Mailing Lists*

Join our mailing lists and correspond with the developers directly.

Developer List : dev@wso2.org | Subscribe | Mail Archive
<http://mail.wso2.org/mailarchive/dev/>

WSO2 Architecture List: architect...@wso2.org

User Forum : StackOverflow <https://stackoverflow.com/tags/wso2/info>

~ The WSO2 Integration Team ~


-- 
Best Regards..

Chanika Geeganage
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Enterprise Integrator 6.3.0-M7 Released !!!

2018-05-03 Thread Chanika Geeganage
The WSO2 Integration team is pleased to announce the release of Enterprise
Integrator 6.3.0-M7. It is available for download here
<https://github.com/wso2/product-ei/releases/download/v6.3.0-m7/wso2ei-6.3.0-m7.zip>
.

*Tasks/Bug Fixes and Improvements*

   - https://github.com/wso2/product-ei/milestone/38?closed=1


*Issues*

   - https://github.com/wso2/product-ei/issues?q=is%3Aopen+is%3Aissue
   - https://github.com/wso2/devstudio-tooling-ei/issues?q=is%3Ao
   pen+is%3Aissue
   - https://wso2.org/jira/issues/?filter=13994



*Documentation*

   - https://docs.wso2.com/display/EI6xx/WSO2+Enterprise+Integrat
   or+Documentation


*How To Contribute*
Your feedback is most welcome!

*Reporting Issues​*

We encourage you to report issues, improvements and feature requests
regarding WSO2 Integrator through WSO2 EI GIT Issues
<https://github.com/wso2/product-ei/issues>.

*Mailing Lists*

Join our mailing lists and correspond with the developers directly.

Developer List : dev@wso2.org | Subscribe | Mail Archive
<http://mail.wso2.org/mailarchive/dev/>

WSO2 Architecture List: architect...@wso2.org

User Forum : StackOverflow <https://stackoverflow.com/tags/wso2/info>

~ The WSO2 Integration Team ~


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Enterprise Integrator 6.3.0-M5 Released!

2018-04-19 Thread Chanika Geeganage
The WSO2 Integration team is pleased to announce the release of Enterprise
Integrator 6.3.0-M5. It is available for download here
<https://github.com/wso2/product-ei/releases/download/v6.3.0-m5/wso2ei-6.3.0-m5.zip>
.

*Tasks/Bug Fixes and Improvements*

   - https://github.com/wso2/product-ei/milestone/37?closed=1


*Issues*

   - https://github.com/wso2/product-ei/issues?q=is%3Aopen+is%3Aissue
   - https://github.com/wso2/devstudio-tooling-ei/issues?q=is%
   3Aopen+is%3Aissue
   - https://wso2.org/jira/issues/?filter=13994


*Documentation*

   - https://docs.wso2.com/display/EI620/WSO2+Enterprise+Integrat
   or+Documentation


*How To Contribute*
Your feedback is most welcome!

*Reporting Issues​*

We encourage you to report issues, improvements and feature requests
regarding WSO2 Integrator through WSO2 EI GIT Issues
<https://github.com/wso2/product-ei/issues>.

*Mailing Lists*

Join our mailing lists and correspond with the developers directly.

Developer List : dev@wso2.org | Subscribe | Mail Archive
<http://mail.wso2.org/mailarchive/dev/>

WSO2 Architecture List: architect...@wso2.org

User Forum : StackOverflow <https://stackoverflow.com/tags/wso2/info>

~ The WSO2 Integration Team ~


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Null value validator in DSS

2018-04-06 Thread Chanika Geeganage
+dev@wso2.org

Hi Laslo,

There are certain validators you can define for input parameter as listed
in [1]. There is no null validator as such, but you can write a custom
validator. This just validate the input parameter before executing the
query, but there is no way to change the result set.

For your usecase I would suggest to configure the query with a QUERY_STRING
parameter [2], where it allows you to pass a part of the query in the
runtime. For an example, the query would be,


  select * from Inventory :filterQuery
  
 
 ..
  
  
   

 Then at the run time you can pass either the were clause or 'LIMIT 5' to
filter out the top 5. If you pass an empty parameter it will retrieve all
the entries.

[1]
https://docs.wso2.com/display/DSS310/Adding+Input+Mappings#AddingInputMappings-Validators
[2] https://docs.wso2.com/display/DSS310/Defining+a+Dynamic+SQL+Query

On Sat, Apr 7, 2018 at 12:43 AM, Laslo Pastor  wrote:

> Hi
>
> I have some question about optional parameters in DSS.
> I saw according to documentation[1] that we can set default value to
> parameter but I wandering is there any way to check null value for given
> parameter aka Null validator?
>
> use case scenario :
> Select top 5 * from Inventory where code = @param OR @param IsNULL
>
> so if Im passing the @param it will return one row if @param is null it
> will return top 5 rows
>
>
> [1] https://docs.wso2.com/display/DSS310/Adding+Input+Mappings
>
> --
>
>
> *Laslo Pastor*Associate Director,
> Solution Architecture, WSO2 Inc.
>
> M: US: +1 281 542 3173 <2815423173>
> LinkedIn: https://www.linkedin.com/in/pastorlaslo/
> Skype: lpastor74
>



-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Not able to split file using wso2 fileConnector

2018-03-27 Thread Chanika Geeganage
Hi Aditya,

This proxy service will not poll files iteratively, like vfs transport.
Have you invoked the proxy service to do the file operation (ie. split)
over HTTP/HTTPS?

Thanks

On Wed, Mar 28, 2018 at 8:52 AM, Shakila Sasikaran  wrote:

> Hi Aditya,
>
> Could you please attach the source file and the log file
> (repository/logs/wso2carbon.log) for the investigation?
>
> Thanks
>
> On Tue, Mar 27, 2018 at 10:26 PM, aditya shivankar <
> shivankar.adit...@gmail.com> wrote:
>
>> Respected Madam/Sir,
>>
>> Pointed the source to the file " file:///C:/Flatfile/FileConnIn
>> put/inputfor_writeToDb1.xml " . But still the file is not getting
>> processed. Please guide.
>>
>> 
>> http://ws.apache.org/ns/synapse";>
>> 
>> 
>> > value="file:///C:/Flatfile/FileConnOutput"/>
>> > value="file:///C:/Flatfile/FileConnInput/inputfor_writeToDb1.xml"/>
>> > type="STRING" value="//catalog/book"/>
>> 
>> {$ctx:source}
>> {$ctx:destination}
>> 4096
>> {$ctx:xpathExpression}
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> With Regards,
>> Aditya
>>
>>
>> On Mon, Mar 26, 2018 at 6:02 PM, Shakila Sasikaran 
>> wrote:
>>
>>> Hi Aditya,
>>>
>>> Please point the file as the source. For example
>>> *"source":"/home/vive/Desktop/file/outTest/sample.txt"*.
>>>
>>> Thanks
>>>
>>> On Mon, Mar 26, 2018 at 3:49 PM, aditya shivankar <
>>> shivankar.adit...@gmail.com> wrote:
>>>
>>>> Respected Madam/Sir,
>>>>
>>>> Changed the  transport from 'vfs' to "http https". Still the proxy is
>>>> not able to poll the file from source location. Please guide.
>>>> I have placed a file at  C:/Flatfile/FileConnInput  . but it is not
>>>> getting polled and not triggereing the flow.
>>>>
>>>> 
>>>> http://ws.apache.org/ns/synapse";>
>>>> 
>>>> 
>>>> >>> value="file:///C:/Flatfile/ "/>
>>>> >>> value="file:///C:/Flatfile/FileConnInput"/>
>>>> >>> type="STRING" value="//catalog/book"/>
>>>> 
>>>> {$ctx:source}
>>>> {$ctx:destination}
>>>> 4096
>>>> {$ctx:xpathEx
>>>> pression}
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>
>>>> With Regards,
>>>> Aditya
>>>>
>>>>
>>>>
>>>> On Mon, Mar 26, 2018 at 2:16 PM, Chanika Geeganage 
>>>> wrote:
>>>>
>>>>> Hi Aditya,
>>>>>
>>>>> The error has come from VFSTransportListener as you have set the
>>>>> transport as 'vfs', but there are no vfs endpoint configured. Since you 
>>>>> are
>>>>> using file connector, you can use transports such as http/ https. A sample
>>>>> can be found from [1]
>>>>>
>>>>> [1] https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the
>>>>> +File+Connector#WorkingwiththeFileConnector-sampleconfigurat
>>>>> ionSampleconfiguration
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Mon, Mar 26, 2018 at 1:58 PM, aditya shivankar <
>>>>> shivankar.adit...@gmail.com> wrote:
>>>>>
>>>>>> Respected Sir,
>>>>>>
>>>>>> Please find the screenshot of Faulty proxy service in console.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> With Regards,
>>>>>> Aditya
>>>>>>
>>>>>>
>>>>>> On Mon, Mar 26, 2018 at 1:47 PM, aditya shivankar <
>>>>>> shivankar.adit...@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>> Respected Sir,
>>>>>>>
>>>>>>> I a

Re: [Dev] Not able to split file using wso2 fileConnector

2018-03-26 Thread Chanika Geeganage
Hi Aditya,

The error has come from VFSTransportListener as you have set the transport
as 'vfs', but there are no vfs endpoint configured. Since you are using
file connector, you can use transports such as http/ https. A sample can be
found from [1]

[1]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the+File+Connector#WorkingwiththeFileConnector-sampleconfigurationSampleconfiguration

Thanks

On Mon, Mar 26, 2018 at 1:58 PM, aditya shivankar <
shivankar.adit...@gmail.com> wrote:

> Respected Sir,
>
> Please find the screenshot of Faulty proxy service in console.
>
>
>
>
>
> With Regards,
> Aditya
>
>
> On Mon, Mar 26, 2018 at 1:47 PM, aditya shivankar <
> shivankar.adit...@gmail.com> wrote:
>
>>
>> Respected Sir,
>>
>> I am trying to split a file using file connector
>>
>> Below is my FileConnector Proxy :
>>
>> 
>> > xmlns="http://ws.apache.org/ns/synapse";>
>> 
>> 
>> > value="file:///C:/Flatfile/ "/>
>> > value="file:///C:/Flatfile/FileConnInput"/>
>> > type="STRING" value="//catalog/book"/>
>> 
>> {$ctx:source}
>> {$ctx:destination}
>> 4096
>> {$ctx:xpathExpression}
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> I added the fileconnector following below link in wso2ei server.
>> https://docs.wso2.com/display/ESB490/Managing+Connectors+in+
>> Your+ESB+Instance
>>
>> To add a connector:
>> On the Main tab in the ESB Management Console, under Connectors click Add.
>> Click Browse, specify the ZIP file, and click Open.
>> Click Upload.
>> The connector will now appear in the Connectors list and is ready to be
>> enabled in your ESB instance.
>>
>> To enable a connector:
>> On the Main tab in the ESB Management Console, under Connectors click
>> List to view the uploaded connectors.
>> Click Enable next to a connector you want to enable, and then confirm
>> that you want to change its status. Repeat this step for each connector you
>> want to enable.
>>
>> While deploying the application it is giving me the following error.
>>
>> [2018-03-26 13:29:10,334] [EI-Core] ERROR - VFSTransportListener Unable
>> to stop service : FileConnectorProxy - unable to find the corresponding
>> protocol endpoint
>>
>> and the application gets deployed as the faulty application .
>>
>> [2018-03-26 13:29:10,533] [EI-Core]  INFO - ApplicationManager
>> Successfully Deployed Carbon Application : 
>> FileConnectorAppCompositeApplication_1.0.0
>> {super-tenant}
>>
>> It is not able to pick the file from "FileConnInput" folder.
>> Please find attached error logs.
>> Please guide.
>>
>> With Regards,
>> Aditya
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Test failure in axis2 transport when the axis2 version is upgraded

2018-03-12 Thread Chanika Geeganage
Yes, due to this issue, we had to go with 1.6.1-wso2v23 and kernel is
released with 1.6.1-wso2v23

On Tue, Mar 13, 2018 at 12:08 PM, Chamalee De Silva 
wrote:

> Hi Chanika,
> Does it mean that the a downgrade to 1.6.1-wso2v23 or going for a newer
> version ?
>
>
>
>
>
> On Wed, Mar 7, 2018 at 5:24 PM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> I tried to upgrade the axis2 version (1.6.1-wso2v24) in
>> wso2-axis2-transport repo. I'm getting the following test failures in the
>> JMS transport test cases.
>>
>> org.apache.axis2.AxisFault: Did not receive a JMS response within 3
>> ms to destination : direct://amq.direct/TempQueue3
>> 347121a-c9c8-44dc-b1c6-1df603d7d02c/tmp_8af87fef-ddef-4eb9-
>> 9655-945482ad6941?exclusive='true'&autodelete='true' with JMS
>> correlation ID : ID:94912946-a240-4c95-b21b-f886c0aa9437
>> at org.apache.axis2.transport.base.AbstractTransportSender.hand
>> leException(AbstractTransportSender.java:234)
>> at org.apache.axis2.transport.jms.JMSSender.waitForResponseAndP
>> rocess(JMSSender.java:415)
>> at org.apache.axis2.transport.jms.JMSSender.sendOverJMS(JMSSend
>> er.java:349)
>> at org.apache.axis2.transport.jms.JMSSender.sendMessage(JMSSend
>> er.java:205)
>> at org.apache.axis2.transport.base.AbstractTransportSender.invo
>> ke(AbstractTransportSender.java:119)
>> at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:525)
>> at org.apache.axis2.transport.base.AbstractTransportListener.ha
>> ndleIncomingMessage(AbstractTransportListener.java:336)
>> at org.apache.axis2.transport.jms.JMSMessageReceiver.processTho
>> ughEngine(JMSMessageReceiver.java:214)
>> at org.apache.axis2.transport.jms.JMSMessageReceiver.onMessage(
>> JMSMessageReceiver.java:124)
>> at org.apache.axis2.transport.jms.ServiceTaskManager$MessageLis
>> tenerTask.handleMessage(ServiceTaskManager.java:645)
>> at org.apache.axis2.transport.jms.ServiceTaskManager$MessageLis
>> tenerTask.run(ServiceTaskManager.java:526)
>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.r
>> un(NativeWorkerPool.java:172)
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Executor.java:1142)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.java:617)
>> at java.lang.Thread.run(Thread.java:745)
>>
>> Only the following PRs were merged after 1.6.1-wso2v23 release in axis2.
>> If I reverted the fix [1] and tests were passed.
>>
>> [1] https://github.com/wso2/wso2-axis2/pull/127/files
>> [2] https://github.com/wso2/wso2-axis2/pull/132/files
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> +94773522586 <+94%2077%20352%202586>
>> WSO2, Inc.; http://wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Chamalee De Silva*
> Senior Software Engineer
> *WS**O2* Inc. :http://wso2.com/
>
> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Query Regarding the wso2 identity server and API manager configuration

2018-03-07 Thread Chanika Geeganage
Hi Monika,

It looks like a configuration issue. Please follow [1] for the APIM 2.1.0
to configure IS as a key manager. You can check the API Manager management
console whether the SP is added correctly. For that go to Main -> Service
Providers. If it is there, the SP provider is not visible in the IS
management console can be due to a configuration issue (ie. not sharing
databases mentioned in the doc). If the SP is not in management console
that means the consumer key, secret pair is not generated for the
particular application

[1]
https://docs.wso2.com/display/AM210/Configuring+WSO2+Identity+Server+as+a+Key+Manager

Thanks

On Thu, Mar 8, 2018 at 8:50 AM, Monika Sharma 
wrote:

> Hello sir,
>
>
>
> I have query regarding the wso2 identity server and API manager
> configuration. I have followed your article “[Article] How to Generate API
> Manager Access Tokens Using Multi-Factor Authentication” refer link as below
>
> https://wso2.com/library/articles/2015/09/article-how-
> to-generate-api-manager-access-tokens-using-multi-factor-authentication/
>  .
>
> My wso2 identity server version is 5.3.0 and API manager version is 2.1.0.
>
> According to this document application that is created by the API store of
> wso2 API manager should be displayed in the wso2 identity server in service
> provider section but this application is displayed in wso2 API manger
> service provider section it is not displayed in identity server service
> provider section .I have followed the below steps.
>
>
>
> 1.   Configured the wso2 identity server as key manager for wso2 API
> manager.
>
> 2.   Create and publish an API in the API manager in the publisher
> web app
>
> 3.   Open the API Store Web application in a browser and click the
> sign-up link that appears in the top, right-hand corner of the window, fill
> the sign-up form that appears and click the Submit button. Before this I
> have added this user in wso2 API manager and assign role as
> internal/publisher.
>
> 4.   Login to the store web application as the signed-up user. Create
> an application in the store application of the API manager and subscribe to
> the published API using the created application.
>
> 5.   Generate consumer key consumer secret pair for that application.
>
> 6.   I have login the identity serve and list down the service
> providers. Created application is not listed as a service provider.
>
> Please let me know which configuration is required for this.
>
>
>
> Thanks & Regards
>
> Monika Sharma
>
>
>



-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Test failure in axis2 transport when the axis2 version is upgraded

2018-03-07 Thread Chanika Geeganage
Hi,

I tried to upgrade the axis2 version (1.6.1-wso2v24) in
wso2-axis2-transport repo. I'm getting the following test failures in the
JMS transport test cases.

org.apache.axis2.AxisFault: Did not receive a JMS response within 3 ms
to destination : direct://amq.direct/TempQueue3347121a-c9c8-44dc-
b1c6-1df603d7d02c/tmp_8af87fef-ddef-4eb9-9655-945482ad6941?exclusive='true'&autodelete='true'
with JMS correlation ID : ID:94912946-a240-4c95-b21b-f886c0aa9437
at org.apache.axis2.transport.base.AbstractTransportSender.
handleException(AbstractTransportSender.java:234)
at org.apache.axis2.transport.jms.JMSSender.waitForResponseAndProcess(
JMSSender.java:415)
at org.apache.axis2.transport.jms.JMSSender.sendOverJMS(
JMSSender.java:349)
at org.apache.axis2.transport.jms.JMSSender.sendMessage(
JMSSender.java:205)
at org.apache.axis2.transport.base.AbstractTransportSender.invoke(
AbstractTransportSender.java:119)
at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:525)
at org.apache.axis2.transport.base.AbstractTransportListener.
handleIncomingMessage(AbstractTransportListener.java:336)
at org.apache.axis2.transport.jms.JMSMessageReceiver.
processThoughEngine(JMSMessageReceiver.java:214)
at org.apache.axis2.transport.jms.JMSMessageReceiver.
onMessage(JMSMessageReceiver.java:124)
at org.apache.axis2.transport.jms.ServiceTaskManager$
MessageListenerTask.handleMessage(ServiceTaskManager.java:645)
at org.apache.axis2.transport.jms.ServiceTaskManager$
MessageListenerTask.run(ServiceTaskManager.java:526)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$
1.run(NativeWorkerPool.java:172)
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)

Only the following PRs were merged after 1.6.1-wso2v23 release in axis2. If
I reverted the fix [1] and tests were passed.

[1] https://github.com/wso2/wso2-axis2/pull/127/files
[2] https://github.com/wso2/wso2-axis2/pull/132/files

-- 
Best Regards..

Chanika Geeganage
+94773522586 <+94%2077%20352%202586>
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Announce] [Architecture] WSO2 Enterprise Integrator 6.1.1-update23 Released !

2018-02-28 Thread Chanika Geeganage
The WSO2 Integration team is pleased to announce the release of Enterprise
Integrator 6.1.1-update23. It is available for download here
<https://github.com/wso2/product-ei/releases/download/v6.1.1-update23/wso2ei-6.1.1-update23.zip>
.


*Tasks/Bug Fixes and Improvements*

   - https://github.com/wso2/product-ei/milestone/31?closed=1
   - https://wso2.org/jira/issues/?filter=14527


*Issues*

   - https://wso2.org/jira/issues/?filter=13994
   - https://github.com/wso2/product-ei/issues?q=is%3Aopen+is%3Aissue


*Documentation*

   - https://docs.wso2.com/display/EI611/WSO2+Enterprise+Integrat
   or+Documentation


*How To Contribute*

Your feedback is most welcome!

* Reporting Issues​*

We encourage you to report issues, improvements and feature requests
regarding WSO2 Integrator through WSO2 EI GIT Issues
<https://github.com/wso2/product-ei/issues>.

* Mailing Lists*

Join our mailing lists and correspond with the developers directly.

Developer List : dev@wso2.org | Subscribe | Mail Archive

WSO2 Architecture List: architect...@wso2.org

User Forum : StackOverflow <https://stackoverflow.com/tags/wso2/info>

~ The WSO2 Integration Team ~

Thanks,


-- 
Best Regards..

Chanika Geeganage
+94773522586 <+94%2077%20352%202586>
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Writing xml response from data service into file in local server.

2018-02-26 Thread Chanika Geeganage
Hi Aditya,

You have to call the dataservice from a synapse configuration (ie. proxy
service/API). In there after you call the dataservice, you can write to a
file using mediation logic such as using file connector [1], vfs transport
[2]

[1] https://docs.wso2.com/display/ESBCONNECTORS/Working+with+
the+File+Connector
[2] https://docs.wso2.com/display/EI611/VFS+Transport

Thanks

On Mon, Feb 26, 2018 at 2:42 PM, aditya shivankar <
shivankar.adit...@gmail.com> wrote:

> Hi sir,
> I have created a data service which reads the record in the table and
> converts it into xml which is exposed as soap web service.
>
> sample output I achieved is:
>
> http://www.w3.org/2003/05/soap-envelope";>
>
>   http://www.my1stdataservice.com";>
>  
> bk100
> J K Rowling
> Harry Potter
> Fictional
> 2000
> 2000-01-31+05:30
> Story of Mr Potter
>  
>  
> bk200
> Great Expectation
> Charles Dickens
> Novel
> 800
> 1861-05-02+05:30
> Depicts the personal growth and personal
> development of an orphan
>  
>   
>
> 
>
>
>
> but instead of exposing it as soap webservice , i need to write ouput xml
> in a file. How do i do it in dataservice.
> or If i need to call dataservice from proxy service in esb, how do i do
> it. Please guide.
>
> With Regards,
> Aditya
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Not able to write esb processed file to a folder at remote location. Please guide.

2018-02-22 Thread Chanika Geeganage
Hi Aditya,

You need to have write access to this folder to create a file. Can you
check the permissions given for the user in this location. And also to find
out the absolute path in windows for FTP, [1] might be helpful.

[1]
https://superuser.com/questions/1103547/how-to-form-ftp-url-using-absolute-path-in-windows

Thanks

On Thu, Feb 22, 2018 at 3:24 PM, aditya shivankar <
shivankar.adit...@gmail.com> wrote:

>
> I am able to access the remote folder using same credentials and ftp
> protocol in Filezilla.
> Since I am using the same credentials , I think I have the permissions.
>
> With Regards,
> Aditya
>
> On Thu, Feb 22, 2018 at 3:15 PM, Himasha Guruge  wrote:
>
>> Hi Aditya,
>>
>> Please note below extraction from [1]. Therefore make sure proper
>> permissions are set. Are you receiving any error logs on this?
>>
>>  "When you transfer a file to a remote FTP location via VFS, the ESB
>> tries to detect the FTP location by navigating from the root folder first.
>> If the ESB does not  have  at least list permission  to the root (/), the
>> file transfer fails."
>>
>>
>> [1] https://docs.wso2.com/display/EI611/VFS+Transport
>>
>> Thanks,
>> Himasha
>>
>> On Thu, Feb 22, 2018 at 2:30 PM, aditya shivankar <
>> shivankar.adit...@gmail.com> wrote:
>>
>>> I wrote a application which is now able to poll files from  "input"
>>> folder on my local machine and put the esb processed files in "output
>>> folder" on my local machine.
>>>
>>> Code which worked for me for Flatfile(putting processed files to folder
>>> on local machine) is below
>>>
>>> 
>>> http://ws.apache.org/ns/synapse";>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> >> type="STRING" value="true"/>
>>> >> type="STRING" value=""/>
>>> >> inputSchema="gov:datamapper/xmlToCsv1_inputSchema.json" inputType="XML"
>>> outputSchema="gov:datamapper/xmlToCsv1_outputSchema.json"
>>> outputType="CSV"/>
>>> 
>>> 
>>> 
>>> >> name="transport.vfs.ReplyFileName" scope="transport" type="STRING"/>
>>> >> value="true"/>
>>> >> value="application/csv"/>
>>> 
>>> 
>>> ftp://username:password@w
>>> indowsServerIp/output"/>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 15
>>> f
>>> ile:///C:/Flatfile/input
>>> application/xml
>>> MOVE
>>> file:///C:/Flatfile/failure
>>> MOVE
>>> .*\.xml
>>> file:///C:/Flatfile/orgFilesProcessedSuccessfully
>>> 
>>>
>>>
>>> I am trying to modify it to write files in an "output" folder on a
>>> windows server, to which I have access. But it is not working for me.
>>> I tried changing the send block few times like below.
>>> --
>>> 1. 
>>>   
>>>   ftp://username:password@w
>>> indowsServerIp/output"/>
>>>   
>>>   
>>> --
>>> 2.
>>> 
>>>   
>>>   ftp://username:password@w
>>> indowsServerIp/D:/output"/>
>>>   
>>> 
>>> --
>>>
>>> In above send block while running the code , I replaced below keys like
>>>
>>> username : my username for windows server , with which I can connect to
>>> windows using ftp protocol in filezilla
>>>
>>> password : my password for windows server , with which I can connect to
>>> windows using ftp protocol in filezilla
>>>
>>> windowsServerIp : Ip of windows service machine.
>>>
>>> Please guide.
>>>
>>> With Regards,
>>> Aditya
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Himasha Guruge
>> Senior Software Engineer
>> WS*O2* *Inc.*
>> Mobile: +94 777459299 <+94%2077%20745%209299>
>> himas...@wso2.com
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Difference between SESSION_TRANSACTED Ack Mode and transport.jms.SessionTransacted property

2018-01-03 Thread Chanika Geeganage
According to the spec, if session transacted, the session should be
committed/ rollback. But in our code we set isTransacted flag to true only
if transport.jms.SessionTransacted is set, but not when the acknowledge
mode is set to SESSION_TRANSACTED, and therefore session commit/rollback
happens only when transport.jms.SessionTransacted is set [1]. Do we have to
change that logic to commit/rollback when the acknowledge mode is set to
SESSION_TRANSACTED also?

[1]
https://github.com/wso2/carbon-mediation/blob/master/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/jms/JMSPollingConsumer.java#L236




On Wed, Jan 3, 2018 at 11:00 AM, Asanka Abeyweera  wrote:

> Hi Heshitha,
>
> There are two methods we can use to create a transacted session in JMS,
>
>1. createSession(boolean transacted, int acknowledgeMode)- you can set
>the transacted parameter to true to create a transacted session.
>Acknowledge mode is ignored when the transacted parameter is set to true.
>2. createSession(int sessionMode) - you can use SESSION_TRANSACTED as
>acknowledge mode to create a transacted session. AFAIK this method is
>only vailable in JMS 2.
>
> You can use either of the methods depending on the JMS version used and
> the behaviuor should be similar.
>
> On Wed, Jan 3, 2018 at 10:06 AM, Heshitha Hettihewa 
> wrote:
>
>> Hi,
>>
>> Inside JMS inbound endpoint code base there is a ack mode for
>> SESSION_TRANSACTED [1] as well as transport.jms.SessionTransacted
>> property[2]. In JMS specs(in 1.0, 1.1 and 2.0) SESSION_TRANSACTED ack mode
>> is not defined. But this is used in Java JMS api [3]. Are these two methods
>> used for the same purpose?. Or is there any difference?.
>>
>> [1]. https://github.com/wso2/carbon-mediation/blob/master/compone
>> nts/inbound-endpoints/org.wso2.carbon.inbound.endpoint/
>> src/main/java/org/wso2/carbon/inbound/endpoint/protocol/jms/
>> factory/JMSConnectionFactory.java#L155
>> [2]. https://github.com/wso2/carbon-mediation/blob/master/compone
>> nts/inbound-endpoints/org.wso2.carbon.inbound.endpoint/
>> src/main/java/org/wso2/carbon/inbound/endpoint/protocol/jms/
>> factory/JMSConnectionFactory.java#L138
>> [3]. https://docs.oracle.com/javaee/7/api/javax/jms/Session.html#
>> SESSION_TRANSACTED
>>
>> Thanks,
>> Heshitha.
>> --
>> Heshitha Hettihewa
>> *Software Engineer*
>> Mobile : +94716866386
>> <%2B94%20%280%29%20773%20451194>
>> heshit...@wso2.com
>>
>
>
>
> --
> Asanka Abeyweera
> Associate Technical Lead
> WSO2 Inc.
>
> Phone: +94 712228648 <+94%2071%20222%208648>
> Blog: a5anka.github.io
>
> <https://wso2.com/signature>
>



-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Architecture] WSO2 Enterprise Integrator 6.1.1-update14 Released !

2017-12-21 Thread Chanika Geeganage
Hi all,

The WSO2 Integration team is pleased to announce the release of Enterprise
Integrator 6.1.1-update14. It is available for download from here
<https://github.com/wso2/product-ei/releases/download/v6.1.1-update14/wso2ei-6.1.1-update14.zip>
.


*Tasks/Bug Fixes and Improvements*

<http://goog_1240012035/>
https://wso2.org/jira/browse/ESBJAVA-3671?filter=14494
<https://wso2.org/jira/issues/?filter=14494>

<http://goog_1317519288>
https://github.com/wso2/product-ei/issues?utf8=%E2%9C%
93&q=is%3Aissue+is%3Aclosed+milestone%3A6.1.1-update-14
<https://github.com/wso2/product-ei/issues?q=is%3Aissue+is%3Aclosed+milestone%3A6.1.1-update-13>


*​​List of Open Issues*

https://wso2.org/jira/issues/?filter=13994

https://github.com/wso2/product-ei/issues?q=is%3Aopen+is%3Aissue


*Documentation*

https://docs.wso2.com/display/EI611/WSO2+Enterprise+Integrator+Documentation


*Mailing Lists*

Join our mailing lists and correspond with the developers directly.

Developer List : dev@wso2.org | Subscribe | Mail Archive

WSO2 Architecture List: architect...@wso2.org

User Forum : StackOverflow <https://stackoverflow.com/tags/wso2/info>


*How To Contribute*

Your feedback is most welcome!


*Reporting Issues​*

We encourage you to report issues, improvements and feature requests
regarding WSO2 Integrator through WSO2 EI GIT Issues
<https://github.com/wso2/product-ei/issues>.

~ The WSO2 Integration Team ~


-- 
Best Regards..

Chanika Geeganage
+94773522586 <+94%2077%20352%202586>
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB -DSS] Issue on sending emails.

2017-12-14 Thread Chanika Geeganage
According to the configuration the email is sent only if the value passed
for ENGINE_CAPACITY is less than 10. As Praminda said do you observe any
exceptions in logs? If so can you please post them.,

On Fri, Dec 15, 2017 at 9:25 AM, Praminda Jayawardana 
wrote:

> Hi Senuwan,
>
> Do you get any errors when trying to send an email? If you get
> authentication errors you should use app password [1] for the axis2 email
> configuration.
>
> [1]: https://security.google.com/settings/security/apppasswords
>
> Thanks,
> Praminda
>
> On Thu, Dec 14, 2017 at 9:26 PM, Senuwan Withana  wrote:
>
>> Hi Team,
>>
>> When  the user adds some value(s) into the back end I want to send an
>> email to some other users like managers etc.
>>
>> In order to do below scenario I have used WSO2 EI DSS service.  I have
>> tried out the scenario give on documentation [1], but email have not
>> generated.
>>
>>
>> Please give me suggestion to over come this issue.
>>
>>
>>   
>>   /AddDetails/ENGINE_CAPACITY<10
>>   new_order
>>   
>>  mailto:x...@wso2.com
>>  mailto:m...@gmail.com
>>   
>>
>>
>>
>>
>> [1] - https://docs.wso2.com/display/EI600/Receiving+Notification
>> s+from+Data+Services
>>
>>
>>
>> Furthermore I wan to clarify my x path as well.
>>
>>
>> Thanks.
>>
>> *Senuwan Withana*
>> Software Engineer - Support Team | WSO2
>>
>> Email : senu...@wso2.com
>> Mobile: 94773212853
>> Web: http://www.wso2.com
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Praminda Jayawardana*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> Mobile : +94 (0) 716 590918 <+94%2071%20659%200918>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while configuring email notification in WSO2 DSS

2017-12-12 Thread Chanika Geeganage
Since this is an authentication failure, this might be because of gmail
account protection. To avoid that, you have to make your gmail account less
secure. You can do that from following link

https://www.google.com/settings/security/lesssecureapps

On Wed, Dec 13, 2017 at 12:11 PM, Piriya Sivalingam  wrote:

> Hi,
>
> I am trying to configure email notification scenario in WSO2 DSS. I have
> generated a data service in DSS for exposing data in a database, and when a
> request to that data service triggers an event the subscribers to that
> event should receive an email notification. The use case is when I invoke
> the data service the data should be added to the database and at the same
> time the respective subscribers should receive a mail notification.
>
> The steps I followed are:
>
>- I configured the mailto transport sender in axis2_Client.xml file
>located in /repository/conf/axis2 folder.
>- In the insert query I added an event for identifying an
>event_trigger used in the data service.
>- I configured the Xpath accordingly for the response message, and
>when this evaluation becomes true the event will be triggered.
>- I configured the Event sink URL as well.
>
> When I invoke the service I found the following exception logged in the
> console:
>
> ERROR {org.apache.axis2.transport.mail.MailTransportSender} -  Error
> creating mail message or sending it to the configured server
> {org.apache.axis2.transport.mail.MailTransportSender}
> javax.mail.AuthenticationFailedException
>
> Can you please suggest whether there is anything wrong with my
> configuration?
> The document I referred is [1].
>
> [1] https://docs.wso2.com/display/DSS351/Receiving+
> Notifications+from+Data+Services
>
> Thanks,
> Piriya
>
> Regards,
>
> *Piriya Sivalingam*
>
> *Software Engineer - Support Team*
>
> *WSO2*
> *Mobile : +94 77 8462039 <+94%2077%20846%202039>*
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Expose the data as webservices

2017-12-12 Thread Chanika Geeganage
What do you mean by 'unable to access data from database'? Do you see any
errors in the logs?

On Tue, Dec 12, 2017 at 4:53 PM, Dilusha Alphonso  wrote:

> Hi All,
>
> I followed [1] this step of the link. My service is working fine. I am
> unable to access the data from the database. But when I followed that [2]
> this link, my service is not working. I could not connect to the data
> source.I have attached the screenshot also.
>
>
> [1].https://wso2.com/library/tutorials/2015/05/tutorial-host
> ing-restful-web-services-using-oauth-with-the-wso2-platform-0/
> [2]..https://wso2.com/library/articles/2015/02/how-to-write-
> a-web-application-backed-by-wso2-middleware-part-1/
>
> Thanks
> Dilusha
>
>
>
> On Fri, Dec 8, 2017 at 4:26 PM, Piriya Sivalingam  wrote:
>
>> Hi Dilusha,
>>
>> Since it is not mentioned in the document that you attached, have you
>> copied the MySQL connector jar to /repository/components/lib/
>> directory. If not could you please do it.
>> And I have tried exposing RDBMS as a dataservice using WSO2 DSS using the
>> below documentation and it works fine.
>>
>> [1] https://wso2.com/library/tutorials/2015/05/tutorial-host
>> ing-restful-web-services-using-oauth-with-the-wso2-platform-0/
>>
>> Regards,
>> Piriya
>>
>> On Fri, Dec 8, 2017 at 11:47 AM, Samitha Chathuranga 
>> wrote:
>>
>>> Hi Dilusha,
>>>
>>> On Fri, Dec 8, 2017 at 10:03 AM, Dilusha Alphonso 
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> According to my scenario, I have the database. I have to expose that
>>>> data as web services. For that, I am using WSO2 DSS ( Data Service Server)
>>>> and followed that step of this document [1].
>>>>
>>>
>>>
>>>> But I could not deploy service on the server.
>>>>
>>> What do you mean by that you couldn't? Any alert displayed? Or after
>>> which step you stuck?
>>>
>>>>
>>>>  Can anyone please help on this or suggest If I am doing wrong.
>>>>
>>>> [1].https://wso2.com/library/articles/2015/02/how-to-write-a
>>>> -web-application-backed-by-wso2-middleware-part-1/
>>>>
>>>>
>>>> Thanks
>>>> Dilusha
>>>>
>>>>
>>>>
>>>>
>>>> *Best Regards,Dilusha Alphonso*
>>>>
>>>> *Software Engineer - Support Team*
>>>>
>>>>
>>>> *WSO2*
>>>> *Mobile : *
>>>>
>>>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>>>> <http://wso2.com/signature>*
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Samitha Chathuranga
>>> Software Engineer, WSO2 Inc.
>>> lean.enterprise.middleware
>>> Mobile: +94715123761
>>>
>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> *Piriya Sivalingam*
>>
>> *Software Engineer - Support Team*
>>
>> *WSO2*
>> *Mobile : +94 77 8462039 <+94%2077%20846%202039>*
>>
>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>
>>
>
>
> --
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> <http://wso2.com/signature>*
>



-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Expose the data as webservices

2017-12-07 Thread Chanika Geeganage
Hi Dilusha,

Is there any exception in the log? If so, can you please post it?

Thanks

On Fri, Dec 8, 2017 at 10:03 AM, Dilusha Alphonso  wrote:

> Hi All,
>
> According to my scenario, I have the database. I have to expose that data
> as web services. For that, I am using WSO2 DSS ( Data Service Server) and
> followed that step of this document [1]. But I could not deploy service on
> the server.
>
>  Can anyone please help on this or suggest If I am doing wrong.
>
> [1].https://wso2.com/library/articles/2015/02/how-to-write-
> a-web-application-backed-by-wso2-middleware-part-1/
>
>
> Thanks
> Dilusha
>
>
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> <http://wso2.com/signature>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Architecture] WSO2 Enterprise Integrator 6.1.1-update12 Released !

2017-12-07 Thread Chanika Geeganage
Hi all,

The WSO2 Integration team is pleased to announce the release of Enterprise
Integrator 6.1.1-update12. It is available for download from here
<https://github.com/wso2/product-ei/releases/download/v6.1.1-update12/wso2ei-6.1.1-update12.zip>
.

*Tasks/Bug Fixes and Improvements*


https://wso2.org/jira/issues/?filter=14470

https://github.com/wso2/product-ei/issues?q=is%3Aissue+is%3Aclosed+milestone%3A6.1.1-update-12

*​​List of Open Issues*

https://wso2.org/jira/issues/?filter=13994

https://github.com/wso2/product-ei/issues?q=is%3Aopen+is%3Aissue


*Mailing Lists*

Join our mailing lists and correspond with the developers directly.

Developer List : dev@wso2.org | Subscribe | Mail Archive

WSO2 Architecture List: architect...@wso2.org

User Forum : StackOverflow <https://stackoverflow.com/tags/wso2/info>

*How To Contribute*

Your feedback is most welcome!

*Reporting Issues​*

We encourage you to report issues, improvements and feature requests
regarding WSO2 Integrator through WSO2 EI GIT Issues
<https://github.com/wso2/product-ei/issues>.

~ The WSO2 Integration Team ~


-- 
Best Regards..

Chanika Geeganage
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-14 Thread Chanika Geeganage
Sender I/O dispatcher-2 >>
>>>> "Transfer-Encoding: chunked[\r][\n]"
>>>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>>>> "Date: Mon, 13 Nov 2017 07:18:06 GMT[\r][\n]"
>>>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>>>> "Server: WSO2 Carbon Server[\r][\n]"
>>>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>>>> "[\r][\n]"
>>>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 << HTTP/1.1
>>>> 202 Accepted
>>>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 <<
>>>> Content-Type: text/xml;charset=UTF-8
>>>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 <<
>>>> Transfer-Encoding: chunked
>>>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 << Date: Mon,
>>>> 13 Nov 2017 07:18:06 GMT
>>>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 << Server:
>>>> WSO2 Carbon Server
>>>> [2017-11-13 12:48:06,538] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>>>> "0[\r][\n]"
>>>> [2017-11-13 12:48:06,538] ERROR - NativeWorkerPool Uncaught exception
>>>> java.lang.UnsupportedOperationException: An access occurred that is
>>>> not valid.
>>>> at org.apache.axis2.description.InOnlyAxisOperation.getMessage(
>>>> InOnlyAxisOperation.java:117)
>>>> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handle
>>>> Message(SynapseCallbackReceiver.java:324)
>>>> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receiv
>>>> e(SynapseCallbackReceiver.java:188)
>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>> at org.apache.synapse.transport.passthru.ClientWorker.run(Clien
>>>> tWorker.java:261)
>>>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.r
>>>> un(NativeWorkerPool.java:172)
>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>>> Executor.java:1142)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>>> lExecutor.java:617)
>>>> at java.lang.Thread.run(Thread.java:748)
>>>> [2017-11-13 12:48:06,538] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>>>> "[\r][\n]"
>>>>
>>>>
>>>>
>>>> On Mon, Nov 13, 2017 at 12:08 PM, Saneth Dharmakeerthi <
>>>> sane...@wso2.com> wrote:
>>>>
>>>>> Hi Dilusha,
>>>>>
>>>>>
>>>>> Its bit unclear  how you execute this,
>>>>>
>>>>> 1) From SOAP-UI you invoke APIM or ESB?
>>>>>
>>>>> 2) Enable the wire logs and share them (both APIM and ESB as needed)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thanks and Best Regards,
>>>>>
>>>>> Saneth Dharmakeerthi
>>>>> *Associate Technical Lead*
>>>>> WSO2, Inc.
>>>>> Mobile: +94772325511 <+94%2077%20232%205511>
>>>>>
>>>>> <http://wso2.com/signature>
>>>>>
>>>>> On Sat, Nov 11, 2017 at 3:22 PM, Dilusha Alphonso 
>>>>> wrote:
>>>>>
>>>>>> I have attached the diagram of task.
>>>>>> [image: Inline image 1]
>>>>>>
>>>>>> In ESB 5.0.0 I created the proxy service. Those configurations
>>>>>> attached below.
>>>>>>
>>>>>> 
>>>>>> http://ws.apache.org/ns/synapse";
>>>>>>name="Durdans"
>>>>>>startOnLoad="true"
>>>>>>statistics="disable"
>>>>>>trace="disable"
>>>>>>transports="http,https">
>>>>>>
>>>>>>   
>>>>>>  >>>>>scope="transport"
>>>>>>value="Basic ZGlsdXNoYTpkaWx1c2hhMTIz"/>
>>>>>>  
>>>>>> 
>>>>>>https://192.168.55.160:94
>>>>>> 43/services/DurdansPatientService"/>
>>>>>> 
>>>>>>  
>>>>>>   
>>>>>>   
>>>>>>  
>>>>>>   
>>>>>>
>>>>>>http://192.168.55.160:976
>>>>>> 3/services/DurdansPatientService?wsdl"/>
>>>>>>
>>>>>> 
>>>>>>
>>>>>> When I invoke the proxy service using SOAPUI. I got the above
>>>>>> exception.
>>>>>>
>>>>>> Thanks
>>>>>> Dilusha
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sat, Nov 11, 2017 at 12:38 AM, Vijitha Ekanayake <
>>>>>> vijit...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Dilusha,
>>>>>>>
>>>>>>> Can you provide more context about the scenario and share the
>>>>>>> complete configurations to provide you a solution.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Fri, Nov 10, 2017 at 5:29 PM, Dilusha Alphonso 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I am working on the scenario. where I have to create a proxy
>>>>>>>> service in ESB 5.0.0 using a WSDL of a SOAP backend service. When I 
>>>>>>>> invoke
>>>>>>>> the proxy service using SOAPUI I am getting some error.
>>>>>>>>
>>>>>>>>  When I invoke the service with the GET method I get the proper
>>>>>>>> response, but for POST method I could get 202 Accepted response with 
>>>>>>>> some
>>>>>>>> exception in the log.
>>>>>>>>
>>>>>>>> java.lang.UnsupportedOperationException: An access
>>>>>>>> occurred that is not valid.
>>>>>>>> at org.apache.axis2.description.InOnlyAxisOperation.getMessage(
>>>>>>>> InOnlyAxisOperation.java:117)
>>>>>>>> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handle
>>>>>>>> Message(SynapseCallbackReceiver.java:324)
>>>>>>>> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receiv
>>>>>>>> e(SynapseCallbackReceiver.java:188)
>>>>>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>>>>>> at org.apache.synapse.transport.passthru.ClientWorker.run(Clien
>>>>>>>> tWorker.java:261)
>>>>>>>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.r
>>>>>>>> un(NativeWorkerPool.java:172)
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>>>>>>> Executor.java:1142)
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>>>>>>> lExecutor.java:617)
>>>>>>>> at java.lang.Thread.run(Thread.java:748)
>>>>>>>>
>>>>>>>> Could you please advice on this?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Dilusha
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>>> *Best Regards,Dilusha Alphonso*
>>>>>>>>
>>>>>>>> *Software Engineer - Support Team*
>>>>>>>>
>>>>>>>>
>>>>>>>> *WSO2*
>>>>>>>> *Mobile : *
>>>>>>>>
>>>>>>>> *+94766837098 <+94%2076%20683%207098>[image:
>>>>>>>> http://wso2.com/signature] <http://wso2.com/signature>*
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Vijitha Ekanayake
>>>>>>> Senior Software Engineer*, *WSO2, Inc.; http://wso2.com/
>>>>>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> *Best Regards,Dilusha Alphonso*
>>>>>>
>>>>>> *Software Engineer - Support Team*
>>>>>>
>>>>>>
>>>>>> *WSO2*
>>>>>> *Mobile : *
>>>>>>
>>>>>> *+94766837098 <+94%2076%20683%207098>[image:
>>>>>> http://wso2.com/signature] <http://wso2.com/signature>*
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> *Best Regards,Dilusha Alphonso*
>>>>
>>>> *Software Engineer - Support Team*
>>>>
>>>>
>>>> *WSO2*
>>>> *Mobile : *
>>>>
>>>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>>>> <http://wso2.com/signature>*
>>>>
>>>
>>>
>>
>>
>> --
>>
>>
>> *Best Regards,Dilusha Alphonso*
>>
>> *Software Engineer - Support Team*
>>
>>
>> *WSO2*
>> *Mobile : *
>>
>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>> <http://wso2.com/signature>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
> *Buddhimala Ranasinghe*
> Software Engineer-Support Team | WSO2
> Emil: buddhim...@wso2.com
> Mobile:+94771563138 <+94%2077%20156%203138>
> Web:http://wso2.com
> [image: https://wso2.com/signature] <https://wso2.com/signature>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
+94773522586 <+94%2077%20352%202586>
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding an array of objects to a JSON dataservice

2016-03-09 Thread Chanika Geeganage
Hi Dulith,

In your request there shouldn't have an '_' between the http method and the
resource path. In your case, it should be

 _postr_batch_req

not _post_r_batch_req

Same applies to _post_r

Thanks

On Thu, Mar 10, 2016 at 9:30 AM, Chanika Geeganage  wrote:

> Hi Dulitha,
>
> I did a quick test and JSON batch insert works fine. Have you enabled
> batch requests in the data service? Can you please send the dataservice
> config.
>
> Thanks
>
> On Thu, Mar 10, 2016 at 8:49 AM, Dulitha Wijewantha 
> wrote:
>
>> Hi guys,
>> Is it possible for me to add an array of objects to the data service? I
>> have looked at the possibility of Batch queries (
>> https://github.com/wso2/product-dss/blob/master/modules/samples/dbs/rdbms/BatchRequestSample.dbs
>> and docs - https://docs.wso2.com/display/DSS350/JSON+Mapping+Sample)
>>
>> When I am sending in the request like below -
>>
>> { "_post_r_batch_req": {
>> "_post_r": [
>> {
>> "added_by": "d",
>> "end_date": "2016-03-14T00:00:00+05:30",
>> "start_date": "2016-07-16T00:00:00+05:30",
>> "status": "a",
>> "type": "a",
>> "email": "b...@b.com"
>> }, {
>> "added_by": "d",
>> "end_date": "2016-03-14T00:00:00+05:30",
>> "start_date": "2016-07-16T00:00:00+05:30",
>> "status": "a",
>> "type": "a",
>> "email": "c...@c.com"
>> }
>> ]
>> }
>> }
>>
>> I am getting the below exception. Any ideas?
>>
>> 08:48:58,912 org.apache.catalina.core.StandardWrapperValve  -
>>  Servlet.service() for servlet [bridgeservlet] in context with path [/]
>> threw exception
>> java.lang.NullPointerException
>> at
>> org.apache.axis2.json.gson.JsonFormatter.writeTo(JsonFormatter.java:100)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:411)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:288)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at
>> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:45)
>> at
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
>> at
>> org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
>> at
>> org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processXMLRequest(AxisServlet.java:831)
>> at
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:227)
>> at
>> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>> 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:727)
>> at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.wso2.carbon.ui.filters.CSRFPreventionFilter.doFilter(CSRFPreventionFilter.java:88)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.wso2.carbon.ui.filters.CRLFPreventionFilter.doFilter(CRLFPreven

Re: [Dev] DSS insert with values with spaces and special characters

2016-03-09 Thread Chanika Geeganage
Hi Udara,

White spaces are parsed without any issue. For the character & you can pass
it as '&' or wrap it within CDATA.For an example,



Thanks


On Thu, Mar 10, 2016 at 9:59 AM, Udara Liyanage  wrote:

> Hi,
>
> I have below query in my DSS configs. However this fails when values have
> spaces or special characters &.
>   
>   INSERT  INTO
> employees(Employee_Id,First_Name,Last_Name,Work_Email,Gender,Job_Role,Department,Reports_To,Product,)
> VALUES ( :id,
> :firstName,:lastName,:email,:gender,:role,:department,:reportsTo,:product,:team);
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>
>
> Problematic values:
> department=HUMAN RESOURCES AND ADMINISTRATION, role=Lead - HR &
> Administration,
>
>
> I tried escaping with single quote (':department') and double
> quote(":department"), both did not work for me.  What modification should
> be done to add values with spaces and special characters.
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding an array of objects to a JSON dataservice

2016-03-09 Thread Chanika Geeganage
ache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
> at
> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:745)
>
> Cheers~
>
> --
> Dulitha Wijewantha (Chan)
> Software Engineer - Mobile Development
> WSO2 Inc
> Lean.Enterprise.Middleware
>  * ~Email   duli...@wso2.com *
> *  ~Mobile +94712112165 <%2B94712112165>*
> *  ~Website   dulitha.me <http://dulitha.me>*
> *  ~Twitter @dulitharw <https://twitter.com/dulitharw>*
>   *~Github @dulichan <https://github.com/dulichan>*
>   *~SO @chan <http://stackoverflow.com/users/813471/chan>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Data Services Server 3.5.0 released !!

2015-10-28 Thread Chanika Geeganage
WSO2 Data Services Server team is pleased to announce the release of WSO2 Data
Services Server 3.5.0.!!

The WSO2 Data Services Server is an extremely simple and elegant mechanism
to take data and make it available as a set of WS-* style Web services or
as a set of REST style Web resources. It augments SOA development efforts
by providing an easy to use platform for creating and hosting data
services. This enables easy integration of data into business processes,
mashups, gadgets, BI applications and any service in general.

For more information on WSO2 Data Services Server and to download the
product please visit http://wso2.com/products/data-services-server/. Also
take a look at the online product documentation.

*How to Run*

1. Extract the downloaded zip
2. Go to the bin directory in the extracted folder
3. Run the wso2server.sh or wso2server.bat as appropriate
4. Launch a web browser and navigate to https://localhost:9443/carbon to
access the admin console
5. Use "admin", "admin" as the username and password to login as an
admin

WSO2 Data Services Server 3.5.0 includes following new features,
improvements and bug fixes.
New Features

   - OData Support
   - Authorization Provider Extension

Improvement

   - Session-less Boxcarring Support
   - Google Spreadsheet OAuth2 Authentication Support
   - Dynamic Query Support for Cassandra
   - Carbon Application Deployment Handler for Datasources
   - Return Update Row Count Support

Bug Fixes

   - Bug Fixes 

Key Features of WSO2 Data Services Server

   - Support for Large XML Outputs
   - Content Filtering Support
   - Distributed Transaction Support
   - Support for Multiple Datasource Types
   - Clustering Support for High Availability and High Scalability
   - WS-* and REST Support
   - Data Validations
   - UDT (User Defined Type) Support
   - Boxcarring Support
   - Batch Request Support
   - DB -> DS Generation
   - Custom Datasource Support
   - SQL Parser for Spreadsheets
  - Supports Excel / Google Spreadsheets
  - Full Read/ Write Query support
   - Dynamic Database User Authentication
   - Carbon Secure Vault Integration
   - Dynamic Query Support

The full feature list is available at
http://wso2.com/products/data-services-server/

*Known Issues*

All the open issues pertaining to WSO2 Data Services Server are reported at
the following location:

   - Known Issues 

How You Can ContributeMailing Lists

Join our mailing list and correspond with the developers directly.

   - Developer List : dev@wso2.org | Subscribe
| Mail Archive
   

Reporting Issues

We encourage you to report issues, documentation faults and feature
requests regarding WSO2 Data Services Server through the public JIRA
. You can use the Carbon JIRA
 to report any issues related to
the Carbon base framework or associated Carbon components.
Support

We are committed to ensuring that your enterprise middleware deployment is
completely supported from evaluation to production. Our unique approach
ensures that all support leverages our open development methodology and is
provided by the very same engineers who build the technology.

For more details and to take advantage of this unique opportunity please
visit http://wso2.com/support.

To learn more about WSO2 Data Services Server and WSO2 support offerings
please visit http://wso2.com/products/data-services-server/.

-- The WSO2 Data Services Server Team --
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 DSS 3.5.0 RC2

2015-10-25 Thread Chanika Geeganage
Hi,

I tested followings

   - New Google spreadsheet OAuth2 support

 - public spreadsheet (for super-tenant & tenant)
 - private spreadsheet (for super-tenant & tenant)
 - Google driver with OAuth2 support (for super-tenant & tenant)
 - verified JIRAs created for RC1 related to Google spreadsheet datasource.

   - Excel datasource - query mode


   - Tenant creation and adding dataservice in tenant space.

[X] Stable - go ahead and release
Thanks


On Mon, Oct 26, 2015 at 5:17 AM, Anjana Fernando  wrote:

> Hi,
>
> I tested the following:-
>
> * OData functionality
>   - Read/write/update/delete
>   - Reading metadata
>   - Reading with conditions
>
> * New boxcarring functionality (request_box)
>   - Multiple operation execution
>   - Transaction commit/rollback on success/error
>
> * Verified RC1 blocker.
>
> [X] Stable - go ahead and release
>
> Cheers,
> Anjana.
>
> On Sat, Oct 24, 2015 at 1:33 AM, Rajith Vitharana 
> wrote:
>
>> Hi,
>>
>> This is the second release candidate of WSO2 DSS 3.5.0
>>
>> This release fixes the following issues:
>> *https://wso2.org/jira/issues/?filter=12469
>> <https://wso2.org/jira/issues/?filter=12469>*
>>
>> Please download, test and vote. The vote will be open for 72 hours or as
>> needed.
>>
>> Source & binary distribution files:
>> https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/RC2/wso2dss-3.5.0.zip
>> <https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/RC1/wso2dss-3.5.0.zip>
>>
>> JavaDocs
>> https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/RC2/javaDocs/index.html
>>
>> Maven staging repo:
>> *http://maven.wso2.org/nexus/content/repositories/orgwso2dss-058/
>> <http://maven.wso2.org/nexus/content/repositories/orgwso2dss-058/>*
>>
>> The tag to be voted upon:
>> *https://github.com/wso2/product-dss/tree/v3.5.0-RC2
>> <https://github.com/wso2/product-dss/tree/v3.5.0-RC2>*
>>
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Thanks,
>> The WSO2 DSS Team
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> *Anjana Fernando*
> Senior Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2ESB and MQTT

2015-10-07 Thread Chanika Geeganage
vents {
>> worker_connections  1024;
>> }
>>
>> #foreach( $port in $portlist )
>> http {
>> server_names_hash_bucket_size 128;
>> #set( $hostnameServerMap = $servermap.get($port.proxy) )
>> #foreach( $hostname in $hostnameServerMap.keySet() )
>> upstream $hostname {
>> ## Uncomment below when sticky secession is needed by particular
>> server
>> #if( $$hostname == "wso2is.almatest.it" )
>> ip_hash;
>> #end
>> #set ($servers = $hostnameServerMap.get($hostname) )
>> #foreach ( $server in $servers)
>> server $server;
>> #end
>> }
>>
>> server {
>> #if ($port.protocol == "https")
>> listen $port.proxy ssl;
>> #else
>> listen $port.proxy;
>> #end
>> server_name $hostname;
>> location / {
>> proxy_set_header X-Forwarded-Host $host;
>> proxy_set_header X-Forwarded-Server $host;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_read_timeout 5m;
>> proxy_send_timeout 5m;
>> #if ($port.protocol == "https")
>> proxy_passhttps://$hostname;
>> #else
>> proxy_passhttp://$hostname;
>> #end
>> }
>> location /nginx_status {
>> stub_status on;
>> access_log off;
>> allow 127.0.0.1;
>> deny all;
>> }
>> #if ($port.protocol == "https")
>> ssl on;
>> ssl_certificate /etc/nginx/ssl/server.crt;
>> ssl_certificate_key /etc/nginx/ssl/server.key;
>>
>> #end
>> }
>> #end
>> }
>> #end
>>
>>
>> Finally I would like to inform you that we produced template-module for
>> WSO2 ESB 4.9.1 (is based on Carbon core 4.4.1 so we used the same patches
>> used for DAS cartridge - patch with private-paas membership scheme
>> patch). It seems like to work, ESB comes up and successfully finds the
>> worker nodes in the same cluster. If you need it I can send you the .zip
>> (so you can even validate it).
>>
>> We decided to use ESB 4.9.1 because we need to provide support for MQTT
>> transport, but we need to do something more: we need to create REST API
>> that will accept Rest HTTP calls and forward the payload to an MQTT topic
>> of external WSO2 MB 3.0.0.
>> We followed this resources:
>>
>>- https://gist.github.com/pzfreo/9703155
>>-
>>    https://docs.wso2.com/display/ESB490/Sample+272%3AMQTT+axis2+transport
>>-
>>
>> https://docs.wso2.com/display/ESB490/Sample+906%3A+Inbound+Endpoint+MQTT+Protocol+Sample
>>
>> We can't be able to succeed on this task, we receive a lot of exceptions
>> and messages does not flow to MB topic. Can you please tell me the mail of
>> a WSO2ESB developer in order to ask him for support?
>>
>> thank you very much,
>>
>> Marco
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>
[1]
https://github.com/wso2/carbon-analytics-common/blob/master/features/data-bridge/org.wso2.carbon.databridge.core.server.feature/src/main/resources/conf/data-bridge-config.xml
[2]
https://github.com/wso2/product-private-paas/tree/ppaas-4.2.0/cartridges/templates-modules/wso2das-3.0.0/templates/repository/conf
[3] https://svn.wso2.org/repos/wso2/people/gokul/das/rc1/


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AS] Data Service Error

2015-09-10 Thread Chanika Geeganage
Hi Lasantha,

JOSN Mapping [1] was introduced from DSS 3.2.0 onwards and therefore that
feature is not available in AS 5.2.1 or previous versions. You can install
DSS 3.2.2 features (latest) on AS 5.2.1

[1] https://docs.wso2.com/display/DSS320/JSON+Mapping


On Thu, Sep 10, 2015 at 3:32 PM, Lasantha Dharmakeerthi 
wrote:

> I created data service using wso2 data service server and it's working
> properly. Then I deployed it in WSO2 application server. In Application
> server it's not working. Showing as a faulty service. How can I figure out
> this error?
>
> Return type of query is json.
>
> I have attached screen shots of errors.
>
> --
> Dharmakeerthi Lasantha
> Software Engineer Trainee, WSO2
> Mobile 0774928852
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DSS-3.2.1 REST service calls are failing

2015-08-12 Thread Chanika Geeganage
Hi Malith,

The gson based message formatters and builders support few features over
the old implementation.Those are listed in [1]

[1]
https://docs.google.com/a/wso2.com/document/d/1DvwGaanCSZQXghKfG-4fstZuYjOANqHxftgvVU4Ufk8/edit?usp=sharing

Thanks

On Thu, Aug 13, 2015 at 11:22 AM, Malith Dhanushka  wrote:

> Hi Anjana/Chanika,
>
> Another customer [1] is facing the same issue(with DSS 3.2.1) and they
> already switched  "org.apache.axis2.json.JSONMessageFormatter" with
> "org.apache.axis2.json.gson.JsonFormatter" to make it work. They need to
> know what's the impact on doing that change. Could you please shed some
> light on that.
>
> Thanks,
> Malith
>
> On Thu, Jul 9, 2015 at 9:21 PM, Chanika Geeganage 
> wrote:
>
>> Yes, this was fixed in 3.2.2 with the kernel patch 9.
>>
>> On Thu, Jul 9, 2015 at 11:47 AM, Kalpa Welivitigoda 
>> wrote:
>>
>>> Hi all,
>>>
>>> Do we have an update on this? I am having the same issue with DSS 3.1.0
>>> using org.apache.axis2.json.gson.JsonFormatter.
>>>
>>> On Tue, Jun 17, 2014 at 12:18 PM, Bhathiya Jayasekara >> > wrote:
>>>
>>>> Hi Chanika,
>>>>
>>>> Please find the dbs file attached.
>>>>
>>>> Thanks,
>>>> Bhathiya
>>>>
>>>>
>>>> On Mon, Jun 16, 2014 at 11:35 PM, Chanika Geeganage 
>>>> wrote:
>>>>
>>>>> Hi Bhathiya,
>>>>>
>>>>> I just tried with a similar scenario in a fresh pack. But it is
>>>>> working fine. Can you please send the data service configuration
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> On Tue, Jun 17, 2014 at 11:37 AM, Anjana Fernando 
>>>>> wrote:
>>>>>
>>>>>> Hi Bhathiya,
>>>>>>
>>>>>> What's now shipped by default is the new streaming JSON formatter.
>>>>>> And it did work though, when we did testing, and now even, I tested it 
>>>>>> with
>>>>>> another scenario. Maybe there's some bug that has surfaced because of the
>>>>>> way you created the resource. Chanika, Shameera, please check this a bit
>>>>>> and see.
>>>>>>
>>>>>> Cheers,
>>>>>> Anjana.
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 17, 2014 at 2:04 AM, Bhathiya Jayasekara <
>>>>>> bhath...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Eranda,
>>>>>>>
>>>>>>> It was commented out. Instead, what was there for "application/json"
>>>>>>> is
>>>>>>>
>>>>>>> >>>>>> class="org.apache.axis2.json.gson.JsonFormatter" />
>>>>>>>
>>>>>>> So, I removed the default one and set the one you said.
>>>>>>>
>>>>>>> Now it works, and I'm confused. :)
>>>>>>>
>>>>>>> What's the difference between these 2 formatters?
>>>>>>> Are we supposed to do this configuration change if we need json
>>>>>>> support? I couldn't find it in docs[1] though.
>>>>>>>
>>>>>>> [1]
>>>>>>> https://docs.wso2.org/display/DSS321/Exposing+Data+as+REST-Style+Resources
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Bhathiya
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 16, 2014 at 4:51 PM, Eranda Sooriyabandara <
>>>>>>> era...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Check whether the following message formatter is in axis2.xml
>>>>>>>>
>>>>>>>> >>>>>>> class="org.apache.axis2.json.JSONMessageFormatter"/>
>>>>>>>>
>>>>>>>>
>>>>>>>> thanks
>>>>>>>> Eranda
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 17, 2014 at 4:59 AM, Bhathiya Jayasekara <
>>>>>>>> bhath...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Just ob

[Dev] Tenant domain is not available in tenant request message context

2015-07-15 Thread Chanika Geeganage
Hi,

The following exception has been observed in the ESB 4.9.0 Alpha pack.
There is a scheduled task running in the super tenant domain

TID: [-1] [] [2015-07-13 19:08:39,024]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:39,044]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:39,328]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:39,333]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:39,367]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:39,405]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:39,779]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:40,137]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:40,176]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:40,240]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:40,375]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:40,477]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}
TID: [-1] [] [2015-07-13 19:08:40,520]  WARN
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver} -  Tenant
domain is not available in tenant request message context, hence it might
not be set in the thread local carbon context
{org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver}

This is an intermittent issue. What can be the root cause?
-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DSS-3.2.1 REST service calls are failing

2015-07-09 Thread Chanika Geeganage
Yes, this was fixed in 3.2.2 with the kernel patch 9.

On Thu, Jul 9, 2015 at 11:47 AM, Kalpa Welivitigoda  wrote:

> Hi all,
>
> Do we have an update on this? I am having the same issue with DSS 3.1.0
> using org.apache.axis2.json.gson.JsonFormatter.
>
> On Tue, Jun 17, 2014 at 12:18 PM, Bhathiya Jayasekara 
> wrote:
>
>> Hi Chanika,
>>
>> Please find the dbs file attached.
>>
>> Thanks,
>> Bhathiya
>>
>>
>> On Mon, Jun 16, 2014 at 11:35 PM, Chanika Geeganage 
>> wrote:
>>
>>> Hi Bhathiya,
>>>
>>> I just tried with a similar scenario in a fresh pack. But it is working
>>> fine. Can you please send the data service configuration
>>>
>>> Thanks
>>>
>>>
>>> On Tue, Jun 17, 2014 at 11:37 AM, Anjana Fernando 
>>> wrote:
>>>
>>>> Hi Bhathiya,
>>>>
>>>> What's now shipped by default is the new streaming JSON formatter. And
>>>> it did work though, when we did testing, and now even, I tested it with
>>>> another scenario. Maybe there's some bug that has surfaced because of the
>>>> way you created the resource. Chanika, Shameera, please check this a bit
>>>> and see.
>>>>
>>>> Cheers,
>>>> Anjana.
>>>>
>>>>
>>>> On Tue, Jun 17, 2014 at 2:04 AM, Bhathiya Jayasekara >>> > wrote:
>>>>
>>>>> Hi Eranda,
>>>>>
>>>>> It was commented out. Instead, what was there for "application/json" is
>>>>>
>>>>> >>>> class="org.apache.axis2.json.gson.JsonFormatter" />
>>>>>
>>>>> So, I removed the default one and set the one you said.
>>>>>
>>>>> Now it works, and I'm confused. :)
>>>>>
>>>>> What's the difference between these 2 formatters?
>>>>> Are we supposed to do this configuration change if we need json
>>>>> support? I couldn't find it in docs[1] though.
>>>>>
>>>>> [1]
>>>>> https://docs.wso2.org/display/DSS321/Exposing+Data+as+REST-Style+Resources
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Bhathiya
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Jun 16, 2014 at 4:51 PM, Eranda Sooriyabandara <
>>>>> era...@wso2.com> wrote:
>>>>>
>>>>>> Check whether the following message formatter is in axis2.xml
>>>>>>
>>>>>> >>>>> class="org.apache.axis2.json.JSONMessageFormatter"/>
>>>>>>
>>>>>>
>>>>>> thanks
>>>>>> Eranda
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 17, 2014 at 4:59 AM, Bhathiya Jayasekara <
>>>>>> bhath...@wso2.com> wrote:
>>>>>>
>>>>>>> Just observed that [1] works fine, while [2] gives above error.
>>>>>>>
>>>>>>> [1] curl *-H "accept:application/xml"*
>>>>>>> http://10.213.209.1:9763/services/samples/RDBMSSample.HTTPEndpoint/getAddress/firstName/Juri/lastName/Yoshido
>>>>>>>
>>>>>>> [2] curl *-H "accept:application/json"*
>>>>>>> http://10.213.209.1:9763/services/samples/RDBMSSample.HTTPEndpoint/getAddress/firstName/Juri/lastName/Yoshido
>>>>>>>
>>>>>>> Any ideas?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 16, 2014 at 4:18 PM, Bhathiya Jayasekara <
>>>>>>> bhath...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I added a resource to *samples/RDBMSSample* which comes with DSS*.*
>>>>>>>>
>>>>>>>>
>>>>>>>>>>>>>>> path="getAddress/firstName/{firstName}/lastName/{lastName}">
>>>>>>>>   
>>>>>>>>  
>>>>>>>>  
>>>>>>>>   
>>>>>>>>
>>>>>>>>
>>>>>>>> Now when I call,
>>>>>>>>
>&

Re: [Dev] DSS - Dynamic SQL in Cassandra

2015-04-21 Thread Chanika Geeganage
Hi Nirmal/ Jacky,

According to the exception it seems there is a syntax error in the created
query after passing query string parameter. (ie. [:] *filterQuery *is
appended to the query not the passed parameter value). If you send us the
.dbs file then we can give you the solution through the dataservice config.

Thanks

On Tue, Apr 21, 2015 at 12:18 AM, Jacky Jiang 
wrote:

> Hi
> I get confit what's cceid? I did test in my local and get the following
> error.
>
> Thanks
> Jacky
>
> Sent from my iPhone
>
> On Apr 20, 2015, at 2:00 PM, Nirmal Fernando  wrote:
>
> Hi,
>
> Any clue on following exception faced by one of our users (CCied) ?
>
> *dynamic sql in cassandra doesn;t work. When I try to pass some dynamical
> sql, it gives me the following error: Nested Exception:-
> com.datastax.driver.core.exceptions.SyntaxError: line 1:22 missing EOF at
> ':' (SELECT * FROM devices [:]filterQuery) Please help me to solve that.*
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Removing ndatasource.rdbms dependencies from user.core

2015-02-25 Thread Chanika Geeganage
Hi SupunM,

I have done the changes.

Thanks

On Wed, Feb 25, 2015 at 12:47 PM, Supun Malinga  wrote:

> Hi Chanika,
>
> There are some issues with Exception handling. We need to see and catch
> only specific Exceptions. Please see to it and fix appropriately. Add code
> comments explaining why, if you really need to catch 'Exception'.
>
> thanks,
>
> On Wed, Feb 25, 2015 at 10:11 AM, Supun Malinga  wrote:
>
>> Will do Sameera.
>>
>> On Tue, Feb 24, 2015 at 4:32 PM, Sameera Jayasoma 
>> wrote:
>>
>>> Hi SupunM,
>>>
>>> Can you review this and commit?
>>>
>>> Thanks,
>>> Sameera.
>>>
>>> On Tue, Feb 24, 2015 at 1:47 PM, Chanika Geeganage 
>>> wrote:
>>>
>>>> Done the changes according to comments
>>>>
>>>> @Kernel Team,
>>>>
>>>> Can you please merge the PR
>>>> https://github.com/wso2/carbon4-kernel/pull/147
>>>>
>>>> Thanks
>>>>
>>>> On Tue, Feb 24, 2015 at 1:04 PM, Johann Nallathamby 
>>>> wrote:
>>>>
>>>>> Commented on the PR. Once resolved can merge PR.
>>>>>
>>>>> On Tue, Feb 24, 2015 at 12:29 PM, Chanika Geeganage 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> The user.core depends on ndatasource.rdbms module to get a datasource
>>>>>> for realm datasource and user store datasource. Recently we had to add
>>>>>> ndatasource.core dependency to ndatasource.rdbms module in order to fix 
>>>>>> an
>>>>>> issue. Then it created a cyclic dependency with the following order.
>>>>>>
>>>>>> org.wso2.carbon.ndatasource.core --> org.wso2.carbon.core -->
>>>>>> org.wso2.carbon.registry.core --> org.wso2.carbon.user.core -->
>>>>>> org.wso2.carbon.ndatasource.rdbms --> org.wso2.carbon.ndatasource.core
>>>>>>
>>>>>> As the user.core module is in top of the dependency tree, it should
>>>>>> not be depend on a module which is in the lower level in the dependency
>>>>>> tree. Therefore I have changed the user.core module to directly get
>>>>>> datasource using tomcat.jdbc.pool.DataSource. The PR [1] has the changes
>>>>>> done.
>>>>>>
>>>>>> @Johann Please review the PR
>>>>>>
>>>>>> [1] https://github.com/wso2/carbon4-kernel/pull/147
>>>>>>
>>>>>> --
>>>>>> Best Regards..
>>>>>>
>>>>>> Chanika Geeganage
>>>>>> Software Engineer
>>>>>> Mobile : +94773522586
>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks & Regards,
>>>>>
>>>>> *Johann Dilantha Nallathamby*
>>>>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>>>>> Integration Technologies Team
>>>>> WSO2, Inc.
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile - *+9476950*
>>>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards..
>>>>
>>>> Chanika Geeganage
>>>> Software Engineer
>>>> Mobile : +94773522586
>>>> WSO2, Inc.; http://wso2.com
>>>>
>>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Software Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://blog.sameera.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Senior Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> email: sup...@wso2.com 
>> mobile: +94 (0)71 56 91 321
>>
>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com 
> mobile: +94 (0)71 56 91 321
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Removing ndatasource.rdbms dependencies from user.core

2015-02-24 Thread Chanika Geeganage
Done the changes according to comments

@Kernel Team,

Can you please merge the PR
https://github.com/wso2/carbon4-kernel/pull/147

Thanks

On Tue, Feb 24, 2015 at 1:04 PM, Johann Nallathamby  wrote:

> Commented on the PR. Once resolved can merge PR.
>
> On Tue, Feb 24, 2015 at 12:29 PM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> The user.core depends on ndatasource.rdbms module to get a datasource for
>> realm datasource and user store datasource. Recently we had to add
>> ndatasource.core dependency to ndatasource.rdbms module in order to fix an
>> issue. Then it created a cyclic dependency with the following order.
>>
>> org.wso2.carbon.ndatasource.core --> org.wso2.carbon.core -->
>> org.wso2.carbon.registry.core --> org.wso2.carbon.user.core -->
>> org.wso2.carbon.ndatasource.rdbms --> org.wso2.carbon.ndatasource.core
>>
>> As the user.core module is in top of the dependency tree, it should not
>> be depend on a module which is in the lower level in the dependency tree.
>> Therefore I have changed the user.core module to directly get datasource
>> using tomcat.jdbc.pool.DataSource. The PR [1] has the changes done.
>>
>> @Johann Please review the PR
>>
>> [1] https://github.com/wso2/carbon4-kernel/pull/147
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> Mobile : +94773522586
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Associate Technical Lead & Product Lead of WSO2 Identity Server
> Integration Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Removing ndatasource.rdbms dependencies from user.core

2015-02-23 Thread Chanika Geeganage
Hi,

The user.core depends on ndatasource.rdbms module to get a datasource for
realm datasource and user store datasource. Recently we had to add
ndatasource.core dependency to ndatasource.rdbms module in order to fix an
issue. Then it created a cyclic dependency with the following order.

org.wso2.carbon.ndatasource.core --> org.wso2.carbon.core -->
org.wso2.carbon.registry.core --> org.wso2.carbon.user.core -->
org.wso2.carbon.ndatasource.rdbms --> org.wso2.carbon.ndatasource.core

As the user.core module is in top of the dependency tree, it should not be
depend on a module which is in the lower level in the dependency tree.
Therefore I have changed the user.core module to directly get datasource
using tomcat.jdbc.pool.DataSource. The PR [1] has the changes done.

@Johann Please review the PR

[1] https://github.com/wso2/carbon4-kernel/pull/147

-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge pull request to DSS

2014-12-16 Thread Chanika Geeganage
Merged.

On Tue, Dec 16, 2014 at 5:55 PM, Dimuthu De Lanerolle 
wrote:

> Hi DSS Team,
>
> Please merge the pull request [1] to DSS which introduces a new
> test-ui-integration module together with sample ui tests.
>
> [1] https://github.com/wso2-dev/product-dss/pull/5
>
> Regards
>
> --
> Dimuthu De Lanerolle
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middlewear.
> http://wso2.com/
> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 DSS 3.2.2 released !!

2014-12-07 Thread Chanika Geeganage
WSO2 Data Services Server 3.2.2 Release Notes 01 Dec 2014

The WSO2 Data Services Server is an extremely simple and elegant mechanism
to take data and make it available as a set of WS-* style Web services or
as a set of REST style Web resources. It augments SOA development efforts
by providing an easy to use platform for creating and hosting data
services. This enables easy integration of data into business processes,
mashups, gadgets, BI applications and any service in general.
Key Features

   - Support for large XML outputs
   - Content Filtering Support
   - Distributed transaction support
   - Oracle Ref Cursor support
   - Support for multiple data source types
   - Clustering support for High Availability and High Scalability
   - WS-* and REST support
   - Data validations
   - UDT (User Defined Type) Support
   - Complex Results
   - Auto Generated Keys Support
   - Boxcarring Support
   - Batch Request Support
   - Scheduled Tasks
   - DB -> DS Generation
   - Database Explorer
   - Distributed transaction support
   - Custom Datasource Support
   - Datasource Component
  - Use of Tomcat JDBC Pool Connection Pooling
  - Support for External Data Source Implementations
  - Extensible Global Data Source Configurations
   - SQL Parser for Spreadsheets
  - Supports Excel / Google Spreadsheets
  - Full Read/Write query support
   - Dynamic Database User Authentication
   - Carbon Secure Vault Integration

 The full feature list is available at
http://wso2.com/products/data-services-server/

Bug Fixes / Improvements

   - New Google Spreadsheet URL support
   - Configuring transport and security policy in dataservice config

Further, following bug fixes and improvements are available in the current
release. dss-3.2.2-fixed-issues <https://wso2.org/jira/issues/?filter=11914>
Known Issues

All known issues have been recorded at dss-3.2.2-outstanding-issues
<https://wso2.org/jira/issues/?filter=11924>
Reporting Problems Issues can be reported using the public JIRA available
at https://wso2.org/jira/browse/CARBON Contact us WSO2 Data Services Server
developers can be contacted via:
*For Users:* http://stackoverflow.com
<http://stackoverflow.com/questions/tagged/wso2>
*For Developers:* dev@wso2.org
For details on subscriptions see http://wso2.org/mail
Support

WSO2 Inc. offers a variety of development and production support programs,
ranging from Web-based support up through normal business hours, to premium
24x7 phone support.

For additional support information please refer to http://wso2.com/support/

For more information on WSO2 Data Services Server, visit the WSO2 Oxygen
Tank <http://wso2.org/projects/data-services-server/java>

*Online Resources*- Data Services HOWTO Series
<http://wso2.org/library/3183>

Thank you for your interest in WSO2 Data Services Server
* -The WSO2 Data Services Server Development Team *

-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 13 Release

2014-12-01 Thread Chanika Geeganage
Hi Aparna,

The new pack and the p2-repo can be found from
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/01-12-2014

Thanks

On Mon, Dec 1, 2014 at 12:10 PM, Anjana Fernando  wrote:

> Hi Aparna,
>
> I hope other aspects of DSS has been tested, so yeah, we can wait for the
> HZ fixes to test this specific scenario.
>
> Cheers,
> Anjana.
>
> On Mon, Dec 1, 2014 at 10:27 AM, Aparna Karunarathna 
> wrote:
>
>> Hi Anjana & Chanika,
>>
>> Due to the hazelcast issues [1] & [2], Is it OK to stop testing and will
>> wait for new pack?  So far we have verified the fixes that has been
>> identified in the last build(15/11/2014).
>>
>> [1] https://wso2.org/jira/browse/CARBON-15096
>> [2] https://wso2.org/jira/browse/CARBON-15097
>>
>>
>> Regards,
>> Aparna.
>>
>>
>> On Fri, Nov 28, 2014 at 5:51 PM, Chanika Geeganage 
>> wrote:
>>
>>> The new pack can be found from
>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/28-11-2014/
>>>
>>> On Fri, Nov 28, 2014 at 5:28 AM, Chanika Geeganage 
>>> wrote:
>>>
>>>> p2-repo is available at
>>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/p2-repo/
>>>>
>>>> On Thu, Nov 27, 2014 at 10:39 PM, Chanika Geeganage 
>>>> wrote:
>>>>
>>>>> The latest pack can be downloaded from
>>>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/wso2dss-3.2.2.zip
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Sat, Nov 15, 2014 at 1:08 PM, Chanika Geeganage 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> The new DSS 3.2.2 pack is available at
>>>>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15-11-2014-DSS/wso2dss-3.2.2.zip
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Fri, Nov 14, 2014 at 3:25 PM, Chanika Geeganage 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Aparna,
>>>>>>>
>>>>>>> Building the p2-repo is halted as some of the released artifacts are
>>>>>>> not deployed to nexus. See "Nested categories released in chunk-11 are 
>>>>>>> not
>>>>>>> deployed in nexus". Once this issue is sorted out, I will build the 
>>>>>>> p2-repo
>>>>>>> and update the thread.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna <
>>>>>>> apa...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Chanika,
>>>>>>>>
>>>>>>>> Can you please share the p2 repo as well?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Aparna.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage <
>>>>>>>> chan...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Please find the latest DSS 3.2.2 pack from
>>>>>>>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya <
>>>>>>>>> mani...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Fixed the build and latest DSS and BAM packs are available at
>>>>>>>>>> https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *Maninda Edirisooriya*
>>>>>>>>>> Senior Software Engineer
>>>>>>>>>>
>>>>>>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>>>>>>
>>>>>>>>>> *Blog* : http://maninda.blogspot.com/
>>>>>>>>>> *E-mail* : mani...@wso2.com
>>>>>>>>>> *Skype* : @manindae
>>>

Re: [Dev] Chunk 13 Release

2014-11-28 Thread Chanika Geeganage
The new pack can be found from
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/28-11-2014/

On Fri, Nov 28, 2014 at 5:28 AM, Chanika Geeganage  wrote:

> p2-repo is available at
> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/p2-repo/
>
> On Thu, Nov 27, 2014 at 10:39 PM, Chanika Geeganage 
> wrote:
>
>> The latest pack can be downloaded from
>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/wso2dss-3.2.2.zip
>>
>> Thanks
>>
>> On Sat, Nov 15, 2014 at 1:08 PM, Chanika Geeganage 
>> wrote:
>>
>>> Hi,
>>>
>>> The new DSS 3.2.2 pack is available at
>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15-11-2014-DSS/wso2dss-3.2.2.zip
>>>
>>> Thanks
>>>
>>> On Fri, Nov 14, 2014 at 3:25 PM, Chanika Geeganage 
>>> wrote:
>>>
>>>> Hi Aparna,
>>>>
>>>> Building the p2-repo is halted as some of the released artifacts are
>>>> not deployed to nexus. See "Nested categories released in chunk-11 are not
>>>> deployed in nexus". Once this issue is sorted out, I will build the p2-repo
>>>> and update the thread.
>>>>
>>>> Thanks
>>>>
>>>> On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna 
>>>> wrote:
>>>>
>>>>> Hi Chanika,
>>>>>
>>>>> Can you please share the p2 repo as well?
>>>>>
>>>>> Regards,
>>>>> Aparna.
>>>>>
>>>>>
>>>>> On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Please find the latest DSS 3.2.2 pack from
>>>>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya <
>>>>>> mani...@wso2.com> wrote:
>>>>>>
>>>>>>> Fixed the build and latest DSS and BAM packs are available at
>>>>>>> https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/
>>>>>>>
>>>>>>>
>>>>>>> *Maninda Edirisooriya*
>>>>>>> Senior Software Engineer
>>>>>>>
>>>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>>>
>>>>>>> *Blog* : http://maninda.blogspot.com/
>>>>>>> *E-mail* : mani...@wso2.com
>>>>>>> *Skype* : @manindae
>>>>>>> *Twitter* : @maninda
>>>>>>>
>>>>>>> On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya <
>>>>>>> mani...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Yes. Yesterday night I built both DSS and BAM and there was a build
>>>>>>>> break and a BAM internal defect. Therefore was not able to release it. 
>>>>>>>> At
>>>>>>>> the moment we are in the process of fixing these issues.
>>>>>>>>
>>>>>>>>
>>>>>>>> *Maninda Edirisooriya*
>>>>>>>> Senior Software Engineer
>>>>>>>>
>>>>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>>>>
>>>>>>>> *Blog* : http://maninda.blogspot.com/
>>>>>>>> *E-mail* : mani...@wso2.com
>>>>>>>> *Skype* : @manindae
>>>>>>>> *Twitter* : @maninda
>>>>>>>>
>>>>>>>> On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage <
>>>>>>>> chan...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Both BAM and DSS are added to chunk-13. Yesterday there was some
>>>>>>>>> issues found in the built BAM pack during smoke test. Maninda will be 
>>>>>>>>> able
>>>>>>>>> to give more details about the issues. We will try to resolve those 
>>>>>>>>> issues
>>>>>>>>> and provide RC packs today.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>

Re: [Dev] Chunk 13 Release

2014-11-27 Thread Chanika Geeganage
p2-repo is available at
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/p2-repo/

On Thu, Nov 27, 2014 at 10:39 PM, Chanika Geeganage 
wrote:

> The latest pack can be downloaded from
> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/wso2dss-3.2.2.zip
>
> Thanks
>
> On Sat, Nov 15, 2014 at 1:08 PM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> The new DSS 3.2.2 pack is available at
>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15-11-2014-DSS/wso2dss-3.2.2.zip
>>
>> Thanks
>>
>> On Fri, Nov 14, 2014 at 3:25 PM, Chanika Geeganage 
>> wrote:
>>
>>> Hi Aparna,
>>>
>>> Building the p2-repo is halted as some of the released artifacts are not
>>> deployed to nexus. See "Nested categories released in chunk-11 are not
>>> deployed in nexus". Once this issue is sorted out, I will build the p2-repo
>>> and update the thread.
>>>
>>> Thanks
>>>
>>> On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna 
>>> wrote:
>>>
>>>> Hi Chanika,
>>>>
>>>> Can you please share the p2 repo as well?
>>>>
>>>> Regards,
>>>> Aparna.
>>>>
>>>>
>>>> On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Please find the latest DSS 3.2.2 pack from
>>>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya <
>>>>> mani...@wso2.com> wrote:
>>>>>
>>>>>> Fixed the build and latest DSS and BAM packs are available at
>>>>>> https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/
>>>>>>
>>>>>>
>>>>>> *Maninda Edirisooriya*
>>>>>> Senior Software Engineer
>>>>>>
>>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>>
>>>>>> *Blog* : http://maninda.blogspot.com/
>>>>>> *E-mail* : mani...@wso2.com
>>>>>> *Skype* : @manindae
>>>>>> *Twitter* : @maninda
>>>>>>
>>>>>> On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya <
>>>>>> mani...@wso2.com> wrote:
>>>>>>
>>>>>>> Yes. Yesterday night I built both DSS and BAM and there was a build
>>>>>>> break and a BAM internal defect. Therefore was not able to release it. 
>>>>>>> At
>>>>>>> the moment we are in the process of fixing these issues.
>>>>>>>
>>>>>>>
>>>>>>> *Maninda Edirisooriya*
>>>>>>> Senior Software Engineer
>>>>>>>
>>>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>>>
>>>>>>> *Blog* : http://maninda.blogspot.com/
>>>>>>> *E-mail* : mani...@wso2.com
>>>>>>> *Skype* : @manindae
>>>>>>> *Twitter* : @maninda
>>>>>>>
>>>>>>> On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage >>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Both BAM and DSS are added to chunk-13. Yesterday there was some
>>>>>>>> issues found in the built BAM pack during smoke test. Maninda will be 
>>>>>>>> able
>>>>>>>> to give more details about the issues. We will try to resolve those 
>>>>>>>> issues
>>>>>>>> and provide RC packs today.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> AFAIK only DSS is going on chunk-13. @Chanika, can you confirm
>>>>>>>>> please?
>>>>>>>>>
>>>>>>>>> BAM/APIM have moved to chunk-14. Ratha is building packs now and
>>>>>>>>> we should be able to provide packs within the day.
>>>>>>>>>
>

Re: [Dev] Chunk 13 Release

2014-11-27 Thread Chanika Geeganage
The latest pack can be downloaded from
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/wso2dss-3.2.2.zip

Thanks

On Sat, Nov 15, 2014 at 1:08 PM, Chanika Geeganage  wrote:

> Hi,
>
> The new DSS 3.2.2 pack is available at
> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15-11-2014-DSS/wso2dss-3.2.2.zip
>
> Thanks
>
> On Fri, Nov 14, 2014 at 3:25 PM, Chanika Geeganage 
> wrote:
>
>> Hi Aparna,
>>
>> Building the p2-repo is halted as some of the released artifacts are not
>> deployed to nexus. See "Nested categories released in chunk-11 are not
>> deployed in nexus". Once this issue is sorted out, I will build the p2-repo
>> and update the thread.
>>
>> Thanks
>>
>> On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna 
>> wrote:
>>
>>> Hi Chanika,
>>>
>>> Can you please share the p2 repo as well?
>>>
>>> Regards,
>>> Aparna.
>>>
>>>
>>> On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Please find the latest DSS 3.2.2 pack from
>>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip
>>>>
>>>> Thanks
>>>>
>>>> On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya >>> > wrote:
>>>>
>>>>> Fixed the build and latest DSS and BAM packs are available at
>>>>> https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/
>>>>>
>>>>>
>>>>> *Maninda Edirisooriya*
>>>>> Senior Software Engineer
>>>>>
>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>
>>>>> *Blog* : http://maninda.blogspot.com/
>>>>> *E-mail* : mani...@wso2.com
>>>>> *Skype* : @manindae
>>>>> *Twitter* : @maninda
>>>>>
>>>>> On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya <
>>>>> mani...@wso2.com> wrote:
>>>>>
>>>>>> Yes. Yesterday night I built both DSS and BAM and there was a build
>>>>>> break and a BAM internal defect. Therefore was not able to release it. At
>>>>>> the moment we are in the process of fixing these issues.
>>>>>>
>>>>>>
>>>>>> *Maninda Edirisooriya*
>>>>>> Senior Software Engineer
>>>>>>
>>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>>
>>>>>> *Blog* : http://maninda.blogspot.com/
>>>>>> *E-mail* : mani...@wso2.com
>>>>>> *Skype* : @manindae
>>>>>> *Twitter* : @maninda
>>>>>>
>>>>>> On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Both BAM and DSS are added to chunk-13. Yesterday there was some
>>>>>>> issues found in the built BAM pack during smoke test. Maninda will be 
>>>>>>> able
>>>>>>> to give more details about the issues. We will try to resolve those 
>>>>>>> issues
>>>>>>> and provide RC packs today.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> AFAIK only DSS is going on chunk-13. @Chanika, can you confirm
>>>>>>>> please?
>>>>>>>>
>>>>>>>> BAM/APIM have moved to chunk-14. Ratha is building packs now and we
>>>>>>>> should be able to provide packs within the day.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> NuwanD.
>>>>>>>>
>>>>>>>> On Tue, Nov 11, 2014 at 11:52 AM, Aparna Karunarathna <
>>>>>>>> apa...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Since the Chunk 13 release date scheduled on 3rd week of November,
>>>>>>>>> can you build all chunk 13 packs in the builder machine and share the
>>>>>>>>> latest packs and p2 repo with us.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> --
>>>>>>>>> *Aparna Karunarathna.*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533
>>>>>>>>> <0714002533>*
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Nuwan Dias
>>>>>>>>
>>>>>>>> Associate Tech Lead - WSO2, Inc. http://wso2.com
>>>>>>>> email : nuw...@wso2.com
>>>>>>>> Phone : +94 777 775 729
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards..
>>>>>>>
>>>>>>> Chanika Geeganage
>>>>>>> Software Engineer
>>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards..
>>>>
>>>> Chanika Geeganage
>>>> Software Engineer
>>>> Mobile : +94773522586
>>>> WSO2, Inc.; http://wso2.com
>>>>
>>>>
>>>
>>>
>>> --
>>> *Aparna Karunarathna.*
>>>
>>>
>>> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533*
>>>
>>
>>
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> Mobile : +94773522586
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> Best Regards..
>
> Chanika Geeganage
> Software Engineer
> Mobile : +94773522586
> WSO2, Inc.; http://wso2.com
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [DSS] Best way to engage an axis2 module to a data service

2014-11-26 Thread Chanika Geeganage
Yes, then you can use services.xml file.

On Wed, Nov 26, 2014 at 2:54 PM, Gayashan Amarasinghe 
wrote:

> Hi Chanika,
>
> Thanks for the heads up. I'm using DSS 3.2.1, is this the correct approach
> for 3.2.1?
>
> Thanks.
> /Gayashan
>
> On Wed, Nov 26, 2014 at 1:09 PM, Chanika Geeganage 
> wrote:
>
>> As a result of [1] we moved QoS Config to be specified in the .dbs file
>> itself rather than in the services.xml file and then change the DBDeployer
>> accordingly. At the moment (in DSS 3.2.2) we have added transport and
>> security info in the dataservice config. See [2] for more info.
>>
>> [1] https://wso2.org/jira/browse/WSAS-1789
>> [2] https://wso2.org/jira/browse/DS-953
>>
>> On Wed, Nov 26, 2014 at 12:22 PM, Gayashan Amarasinghe > > wrote:
>>
>>> Hi all,
>>>
>>> What is the best way to do this? For the moment i'm following this
>>> process. Say i have a sample service JSONSample.dbs. To engage an axis2
>>> module to this service, I'll create the services.xml file for this service
>>> with the following format, JSONSample_services.xml and engage the module
>>> there. Is there any other/better way to do this?
>>>
>>> Thanks.
>>> /Gayashan
>>>
>>> --
>>> *Gayashan Amarasinghe*
>>> Software Engineer | Platform TG
>>> WSO2, Inc. | http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> Mobile : +94718314517
>>> Blog : gayashan-a.blogspot.com
>>>
>>
>>
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> Mobile : +94773522586
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> *Gayashan Amarasinghe*
> Software Engineer | Platform TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94718314517
> Blog : gayashan-a.blogspot.com
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [DSS] Best way to engage an axis2 module to a data service

2014-11-25 Thread Chanika Geeganage
As a result of [1] we moved QoS Config to be specified in the .dbs file
itself rather than in the services.xml file and then change the DBDeployer
accordingly. At the moment (in DSS 3.2.2) we have added transport and
security info in the dataservice config. See [2] for more info.

[1] https://wso2.org/jira/browse/WSAS-1789
[2] https://wso2.org/jira/browse/DS-953

On Wed, Nov 26, 2014 at 12:22 PM, Gayashan Amarasinghe 
wrote:

> Hi all,
>
> What is the best way to do this? For the moment i'm following this
> process. Say i have a sample service JSONSample.dbs. To engage an axis2
> module to this service, I'll create the services.xml file for this service
> with the following format, JSONSample_services.xml and engage the module
> there. Is there any other/better way to do this?
>
> Thanks.
> /Gayashan
>
> --
> *Gayashan Amarasinghe*
> Software Engineer | Platform TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94718314517
> Blog : gayashan-a.blogspot.com
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is Ntask core broken ?

2014-11-24 Thread Chanika Geeganage
[1] https://wso2.org/jira/browse/DS-800

On Mon, Nov 24, 2014 at 2:50 PM, Chanika Geeganage  wrote:

> I tested DSS task with both methods in the startup handler, but the issue
> reported in [1] was fixed when the
> this.getTaskService().serverInitialized() is called in
> completingServerStartup method.
>
> On Mon, Nov 24, 2014 at 2:21 PM, Jeewantha Dharmaparakrama <
> jeewan...@wso2.com> wrote:
>
>> Hi Anjana,
>>
>> On Fri, Nov 21, 2014 at 9:18 PM, Anjana Fernando  wrote:
>>
>>> Hi Jeewantha,
>>>
>>> On Fri, Nov 21, 2014 at 9:00 PM, Jeewantha Dharmaparakrama <
>>> jeewan...@wso2.com> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Nov 21, 2014 at 8:57 PM, Anjana Fernando 
>>>> wrote:
>>>>
>>>>> [my earlier mail send failed, not sure it actually went through or
>>>>> not, so re-sending]
>>>>>
>>>>> On Fri, Nov 21, 2014 at 8:34 PM, Jeewantha Dharmaparakrama <
>>>>> jeewan...@wso2.com> wrote:
>>>>>
>>>>>> Chanakas change was for mediation-ntask component and that change is
>>>>>> already there in the pack. Everything works when ntask-core jar is 
>>>>>> replaced
>>>>>> with what was released in M3. Obviously ntask-core jar which gets packed 
>>>>>> in
>>>>>> M4 has the issue. Could it be due to the latest changes done on 
>>>>>> ntask-core ?
>>>>>>
>>>>>
>>>>> Oh Yeah, I see, yeah, then something in ntask should be wrong. And I
>>>>> just remembered, we have recently done a change that came from Kernel, for
>>>>> the startup handler, maybe that is not working as expected after the
>>>>> change. Is the issue happening, when restarting the server after some 
>>>>> tasks
>>>>> are scheduled?, or does the problem also there when you just schedule a 
>>>>> new
>>>>> task when the server is running? ..
>>>>>
>>>> its when scheduling a new task.
>>>>
>>>
>>> I see, that's a bit strange, maybe the server startup flag is indirectly
>>> affecting the server scheduling in the runtime also, can you please debug
>>> [1], and see if the ESB is calling that observer, specifically calling
>>> "completingServerStartup" method in that. This most probably have to be the
>>> problem, because we have rest of the identical ntask code in the Turing
>>> branch now for other releases, and they are working properly, but with the
>>> old startup handler.
>>>
>>  The method completingServerStartup is never called when ESB starts up.
>> Where do you think the issue is ? Kernal ?
>>
>> Thanks,
>> Jeewantha
>>
>>>
>>> [1]
>>> https://github.com/wso2-dev/carbon-utils/blob/master/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/TaskStartupHandler.java
>>>
>>> Cheers,
>>> Anjana.
>>>
>>>
>>>>
>>>> Thanks,
>>>> Jeewantha
>>>>
>>>>>
>>>>> Anyways, @Chanika, can you please check this out. Verify the new usage
>>>>> of "ServerStartupObserver" in ntask.
>>>>>
>>>>> Cheers,
>>>>> Anjana.
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Jeewantha Dharmaparakrama
>>>>>> Software Engineer; WSO2, Inc.; http://wso2.com/
>>>>>> Phone : (+94) 778403757
>>>>>> Blog: http://jeewanthad.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Anjana Fernando*
>>>>> Senior Technical Lead
>>>>> WSO2 Inc. | http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jeewantha Dharmaparakrama
>>>> Software Engineer; WSO2, Inc.; http://wso2.com/
>>>> Phone : (+94) 778403757
>>>> Blog: http://jeewanthad.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> *Anjana Fernando*
>>> Senior Technical Lead
>>> WSO2 Inc. | http://wso2.com
>>> lean . enterprise . middleware
>>>
>>
>>
>>
>> --
>> Jeewantha Dharmaparakrama
>> Software Engineer; WSO2, Inc.; http://wso2.com/
>> Phone : (+94) 778403757
>> Blog: http://jeewanthad.blogspot.com/
>>
>
>
>
> --
> Best Regards..
>
> Chanika Geeganage
> Software Engineer
> Mobile : +94773522586
> WSO2, Inc.; http://wso2.com
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is Ntask core broken ?

2014-11-24 Thread Chanika Geeganage
I tested DSS task with both methods in the startup handler, but the issue
reported in [1] was fixed when the
this.getTaskService().serverInitialized() is called in
completingServerStartup method.

On Mon, Nov 24, 2014 at 2:21 PM, Jeewantha Dharmaparakrama <
jeewan...@wso2.com> wrote:

> Hi Anjana,
>
> On Fri, Nov 21, 2014 at 9:18 PM, Anjana Fernando  wrote:
>
>> Hi Jeewantha,
>>
>> On Fri, Nov 21, 2014 at 9:00 PM, Jeewantha Dharmaparakrama <
>> jeewan...@wso2.com> wrote:
>>
>>>
>>>
>>> On Fri, Nov 21, 2014 at 8:57 PM, Anjana Fernando 
>>> wrote:
>>>
>>>> [my earlier mail send failed, not sure it actually went through or not,
>>>> so re-sending]
>>>>
>>>> On Fri, Nov 21, 2014 at 8:34 PM, Jeewantha Dharmaparakrama <
>>>> jeewan...@wso2.com> wrote:
>>>>
>>>>> Chanakas change was for mediation-ntask component and that change is
>>>>> already there in the pack. Everything works when ntask-core jar is 
>>>>> replaced
>>>>> with what was released in M3. Obviously ntask-core jar which gets packed 
>>>>> in
>>>>> M4 has the issue. Could it be due to the latest changes done on 
>>>>> ntask-core ?
>>>>>
>>>>
>>>> Oh Yeah, I see, yeah, then something in ntask should be wrong. And I
>>>> just remembered, we have recently done a change that came from Kernel, for
>>>> the startup handler, maybe that is not working as expected after the
>>>> change. Is the issue happening, when restarting the server after some tasks
>>>> are scheduled?, or does the problem also there when you just schedule a new
>>>> task when the server is running? ..
>>>>
>>> its when scheduling a new task.
>>>
>>
>> I see, that's a bit strange, maybe the server startup flag is indirectly
>> affecting the server scheduling in the runtime also, can you please debug
>> [1], and see if the ESB is calling that observer, specifically calling
>> "completingServerStartup" method in that. This most probably have to be the
>> problem, because we have rest of the identical ntask code in the Turing
>> branch now for other releases, and they are working properly, but with the
>> old startup handler.
>>
>  The method completingServerStartup is never called when ESB starts up.
> Where do you think the issue is ? Kernal ?
>
> Thanks,
> Jeewantha
>
>>
>> [1]
>> https://github.com/wso2-dev/carbon-utils/blob/master/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/TaskStartupHandler.java
>>
>> Cheers,
>> Anjana.
>>
>>
>>>
>>> Thanks,
>>> Jeewantha
>>>
>>>>
>>>> Anyways, @Chanika, can you please check this out. Verify the new usage
>>>> of "ServerStartupObserver" in ntask.
>>>>
>>>> Cheers,
>>>> Anjana.
>>>>
>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jeewantha Dharmaparakrama
>>>>> Software Engineer; WSO2, Inc.; http://wso2.com/
>>>>> Phone : (+94) 778403757
>>>>> Blog: http://jeewanthad.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Anjana Fernando*
>>>> Senior Technical Lead
>>>> WSO2 Inc. | http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>
>>>
>>>
>>> --
>>> Jeewantha Dharmaparakrama
>>> Software Engineer; WSO2, Inc.; http://wso2.com/
>>> Phone : (+94) 778403757
>>> Blog: http://jeewanthad.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Anjana Fernando*
>> Senior Technical Lead
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>
>
>
> --
> Jeewantha Dharmaparakrama
> Software Engineer; WSO2, Inc.; http://wso2.com/
> Phone : (+94) 778403757
> Blog: http://jeewanthad.blogspot.com/
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Intermitent] Lock wait timeout exceeded; try restarting transaction

2014-11-18 Thread Chanika Geeganage
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.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
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:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
TID: [0] [DSS] [2014-11-17 10:30:54,665] ERROR
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
Unable to create fixed remote mounts.
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent}
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
delete the resource with id 41. Lock wait timeout exceeded; try restarting
transaction

This issue is reported at https://wso2.org/jira/browse/DS-995

-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Manager - Intermittently tenants became unusable and a NullPointerException occurs when tenant cleanup happens

2014-11-17 Thread Chanika Geeganage
The pack contains CC non-refactored components. Some of them are,

1. In the org.wso2.carbon.registry.eventing 4.2.1 the CC refactoring is
done. But the org.wso2.carbon.deployment.synchronizer.server.feature 4.2.2
(which is the latest) [1] ships org.wso2.carbon.registry.eventing 4.2.0
which is not CC refactored.

2. The org.wso2.carbon.logging.service 4.2.2 [2] is not refactored

3. org.wso2.carbon.usage.agent 2.2.0 is not refactored as Danushka said.

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/features/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.server.feature/4.2.2/pom.xml

[2]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/logging/org.wso2.carbon.logging.service/4.2.2/src/main/java/org/wso2/carbon/logging/util/FileHandler.java

Fixing this is bit urgent for the DSS 3.2.2 release

On Tue, Nov 18, 2014 at 11:30 AM, Chanika Geeganage 
wrote:

> This issue exists in DSS 3.2.2 pack as well.
> https://wso2.org/jira/browse/DS-993
>
> On Tue, Nov 18, 2014 at 11:28 AM, Nuwan Dias  wrote:
>
>> APIM 1.8.0 packs all the kernel patches up to patch0009 (latest). So
>> there's nothing missing in terms of kernel patches.
>>
>> Is this fix entirely in the kernel patches or is there anything else
>> required?
>>
>> On Tue, Nov 18, 2014 at 11:17 AM, Evanthika Amarasiri > > wrote:
>>
>>> In the pack, there are patches up to patch0009. If this is a bug, the
>>> fix should be included in the next API-M pack. AM team, please note.
>>>
>>> Regards,
>>> Evanthika
>>>
>>> On Tue, Nov 18, 2014 at 10:59 AM, Danushka Fernando 
>>> wrote:
>>>
>>>> BTW just found an issue.
>>>>
>>>> There is a missing CC refactoring in stratos usage agent component.
>>>> Apply the diff [1] to [2] and patch and try.
>>>>
>>>> [1]
>>>> https://wso2.org/jira/secure/attachment/31124/org.wso2.carbon.usage.agent.diff
>>>> [2]
>>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/stratos/usage/org.wso2.carbon.usage.agent/2.2.0
>>>>
>>>> Thanks & Regards
>>>> Danushka Fernando
>>>> Software Engineer
>>>> WSO2 inc. http://wso2.com/
>>>> Mobile : +94716332729
>>>>
>>>> On Tue, Nov 18, 2014 at 10:58 AM, Danushka Fernando >>> > wrote:
>>>>
>>>>> Can you check what are the kernel patches included in the pack. And
>>>>> also check what are the registry feature versions packed. It should be
>>>>> 4.2.2 or later IIRC.
>>>>>
>>>>> Thanks & Regards
>>>>> Danushka Fernando
>>>>> Software Engineer
>>>>> WSO2 inc. http://wso2.com/
>>>>> Mobile : +94716332729
>>>>>
>>>>> On Tue, Nov 18, 2014 at 10:04 AM, Kala Weerawardana 
>>>>> wrote:
>>>>>
>>>>>> Hi Danushka,
>>>>>>
>>>>>> I tested this in 1.8.0 release packs.
>>>>>>
>>>>>> On Mon, Nov 17, 2014 at 8:32 PM, Danushka Fernando <
>>>>>> danush...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Kala,Lakshman
>>>>>>> Actual issue is at tenant loading time. Due to a missing CC
>>>>>>> refactoring sometimes flow goes through a wrong path and we can see a 
>>>>>>> weird
>>>>>>> error when tenant loads. And tenant axis configuration load fails. The 
>>>>>>> null
>>>>>>> pointer caused by that since tenant cleanup task is accessing the last
>>>>>>> accessed time from tenant axis configuration.
>>>>>>> @Kala : What is your APIM version? If it is 1.6 apply the patch
>>>>>>> mentioned in [1] and try. Cannot remember whether this fix is there in 
>>>>>>> 1.7
>>>>>>> or not.
>>>>>>>
>>>>>>> [1]
>>>>>>> https://wso2.org/jira/secure/attachment/31122/org.wso2.carbon.server.admin.diff
>>>>>>>
>>>>>>> Thanks & Regards
>>>>>>> Danushka Fernando
>>>>>>> Software Engineer
>>>>>>> WSO2 inc. http://wso2.com/
>>>>>>> Mobile : +94716332729
>>>>>>>
>>>>>>> On Mon, Nov 17, 2014 at 5:14 PM, Lakshman Udayakantha <
>>>>>>> lakshm...@wso2.c

Re: [Dev] API Manager - Intermittently tenants became unusable and a NullPointerException occurs when tenant cleanup happens

2014-11-17 Thread Chanika Geeganage
 the process was not done properly
>>>>>>>>
>>>>>>>> Tried to log in to the Store
>>>>>>>> Could not log in
>>>>>>>>
>>>>>>>> A NullPointerException keep on occurring when tenant cleanup happens
>>>>>>>>
>>>>>>>>
>>>>>>>> TID: [0] [AM] [2014-11-17 00:14:38,328]  INFO
>>>>>>>> {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} -  Starting 
>>>>>>>> to
>>>>>>>> clean tenant : domainone.com
>>>>>>>> {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils}
>>>>>>>>
>>>>>>>> TID: [0] [AM] [2014-11-17 00:14:38,329] ERROR
>>>>>>>> {org.wso2.carbon.core.multitenancy.MultitenantServerManager} -  Error
>>>>>>>> occurred while executing tenant cleanup
>>>>>>>> {org.wso2.carbon.core.multitenancy.MultitenantServerManager}
>>>>>>>>
>>>>>>>> java.lang.NullPointerException
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.wso2.carbon.core.multitenancy.TenantAxisConfigurator.cleanup(TenantAxisConfigurator.java:512)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:490)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:441)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>>>>>>>
>>>>>>>> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>>>>>>>>
>>>>>>>> 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:745)
>>>>>>>>
>>>>>>>> TID: [0] [AM] [2014-11-17 00:15:14,188]  INFO
>>>>>>>> {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} -  LDAP
>>>>>>>> connection created successfully in read-write mode
>>>>>>>> {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager}
>>>>>>>>
>>>>>>>> TID: [0] [AM] [2014-11-17 00:15:38,328]  INFO
>>>>>>>> {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} -  Starting 
>>>>>>>> to
>>>>>>>> clean tenant : domainone.com
>>>>>>>> {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils}
>>>>>>>>
>>>>>>>> TID: [0] [AM] [2014-11-17 00:15:38,329] ERROR
>>>>>>>> {org.wso2.carbon.core.multitenancy.MultitenantServerManager} -  Error
>>>>>>>> occurred while executing tenant cleanup
>>>>>>>> {org.wso2.carbon.core.multitenancy.MultitenantServerManager}
>>>>>>>>
>>>>>>>> java.lang.NullPointerException
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.wso2.carbon.core.multitenancy.TenantAxisConfigurator.cleanup(TenantAxisConfigurator.java:512)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:490)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:441)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>>>>>>>
>>>>>>>> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>>>>>>>>
>>>>>>>> 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:745)
>>>>>>>>
>>>>>>>>
>>>>>>>> This is related to this issue
>>>>>>>> https://wso2.org/jira/browse/APIMANAGER-2369
>>>>>>>> <https://wso2.org/jira/browse/APIMANAGER-2369>
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Kala
>>>>>>>>
>>>>>>>> --
>>>>>>>> Kala C. Weerawardana
>>>>>>>> *Software Engineer - QA Team*
>>>>>>>> *WSO2 Inc. *
>>>>>>>> Mobile :  +94 (0) 716189886 +94 (0) 772877683
>>>>>>>> k...@wso2.com
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Lakshman Udayakantha
>>>>>>> WSO2 Inc. www.wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>> Mobile: *0711241005 <0711241005>*
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Kala C. Weerawardana
>>>>> *Software Engineer - QA Team*
>>>>> *WSO2 Inc. *
>>>>> Mobile :  +94 (0) 716189886 +94 (0) 772877683
>>>>> k...@wso2.com
>>>>>
>>>>
>>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Nuwan Dias
>
> Associate Tech Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 13 Release

2014-11-14 Thread Chanika Geeganage
Hi,

The new DSS 3.2.2 pack is available at
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15-11-2014-DSS/wso2dss-3.2.2.zip

Thanks

On Fri, Nov 14, 2014 at 3:25 PM, Chanika Geeganage  wrote:

> Hi Aparna,
>
> Building the p2-repo is halted as some of the released artifacts are not
> deployed to nexus. See "Nested categories released in chunk-11 are not
> deployed in nexus". Once this issue is sorted out, I will build the p2-repo
> and update the thread.
>
> Thanks
>
> On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna 
> wrote:
>
>> Hi Chanika,
>>
>> Can you please share the p2 repo as well?
>>
>> Regards,
>> Aparna.
>>
>>
>> On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage 
>> wrote:
>>
>>> Hi,
>>>
>>> Please find the latest DSS 3.2.2 pack from
>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip
>>>
>>> Thanks
>>>
>>> On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya 
>>> wrote:
>>>
>>>> Fixed the build and latest DSS and BAM packs are available at
>>>> https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/
>>>>
>>>>
>>>> *Maninda Edirisooriya*
>>>> Senior Software Engineer
>>>>
>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>
>>>> *Blog* : http://maninda.blogspot.com/
>>>> *E-mail* : mani...@wso2.com
>>>> *Skype* : @manindae
>>>> *Twitter* : @maninda
>>>>
>>>> On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya >>> > wrote:
>>>>
>>>>> Yes. Yesterday night I built both DSS and BAM and there was a build
>>>>> break and a BAM internal defect. Therefore was not able to release it. At
>>>>> the moment we are in the process of fixing these issues.
>>>>>
>>>>>
>>>>> *Maninda Edirisooriya*
>>>>> Senior Software Engineer
>>>>>
>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>
>>>>> *Blog* : http://maninda.blogspot.com/
>>>>> *E-mail* : mani...@wso2.com
>>>>> *Skype* : @manindae
>>>>> *Twitter* : @maninda
>>>>>
>>>>> On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Both BAM and DSS are added to chunk-13. Yesterday there was some
>>>>>> issues found in the built BAM pack during smoke test. Maninda will be 
>>>>>> able
>>>>>> to give more details about the issues. We will try to resolve those 
>>>>>> issues
>>>>>> and provide RC packs today.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>> On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias  wrote:
>>>>>>
>>>>>>> AFAIK only DSS is going on chunk-13. @Chanika, can you confirm
>>>>>>> please?
>>>>>>>
>>>>>>> BAM/APIM have moved to chunk-14. Ratha is building packs now and we
>>>>>>> should be able to provide packs within the day.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> NuwanD.
>>>>>>>
>>>>>>> On Tue, Nov 11, 2014 at 11:52 AM, Aparna Karunarathna <
>>>>>>> apa...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Since the Chunk 13 release date scheduled on 3rd week of November,
>>>>>>>> can you build all chunk 13 packs in the builder machine and share the
>>>>>>>> latest packs and p2 repo with us.
>>>>>>>>
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> --
>>>>>>>> *Aparna Karunarathna.*
>>>>>>>>
>>>>>>>>
>>>>>>>> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533
>>>>>>>> <0714002533>*
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Nuwan Dias
>>>>>>>
>>>>>>> Associate Tech Lead - WSO2, Inc. http://wso2.com
>>>>>>> email : nuw...@wso2.com
>>>>>>> Phone : +94 777 775 729
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards..
>>>>>>
>>>>>> Chanika Geeganage
>>>>>> Software Engineer
>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards..
>>>
>>> Chanika Geeganage
>>> Software Engineer
>>> Mobile : +94773522586
>>> WSO2, Inc.; http://wso2.com
>>>
>>>
>>
>>
>> --
>> *Aparna Karunarathna.*
>>
>>
>> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533*
>>
>
>
>
> --
> Best Regards..
>
> Chanika Geeganage
> Software Engineer
> Mobile : +94773522586
> WSO2, Inc.; http://wso2.com
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 13 Release

2014-11-14 Thread Chanika Geeganage
Hi Aparna,

Building the p2-repo is halted as some of the released artifacts are not
deployed to nexus. See "Nested categories released in chunk-11 are not
deployed in nexus". Once this issue is sorted out, I will build the p2-repo
and update the thread.

Thanks

On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna 
wrote:

> Hi Chanika,
>
> Can you please share the p2 repo as well?
>
> Regards,
> Aparna.
>
>
> On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> Please find the latest DSS 3.2.2 pack from
>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip
>>
>> Thanks
>>
>> On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya 
>> wrote:
>>
>>> Fixed the build and latest DSS and BAM packs are available at
>>> https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/
>>>
>>>
>>> *Maninda Edirisooriya*
>>> Senior Software Engineer
>>>
>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>
>>> *Blog* : http://maninda.blogspot.com/
>>> *E-mail* : mani...@wso2.com
>>> *Skype* : @manindae
>>> *Twitter* : @maninda
>>>
>>> On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya 
>>> wrote:
>>>
>>>> Yes. Yesterday night I built both DSS and BAM and there was a build
>>>> break and a BAM internal defect. Therefore was not able to release it. At
>>>> the moment we are in the process of fixing these issues.
>>>>
>>>>
>>>> *Maninda Edirisooriya*
>>>> Senior Software Engineer
>>>>
>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>
>>>> *Blog* : http://maninda.blogspot.com/
>>>> *E-mail* : mani...@wso2.com
>>>> *Skype* : @manindae
>>>> *Twitter* : @maninda
>>>>
>>>> On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Both BAM and DSS are added to chunk-13. Yesterday there was some
>>>>> issues found in the built BAM pack during smoke test. Maninda will be able
>>>>> to give more details about the issues. We will try to resolve those issues
>>>>> and provide RC packs today.
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias  wrote:
>>>>>
>>>>>> AFAIK only DSS is going on chunk-13. @Chanika, can you confirm please?
>>>>>>
>>>>>> BAM/APIM have moved to chunk-14. Ratha is building packs now and we
>>>>>> should be able to provide packs within the day.
>>>>>>
>>>>>> Thanks,
>>>>>> NuwanD.
>>>>>>
>>>>>> On Tue, Nov 11, 2014 at 11:52 AM, Aparna Karunarathna <
>>>>>> apa...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Since the Chunk 13 release date scheduled on 3rd week of November,
>>>>>>> can you build all chunk 13 packs in the builder machine and share the
>>>>>>> latest packs and p2 repo with us.
>>>>>>>
>>>>>>>
>>>>>>> Regards,
>>>>>>> --
>>>>>>> *Aparna Karunarathna.*
>>>>>>>
>>>>>>>
>>>>>>> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533
>>>>>>> <0714002533>*
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Nuwan Dias
>>>>>>
>>>>>> Associate Tech Lead - WSO2, Inc. http://wso2.com
>>>>>> email : nuw...@wso2.com
>>>>>> Phone : +94 777 775 729
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards..
>>>>>
>>>>> Chanika Geeganage
>>>>> Software Engineer
>>>>> WSO2, Inc.; http://wso2.com
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> Mobile : +94773522586
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> *Aparna Karunarathna.*
>
>
> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533*
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Nested categories released in chunk-11 are not deployed in nexus

2014-11-14 Thread Chanika Geeganage
PING. This issue is still there.

On Sun, Jul 20, 2014 at 8:33 AM, Chanika Geeganage  wrote:

> Hi,
>
> I'm getting the following error when building the p2-repo of 4.2.11 as it
> is failed to find nested categories released in chunk 11.
>
> [ERROR] Error occured when processing the Feature Artifact:
> org.wso2.identity:org.wso2.is.authorization.nested.category.feature:5.0.0
> org.apache.maven.plugin.MojoExecutionException: Error occured when
> processing the Feature Artifact:
> org.wso2.identity:org.wso2.is.authorization.nested.category.feature:5.0.0
> at
> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:322)
> at
> org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197)
> at
> org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: ERROR
> at
> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:43)
> at
> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:319)
> ... 23 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> Could not find artifact
> org.wso2.identity:org.wso2.is.authorization.nested.category.feature:zip:5.0.0
> in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.wso2.identity
> -DartifactId=org.wso2.is.authorization.nested.category.feature
> -Dversion=5.0.0 -Dpackaging=zip -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=org.wso2.identity
> -DartifactId=org.wso2.is.authorization.nested.category.feature
> -Dversion=5.0.0 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>
>
> org.wso2.identity:org.wso2.is.authorization.nested.category.feature:zip:5.0.0
>
> from the specified remote repositories:
>   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
> releases=true, snapshots=true),
>   central (http://repo.maven.apache.org/maven2, releases=true,
> snapshots=false)
>
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:157)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:525)
> at
> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
> ... 24 more
> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
> C

Re: [Dev] Chunk 13 Release

2014-11-13 Thread Chanika Geeganage
Hi,

Please find the latest DSS 3.2.2 pack from
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip

Thanks

On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya 
wrote:

> Fixed the build and latest DSS and BAM packs are available at
> https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/
>
>
> *Maninda Edirisooriya*
> Senior Software Engineer
>
> *WSO2, Inc.*lean.enterprise.middleware.
>
> *Blog* : http://maninda.blogspot.com/
> *E-mail* : mani...@wso2.com
> *Skype* : @manindae
> *Twitter* : @maninda
>
> On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya 
> wrote:
>
>> Yes. Yesterday night I built both DSS and BAM and there was a build break
>> and a BAM internal defect. Therefore was not able to release it. At the
>> moment we are in the process of fixing these issues.
>>
>>
>> *Maninda Edirisooriya*
>> Senior Software Engineer
>>
>> *WSO2, Inc.*lean.enterprise.middleware.
>>
>> *Blog* : http://maninda.blogspot.com/
>> *E-mail* : mani...@wso2.com
>> *Skype* : @manindae
>> *Twitter* : @maninda
>>
>> On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage 
>> wrote:
>>
>>> Hi,
>>>
>>> Both BAM and DSS are added to chunk-13. Yesterday there was some issues
>>> found in the built BAM pack during smoke test. Maninda will be able to give
>>> more details about the issues. We will try to resolve those issues and
>>> provide RC packs today.
>>>
>>> Thanks
>>>
>>>
>>> On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias  wrote:
>>>
>>>> AFAIK only DSS is going on chunk-13. @Chanika, can you confirm please?
>>>>
>>>> BAM/APIM have moved to chunk-14. Ratha is building packs now and we
>>>> should be able to provide packs within the day.
>>>>
>>>> Thanks,
>>>> NuwanD.
>>>>
>>>> On Tue, Nov 11, 2014 at 11:52 AM, Aparna Karunarathna 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Since the Chunk 13 release date scheduled on 3rd week of November, can
>>>>> you build all chunk 13 packs in the builder machine and share the latest
>>>>> packs and p2 repo with us.
>>>>>
>>>>>
>>>>> Regards,
>>>>> --
>>>>> *Aparna Karunarathna.*
>>>>>
>>>>>
>>>>> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533 <0714002533>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Nuwan Dias
>>>>
>>>> Associate Tech Lead - WSO2, Inc. http://wso2.com
>>>> email : nuw...@wso2.com
>>>> Phone : +94 777 775 729
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards..
>>>
>>> Chanika Geeganage
>>> Software Engineer
>>> WSO2, Inc.; http://wso2.com
>>>
>>>
>>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable Schedule Reports with Carbon 4.3.0

2014-11-12 Thread Chanika Geeganage
Hi Chandana,

I tried with DSS task scheduling with the product build in 4.3.0 kernel and
it is working fine. I had an offline chat with Jayanga and he said that
both the handlers (ServerStartUpHandler and ServerStartupObserver) are
there even though the ServerStartUpHandler is deprecated. Therefore methods
in both should be invoked. So, can you please check whether there is an
OSGi bundle activation issue in the G-Rreg pack.

Anyway by moving to ServerStartupObserver will resolve the issue reported
in [1]. In the current implementation, in the server startup, tasks are
scheduled before transports are initialized and because of that it is
failing for 1,2 seconds. The corresponding PR is [2].

Thanks

[1] https://wso2.org/jira/browse/DS-800
[2] https://github.com/wso2-dev/carbon-utils/pull/33

On Wed, Nov 12, 2014 at 11:03 AM, Chandana Napagoda 
wrote:

> Hi Anjana/Chanika,
>
> We have noticed report scheduling is not working in carbon 4.3.0 branch.
> We suspect this has happened due to deprecating ServerStartUpHandler and
> introducing new observer to identify server startup. So we may need to
> integrate those changes in to ntask components as well.
>
> Appreciate if you can look at this issue, since report scheduling is not
> working with G-Rreg- 5.0.0.
>
> Regards,
> Chandana
>
> --
> *Chandana Napagoda*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>*
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 13 Release

2014-11-10 Thread Chanika Geeganage
Hi,

Both BAM and DSS are added to chunk-13. Yesterday there was some issues
found in the built BAM pack during smoke test. Maninda will be able to give
more details about the issues. We will try to resolve those issues and
provide RC packs today.

Thanks


On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias  wrote:

> AFAIK only DSS is going on chunk-13. @Chanika, can you confirm please?
>
> BAM/APIM have moved to chunk-14. Ratha is building packs now and we should
> be able to provide packs within the day.
>
> Thanks,
> NuwanD.
>
> On Tue, Nov 11, 2014 at 11:52 AM, Aparna Karunarathna 
> wrote:
>
>> Hi,
>>
>> Since the Chunk 13 release date scheduled on 3rd week of November, can
>> you build all chunk 13 packs in the builder machine and share the latest
>> packs and p2 repo with us.
>>
>>
>> Regards,
>> --
>> *Aparna Karunarathna.*
>>
>>
>> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533 <0714002533>*
>>
>
>
>
> --
> Nuwan Dias
>
> Associate Tech Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Locking table issue observed when invoking dss service

2014-10-27 Thread Chanika Geeganage
If that is the case, will it be OK to disable resource versioning by
default as this can affect to any carbon server with high concurrency.

On Tue, Oct 21, 2014 at 10:20 AM, Eranda Sooriyabandara 
wrote:

> Resource versioning is expensive where high concurrency may not be
> achievable. Please turn off the resource versioning is the best option.
>
> thanks
> Eranda
>
> On Tue, Oct 21, 2014 at 10:14 AM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> This error has been occurred in a worker-manager clustered setup when
>> invoking a dataservice which uses a carbon datasource saved in the
>> registry. The complete stack trace can be found in [1]. What is the root
>> cause of this issue? Can someone shed some light on this.
>>
>> [1] https://wso2.org/jira/browse/DS-975
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
>
> *Eranda Sooriyabandara*Senior Software Engineer;
> Integration Technologies Team;
> WSO2 Inc.; http://wso2.com
> Lean . Enterprise . Middleware
>
> E-mail: eranda AT wso2.com
> Mobile: +94 716 472 816
> Linked-In: http://www.linkedin.com/in/erandasooriyabandara
> Blog: http://emsooriyabandara.blogspot.com/
>
>
>
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DSS eventing sample mail authentication failure

2014-10-23 Thread Chanika Geeganage
Hi,

On Mon, Oct 20, 2014 at 12:33 PM, Anjana Fernando  wrote:

> Hi Omindu,
>
> Yeah, guess someone has gone and changed that account's password.
> @Chanika, do fix it. Or else, we can just keep this sample, with
> placeholders for usernam/password, or else, people will keep on changing
> it.
>

Changed the eventing sample (sample_axis2_client.xml) and the Google
spreadsheet sample with a placeholders for username and password. And they
will not be deployed with the ant script


>
> Cheers,
> Anjana.
>
> On Mon, Oct 20, 2014 at 12:27 PM, Omindu Rathnaweera 
> wrote:
>
>> Hi,
>>
>> While running the DSS eventing sample[1] using the mail sender transport
>> configuration given in
>> CARBON_HOME/samples/resources/sample_axis2_client.xml, it gives an
>> AuthenticationFailedException.
>>
>> When I replace the smtp user credentials with my email account details,
>> the sample works fine. Seems the given smtp user and password details in
>> sample_axis2_client.xml are invalid.
>>
>> [1] https://docs.wso2.com/display/DSS321/Eventing+Sample
>>
>> Regards
>> Omindu.
>> --
>> Omindu Rathnaweera
>> Software Engineer, WSO2 Inc.
>> Mobile: +94 771 197 211
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Anjana Fernando*
> Senior Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Seeing some warnings while building data-services component

2014-10-21 Thread Chanika Geeganage
factId:type:classifier)'
> must be unique: org.wso2.carbon:org.wso2.carbon.dataservices.common:jar ->
> duplicate declaration of version ${carbon.platform.version} @
> org.wso2.carbon:carbon-data:4.3.0-SNAPSHOT,
> /Users/WSO2USER08/WSO2/git/prabathabey/carbon-data/pom.xml, line 231,
> column 25
>
> [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.apache-extras.cassandra-jdbc.wso2:cassandra-jdbc:jar ->
> duplicate declaration of version ${cassandra-jdbc.driver.version} @
> org.wso2.carbon:carbon-data:4.3.0-SNAPSHOT,
> /Users/WSO2USER08/WSO2/git/prabathabey/carbon-data/pom.xml, line 340,
> column 25
>
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 63,
> column 21
>
> [WARNING]
>
> [WARNING] Some problems were encountered while building the effective
> model for
> org.wso2.carbon:org.wso2.carbon.dataservices.task.ui:bundle:4.3.0-SNAPSHOT
>
> [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.wso2.carbon:org.wso2.carbon.dataservices.common:jar ->
> duplicate declaration of version ${carbon.platform.version} @
> org.wso2.carbon:carbon-data:4.3.0-SNAPSHOT,
> /Users/WSO2USER08/WSO2/git/prabathabey/carbon-data/pom.xml, line 231,
> column 25
>
> [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.apache-extras.cassandra-jdbc.wso2:cassandra-jdbc:jar ->
> duplicate declaration of version ${cassandra-jdbc.driver.version} @
> org.wso2.carbon:carbon-data:4.3.0-SNAPSHOT,
> /Users/WSO2USER08/WSO2/git/prabathabey/carbon-data/pom.xml, line 340,
> column 25
>
> [WARNING]
>
> [WARNING] Some problems were encountered while building the effective
> model for
> org.wso2.carbon:org.wso2.carbon.dataservices.sql.driver:bundle:4.3.0-SNAPSHOT
>
> [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.wso2.carbon:org.wso2.carbon.dataservices.common:jar ->
> duplicate declaration of version ${carbon.platform.version} @
> org.wso2.carbon:carbon-data:4.3.0-SNAPSHOT,
> /Users/WSO2USER08/WSO2/git/prabathabey/carbon-data/pom.xml, line 231,
> column 25
>
> [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.apache-extras.cassandra-jdbc.wso2:cassandra-jdbc:jar ->
> duplicate declaration of version ${cassandra-jdbc.driver.version} @
> org.wso2.carbon:carbon-data:4.3.0-SNAPSHOT,
> /Users/WSO2USER08/WSO2/git/prabathabey/carbon-data/pom.xml, line 340,
> column 25
>
> [WARNING]
>
> [WARNING] Some problems were encountered while building the effective
> model for org.wso2.carbon:data-services:pom:4.3.0-SNAPSHOT
>
> [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.wso2.carbon:org.wso2.carbon.dataservices.common:jar ->
> duplicate declaration of version ${carbon.platform.version} @
> org.wso2.carbon:carbon-data:4.3.0-SNAPSHOT,
> /Users/WSO2USER08/WSO2/git/prabathabey/carbon-data/pom.xml, line 231,
> column 25
>
> [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.apache-extras.cassandra-jdbc.wso2:cassandra-jdbc:jar ->
> duplicate declaration of version ${cassandra-jdbc.driver.version} @
> org.wso2.carbon:carbon-data:4.3.0-SNAPSHOT,
> /Users/WSO2USER08/WSO2/git/prabathabey/carbon-data/pom.xml, line 340,
> column 25
>
> [WARNING]
>
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
>
> [WARNING]
>
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
>
> Cheers,
> Prabath
> --
> Prabath Abeysekara
> Associate Technical Lead, Data TG.
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Locking table issue observed when invoking dss service

2014-10-20 Thread Chanika Geeganage
Hi,

This error has been occurred in a worker-manager clustered setup when
invoking a dataservice which uses a carbon datasource saved in the
registry. The complete stack trace can be found in [1]. What is the root
cause of this issue? Can someone shed some light on this.

[1] https://wso2.org/jira/browse/DS-975
-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk-13 build error

2014-10-10 Thread Chanika Geeganage
Hi,

You have to build the kernel patch0009 before that. The Hazelcast was
upgrade and those changes are in the kernel patch0009

Thanks

On Fri, Oct 10, 2014 at 12:49 PM, Lakshman Udayakantha 
wrote:

> Hi,
>
> I got this error when building chunk-13.
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> (default-compile) on project org.wso2.carbon.ntask.core: Compilation
> failure: Compilation failure:
>
> [ERROR]
> /Users/lakshman/Documents/sources/carbon/platform/branches/turing/components/ntask/org.wso2.carbon.ntask.core/4.2.4/src/main/java/org/wso2/carbon/ntask/core/impl/clustered/ClusterGroupCommunicator.java:[268,39]
> cannot find symbol
>
> [ERROR] symbol  : class MemberAttributeEvent
>
> [ERROR] location: class
> org.wso2.carbon.ntask.core.impl.clustered.ClusterGroupCommunicator
>
> [ERROR]
>
> [ERROR]
> /Users/lakshman/Documents/sources/carbon/platform/branches/turing/components/ntask/org.wso2.carbon.ntask.core/4.2.4/src/main/java/org/wso2/carbon/ntask/core/impl/clustered/ClusterGroupCommunicator.java:[267,4]
> method does not override or implement a method from a supertype
>
> [ERROR]
>
> [ERROR]
> /Users/lakshman/Documents/sources/carbon/platform/branches/turing/components/ntask/org.wso2.carbon.ntask.core/4.2.4/src/main/java/org/wso2/carbon/ntask/core/TaskServiceContext.java:[66,21]
> cannot find symbol
>
> [ERROR] symbol  : method getSocketAddress()
>
> [ERROR] location: interface com.hazelcast.core.Member
>
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0711241005*
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Chunk13 build error] DSS product

2014-10-06 Thread Chanika Geeganage
Hi,

This happened because the org.wso2.carbon.reporting.server.feature is moved
to chunk-14. Now it is moved back to chunk-13

Thanks

On Mon, Oct 6, 2014 at 12:32 PM, Vijayaratha Vijayasingam 
wrote:

> DS team;
> Is it possible to check all build errors in DS?
>
> Thanks.
>
> On 6 October 2014 11:39, Vijayaratha Vijayasingam  wrote:
>
>> Getting;
>>
>> [INFO] BUILD FAILURE
>>
>> [INFO]
>> 
>>
>> [INFO] Total time: 47:16.937s
>>
>> [INFO] Finished at: Sun Oct 05 23:05:14 PDT 2014
>>
>> [INFO] Final Memory: 300M/838M
>>
>> [INFO]
>> 
>>
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
>> project wso2dataservices-profile-gen: Error occured when processing the
>> Feature Artifact:
>> org.wso2.carbon:org.wso2.carbon.reporting.server.feature:4.2.2: ERROR:
>> Could not find artifact
>> org.wso2.carbon:org.wso2.carbon.reporting.server.feature:zip:4.2.2 in
>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>
>> [ERROR]
>>
>> [ERROR] Try downloading the file manually from the project website.
>>
>> [ERROR]
>>
>> [ERROR] Then, install it using the command:
>>
>> [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
>> -DartifactId=org.wso2.carbon.reporting.server.feature -Dversion=4.2.2
>> -Dpackaging=zip -Dfile=/path/to/file
>>
>> [ERROR]
>>
>> [ERROR] Alternatively, if you host your own repository you can deploy the
>> file there:
>>
>> [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>> -DartifactId=org.wso2.carbon.reporting.server.feature -Dversion=4.2.2
>> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>> [ERROR]
>>
>> [ERROR]
>>
>> [ERROR] org.wso2.carbon:org.wso2.carbon.reporting.server.feature:zip:4.2.2
>>
>> [ERROR]
>>
>> [ERROR] from the specified remote repositories:
>>
>> [ERROR] wso2-nexus (
>> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
>> snapshots=true),
>>
>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
>> snapshots=false)
>>
>> [ERROR] -> [Help 1]
>>
>> [ERROR]
>>
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>>
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>
>> [ERROR]
>>
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>>
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>
>> [ERROR]
>>
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>>
>> [ERROR]   mvn  -rf :wso2dataservices-profile-gen
>>
>> root@sr3
>> :/opt/checkout_chunk13/platform/branches/turing/product-releases/chunk-13#
>>
>> root@sr3
>> :/opt/checkout_chunk13/platform/branches/turing/product-releases/chunk-13#
>>
>> root@sr3
>> :/opt/checkout_chunk13/platform/branches/turing/product-releases/chunk-13#
>>
>> --
>> -Ratha
>>
>
>
>
> --
> -Ratha
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [chunk13]DSS build error

2014-10-01 Thread Chanika Geeganage
The build failure is fixed. The
org.wso2.carbon.databridge.datapublisher.feature:4.2.3 has been moved to
chunk14 and because of that it was failing.

Thanks

On Thu, Oct 2, 2014 at 11:06 AM, Vijayaratha Vijayasingam 
wrote:

> DS Team;
> Do you release with chunk-13? if so can you check this build error? It
> occurs in the clean repo
>
> Thanks
>
> On 29 September 2014 21:30, Vijayaratha Vijayasingam 
> wrote:
>
>> [INFO]
>> 
>>
>> [INFO] BUILD FAILURE
>>
>> [INFO]
>> 
>>
>> [INFO] Total time: 43:48.025s
>>
>> [INFO] Finished at: Mon Sep 29 08:39:02 PDT 2014
>>
>> [INFO] Final Memory: 578M/906M
>>
>> [INFO]
>> 
>>
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
>> project wso2dataservices-profile-gen: Error occured when processing the
>> Feature Artifact:
>> org.wso2.carbon:org.wso2.carbon.databridge.datapublisher.feature:4.2.3:
>> ERROR: Could not find artifact
>> org.wso2.carbon:org.wso2.carbon.databridge.datapublisher.feature:zip:4.2.3
>> in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>
>> [ERROR]
>>
>> [ERROR] Try downloading the file manually from the project website.
>>
>> [ERROR]
>>
>> [ERROR] Then, install it using the command:
>>
>> [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
>> -DartifactId=org.wso2.carbon.databridge.datapublisher.feature
>> -Dversion=4.2.3 -Dpackaging=zip -Dfile=/path/to/file
>>
>> [ERROR]
>>
>> [ERROR] Alternatively, if you host your own repository you can deploy the
>> file there:
>>
>> [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>> -DartifactId=org.wso2.carbon.databridge.datapublisher.feature
>> -Dversion=4.2.3 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
>> -DrepositoryId=[id]
>>
>> [ERROR]
>>
>> --
>> -Ratha
>>
>
>
>
> --
> -Ratha
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] DSS 3.2.2 RC Released!

2014-09-27 Thread Chanika Geeganage
Please find the $subject on

https://svn.wso2.org/repos/wso2/scratch/chunk13-release/28_09_2014/wso2dss-3.2.2.zip


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 DSS Google Spread Sheet sample error

2014-09-25 Thread Chanika Geeganage
Hi,

Yes, it seems the sample user credentials are again changed. You can try
with the following url

http://localhost:9763/services/samples/GSpreadSample.HTTPEndpoint/customers

as this sample is deployed under 'samples'. The doc should be changed.
@Nilmini, please note.

Thanks

On Fri, Sep 26, 2014 at 9:45 AM, Chamin Nalinda  wrote:

> Hi Chanika,
>
> I'm using the latest one (3.2.1)
>
> I did manually typed the following in the request area and tried to send.
> (according to sample documentation)
>
> [link] https://docs.wso2.com/display/DSS321/Google+Spreadsheet+Samplea
>
> and when try to access the link
> http://localhost:9763/services/GSpreadSample.HTTPEndpoint/customers fault
> string says " The service cannot be found for the endpoint reference
> (EPR) /services/GSpreadSample.HTTPEndpoint/customers"
>
> *XML typed*
>
> http://ws.wso2.org/dataservice/samples/gspreadd_sample_service";> 
> 103
> 
>
>  >112 
>
>  >114 
>
>
>  >119 
> 
>
> *output error message*
>
> The service cannot be found for the endpoint reference (EPR)
> /services/GSpreadSample.HTTPEndpoint/customers
>
> On Fri, Sep 26, 2014 at 6:18 AM, Chanika Geeganage 
> wrote:
>
>> Hi Chamin,
>>
>> What is the DSS version you are using? It seems the Google credentials in
>> the sample are invalid. The credentials in the Google spreadsheet sample in
>> earlier DSS versions are changed by someone and  throwing the above
>> exception. But it was corrected in recent releases
>>
>> Thanks
>> Chanika
>>
>> On Thu, Sep 25, 2014 at 3:49 PM, Chamin Nalinda  wrote:
>>
>>> Following error generates when running sample
>>>
>>> http://www.w3.org/2003/05/soap-envelope";
>>> xmlns:axis2ns25="http://ws.wso2.org/dataservice";>
>>>
>>>   axis2ns25:UNKNOWN_ERROR
>>>
>>>
>>>   DS Code: UNKNOWN_ERROR
>>> Nested Exception:-
>>> javax.xml.stream.XMLStreamException: DS Fault Message: Error in query
>>> GSpreadQuery.execute
>>> DS Code: UNKNOWN_ERROR
>>> Source Data Service:-
>>> Name: GSpreadSample
>>> Location: /samples/GSpreadSample.dbs
>>> Description: N/A
>>> Default Namespace:
>>> http://ws.wso2.org/dataservice/samples/gspread_sample_service
>>> Current Request Name: _getcustomers
>>> Current Params: {}
>>> Nested Exception:-
>>> com.google.gdata.client.GoogleService$InvalidCredentialsException:
>>> Invalid credentials
>>>
>>> 
>>>
>>>
>>>   http://ws.wso2.org/dataservice";>
>>>  {}
>>>
>>>  
>>> _getcustomers
>>>
>>>  
>>> com.google.gdata.client.GoogleService$InvalidCredentialsException:
>>> Invalid credentials
>>>  
>>>
>>> /samples/GSpreadSample.dbs
>>> 
>>> http://ws.wso2.org/dataservice/samples/gspread_sample_service
>>> 
>>> N/A
>>>
>>> GSpreadSample
>>>  
>>>  UNKNOWN_ERROR
>>>   
>>>
>>> 
>>>
>>>
>>>  Following error  message is shown in the DSS bin window.
>>>
>>> DS Code: UNKNOWN_ERROR
>>> Source Data Service:-
>>> Name: GSpreadSample
>>> Location: /samples/GSpreadSample.dbs
>>> Description: N/A
>>> Default Namespace:
>>> http://ws.wso2.org/dataservice/samples/gspread_sample_service
>>> Current Request Name: _getcustomers
>>> Current Params: {}
>>> Nested Exception:-
>>> com.google.gdata.client.GoogleService$InvalidCredentialsException:
>>> Invalid credentials
>>>
>>>
>>> --
>>> *Chamin Nalinda*
>>>
>>> Intern - Engineering
>>> WSO2 Inc. http://www.wso2.com
>>> lean.enterprise.middleware
>>>
>>> Mobile: (+94) 77 241 66 04
>>> Linkedin: https://www.linkedin.com/in/chaminnalinda
>>> Web: http://www.ckreativity.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> *Chamin Nalinda*
>
> Intern - Engineering
> WSO2 Inc. http://www.wso2.com
> lean.enterprise.middleware
>
> Mobile: (+94) 77 241 66 04
> Linkedin: https://www.linkedin.com/in/chaminnalinda
> Web: http://www.ckreativity.com
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 DSS Google Spread Sheet sample error

2014-09-25 Thread Chanika Geeganage
Hi Chamin,

What is the DSS version you are using? It seems the Google credentials in
the sample are invalid. The credentials in the Google spreadsheet sample in
earlier DSS versions are changed by someone and  throwing the above
exception. But it was corrected in recent releases

Thanks
Chanika

On Thu, Sep 25, 2014 at 3:49 PM, Chamin Nalinda  wrote:

> Following error generates when running sample
>
> http://www.w3.org/2003/05/soap-envelope";
> xmlns:axis2ns25="http://ws.wso2.org/dataservice";>
>
>   axis2ns25:UNKNOWN_ERROR
>
>
>   DS Code: UNKNOWN_ERROR
> Nested Exception:-
> javax.xml.stream.XMLStreamException: DS Fault Message: Error in query
> GSpreadQuery.execute
> DS Code: UNKNOWN_ERROR
> Source Data Service:-
> Name: GSpreadSample
> Location: /samples/GSpreadSample.dbs
> Description: N/A
> Default Namespace:
> http://ws.wso2.org/dataservice/samples/gspread_sample_service
> Current Request Name: _getcustomers
> Current Params: {}
> Nested Exception:-
> com.google.gdata.client.GoogleService$InvalidCredentialsException: Invalid
> credentials
>
> 
>
>
>   http://ws.wso2.org/dataservice";>
>  {}
>
>  
> _getcustomers
>
>  
> com.google.gdata.client.GoogleService$InvalidCredentialsException:
> Invalid credentials
>  
>
> /samples/GSpreadSample.dbs
> 
> http://ws.wso2.org/dataservice/samples/gspread_sample_service
> 
> N/A
>
> GSpreadSample
>  
>  UNKNOWN_ERROR
>   
>
> 
>
>
>  Following error  message is shown in the DSS bin window.
>
> DS Code: UNKNOWN_ERROR
> Source Data Service:-
> Name: GSpreadSample
> Location: /samples/GSpreadSample.dbs
> Description: N/A
> Default Namespace:
> http://ws.wso2.org/dataservice/samples/gspread_sample_service
> Current Request Name: _getcustomers
> Current Params: {}
> Nested Exception:-
> com.google.gdata.client.GoogleService$InvalidCredentialsException: Invalid
> credentials
>
>
> --
> *Chamin Nalinda*
>
> Intern - Engineering
> WSO2 Inc. http://www.wso2.com
> lean.enterprise.middleware
>
> Mobile: (+94) 77 241 66 04
> Linkedin: https://www.linkedin.com/in/chaminnalinda
> Web: http://www.ckreativity.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 DSS 3.2.2 Alpha Released!!!

2014-09-16 Thread Chanika Geeganage
Hi,

WSO2 Data Services Server 3.2.2 Alpha  Release is available for download at
[1] . This release includes following bug fixes and improvements.

Bugs

   - [DS-961 <https://wso2.org/jira/browse/DS-961>] - Results do not show
   up when using excel data source + non sql qeury mode + use column numbers
   - [DS-903 <https://wso2.org/jira/browse/DS-903>] - Nested Query does not
   work in MySQL datasources
   - [DS-958 <https://wso2.org/jira/browse/DS-958>] - Result is not in
   correct format in when using RDF output format
   - [DS-955 <https://wso2.org/jira/browse/DS-955>] - Existing output
   mappings does not show up in "Add/Edit Output Mapping" window
   - [DS-946 <https://wso2.org/jira/browse/DS-946>] - Registry tree is not
   loaded to give the registry resource for XSLT transformation
   - [DS-945 <https://wso2.org/jira/browse/DS-945>] - RDF output mappings
   does not appear in UI
   - [DS-935 <https://wso2.org/jira/browse/DS-935>] - Duplicate entries
   added when editing RDF format resource output mapping
   - [DS-902 <https://wso2.org/jira/browse/DS-902>] - Remove
   returnGeneratedKeys option for CSV dataservices
   - [DS-959 <https://wso2.org/jira/browse/DS-959>] - Dataservice
   generation fails for some data types. ex: TIMESTAMP
   - [DS-956 <https://wso2.org/jira/browse/DS-956>] - When creating
   datasources "Test Connection" fails when user name has an '&' sign
   - [DS-937 <https://wso2.org/jira/browse/DS-937>] - When calling
   begin_boxcarring method from wso2esb there is no way to retrieve the
   Set-Cookie transport headers.
   - [DS-914 <https://wso2.org/jira/browse/DS-914>] - In the permission
   tree dataservices in listed under configure
   - [DS-913 <https://wso2.org/jira/browse/DS-913>] - Wrong permission tree
   for creating a new datasouce
   - [DS-909 <https://wso2.org/jira/browse/DS-909>] - Insert query is
   executed twice when the result set is null and an incorrect result mapping
   is given in the query
   - [DS-908 <https://wso2.org/jira/browse/DS-908>] - Input mapping Sql
   Type CLOB in DSS, throws null exception

Improvements

   - [DS-930 <https://wso2.org/jira/browse/DS-930>] - New Google
   Spreadsheet URL support
   - [DS-953 <https://wso2.org/jira/browse/DS-953>] - Configuring transport
   and security policy in dataservice config



 Please report issues at [2] and specify the affect version as 3.2.2 Alpha.

[1]
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/14-09-2014/wso2dss-3.2.2.zip
<https://svn.wso2.org/repos/wso2/people/warunaj/releases/bps350/M4/wso2bps-3.5.0-SNAPSHOT.zip>
[2] https://wso2.org/jira/browse/DS

-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DSS]Generating Using a Given Database Structure failed

2014-09-10 Thread Chanika Geeganage
The tentative date for the DSS 3.2.2 release is Sep 26th. You can find DSS
release dates from [1]

[1]
https://wso2.org/jira/browse/DS#selectedTab=com.atlassian.jira.plugin.system.project%3Aversions-panel

On Wed, Sep 10, 2014 at 2:59 PM, stevegyc  wrote:

>   Hi Chanika:
>
> Thank you very much!
> By the way, do you know when DSS 3.2.2 will be released?
>
> --
> stevegyc
>
>  *From:* Chanika Geeganage 
> *Date:* 2014-09-10 17:24
> *To:* stevegyc 
> *CC:* Dakshika Jayathilaka ; dev 
> *Subject:* Re: [Dev] [DSS]Generating Using a Given Database Structure
> failed
>   Hi,
>
> I was able to reproduce this error. From the corresponding resultSet (for
> TIMESTAMP type), when we try to get the SQL Type using
> resultSet.getInt("DATA_TYPE") it gives  which is mapped to SQL Type
> 'OTHER' [1]. It is an issue in the Oracle ResultSet Implementation, anyway
> we will handle this in the DSS 3.2.2 by converting that to a STRING value.
> I have created a JIRA to track this issue.
>
> [1]
> http://docs.oracle.com/javase/6/docs/api/constant-values.html#java.sql.Types.DATE
> [2] https://wso2.org/jira/browse/DS-959
>
> Thanks
>
> On Wed, Sep 10, 2014 at 1:17 PM, stevegyc  wrote:
>
>>  Hi Dakshika:
>>
>> Thank you for your reply.
>> But it is difficult for me to change the format of "TIMESTAMP".
>> Can you tell me the location of the related code approximately?
>>
>> --
>> stevegyc
>>
>>  *From:* Dakshika Jayathilaka 
>> *Date:* 2014-09-10 14:41
>> *To:* stevegyc 
>> *CC:* dev 
>> *Subject:* Re: Re: [Dev] [DSS]Generating Using a Given Database
>> Structure failed
>>   AFAIK it should -MM-DD HH24:MI:SS.FF --> 1997-01-31 09:26:50.12
>>
>>  *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Wed, Sep 10, 2014 at 3:06 AM, stevegyc  wrote:
>>
>>>  Hi Dakshika
>>>
>>> The format of TIMESTAMP value is like "05-2月 -12 11.17.41.000 下午 ",
>>> what is the format that DSS support?
>>>
>>> --
>>> stevegyc
>>>
>>>  *From:* Dakshika Jayathilaka 
>>> *Date:* 2014-09-10 10:25
>>> *To:* stevegyc 
>>> *CC:* dev 
>>> *Subject:* Re: [Dev] [DSS]Generating Using a Given Database Structure
>>> failed
>>>   Hi,
>>>
>>> What is the format of TIMESTAMP value ? If your sending incorrect format
>>> that will cause some issues.
>>>
>>>
>>>
>>>  *Dakshika Jayathilaka*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Wed, Sep 10, 2014 at 2:16 AM, stevegyc  wrote:
>>>
>>>>   Hi:
>>>>
>>>>
>>>> When I generated dss server by using a given database structure, it failed 
>>>> and following error log displayed.
>>>>
>>>>
>>>> TID: [0] [DSS] [2014-09-09 14:50:42,957]  WARN 
>>>> {org.wso2.carbon.dataservices.core.script.DSGenerator} -  Insert operation 
>>>> not created {org.wso2.carbon.dataservices.core.script.DSGenerator}
>>>> DS Code: UNKNOWN_ERROR
>>>> Nested Exception:-
>>>> DS Fault Message: Invalid query param sqlType: 'null'.
>>>> DS Code: UNKNOWN_ERROR
>>>>
>>>> at 
>>>> org.wso2.carbon.dataservices.core.engine.QueryParam.validateQueryParam(QueryParam.java:123)
>>>>
>>>> at 
>>>> org.wso2.carbon.dataservices.core.engine.QueryParam.(QueryParam.java:76)
>>>>
>>>> at 
>>>> org.wso2.carbon.dataservices.core.script.DSGenerator.getQueryParamList(DSGenerator.java:754)
>>>>
>>>> at 
>>>> org.wso2.carbon.dataservices.core.script.DSGenerator.getInsertQuery(DSGenerator.java:687)
>>>>
>>>> at 
>>>> org.wso2.carbon.dataservices.core.script.DSGenerator.addInsertOperation(DSGenerator.java:472)
>>>>
>>>> at 
>>>> org.wso2.carbon.dataservices.core.script.DSGenerator.addOperations(DSGenerator.java:236)
>>>>
>>>> at 
>>>> org.wso2.carbon.dataservices.core.script.DSGenerator.makeService(DSGenerator.java:197)
>>>>
>>>> at 
>>>> org.wso2.carbon.dataservices.core.script.DSGenerator.generateService(DSGenerator.java:160)
>>>>
>

Re: [Dev] [DSS]Generating Using a Given Database Structure failed

2014-09-10 Thread Chanika Geeganage
Hi,

I was able to reproduce this error. From the corresponding resultSet (for
TIMESTAMP type), when we try to get the SQL Type using
resultSet.getInt("DATA_TYPE") it gives  which is mapped to SQL Type
'OTHER' [1]. It is an issue in the Oracle ResultSet Implementation, anyway
we will handle this in the DSS 3.2.2 by converting that to a STRING value.
I have created a JIRA to track this issue.

[1]
http://docs.oracle.com/javase/6/docs/api/constant-values.html#java.sql.Types.DATE
[2] https://wso2.org/jira/browse/DS-959

Thanks

On Wed, Sep 10, 2014 at 1:17 PM, stevegyc  wrote:

>  Hi Dakshika:
>
> Thank you for your reply.
> But it is difficult for me to change the format of "TIMESTAMP".
> Can you tell me the location of the related code approximately?
>
> --
> stevegyc
>
>  *From:* Dakshika Jayathilaka 
> *Date:* 2014-09-10 14:41
> *To:* stevegyc 
> *CC:* dev 
> *Subject:* Re: Re: [Dev] [DSS]Generating Using a Given Database Structure
> failed
>  AFAIK it should -MM-DD HH24:MI:SS.FF --> 1997-01-31 09:26:50.12
>
>  *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Wed, Sep 10, 2014 at 3:06 AM, stevegyc  wrote:
>
>>  Hi Dakshika
>>
>> The format of TIMESTAMP value is like "05-2月 -12 11.17.41.000 下午 ",
>> what is the format that DSS support?
>>
>> --
>> stevegyc
>>
>>  *From:* Dakshika Jayathilaka 
>> *Date:* 2014-09-10 10:25
>> *To:* stevegyc 
>> *CC:* dev 
>> *Subject:* Re: [Dev] [DSS]Generating Using a Given Database Structure
>> failed
>>   Hi,
>>
>> What is the format of TIMESTAMP value ? If your sending incorrect format
>> that will cause some issues.
>>
>>
>>
>>  *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Wed, Sep 10, 2014 at 2:16 AM, stevegyc  wrote:
>>
>>>   Hi:
>>>
>>>
>>> When I generated dss server by using a given database structure, it failed 
>>> and following error log displayed.
>>>
>>>
>>> TID: [0] [DSS] [2014-09-09 14:50:42,957]  WARN 
>>> {org.wso2.carbon.dataservices.core.script.DSGenerator} -  Insert operation 
>>> not created {org.wso2.carbon.dataservices.core.script.DSGenerator}
>>> DS Code: UNKNOWN_ERROR
>>> Nested Exception:-
>>> DS Fault Message: Invalid query param sqlType: 'null'.
>>> DS Code: UNKNOWN_ERROR
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.engine.QueryParam.validateQueryParam(QueryParam.java:123)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.engine.QueryParam.(QueryParam.java:76)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.script.DSGenerator.getQueryParamList(DSGenerator.java:754)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.script.DSGenerator.getInsertQuery(DSGenerator.java:687)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.script.DSGenerator.addInsertOperation(DSGenerator.java:472)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.script.DSGenerator.addOperations(DSGenerator.java:236)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.script.DSGenerator.makeService(DSGenerator.java:197)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.script.DSGenerator.generateService(DSGenerator.java:160)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.script.DSGenerator.(DSGenerator.java:108)
>>>
>>> at 
>>> org.wso2.carbon.dataservices.core.admin.DataServiceAdmin.getDSService(DataServiceAdmin.java:447)
>>>
>>>
>>> My DB is oracle and my table only include 4 datatypes NUMBER, VARCHAR2, 
>>> DATE and TIMESTAMP, such as following:
>>> create table INFO
>>> (
>>>   object_id  NUMBER(18) not null,
>>>   oc_name  VARCHAR2(50),
>>>   last_time  DATE,
>>>   insert_time   TIMESTAMP(3) default SYSDATE,
>>> )
>>>
>>>
>>> It seems DSS does not support the datatype of "TIMESTAMP", When I delete 
>>> the datatype of "TIMESTAMP", it can generate dss server successfully.
>>>
>>> I do not know why DSS do not support datatype of "TIMESTAMP" and how to 
>>> solve it.
>>>
>>> --
>>>  stevegyc
>>>
>>> ___
>>> 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
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk-13 packs 03/09/2014

2014-09-04 Thread Chanika Geeganage
Hi Evanthika,

The DSS pack is committed to the same location

Thanks


On Fri, Sep 5, 2014 at 10:16 AM, Evanthika Amarasiri 
wrote:

> Hi Chanika,
>
> Can we get a DSS pack as well? We are planning to do a setup with API-M &
> DSS.
>
> ​Regards,
> Evanthika
>
> On Wed, Sep 3, 2014 at 4:56 PM, Vijayaratha Vijayasingam 
> wrote:
>
>> Hi all;
>> Please find packs here
>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03-09-2014/
>>
>> --
>> -Ratha
>>
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] {chunk-13 packs}

2014-09-04 Thread Chanika Geeganage
Hi Evanthika,

DSS pack is also available now in the above location.

Thanks


On Fri, Sep 5, 2014 at 10:35 AM, Evanthika Amarasiri 
wrote:

> Thanks Ratha,
>
> Can we have a DSS pack as well?
>
> ​Regards,
> Evanthika
>
> On Fri, Sep 5, 2014 at 10:33 AM, Vijayaratha Vijayasingam  > wrote:
>
>> Hi Evanthika,
>> Use this packs fro testing;
>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/
>>
>> Thanks.
>>
>> --
>> -Ratha
>>
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deploying dataservice configuration with services.xml using Capp.

2014-08-15 Thread Chanika Geeganage
Hi Jasintha,

Yes. All the configurations added to the services.xml (QoS) can be added to
the .dbs file inline after this change.

Thanks


On Fri, Aug 15, 2014 at 2:11 PM, Jasintha Dasanayake 
wrote:

> Hi Chanika
>
> We are planing to apply QoS stuff also through the service.xml  file so
> would it be possible to add QoS stuff into dbs file too ?
>
> Thanks and Regards
> /Jasintha
>
>
> On Fri, Aug 15, 2014 at 2:00 PM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> Instead of adding service.xml file to .car we are going to add the
>> content of services.xml to dataservices config itself and in the deployment
>> time use the existing code to parse that content as services meta data.
>>
>> Thanks
>>
>>
>> On Fri, Aug 15, 2014 at 9:00 AM, Chanika Geeganage 
>> wrote:
>>
>>> Hi Shameera,
>>>
>>> As discussed offline, in this suggested method we are not going to have
>>> an archive format (like .aar or .war) for dataservice config file (.dbs)
>>> and services.xml file inside the .car file. As I said in my previous mail
>>> this is going to be the dependency tree structure.
>>>
>>>
>>> testCar-1.0.0
>>>  |-- artifacts.xml
>>>  |-- SampleDataService_1.0.0
>>> |-- artifacts.xml
>>> |-- SampleDataService-1.0.0.dbs
>>> |-- servicesMetaFiles
>>> |-- SampleDataService_service.xml
>>> |-- artifacts.xml
>>>
>>> Will this be OK to go ahead?
>>>
>>> Thanks
>>>
>>>
>>> On Thu, Aug 14, 2014 at 3:46 PM, Shameera Rathnayaka 
>>> wrote:
>>>
>>>> Hi Chanika,
>>>>
>>>> In Axis2 .aar file we use META-INF directory to keep the services.xml
>>>> file and in tomcat .war file there is WEB-INF to keep web.xml file, By
>>>> looking at the consistency it is better to keep services.xml file in a
>>>> separate directory .  And make sure to use proper name for the above
>>>> subdirectory.
>>>>
>>>> Thanks,
>>>> Shameera.
>>>>
>>>>
>>>>
>>>> On Wed, Aug 13, 2014 at 4:45 PM, Chanika Geeganage 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> There is a requirement to deploy dataservice configuration (.dbs) file
>>>>> with its corresponding services.xml using Capp. According to the current
>>>>> implementation, DefaultAppDeployer[1] calls .dsb files deployer. As the
>>>>> artifacts in the Capp are extracted and copied to a temporary location
>>>>> before deploying the services, we thought of changing the dataservice
>>>>> deployer code to pick the services.xml as well. So I tried to add the
>>>>> services.xml file as below to the car file.
>>>>>
>>>>> SampleCar-1.0.0
>>>>>  |-- artifacts.xml
>>>>>  |-- SampleDataService_1.0.0
>>>>> |-- artifacts.xml
>>>>> |-- SampleDataService-1.0.0.dbs
>>>>> |-- SampleDataService_service.xml
>>>>>
>>>>>
>>>>>  But it seems only one file is allowed to have per a dependency.
>>>>> (SampleDataService is a dependency for the root artifact). It gives the
>>>>> following error.
>>>>>
>>>>> ERROR
>>>>> {org.wso2.carbon.application.deployer.handler.DefaultAppDeployer} -
>>>>> service/dataservice type must have a single file. But 2 files found.
>>>>>
>>>>> Then the idea is to use the following dependency tree.
>>>>> testCar-1.0.0
>>>>>  |-- artifacts.xml
>>>>>  |-- SampleDataService_1.0.0
>>>>> |-- artifacts.xml
>>>>> |-- SampleDataService-1.0.0.dbs
>>>>> |-- servicesMetaFiles
>>>>> |-- SampleDataService_service.xml
>>>>> |-- artifacts.xml
>>>>>
>>>>> We may need to change the dataservice code to lookup for
>>>>> servicesMetaFiles folder for services.xml file.
>>>>>
>>>>> Will this be a correct way to fulfill the requirement?
>>>>>
>>>>> Anyway in the future we will move to a single archive format to
>>>>> archive both dataservice config and the services.xml file.
>>>>>
>>>>> [1]
>>>>> https://svn

Re: [Dev] Deploying dataservice configuration with services.xml using Capp.

2014-08-15 Thread Chanika Geeganage
Hi,

Instead of adding service.xml file to .car we are going to add the content
of services.xml to dataservices config itself and in the deployment time
use the existing code to parse that content as services meta data.

Thanks


On Fri, Aug 15, 2014 at 9:00 AM, Chanika Geeganage  wrote:

> Hi Shameera,
>
> As discussed offline, in this suggested method we are not going to have an
> archive format (like .aar or .war) for dataservice config file (.dbs) and
> services.xml file inside the .car file. As I said in my previous mail this
> is going to be the dependency tree structure.
>
>
> testCar-1.0.0
>  |-- artifacts.xml
>  |-- SampleDataService_1.0.0
> |-- artifacts.xml
> |-- SampleDataService-1.0.0.dbs
> |-- servicesMetaFiles
> |-- SampleDataService_service.xml
> |-- artifacts.xml
>
> Will this be OK to go ahead?
>
> Thanks
>
>
> On Thu, Aug 14, 2014 at 3:46 PM, Shameera Rathnayaka 
> wrote:
>
>> Hi Chanika,
>>
>> In Axis2 .aar file we use META-INF directory to keep the services.xml
>> file and in tomcat .war file there is WEB-INF to keep web.xml file, By
>> looking at the consistency it is better to keep services.xml file in a
>> separate directory .  And make sure to use proper name for the above
>> subdirectory.
>>
>> Thanks,
>> Shameera.
>>
>>
>>
>> On Wed, Aug 13, 2014 at 4:45 PM, Chanika Geeganage 
>> wrote:
>>
>>> Hi,
>>>
>>> There is a requirement to deploy dataservice configuration (.dbs) file
>>> with its corresponding services.xml using Capp. According to the current
>>> implementation, DefaultAppDeployer[1] calls .dsb files deployer. As the
>>> artifacts in the Capp are extracted and copied to a temporary location
>>> before deploying the services, we thought of changing the dataservice
>>> deployer code to pick the services.xml as well. So I tried to add the
>>> services.xml file as below to the car file.
>>>
>>> SampleCar-1.0.0
>>>  |-- artifacts.xml
>>>  |-- SampleDataService_1.0.0
>>> |-- artifacts.xml
>>> |-- SampleDataService-1.0.0.dbs
>>> |-- SampleDataService_service.xml
>>>
>>>
>>>  But it seems only one file is allowed to have per a dependency.
>>> (SampleDataService is a dependency for the root artifact). It gives the
>>> following error.
>>>
>>> ERROR {org.wso2.carbon.application.deployer.handler.DefaultAppDeployer}
>>> -  service/dataservice type must have a single file. But 2 files found.
>>>
>>> Then the idea is to use the following dependency tree.
>>> testCar-1.0.0
>>>  |-- artifacts.xml
>>>  |-- SampleDataService_1.0.0
>>> |-- artifacts.xml
>>> |-- SampleDataService-1.0.0.dbs
>>> |-- servicesMetaFiles
>>> |-- SampleDataService_service.xml
>>> |-- artifacts.xml
>>>
>>> We may need to change the dataservice code to lookup for
>>> servicesMetaFiles folder for services.xml file.
>>>
>>> Will this be a correct way to fulfill the requirement?
>>>
>>> Anyway in the future we will move to a single archive format to archive
>>> both dataservice config and the services.xml file.
>>>
>>> [1]
>>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.application.deployer/4.2.0/src/main/java/org/wso2/carbon/application/deployer/handler/DefaultAppDeployer.java
>>>
>>> --
>>> Best Regards..
>>>
>>> Chanika Geeganage
>>> Software Engineer
>>> WSO2, Inc.; http://wso2.com
>>>
>>>
>>
>>
>> --
>> *Software Engineer - WSO2 Inc.*
>> *email: shameera AT wso2.com  , shameera AT apache.org
>> *
>> *phone:  +9471 922 1454 <%2B9471%20922%201454>*
>>
>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>> *Twitter : *https://twitter.com/Shameera_R
>>
>
>
>
> --
> Best Regards..
>
> Chanika Geeganage
> Software Engineer
> WSO2, Inc.; http://wso2.com
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deploying dataservice configuration with services.xml using Capp.

2014-08-14 Thread Chanika Geeganage
Hi Shameera,

As discussed offline, in this suggested method we are not going to have an
archive format (like .aar or .war) for dataservice config file (.dbs) and
services.xml file inside the .car file. As I said in my previous mail this
is going to be the dependency tree structure.

testCar-1.0.0
 |-- artifacts.xml
 |-- SampleDataService_1.0.0
|-- artifacts.xml
|-- SampleDataService-1.0.0.dbs
|-- servicesMetaFiles
|-- SampleDataService_service.xml
|-- artifacts.xml

Will this be OK to go ahead?

Thanks


On Thu, Aug 14, 2014 at 3:46 PM, Shameera Rathnayaka 
wrote:

> Hi Chanika,
>
> In Axis2 .aar file we use META-INF directory to keep the services.xml file
> and in tomcat .war file there is WEB-INF to keep web.xml file, By looking
> at the consistency it is better to keep services.xml file in a separate
> directory .  And make sure to use proper name for the above subdirectory.
>
> Thanks,
> Shameera.
>
>
>
> On Wed, Aug 13, 2014 at 4:45 PM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> There is a requirement to deploy dataservice configuration (.dbs) file
>> with its corresponding services.xml using Capp. According to the current
>> implementation, DefaultAppDeployer[1] calls .dsb files deployer. As the
>> artifacts in the Capp are extracted and copied to a temporary location
>> before deploying the services, we thought of changing the dataservice
>> deployer code to pick the services.xml as well. So I tried to add the
>> services.xml file as below to the car file.
>>
>> SampleCar-1.0.0
>>  |-- artifacts.xml
>>  |-- SampleDataService_1.0.0
>> |-- artifacts.xml
>> |-- SampleDataService-1.0.0.dbs
>> |-- SampleDataService_service.xml
>>
>>
>>  But it seems only one file is allowed to have per a dependency.
>> (SampleDataService is a dependency for the root artifact). It gives the
>> following error.
>>
>> ERROR {org.wso2.carbon.application.deployer.handler.DefaultAppDeployer}
>> -  service/dataservice type must have a single file. But 2 files found.
>>
>> Then the idea is to use the following dependency tree.
>> testCar-1.0.0
>>  |-- artifacts.xml
>>  |-- SampleDataService_1.0.0
>> |-- artifacts.xml
>> |-- SampleDataService-1.0.0.dbs
>> |-- servicesMetaFiles
>> |-- SampleDataService_service.xml
>> |-- artifacts.xml
>>
>> We may need to change the dataservice code to lookup for
>> servicesMetaFiles folder for services.xml file.
>>
>> Will this be a correct way to fulfill the requirement?
>>
>> Anyway in the future we will move to a single archive format to archive
>> both dataservice config and the services.xml file.
>>
>> [1]
>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.application.deployer/4.2.0/src/main/java/org/wso2/carbon/application/deployer/handler/DefaultAppDeployer.java
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> *Software Engineer - WSO2 Inc.*
> *email: shameera AT wso2.com  , shameera AT apache.org
> *
> *phone:  +9471 922 1454 <%2B9471%20922%201454>*
>
> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
> *Twitter : *https://twitter.com/Shameera_R
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Deploying dataservice configuration with services.xml using Capp.

2014-08-13 Thread Chanika Geeganage
Hi,

There is a requirement to deploy dataservice configuration (.dbs) file with
its corresponding services.xml using Capp. According to the current
implementation, DefaultAppDeployer[1] calls .dsb files deployer. As the
artifacts in the Capp are extracted and copied to a temporary location
before deploying the services, we thought of changing the dataservice
deployer code to pick the services.xml as well. So I tried to add the
services.xml file as below to the car file.

SampleCar-1.0.0
 |-- artifacts.xml
 |-- SampleDataService_1.0.0
|-- artifacts.xml
|-- SampleDataService-1.0.0.dbs
|-- SampleDataService_service.xml


But it seems only one file is allowed to have per a dependency.
(SampleDataService is a dependency for the root artifact). It gives the
following error.

ERROR {org.wso2.carbon.application.deployer.handler.DefaultAppDeployer} -
service/dataservice type must have a single file. But 2 files found.

Then the idea is to use the following dependency tree.
testCar-1.0.0
 |-- artifacts.xml
 |-- SampleDataService_1.0.0
|-- artifacts.xml
|-- SampleDataService-1.0.0.dbs
|-- servicesMetaFiles
|-- SampleDataService_service.xml
|-- artifacts.xml

We may need to change the dataservice code to lookup for servicesMetaFiles
folder for services.xml file.

Will this be a correct way to fulfill the requirement?

Anyway in the future we will move to a single archive format to archive
both dataservice config and the services.xml file.

[1]
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.application.deployer/4.2.0/src/main/java/org/wso2/carbon/application/deployer/handler/DefaultAppDeployer.java

-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] TS build has never worked

2014-07-24 Thread Chanika Geeganage
Hi,

Now the product-ts is built successfully.

Thanks


On Tue, Jul 22, 2014 at 5:36 PM, Anjana Fernando  wrote:

> Hi,
>
> As I know, TS build was added rather recently, anyways, it should have
> been built correctly, @Chanika, please check this out, when you're done
> with your current task.
>
> Cheers,
> Anjana.
>
>
> On Tue, Jul 22, 2014 at 5:11 AM, Afkham Azeez  wrote:
>
>> https://wso2.org/jenkins/job/product-ts/23/console
>>
>> $subject. Why?
>>
>> Under the new build system, it is TOTALLY UNACCEPTABLE for builds to be
>> in a broken state for so long.
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>*
>> *email: **az...@wso2.com* 
>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>> *http://blog.afkham.org* <http://blog.afkham.org>
>> *twitter: **http://twitter.com/afkham_azeez*
>> <http://twitter.com/afkham_azeez>
>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> <http://lk.linkedin.com/in/afkhamazeez>*
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> *Anjana Fernando*
> Senior Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Chunk13 -build error] DS p2 profile generation fails

2014-07-21 Thread Chanika Geeganage
Hi Ratha,

Fixed the build failure

Thanks


On Mon, Jul 21, 2014 at 11:56 PM, Vijayaratha Vijayasingam 
wrote:

> Getting;
>
> Installing
> org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group 4.2.2.
>
> Installing org.wso2.carbon.user.mgt.feature.group 4.2.2.
>
> Operation completed in 24507 ms.
>
> [INFO]
>
> [INFO] --- carbon-p2-plugin:1.5.3:p2-profile-gen
> (p2-profile-generation-for-worker-profile) @ wso2dataservices-profile-gen
> ---
>
> [INFO] Running Equinox P2 Director Application
>
> [INFO] Command line:
>
> /bin/sh -c cd
> /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen
> && /usr/local/java/jdk1.6.0_45/jre/bin/java -jar
> /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar
> -nosplash -application org.eclipse.equinox.p2.director -metadataRepository
> file:/opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/p2-repo
> -artifactRepository
> file:/opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/p2-repo
> -profileProperties org.eclipse.update.install.features=true -installIU
> org.wso2.carbon.stratos.common.server.feature.group/2.2.2,org.wso2.carbon.stratos.deployment.feature.group/2.2.1,org.wso2.carbon.ntask.feature.group/4.2.4,org.wso2.carbon.logging.mgt.server.feature.group/4.2.1,org.wso2.carbon.databridge.datapublisher.feature.group/4.2.3,org.wso2.carbon.wsdl.tools.server.feature.group/4.2.0,org.wso2.carbon.system.statistics.server.feature.group/4.2.2,org.wso2.carbon.soaptracer.server.feature.group/4.2.0,org.wso2.carbon.dataservices.feature.group/4.2.4,org.wso2.carbon.dataservices.task.server.feature.group/4.2.4,org.wso2.carbon.ndatasource.feature.group/4.2.3,org.wso2.carbon.ndatasource.ui.feature.group/4.2.3,org.wso2.carbon.service.mgt.server.feature.group/4.2.1,org.wso2.carbon.transport.mgt.server.feature.group/4.2.0,org.wso2.carbon.transport.jms.feature.group/4.2.0,org.wso2.carbon.transport.mail.feature.group/4.2.0,org.wso2.carbon.message.flows.server.feature.group/4.2.0,org.wso2.carbon.event.common.feature.group/4.2.0,org.wso2.carbon.event.server.feature.group/4.2.2,org.wso2.carbon.xfer.feature.group/4.2.0,org.wso2.carbon.mex.feature.group/4.2.0,org.wso2.carbon.registry.core.server.feature.group/4.2.2,org.wso2.carbon.registry.ui.menu.feature.group/4.2.0,org.wso2.carbon.registry.resource.properties.server.feature.group/4.2.1,org.wso2.stratos.dss.styles.feature.group/2.2.0,org.wso2.carbon.tryit.server.feature.group/4.2.0,org.wso2.carbon.discovery.core.feature.group/4.2.1,org.wso2.carbon.discovery.admin.ui.feature.group/4.2.0,org.wso2.carbon.application.mgt.server.feature.group/4.2.0,org.wso2.stratos.dss.dashboard.ui.feature.group/2.2.0,org.wso2.carbon.jsscraper.server.feature.group/4.2.0,org.wso2.carbon.load.balance.agent.server.feature.group/2.2.0,org.wso2.carbon.deployment.synchronizer.server.feature.group/4.2.2,org.wso2.carbon.deployment.synchronizer.subversion.feature.group/4.2.1,org.wso2.carbon.reporting.server.feature.group/4.2.2,org.wso2.carbon.stratos.usage.agent.feature.group/2.2.0,org.wso2.carbon.stratos.throttling.agent.feature.group/2.2.0,org.wso2.carbon.transaction.manager.feature.group/4.2.1,org.wso2.carbon.cassandra-jdbc-1.2.5.server.feature.group/4.2.0,org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group/4.2.3,org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group/4.2.2,org.wso2.carbon.user.mgt.server.feature.group/4.2.1,
> -bundlepool
> /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components
> -shared
> /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components/p2
> -destination
> /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components/worker
> -profile worker -roaming
>
> Installation failed.
>
> The installable unit org.wso2.carbon.user.mgt.server.feature.group/4.2.1
> has not been found.
>
> Application failed, log file location:
> /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1405966838006.log
>
>
> [INFO]
> ----
>
> [INFO
>
> --
> -Ratha
> mobile: (+94)755906608
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Nested categories released in chunk-11 are not deployed in nexus

2014-07-19 Thread Chanika Geeganage
   at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213)
... 27 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could
not find artifact
org.wso2.identity:org.wso2.is.authorization.nested.category.feature:zip:5.0.0
in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:947)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
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)


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk13 build failur-DSS feature

2014-07-08 Thread Chanika Geeganage
Looping in Malith to the thread


On Tue, Jul 8, 2014 at 4:59 PM, Vijayaratha Vijayasingam 
wrote:

> getting;
> INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 57.218s
> [INFO] Finished at: Tue Jul 08 04:27:39 PDT 2014
> [INFO] Final Memory: 54M/622M
> [INFO]
> 
> [ERROR] Failed to execute goal on project
> org.wso2.carbon.databridge.datareceiver.feature: Could not resolve
> dependencies for project
> org.wso2.carbon:org.wso2.carbon.databridge.datareceiver.feature:pom:4.2.2:
> The following artifacts could not be resolved:
> org.wso2.carbon:org.wso2.carbon.databridge.commons.server.feature:zip:4.2.3,
> org.wso2.carbon:org.wso2.carbon.databridge.receiver.thrift.server.feature:zip:4.2.3:
> Could not find artifact
> org.wso2.carbon:org.wso2.carbon.databridge.commons.server.feature:zip:4.2.3
> in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
> -> [Help 1]
> [ERRO
>
> --
> -Ratha
> mobile: (+94)755906608
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Data source deployer feature code review @ Tue Jul 1, 2014 3pm - 4pm (chan...@wso2.com)

2014-07-03 Thread Chanika Geeganage
Hi,

Please find the code review comments listed below.

1. Put the content in the file which has the list of datasource files (i.e.
dataSource-info
.xml) to the artifact.xml file it self and change the code accordingly.
2. Put the licensing content to the top of the newly introduced classes.
3. javadoc comments should be endedup with .
4. Remove registry related stuff (ex. resources)
5. Remove DatasourceConfig class as the dataSource-info.xml file will be
removed.
6. Throw exceptions accordingly rather than logging.
7. Brake down large methods to small methods rather than putting everything
into one method.

Thanks


On Mon, Jun 30, 2014 at 9:27 AM, Rajith Vitharana  wrote:

>  more details »
> <https://www.google.com/calendar/event?action=VIEW&eid=aGF2OXFnM2NwcGtudDg3OW0ycG91ajE5YmcgY2hhbmlrYUB3c28yLmNvbQ&tok=MTYjcmFqaXRodkB3c28yLmNvbTY3YjAxNGIxZTE1MzNjYzQ0NGRlYjIwMjE2ZTQ5ZDhkYzIyNWU1YTE&ctz=Asia/Colombo&hl=en>
> Data source deployer feature code review
> Code review for Data source deployer feature
> *When*
> Tue Jul 1, 2014 3pm – 4pm Colombo
> *Where*
> LK 3rd Floor Meeting Room - Tungsten (map
> <http://maps.google.lk/maps?q=LK+3rd+Floor+Meeting+Room+-+Tungsten&hl=en>)
> *Video call*
> https://plus.google.com/hangouts/_/wso2.com/data-source
> <https://plus.google.com/hangouts/_/wso2.com/data-source?hceid=cmFqaXRodkB3c28yLmNvbQ.hav9qg3cppknt879m2pouj19bg>
> *Calendar*
> chan...@wso2.com
> *Who*
>  •
> Rajith Vitharana - organizer
> •
> Malith Dhanushka
> •
> Dunith Dhanushka
> •
> Gokul Balakrishnan
> •
> Jaminda Batuwangala
> •
> Inosh Goonewardena
> •
> Gihan Anuruddha
> •
> dev@wso2.org
> •
> Anjana Fernando
> •
> Chanika Geeganage
>
> Going?   *Yes
> <https://www.google.com/calendar/event?action=RESPOND&eid=aGF2OXFnM2NwcGtudDg3OW0ycG91ajE5YmcgY2hhbmlrYUB3c28yLmNvbQ&rst=1&tok=MTYjcmFqaXRodkB3c28yLmNvbTY3YjAxNGIxZTE1MzNjYzQ0NGRlYjIwMjE2ZTQ5ZDhkYzIyNWU1YTE&ctz=Asia/Colombo&hl=en>
> - Maybe
> <https://www.google.com/calendar/event?action=RESPOND&eid=aGF2OXFnM2NwcGtudDg3OW0ycG91ajE5YmcgY2hhbmlrYUB3c28yLmNvbQ&rst=3&tok=MTYjcmFqaXRodkB3c28yLmNvbTY3YjAxNGIxZTE1MzNjYzQ0NGRlYjIwMjE2ZTQ5ZDhkYzIyNWU1YTE&ctz=Asia/Colombo&hl=en>
> - No
> <https://www.google.com/calendar/event?action=RESPOND&eid=aGF2OXFnM2NwcGtudDg3OW0ycG91ajE5YmcgY2hhbmlrYUB3c28yLmNvbQ&rst=2&tok=MTYjcmFqaXRodkB3c28yLmNvbTY3YjAxNGIxZTE1MzNjYzQ0NGRlYjIwMjE2ZTQ5ZDhkYzIyNWU1YTE&ctz=Asia/Colombo&hl=en>*
> more options »
> <https://www.google.com/calendar/event?action=VIEW&eid=aGF2OXFnM2NwcGtudDg3OW0ycG91ajE5YmcgY2hhbmlrYUB3c28yLmNvbQ&tok=MTYjcmFqaXRodkB3c28yLmNvbTY3YjAxNGIxZTE1MzNjYzQ0NGRlYjIwMjE2ZTQ5ZDhkYzIyNWU1YTE&ctz=Asia/Colombo&hl=en>
>
> Invitation from Google Calendar <https://www.google.com/calendar/>
>
> You are receiving this email at the account chan...@wso2.com because you
> are subscribed for invitations on calendar chan...@wso2.com.
>
> To stop receiving these notifications, please log in to
> https://www.google.com/calendar/ and change your notification settings
> for this calendar.
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [chunk13-build err] DSS-integration tests fails

2014-07-03 Thread Chanika Geeganage
Hi Ratha,

This is because of the security policy used in these test cases are using a
key size larger than the default key limit restriction of the JDK. So you
have to patch the JDK in your machine. You can find the Java Cryptography
Extension (JCE) Unlimited Strength Jurisdiction Policy Files for jdk 1.6
from [1].  [2] explains this further.

Thanks

[1].
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
[2].
http://blog.rampartfaq.com/2009/08/error-referenced-security-token-could.html


On Thu, Jul 3, 2014 at 6:15 PM, Vijayaratha Vijayasingam 
wrote:

>
> 014-07-03 05:41:33,695]  INFO
> {org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Shutting
> down server..
>
> sults :
>
> iled tests:
> securityPolicy10(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy11(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy12(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy13(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy14(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy15(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy4(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy5(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy6(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy7(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy8(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy9(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
>
> sts run: 175, Failures: 12, Errors: 0, Skipped: 0
>
> NFO]
> 
> NFO] Reactor Summary:
> NFO]
> NFO] WSO2 DataServices Parent .. SUCCESS [0.322s]
> NFO] WSO2 DataServices Styles Parent ... SUCCESS [0.012s]
> NFO] DataServices UI styles  SUCCESS [7.327s]
> NFO] WSO2 Stratos DSS - UI styles .. SUCCESS [1.185s]
> NFO] WSO2 DataServices Samples Parent .. SUCCESS [0.508s]
> NFO] DataServices Clients .. SUCCESS [39.412s]
> NFO] WSO2 DataServices Features Parent . SUCCESS [0.010s]
> NFO] WSO2 DataServices - Style Features  SUCCESS [0.587s]
> NFO] WSO2 Stratos DSS - Style Features . SUCCESS [0.139s]
> NFO] WSO2 Stratos DSS - Login User Interface ... SUCCESS [6.373s]
> NFO] WSO2 Stratos DSS - Deployment Features  SUCCESS [0.126s]
> NFO] WSO2 Stratos Data Services Server - Dashboard UI .. SUCCESS [1.382s]
> NFO] WSO2 Stratos DSS - Dashboard UI Features .. SUCCESS [0.159s]
> NFO] WSO2 Stratos DSS - Features Aggregator Module . SUCCESS [0.008s]
> NFO] WSO2 DataServices - DataServices Profile Generation  SUCCESS
> [1:32.230s]
> NFO] WSO2 Data Services Server Distribution  SUCCESS
> [1:27.569s]
> NFO] WSO2 DSS - Integration Tests .. SUCCESS [0.010s]
> NFO] DataService Integration test module ... FAILURE
> [24:36.633s]
> NFO]
> 
> NFO] BUILD FAILURE
> NFO]
> 
> NFO] Total time: 28:35.394s
> NFO] Finished at: Thu Jul 03 05:41:33 PDT 2014
> NFO] Final Memory: 98M/647M
> NFO]
> 
> RROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test)
> on project org.wso2.carbon.dss.test: There ar
> test failures.
> RROR]
> RROR] Please refer to
> /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/integration/tests/target/surefire-reports
> for the in
> vidual test results.
>
> --
> -Ratha
> mobile: (+94)755906608
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Moving task related components

2014-07-01 Thread Chanika Geeganage
As per the offline chat had with Azeez and Anjana, will keep remote-task
service stubs in the carbon-utils under ntask and move components and
features to prodcut-ts level.

Thanks


On Tue, Jul 1, 2014 at 2:53 PM, Afkham Azeez  wrote:

> We can't create repos for such minor features. Those need to reside in
> existing repos. If there are dependency issues, the code has to be
> refactored to resolve them.
>
>
> On Tue, Jul 1, 2014 at 2:28 PM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> Since ntask component depends on remote-task service stubs we cannot go
>> with the option 2. Therefore, we need to create a separate git repo for
>> task related components . i.e ntask and remote-task. I hope this approach
>> is convenient.
>>
>> Thanks
>>
>>
>> On Mon, Jun 30, 2014 at 1:56 PM, Chanika Geeganage 
>> wrote:
>>
>>> Hi,
>>>
>>> Currently ntask and remote-task components are in carbon-utils. The
>>> remote-task component is only used by Task Server as for now and the ntask
>>> is shipped by almost all the products. So what is the best way to maintain
>>> these components in git. Some suggestions are:
>>>
>>> 1. Keeping ntask and remote-task in a separate git repository.
>>> 2. Keeping ntask in carbon-utils and moving remote-task to the
>>> product-ts repository.
>>>
>>> Any thoughts regarding this?
>>>
>>> Thanks
>>>
>>> --
>>> Best Regards..
>>>
>>> Chanika Geeganage
>>> Software Engineer
>>> WSO2, Inc.; http://wso2.com
>>>
>>>
>>
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Moving task related components

2014-07-01 Thread Chanika Geeganage
Hi,

Since ntask component depends on remote-task service stubs we cannot go
with the option 2. Therefore, we need to create a separate git repo for
task related components . i.e ntask and remote-task. I hope this approach
is convenient.

Thanks


On Mon, Jun 30, 2014 at 1:56 PM, Chanika Geeganage  wrote:

> Hi,
>
> Currently ntask and remote-task components are in carbon-utils. The
> remote-task component is only used by Task Server as for now and the ntask
> is shipped by almost all the products. So what is the best way to maintain
> these components in git. Some suggestions are:
>
> 1. Keeping ntask and remote-task in a separate git repository.
> 2. Keeping ntask in carbon-utils and moving remote-task to the product-ts
> repository.
>
> Any thoughts regarding this?
>
> Thanks
>
> --
> Best Regards..
>
> Chanika Geeganage
> Software Engineer
> WSO2, Inc.; http://wso2.com
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Moving task related components

2014-06-30 Thread Chanika Geeganage
Hi,

Currently ntask and remote-task components are in carbon-utils. The
remote-task component is only used by Task Server as for now and the ntask
is shipped by almost all the products. So what is the best way to maintain
these components in git. Some suggestions are:

1. Keeping ntask and remote-task in a separate git repository.
2. Keeping ntask in carbon-utils and moving remote-task to the product-ts
repository.

Any thoughts regarding this?

Thanks

-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DSS-3.2.1 REST service calls are failing

2014-06-16 Thread Chanika Geeganage
llQuery.executeElement(CallQuery.java:179)
>>>>>   at 
>>>>> org.wso2.carbon.dataservices.core.engine.CallQueryGroup.executeElement(CallQueryGroup.java:111)
>>>>>   at 
>>>>> org.wso2.carbon.dataservices.core.engine.OutputElement.execute(OutputElement.java:89)
>>>>>   at 
>>>>> org.wso2.carbon.dataservices.core.description.resource.Resource.execute(Resource.java:67)
>>>>>   at 
>>>>> org.wso2.carbon.dataservices.core.engine.DataService.invoke(DataService.java:462)
>>>>>   at 
>>>>> org.wso2.carbon.dataservices.core.engine.DSOMDataSource.execute(DSOMDataSource.java:96)
>>>>>   at 
>>>>> org.wso2.carbon.dataservices.core.engine.DSOMDataSource.serialize(DSOMDataSource.java:107)
>>>>>   at 
>>>>> org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerialize(OMSourcedElementImpl.java:691)
>>>>>   at 
>>>>> org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serializeAndConsume(OMSourcedElementImpl.java:754)
>>>>>   at 
>>>>> org.apache.axis2.json.gson.JsonFormatter.writeTo(JsonFormatter.java:100)
>>>>>   at 
>>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:411)
>>>>>   at 
>>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:288)
>>>>>   at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>>>>   at 
>>>>> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:45)
>>>>>   at 
>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>>>>   at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>>>   at 
>>>>> org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
>>>>>   at 
>>>>> org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:139)
>>>>>   at 
>>>>> org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
>>>>>   at 
>>>>> org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:303)
>>>>>   at 
>>>>> org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:152)
>>>>>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>>>>>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>>   at 
>>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>>>   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.valv

[Dev] WSO2 DSS 3.2.1 released !!

2014-05-19 Thread Chanika Geeganage
 WSO2 Data Services Server 3.2.1 Release Notes 06 May 2014

The WSO2 Data Services Server is an extremely simple and elegant mechanism
to take data and make it available as a set of WS-* style Web services or
as a set of REST style Web resources. It augments SOA development efforts
by providing an easy to use platform for creating and hosting data
services. This enables easy integration of data into business processes,
mashups, gadgets, BI applications and any service in general.
Key Features

   - Support for large XML outputs
   - Content Filtering Support
   - Distributed transaction support
   - Oracle Ref Cursor support
   - Support for multiple data source types
   - Clustering support for High Availability and High Scalability
   - WS-* and REST support
   - Data validations
   - UDT (User Defined Type) Support
   - Complex Results
   - Auto Generated Keys Support
   - Boxcarring Support
   - Batch Request Support
   - Scheduled Tasks
   - DB -> DS Generation
   - Database Explorer
   - Distributed transaction support
   - Custom Datasource Support
   - Datasource Component
  - Use of Tomcat JDBC Pool Connection Pooling
  - Support for External Data Source Implementations
  - Extensible Global Data Source Configurations
   - SQL Parser for Spreadsheets
  - Supports Excel / Google Spreadsheets
  - Full Read/Write query support
   - Dynamic Database User Authentication
   - Carbon Secure Vault Integration

 The full feature list is available at
http://wso2.com/products/data-services-server/

Bug Fixes / Improvements

   - Fixing the bug reported in https://wso2.org/jira/browse/DS-89
   - Improving JSON batch inserts

Further, following bug fixes and improvements are available in the current
release. dss-3.2.1-fixed-issues <https://wso2.org/jira/issues/?filter=11806>
Known Issues

All known issues have been recorded at
dss-3.2.1-outstanding-issues<https://wso2.org/jira/issues/?filter=11807>
Reporting Problems Issues can be reported using the public JIRA available
at https://wso2.org/jira/browse/CARBON Contact us WSO2 Data Services Server
developers can be contacted via:
*For Users:* 
http://stackoverflow.com<http://stackoverflow.com/questions/tagged/wso2>
*For Developers:* dev@wso2.org
For details on subscriptions see http://wso2.org/mail

Alternatively, questions can also be raised in the Data Services Server
forum:
*Forum * http://www.wso2.org/forum/404
Support

WSO2 Inc. offers a variety of development and production support programs,
ranging from Web-based support up through normal business hours, to premium
24x7 phone support.

For additional support information please refer to http://wso2.com/support/

For more information on WSO2 Data Services Server, visit the WSO2 Oxygen
Tank <http://wso2.org/projects/data-services-server/java>

*Online Resources*- Data Services HOWTO Series<http://wso2.org/library/3183>

Thank you for your interest in WSO2 Data Services Server
* -The WSO2 Data Services Server Development Team *

-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting a dead page when browsing the registry after applying the kernel patch 0007

2014-05-06 Thread Chanika Geeganage
Hi All,

I have created the 4.2.1 version of org.wso2.carbon.registry.resources with
CC refactoring changes. This component and registry-core 4.2.2 feature will
be released with chunk10

Thanks



On Wed, May 7, 2014 at 10:25 AM, Subash Chaturanga  wrote:

> +1
>
>
> On Wed, May 7, 2014 at 10:07 AM, Anjana Fernando  wrote:
>
>> Hi Manoj,
>>
>> Yeah, I was directing it at the registry guys, to further verify that
>> this is correct.
>>
>> Cheers,
>> Anjana.
>>
>>
>>
>> On Wed, May 7, 2014 at 10:02 AM, Manoj Kumara  wrote:
>>
>>> Hi Anjana,
>>>
>>> I think we discussed about the solution. This was due to unre-factored
>>> org.wso2.carbon.registry.resource component as chanika mentioned. we
>>> should create a new version of this (with the cc refractory) and use that.
>>>
>>> Thanks,
>>> Manoj
>>>
>>>
>>> *Manoj Kumara*
>>> Software Engineer
>>> WSO2 Inc. http://wso2.com/
>>> *lean.enterprise.middleware*
>>> Mobile: +94713448188
>>>
>>>
>>> On Wed, May 7, 2014 at 9:43 AM, Anjana Fernando  wrote:
>>>
>>>> Guys,
>>>>
>>>> Please ACK! ..
>>>>
>>>> Cheers,
>>>> Anjana.
>>>>
>>>>
>>>> On Tue, May 6, 2014 at 2:19 PM, Chanika Geeganage wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Thanks for the input. By further investigating the issue, the
>>>>> following factors were found
>>>>>
>>>>> CC refacotoring was done in org.wso2.carbon.server.admin component
>>>>> (with r201004) in the patch0007.
>>>>>
>>>>> Modified: carbon/kernel/branches/4.2.0/
>>>>> patches
>>>>> /patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
>>>>> URL: http://wso2.org/svn/browse/wso2/carbon/kernel/branches/4.2.0/
>>>>> patches
>>>>> /patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java?rev=201004&r1=201003&r2=201004&view=diff
>>>>>
>>>>> ==
>>>>> --- 
>>>>> carbon/kernel/branches/4.2.0/patches/patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
>>>>>  (original)
>>>>> +++ 
>>>>> carbon/kernel/branches/4.2.0/patches/patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
>>>>>  Thu Apr 24 11:47:49 2014
>>>>> @@ -28,7 +28,6 @@
>>>>>  import org.apache.commons.logging.LogFactory;
>>>>>  import org.wso2.carbon.CarbonConstants;
>>>>>  import org.wso2.carbon.context.CarbonContext;
>>>>> -import org.wso2.carbon.context.PrivilegedCarbonContext;
>>>>>  import org.wso2.carbon.user.core.AuthorizationManager;
>>>>>  import org.wso2.carbon.user.core.UserRealm;
>>>>>  import org.wso2.carbon.user.core.UserStoreException;
>>>>> @@ -107,8 +106,8 @@
>>>>>  if (httpSession != null) {
>>>>>  username = (String)
>>>>> httpSession.getAttribute(ServerConstants.USER_LOGGED_IN);
>>>>>  UserRealm realm =
>>>>> -(UserRealm) PrivilegedCarbonContext.
>>>>> -
>>>>>  getCurrentContext(httpSession).getUserRealm();
>>>>> +(UserRealm) CarbonContext.
>>>>> +
>>>>>  getThreadLocalCarbonContext().getUserRealm();
>>>>>
>>>>>  if (realm == null) {
>>>>>      log.error("The realm is null for username: " +
>>>>> username + ".");
>>>>>
>>>>>
>>>>>
>>>>> By removing this, registry browsing works fine. But we can't revert
>>>>> this change.
>>>>>
>>>>> In the org.wso2.carbon.registry.resource 4.2.0 component, the CC
>>>>> refactoring was done in an already released version. ie. the commit 186766
>>>>> is not in the artifact deployed in nexus [1].
>>>>>
>>>>

Re: [Dev] Getting a dead page when browsing the registry after applying the kernel patch 0007

2014-05-06 Thread Chanika Geeganage
Hi,

Thanks for the input. By further investigating the issue, the following
factors were found

CC refacotoring was done in org.wso2.carbon.server.admin component (with
r201004) in the patch0007.

Modified: carbon/kernel/branches/4.2.0/
patches
/patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
URL: http://wso2.org/svn/browse/wso2/carbon/kernel/branches/4.2.0/patches
/patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java?rev=201004&r1=201003&r2=201004&view=diff
==
--- 
carbon/kernel/branches/4.2.0/patches/patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
 (original)
+++ 
carbon/kernel/branches/4.2.0/patches/patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
 Thu Apr 24 11:47:49 2014
@@ -28,7 +28,6 @@
 import org.apache.commons.logging.LogFactory;
 import org.wso2.carbon.CarbonConstants;
 import org.wso2.carbon.context.CarbonContext;
-import org.wso2.carbon.context.PrivilegedCarbonContext;
 import org.wso2.carbon.user.core.AuthorizationManager;
 import org.wso2.carbon.user.core.UserRealm;
 import org.wso2.carbon.user.core.UserStoreException;
@@ -107,8 +106,8 @@
 if (httpSession != null) {
 username = (String)
httpSession.getAttribute(ServerConstants.USER_LOGGED_IN);
 UserRealm realm =
-(UserRealm) PrivilegedCarbonContext.
-
 getCurrentContext(httpSession).getUserRealm();
+(UserRealm) CarbonContext.
+
 getThreadLocalCarbonContext().getUserRealm();

 if (realm == null) {
 log.error("The realm is null for username: " +
username + ".");



By removing this, registry browsing works fine. But we can't revert this
change.

In the org.wso2.carbon.registry.resource 4.2.0 component, the CC
refactoring was done in an already released version. ie. the commit 186766
is not in the artifact deployed in nexus [1].

Therefore, as a solution, refactored org.wso2.carbon.registry.resource can
be released as the next version (4.2.1) in chunk-10. WDYT?

[1]
http://maven.wso2.org/nexus/index.html#nexus-search;quick~org.wso2.carbon.registry.resource

Thanks
Chanika


On Tue, May 6, 2014 at 7:42 AM, Shelan Perera  wrote:

> Hi Chanika,
>
> Have you defined any other carbon datasources? Please have a look at [1]
> and it may have some clues.
>
> [1] https://wso2.org/jira/browse/ESBJAVA-2854
>
>
> On Mon, May 5, 2014 at 10:13 PM, Chanika Geeganage wrote:
>
>> Hi,
>>
>> I'm getting a dead page with the following exception when browsing the
>> registry in the DSS 3.2.1 with kernel patch 0007.
>>
>> [2014-05-05 22:04:06,485] ERROR
>> {org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() for
>> servlet bridgeservlet threw exception
>> java.lang.IllegalArgumentException: [=] is not a hexadecimal digit
>> at
>> org.apache.catalina.util.RequestUtil.convertHexDigit(RequestUtil.java:316)
>> at
>> org.apache.catalina.util.RequestUtil.parseParameters(RequestUtil.java:400)
>> at
>> org.apache.catalina.util.RequestUtil.parseParameters(RequestUtil.java:153)
>> at
>> org.apache.catalina.core.ApplicationHttpRequest.mergeParameters(ApplicationHttpRequest.java:894)
>> at
>> org.apache.catalina.core.ApplicationHttpRequest.parseParameters(ApplicationHttpRequest.java:756)
>> at
>> org.apache.catalina.core.ApplicationHttpRequest.getParameter(ApplicationHttpRequest.java:367)
>> at
>> javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:184)
>> at
>> org.wso2.carbon.ui.CarbonUILoginUtil.getCustomIndexPage(CarbonUILoginUtil.java:153)
>> at
>> org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:190)
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)
>> 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
&g

[Dev] Getting a dead page when browsing the registry after applying the kernel patch 0007

2014-05-05 Thread Chanika Geeganage
   at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at
org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at
org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
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.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
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$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

The fix is urgent for the DSS release. Can you please have a look.

-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Flush the 4.3.0 Kernel PR queue

2014-04-30 Thread Chanika Geeganage
Hi Kishanthan,

Please apply the pull request -
https://github.com/wso2-dev/wso2-axis2/pull/4

Thanks


On Wed, Apr 30, 2014 at 12:57 PM, Kishanthan Thangarajah <
kishant...@wso2.com> wrote:

> My Bad, I was looking at the final build results which showed that all
> tests and build were successful. This was because of a change in
> integration test module that continue running tests with the following
> property true. This has to be
> disabled first.
>
> The root cause for the testFailure is some of the commits to axis2 for
> json related changes are missing in git.
>
> @Chanika, can you send the missing commits to wso2-dev repo so that it can
> be merged with the main repo?
>
>
> On Wed, Apr 30, 2014 at 11:33 AM, Ajith Vitharana  wrote:
>
>> Hi Sameera/Kishanthan
>>
>> There are test failures in the kernel (wso2), did u ran with the test
>> before merge ?
>>
>> [1]http://54.84.136.218:8080/jenkins/job/carbon4-kernel/195/consoleFull
>>
>> Thanks
>> Ajith.
>>
>>
>>
>> On Wed, Apr 23, 2014 at 11:42 PM, Sameera Jayasoma wrote:
>>
>>>
>>>
>>>
>>> On Wed, Apr 23, 2014 at 11:00 AM, Ajith Vitharana wrote:
>>>
>>>> Sameera,
>>>>
>>>>
>>>> On Wed, Apr 23, 2014 at 9:48 PM, Sameera Jayasoma wrote:
>>>>
>>>>> Ajith,
>>>>>
>>>>> Yes we were working on this behind the scenes. Specially Kishanthan
>>>>> and Manoj since I am not available for this work until next week.
>>>>>
>>>>> But we cannot simply flush the queue without properly reviewing the
>>>>> changes.
>>>>>
>>>>
>>>> Understood the process. But we should have at least 2 owners to merge
>>>> those commits periodically without keeping the commits long time in the
>>>> queue.
>>>>
>>>
>>> Agreed. I thought the same.
>>>
>>> But AFAIK, it is a temporary measure to keep an owner for master product
>>> repos. In the future only Jenkins will be able to commit.
>>>
>>>>
>>>> -Ajith.
>>>>
>>>>
>>>>>
>>>>> Sameera.
>>>>>
>>>>>
>>>>> On Wed, Apr 23, 2014 at 2:29 AM, Ajith Vitharana wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Sameera,
>>>>>>>>
>>>>>>>> Could you please do $subject? There are 15+ commits waiting in the
>>>>>>>> queue.
>>>>>>>>
>>>>>>>> [1] https://github.com/wso2/carbon4-kernel/pull/4
>>>>>>>>
>>>>>>>
>>>>>>> Please review and merge immediately, because  some fixes are
>>>>>>> blockers for the build stabilization hackathon.
>>>>>>>
>>>>>>
>>>>>> Is anyone working on this ?
>>>>>>
>>>>>> -Ajith.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Thanks
>>>>>>> -Ajith.
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> KasunG
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>>>>>>> email: kasung AT spamfree wso2.com
>>>>>>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>>>>>>> blog: http://kasunbg.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Ajith Vitharana.
>>>>>> WSO2 Inc. - http://wso2.org
>>>>>> Email  :  aji...@wso2.com
>>>>>> Mobile : +94772217350
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sameera Jayasoma,
>>>>> Software Architect,
>>>>>
>>>>> WSO2, Inc. (http://wso2.com)
>>>>> email: same...@wso2.com
>>>>> blog: http://sameera.adahas.org
>>>>> twitter: https://twitter.com/sameerajayasoma
>>>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>>>> Mobile: 0094776364456
>>>>>
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ajith Vitharana.
>>>> WSO2 Inc. - http://wso2.org
>>>> Email  :  aji...@wso2.com
>>>> Mobile : +94772217350
>>>>
>>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Software Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://sameera.adahas.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  aji...@wso2.com
>> Mobile : +94772217350
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> 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>*
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why do we have two getCustomer operations in the GSpread sample

2014-04-29 Thread Chanika Geeganage
The one (without _ ) is for the getCustomer operation defined in the data
service and the other one is for the REST resource defined with the GET
method and 'customers' resource name.


On Tue, Apr 29, 2014 at 3:35 PM, Afkham Azeez  wrote:

> See screenshot attached
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge DSS integration test commit#4 pull request

2014-04-23 Thread Chanika Geeganage
The commit is merged now

Thanks


On Thu, Apr 24, 2014 at 10:41 AM, Nuwan Wimalasekara wrote:

> Hi Chanika,
> Please apply the pull request - https://github.com/wso2/product-dss/pull/4
>
> Thanks,
> Nuwanw
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


  1   2   >