Re: [Dev] Fwd: [DEV] Please review and merge PR

2018-02-06 Thread Chanaka Cooray
Hi,

Merged the PR.

Thanks,
Chanaka.

On Sun, Feb 4, 2018 at 9:28 PM, 김대경  wrote:

> Why it doesn't merged.. although approved.
>
>
> -- 전달된 메일 --
> 보낸사람: "김대경" 
> 날짜: 2018. 1. 30. 오전 11:03
> 제목: [DEV] Please review and merge PR
> 받는사람: 
> 참조:
>
> Can you please review and merge PR.
>
> [1] https://github.com/wso2/wso2-axis2/pull/132
>
> Best Regards.
> Daekyung Kim.
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] User-core component in Kernel v4.4.11

2018-01-22 Thread Chanaka Cooray
Hi,

I have tried by cloning the repository locally and checking out the tag
v4.4.11. Now It shows the correct code for 4.4.11 tag. Seems like the
GitHub UI shows a different content.

Thanks,
Chanaka.

On Fri, Jan 19, 2018 at 8:52 AM, Omindu Rathnaweera  wrote:

> Hi Harshan,
>
> Can you checkout the exact tag and check. In the UI it seems to be showing
> the v4.4.11 branch instead of the tag and the branch has C5 code for some
> reason.
>
> On Fri, Jan 19, 2018 at 8:12 AM Godwin Shrimal  wrote:
>
>> Hi Harshan,
>>
>> Not only user-core component. I can't see any component in kernel tag
>> v4.4.11.
>>
>>
>> Thanks
>> Godwin
>>
>> On Fri, Jan 19, 2018 at 8:46 AM, Harshan Liyanage 
>> wrote:
>>
>>> Hi all,
>>>
>>> I'm unable to find the user-core component in kernel tag v4.4.11 [1].
>>> But it is available under v4.4.12.
>>>
>>> [1]. https://github.com/wso2/carbon-kernel/tree/v4.4.11/
>>> core/org.wso2.carbon.user.core/pom.xml
>>>
>>> Thanks,
>>>
>>> Harshan Liyanage
>>> Mobile: *+94765672894*
>>> Email: hars...@wso2.com
>>> Blog : http://harshanliyanage.blogspot.com/
>>> Medium : https://medium.com/@harshan.dll
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> <https://www.linkedin.com/in/godwin-amila-2ba26844/>*
>> twitter: https://twitter.com/godwinamila
>> <http://wso2.com/signature>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
> --
> Omindu Rathnaweera
> Senior Software Engineer, WSO2 Inc.
> Mobile: +94 771 197 211 <+94%2077%20119%207211>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Where to find org.wso2.carbon.identity.core 5.7.5 source?

2018-01-22 Thread Chanaka Cooray
Hi Lakshman,

Since there are many tags available in the repo, GitHub only shows most
recent tags in the drop-down list. To search for all the tags, you can go
to the release section of the GitHub repo.

Thanks,
Chanaka.

On Mon, Jan 22, 2018 at 4:46 PM, lakshman udayakantha 
wrote:

> Thanks Omindu. Surprisingly it does not show on tag drop down list.
>
> Thanks,
> Lakshman.
>
>
> On Mon, Jan 22, 2018 at 4:41 PM, Omindu Rathnaweera 
> wrote:
>
>> To be precise, identity.core is at [2].
>>
>> [2] - https://github.com/wso2/carbon-identity-framework/tree/v5.7.
>> 5/components/identity-core/org.wso2.carbon.identity.core
>>
>> On Mon, Jan 22, 2018 at 4:39 PM, Omindu Rathnaweera 
>> wrote:
>>
>>> Hi Lakshaman,
>>>
>>> You can find the source at [1].
>>>
>>> [1] - https://github.com/wso2/carbon-identity-framework/tree/v5.7.5
>>>
>>> On Mon, Jan 22, 2018 at 4:31 PM, lakshman udayakantha <
>>> nylud...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have checked the $subject in [1] and [2]. But 5.7.5 version is not
>>>> there. By googling also I could not found the source.
>>>>
>>>> [1] https://github.com/wso2/carbon-identity-framework/
>>>> [2] https://github.com/wso2-attic/carbon-identity
>>>>
>>>> Thanks,
>>>> Lakshman.
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Omindu Rathnaweera
>>> Senior Software Engineer, WSO2 Inc.
>>> Mobile: +94 771 197 211 <+94%2077%20119%207211>
>>>
>>
>>
>>
>> --
>> Omindu Rathnaweera
>> Senior Software Engineer, WSO2 Inc.
>> Mobile: +94 771 197 211 <077%20119%207211>
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IDENTITY-6313] Typo in Add user store

2017-09-07 Thread Chanaka Cooray
Yes, that would be a better approach. I have closed the issue by myself :)

Thanks,
Chanaka.

On Fri, Sep 8, 2017 at 11:02 AM, Niranjan Karunanandham 
wrote:

> Noted. I didn't know that :) I would suggest that in this case, when we
> merge the PR, it would be better for the person who merged it, to close the
> Git Issue itself.
>
> Regards,
> Nira
>
> On Fri, Sep 8, 2017 at 10:47 AM, Chanaka Cooray  wrote:
>
>> Hi Niranjan,
>>
>> That has happened because that PR is sent for the 4.4.x branch, not the
>> master branch. For the PRs those are being sent to the master
>> branch(default branch) will only close the issues automatically. So for the
>> PRs those are sent for the branches other than default branch, issues
>> should be closed manually.
>>
>> Thanks,
>> Chanaka.
>>
>> On Thu, Sep 7, 2017 at 8:09 PM, Niranjan Karunanandham > > wrote:
>>
>>> Hi all,
>>>
>>> This PR does not refer the git issue properly. Thus even though this was
>>> merge, the issue is not closed :(
>>>
>>> Regards,
>>> Nira
>>>
>>>
>>> On 7 Sep 2017 3:49 p.m., "Chanaka Cooray"  wrote:
>>>
>>> Hi Piraveena,
>>>
>>> Merged the PR.
>>>
>>> Thanks,
>>> Chanaka.
>>>
>>> On Wed, Aug 30, 2017 at 9:16 PM, Piraveena Paralogarajah <
>>> pirave...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I fixed the issue IDENTITY-6313
>>>> <https://wso2.org/jira/browse/IDENTITY-6313>. Please review and merge
>>>> the PR [1].
>>>> [1]- https://github.com/wso2/carbon-kernel/pull/1507
>>>>
>>>> Thanks,
>>>> Piraveena
>>>>
>>>> *Piraveena Paralogarajah*
>>>> Intern- Software Engineering | WSO2
>>>> *Email *: pirave...@wso2.com
>>>> *Mobile* : +94776099594 <+94%2077%20609%209594>
>>>> <http://wso2.com/signature>
>>>>
>>>
>>>
>>>
>>> --
>>> Chanaka Cooray
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> Email: chana...@wso2.com
>>> Mobile: +94713149860 <+94%2071%20314%209860>
>>> <https://wso2.com/signature>
>>>
>>>
>>>
>>
>>
>> --
>> Chanaka Cooray
>> Software Engineer, WSO2 Inc. http://wso2.com
>> Email: chana...@wso2.com
>> Mobile: +94713149860 <+94%2071%20314%209860>
>> <https://wso2.com/signature>
>>
>
>
>
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IDENTITY-6313] Typo in Add user store

2017-09-07 Thread Chanaka Cooray
Hi Niranjan,

That has happened because that PR is sent for the 4.4.x branch, not the
master branch. For the PRs those are being sent to the master
branch(default branch) will only close the issues automatically. So for the
PRs those are sent for the branches other than default branch, issues
should be closed manually.

Thanks,
Chanaka.

On Thu, Sep 7, 2017 at 8:09 PM, Niranjan Karunanandham 
wrote:

> Hi all,
>
> This PR does not refer the git issue properly. Thus even though this was
> merge, the issue is not closed :(
>
> Regards,
> Nira
>
>
> On 7 Sep 2017 3:49 p.m., "Chanaka Cooray"  wrote:
>
> Hi Piraveena,
>
> Merged the PR.
>
> Thanks,
> Chanaka.
>
> On Wed, Aug 30, 2017 at 9:16 PM, Piraveena Paralogarajah <
> pirave...@wso2.com> wrote:
>
>> Hi,
>>
>> I fixed the issue IDENTITY-6313
>> <https://wso2.org/jira/browse/IDENTITY-6313>. Please review and merge
>> the PR [1].
>> [1]- https://github.com/wso2/carbon-kernel/pull/1507
>>
>> Thanks,
>> Piraveena
>>
>> *Piraveena Paralogarajah*
>> Intern- Software Engineering | WSO2
>> *Email *: pirave...@wso2.com
>> *Mobile* : +94776099594 <+94%2077%20609%209594>
>> <http://wso2.com/signature>
>>
>
>
>
> --
> Chanaka Cooray
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: chana...@wso2.com
> Mobile: +94713149860 <+94%2071%20314%209860>
> <https://wso2.com/signature>
>
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IDENTITY-6313] Typo in Add user store

2017-09-07 Thread Chanaka Cooray
Hi Piraveena,

Merged the PR.

Thanks,
Chanaka.

On Wed, Aug 30, 2017 at 9:16 PM, Piraveena Paralogarajah  wrote:

> Hi,
>
> I fixed the issue IDENTITY-6313
> <https://wso2.org/jira/browse/IDENTITY-6313>. Please review and merge the
> PR [1].
> [1]- https://github.com/wso2/carbon-kernel/pull/1507
>
> Thanks,
> Piraveena
>
> *Piraveena Paralogarajah*
> Intern- Software Engineering | WSO2
> *Email *: pirave...@wso2.com
> *Mobile* : +94776099594 <+94%2077%20609%209594>
> <http://wso2.com/signature>
>



-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5][OSGI-Tests] ExamReactorStrategy

2017-04-18 Thread Chanaka Cooray
Hi Lakshman,

In kernel OSGi tests, each test class has its own configurations. So the
test distribution will be different from class to class even though the
base distribution is same. So we have to start test distribution for each
and every class since we can not change the configurations at the runtime.
If we use PerSuite strategy, then the distribution will start only once and
the configuration will be same for all the classes.

For example, test[1] and [2] you can see that there are different set of
test artifacts to be installed in order to test for two different scenarios.

And also, if the test distribution is same for two test classes, then there
is no point of having two separate classes and instead of that, all the
methods can be written inside one single test class.

[1]
https://github.com/wso2/carbon-kernel/blob/master/tests/osgi-tests/src/test/java/org/wso2/carbon/osgi/startupresolver/DynamicCapabilityOSGiTest.java
[2]
https://github.com/wso2/carbon-kernel/blob/master/tests/osgi-tests/src/test/java/org/wso2/carbon/osgi/startupresolver/MultipleCapabilitiesForCapabilityListenerOSGiTest.java

Thanks,
Chanaka.

On Tue, Apr 18, 2017 at 8:01 PM, Lakshman Udayakantha 
wrote:

> Hi,
>
> We have used PerClass ExamReactorStrategy as the default strategy. This
> means test distribution will start for every class in the test suite. Is
> there any particular reason to select that strategy? This will increase the
> build time when the test class space grows. So we can go with PerSuite as
> the default strategy to reduce the build time. WDYT?
>
> Thanks,
> Lakshman.
>
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0717429601*
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to write test cases for microservices registered via uuf app

2017-03-30 Thread Chanaka Cooray
Hi Denuwanthi,

If you continue to use kernel 5.1.0, then you have to manually copy the uuf
app and relevant artifact to the correct path inside the carbon.home as
mention in the example[1].

[1]
https://github.com/wso2/carbon-kernel/blob/v5.1.0/tests/osgi-tests/src/test/java/org/wso2/carbon/osgi/jmx/JMXOSGiTest.java#L73

Thanks,
Chanaka.

On Fri, Mar 31, 2017 at 10:10 AM, Niranjan Karunanandham 
wrote:

> Hi Denuwanthi,
>
> In C 5.2.0-m3, we have introduced pax exam container level testing [1].
> Did you check if we can test it via it?
>
> [1] - https://github.com/wso2/carbon-kernel/blob/master/
> docs/DeveloperTools/UsingIn-ContainerOSGiTesting.md
>
> Regards,
> Nira
>
> On Tue, Mar 28, 2017 at 11:05 PM, Denuwanthi De Silva  > wrote:
>
>> Hi,
>>
>> 1. I have a micro service registered in a uuf app via component.yaml
>>
>> apis:
>>   - className: 
>> "org.wso2.is.portal.user.client.api.micro.PasswordUtilityMicroService"
>> uri: "/passwordUtil-micro-service/"
>>
>> Now, the url for the micorservice is in the form of
>>
>> /admin-portal/root/apis/passwordUtil-micro-service/validatePassword
>>
>> 2. Inside the microservice I call an OSGI service.
>>
>> BundleContext bundleContext = 
>> FrameworkUtil.getBundle(PasswordValidationService.class).getBundleContext();
>>
>>
>> 3.When writing a test case with 'MicroServicesRunner' since it is a
>> non-osgi environment, my OSGI service is not fetched.
>>
>> 4.Then we tried to write as an osgi test. Then it says it cannot find
>> 'admin-portal' app
>>
>>
>> Is there a way we can deploy the uuf app when running the tests?(We are
>> on kernel 5.1.0)
>>
>>
>> Thanks
>> --
>> Denuwanthi De Silva
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Nisala Nanayakkara

2017-02-28 Thread Chanaka Cooray
Congratz Nisala :)

On Tue, Feb 28, 2017 at 2:16 PM, Sinthuja Ragendran 
wrote:

> Hi All,
>
> It's my pleasure to welcome Nisala Nanayakkara as a WSO2 Committer.
>
> Nisala has been a valuable contributor to the Dashboard Server Team and
> then Platform Team. In recognition of his contribution, dedication and
> commitment he has been voted as a WSO2 committer.
>
> Nisala, welcome aboard and keep up the good work!
>
> Thanks,
> Sinthuja.
>
> --
> *Sinthuja Rajendran*
> Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955 <+94%2077%20427%203955>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to configure Jacoco code coverage settings in C5?

2016-11-09 Thread Chanaka Cooray
Hi Sajith,

In each test module, you have to specify the jacoco-maven-plugin plugin to
generate the coverage reports. Refer the carbon-datasources[1] and
carbon-jndi[2] test module pom file for samples.

[1]
https://github.com/wso2/carbon-datasources/blob/master/tests/osgi-tests/pom.xml
[2] https://github.com/wso2/carbon-jndi/blob/master/tests/osgi-tests/pom.xml

Thanks,
Chanaka.

On Thu, Nov 10, 2016 at 1:37 AM, Sajith Kariyawasam  wrote:

> Hi,
>
> $subject?
>
> Does it need to configure in each test module pom files as mentioned in
> [1]  or is it just inherited from Kernel configs?
> It seems no code coverage report is generated by default.
> Appreciate if someone can provide a sample
>
> [1] http://opensource-soa.blogspot.com/2016/01/jacoco-
> code-coverage-generation-with.html
>
> Thanks,
> Sajith
>
> --
> Sajith Kariyawasam
> *Associate Tech Lead*
> *WSO2 Inc.; http://wso2.com <http://wso2.com/>*
> *Committer and PMC member, Apache Stratos *
> *AMIE (SL)*
> *Mobile: 0772269575*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Shan Mahanama

2016-11-06 Thread Chanaka Cooray
Congratz shan !!!

On Mon, Nov 7, 2016 at 12:14 PM, Niranjan Karunanandham 
wrote:

> Hi all,
>
> It's my pleasure to announce Shan Mahanama as a WSO2 Committer. Shan has
> been a valuable contributor for Platform team. And in recognition of his
> contribution to WSO2, he has been voted as a WSO2 Committer.
>
> Shan, Congratulations and keep up the good work!
>
> Regards,
> Nira.
>
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Farasath Ahamed

2016-10-24 Thread Chanaka Cooray
Congratz fara !!!

On Mon, Oct 24, 2016 at 1:14 PM, Johann Nallathamby  wrote:

> Hi All,
>
> It's my pleasure to announce Farasath Ahamed as a WSO2 Committer. Farasath
>  has been a valuable contributor for WSO2 Identity Server product, and in
> recognition of his contribution to WSO2, he has been voted as a WSO2
> Committer.
>
> Farasath, congratulations and keep up the good work!
>
> Thanks & Regards.
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Technical Lead & Product Lead of WSO2 Identity Server
> Governance Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Chanaka Cooray
Congratz kasun :)

On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
wrote:

> Hi Devs,
>
> It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer. Kasun
> has made some great contributions to WSO2 Enterprise Store and WSO2
> Governance Registry products during the last few months and in recognition
> of his commitment and contributions, he has been voted as a Committer for
> WSO2.
>
> @Kasun, welcome aboard and keep up the good work.
>
> Best Regards,
> Chandana
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>
> | http://chandana.napagoda.com <http://chandana.napagoda.com>*
>
> *Linkedin : http://www.linkedin.com/in/chandananapagoda
> <http://www.linkedin.com/in/chandananapagoda>*
>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Madawa Soysa

2016-10-10 Thread Chanaka Cooray
Congratz Madawa !!!

On Tue, Oct 11, 2016 at 12:12 PM, Prakhash Sivakumar 
wrote:

> Congratz Madawa.. ! :D
>
> On Tue, Oct 11, 2016 at 12:09 PM, Sabra Ossen  wrote:
>
>> Congratz Madawa.. !!! :D
>>
>> On Tue, Oct 11, 2016 at 12:07 PM, Nisala Nanayakkara 
>> wrote:
>>
>>> Congratz Madawa ! :D
>>>
>>> On Tue, Oct 11, 2016 at 12:04 PM, Chandana Napagoda 
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> It is my pleasure to welcome Madawa Soysa as a WSO2 Committer. Madawa
>>>> has made some great contributions to WSO2 Governance Registry and WSO2
>>>> Enterprise Store products during the last few months and in recognition of
>>>> his commitment and contributions, he has been voted as a Committer for 
>>>> WSO2.
>>>>
>>>> Madawa, welcome aboard and keep up the good work.
>>>>
>>>> Best Regards,
>>>> Chandana
>>>>
>>>> --
>>>> *Chandana Napagoda*
>>>> Associate Technical Lead
>>>> WSO2 Inc. - http://wso2.org
>>>>
>>>> *Email  :  chand...@wso2.com **Mobile :
>>>> +94718169299 <%2B94718169299>*
>>>>
>>>> *Blog  :http://cnapagoda.blogspot.com
>>>> <http://cnapagoda.blogspot.com> | http://chandana.napagoda.com
>>>> <http://chandana.napagoda.com>*
>>>>
>>>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>>>> <http://www.linkedin.com/in/chandananapagoda>*
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Nisala Niroshana Nanayakkara,*
>>> Software Engineer
>>> Mobile:(+94)717600022
>>> WSO2 Inc., http://wso2.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Sabra Ossen*
>> *Software Engineer*
>> Email: sa...@wso2.com
>> Mobile: +94 767 837356
>>
>> <http://wso2.com/signature>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Prakhash Sivakumar
> Software Engineer | WSO2 Inc
> Platform Security Team
> Mobile : +94771510080
> Blog : https://medium.com/@PrakhashS
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Eranda Rajapaksha

2016-10-10 Thread Chanaka Cooray
Congratz Eranda !!!

On Mon, Oct 10, 2016 at 6:14 PM, Senduran Balasubramaniyam <
sendu...@wso2.com> wrote:

> Congratulations Eranda !!
>
> On Mon, Oct 10, 2016 at 6:11 PM, Nadeeshaan Gunasinghe <
> nadeesh...@wso2.com> wrote:
>
>> Congrats Eranda !!
>>
>>
>> *Nadeeshaan Gunasinghe*
>> Software Engineer, WSO2 Inc. http://wso2.com
>> +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
>> <#m_-7870931990120826241_m_-4715409582830934341_>
>> <http://www.facebook.com/nadeeshaan.gunasinghe>
>> <http://lk.linkedin.com/in/nadeeshaan>  <http://twitter.com/Nadeeshaan>
>> <http://nadeeshaan.blogspot.com/>
>> Get a signature like this: Click here!
>> <http://ws-promos.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS9lbWFpbC1pbnN0YWxsP3dzX25jaWQ9NjcyMjk0MDA4JnV0bV9zb3VyY2U9ZXh0ZW5zaW9uJnV0bV9tZWRpdW09ZW1haWwmdXRtX2NhbXBhaWduPXByb21vXzU3MzI1Njg1NDg3Njk3OTIiLCAiZSI6ICI1NzMyNTY4NTQ4NzY5NzkyIn0=&u=627709341532653>
>>
>> On Mon, Oct 10, 2016 at 6:09 PM, prabath  wrote:
>>
>>> Congratulation Eranda !!
>>>
>>> On Mon, Oct 10, 2016 at 6:07 PM, Sameera Gunarathne 
>>> wrote:
>>>
>>>> Congrats Eranda !!!
>>>>
>>>> On Mon, Oct 10, 2016 at 6:03 PM, Prakhash Sivakumar 
>>>> wrote:
>>>>
>>>>> Congratulation Eranda !
>>>>>
>>>>> On Mon, Oct 10, 2016 at 5:41 PM, Chanaka Fernando 
>>>>> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> It is with great pleasure I welcome Eranda Rajapaksha as a WSO2
>>>>>> committer. Eranda has been contributing to the WSO2 ESB 5.0 release 
>>>>>> during
>>>>>> past few months and showed great passion and commitment to work. In
>>>>>> recognition of his work on ESB and Integration related development he has
>>>>>> been voted as a committer.
>>>>>>
>>>>>> Eranda, welcome aboard and keep up the good work.
>>>>>>
>>>>>> Cheers,
>>>>>> Chanaka
>>>>>>
>>>>>> --
>>>>>> Thank you and Best Regards,
>>>>>> Chanaka Fernando
>>>>>> Senior Technical Lead
>>>>>> m: +94 773337238
>>>>>> https://wso2.com <https://wso2.com/signature>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Prakhash Sivakumar
>>>>> Software Engineer | WSO2 Inc
>>>>> Platform Security Team
>>>>> Mobile : +94771510080
>>>>> Blog : https://medium.com/@PrakhashS
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sameera Gunarathne
>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>> <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com&h=gAQEswASa>
>>>> Email: samee...@wso2.com
>>>> Mobile: +94714155561
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Prabath Ariyarathna.
>>> 
>>> --
>>> Talk is cheap. Show me the code.
>>> (Torvalds, Linus (2000-08-25))
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> *Senduran *
> Senior Software Engineer,
> WSO2, Inc.;  http://wso2.com/ <http://wso2.com/>
> Mobile: +94 77 952 6548
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to get a connection from the carbon datasources

2016-09-26 Thread Chanaka Cooray
Hi Niranda,

In c5, you can fetch a datasource object using the data source service or
using the jndi context manager. [1]

[1] https://github.com/wso2/carbon-datasources

Thanks,
Chanaka.

On Tuesday, September 27, 2016, Niranda Perera > wrote:

> Hi all,
>
> I want to use a jdbc connection provided by a carbon-datasource.
>
> I found the following blog from Kishanthan [1], which was done in 2013.
>
> it uses the org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory as
> follows
>
> Hashtable environment = new Hashtable();
>  environment.put("java.naming.factory.initialoorg.wso2.carbo
> n.tomcat.jndi.CarbonJavaURLContextFactory");
> Context initContext = new InitialContext(environment);
> Object result = initContext.lookup("jdbc/MyCarbonDataSource");
> if (result != null) {
> // Do your work here
> } else {
> System.out.println(“Cannot find MyCarbonDataSource”);
> }
>
> My question is, is there a better way of doing this now (a util method may
> be?) or is this method still applicable?
>
> Best
>
> [1] https://kishanthan.wordpress.com/2013/02/11/access-
> cabon-data-sources-within-webapps-in-wso2-application-server/
>
> --
> *Niranda Perera*
> Software Engineer, WSO2 Inc.
> Mobile: +94-71-554-8430
> Twitter: @n1r44 <https://twitter.com/N1R44>
> https://pythagoreanscript.wordpress.com/
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [C5] Downgrading maven-surefire-plugin version to 2.18.1

2016-08-19 Thread Chanaka Cooray
Hi all,

I encountered a problem while running pax-exam tests in carbon-kernel with
the maven-surefire-plugin version 2.19.1 which is the current plugin
version in the carbon-parent[1]. I found the same problem in the pax exam
forum[2] and seems like it is due to timeout issue with the new version of
the plugin. So according to the forum, it says to stick with 2.18.1 until
there is a fix available. When I switched to 2.18.1 in our OSGi tests, then
everything works fine as expected. So we have to downgrade that plugin
version in carbon-parent temporarily.

Please raise your concerns, if any.

[1] https://github.com/wso2/carbon-parent/blob/master/pom.xml
[2] https://groups.google.com/forum/#!topic/ops4j/1pBcHkBihzg

Thanks,
Chanaka.

-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Doesn't allow to create a p2 feature with name "feature" at the beginning

2016-08-08 Thread Chanaka Cooray
Hi Prabushi,

This seems to be an issue with the carbon feature plugin. In the
FeatureResourceBundle class, it splits the name of the feature by
".feature" string[1]. Can you create a JIRA for this please?

[1]
https://github.com/wso2/carbon-maven-plugins/blob/master/carbon-feature-plugin/src/main/java/org/wso2/maven/p2/feature/generate/FeatureResourceBundle.java#L72

Thanks,
Chanaka.

On Mon, Aug 8, 2016 at 4:10 PM, Prabushi Samarakoon 
wrote:

> Hi all,
>
> We are trying to create a p2-feature for our UUF sample application
> "features-app". It has the artifactId 
> "org.wso2.carbon.uuf.features-app.feature".
> When we build the feature, it creates a directory inside the zip file, with
> the name org.wso2.carbon.uuf_1.0.0.SNAPSHOT instead
> of org.wso2.carbon.uuf.features-app_1.0.0.SNAPSHOT. When we renamed our
> feature's name to "Features-app.feature", it is working fine.
>
> It seems, the plugin takes the name of the feature up to the first
> ".feature".  It doesn't allow to have a name such as
> ".feature.feature". Because of this reason we cannot get this feature
> into the distribution directory of our product. Is there a way to solve
> this issue?
>
> Thanks and Regards
>
> --
> *Prabushi Samarakoon*
> Software Engineer
> Mobile: +94715434580
> Email: prabus...@wso2.com
>



-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] WSO2 Application Server 6.0.0-M3 Released !

2016-08-01 Thread Chanaka Cooray
WSO2 Application Server 6.0.0-M3 Released !

WSO2 Application Server 6.0.0 is the successor of the WSO2 Carbon based
Application Server. It is a complete revamp and is based on vanilla Apache
Tomcat 8. WSO2 provides a number of features by means of extensions to
Apache Tomcat to integrate it with rest of the products of the WSO2 Carbon
middleware platform. It provides first class support for generic web
applications, JAX-RS/JAX-WS web applications and jaggery applications. The
performance of the server and individual application can be monitored by
integrating WSO2 Application Server with WSO2 Data Analytics Server.

WSO2 Application Server is an open source project and it is available under
the Apache Software License (v2.0)
<http://www.apache.org/licenses/LICENSE-2.0.html>.

Source and product distribution for this release is available here
<https://github.com/wso2/product-as/releases/tag/v6.0.0-m3>.
New Features

   -

   [WSAS-2191 <https://wso2.org/jira/browse/WSAS-2191>] - SAML 2.0 based
   Single-Sign-On (SSO) Apache Tomcat valve

WSO2 Application Server now supports SSO for web applications with WSO2
Identity Server. We have introduced the SSO Quick Start
<https://github.com/wso2/product-as/tree/v6.0.0-m3/samples/appserver-sso-samples/sso-quickstart>
script to try out SSO functionality with one go.

   -

   [WSAS-2250 <https://wso2.org/jira/browse/WSAS-2250>] - Jaggery runtime
   support

With this release of WSO2 Application Server we have introduced the Jaggery
runtime. Jaggery applications can be deployed with this custom runtime.
Improvements

   -

   [WSAS-2235 <https://wso2.org/jira/browse/WSAS-2235>] - Change the names
   of appserver-utils module classes into meaningful names with less confusion
   -

   [WSAS-2237 <https://wso2.org/jira/browse/WSAS-2237>] - Change of the
   location of the WSO2 AS web application descriptor, within a web application
   -

   [WSAS-2244 <https://wso2.org/jira/browse/WSAS-2244>] - Adding test cases
   for validating security related system properties.
   -

   [WSAS-2251 <https://wso2.org/jira/browse/WSAS-2251>] - SSO QuickStart
   Guide

Tasks

   -

   [WSAS-2229 <https://wso2.org/jira/browse/WSAS-2229>] - Add a feature to
   test failing test cases in the integration tests
   -

   [WSAS-2230 <https://wso2.org/jira/browse/WSAS-2230>] - Merge jacoco
   integration test coverage reports
   -

   [WSAS-2242 <https://wso2.org/jira/browse/WSAS-2242>] - Update
   client-truststore.jks with the latest
   -

   [WSAS-2246 <https://wso2.org/jira/browse/WSAS-2246>] - Get rid of
   org.wso2.carbon.logging-4.4.3.jar in /lib
   -

   [WSAS-2252 <https://wso2.org/jira/browse/WSAS-2252>] - Set https enabled
   by default in server.xml
   -

   [WSAS-2253 <https://wso2.org/jira/browse/WSAS-2253>] - Shade
   commons-logging and log4j jars

Key Features

   -

   HTTP Statistics Publishing to WSO2 Data Analytics Server
   -

   SAML based Single Sign On (SSO) for web applications
   -

   Support for Jaggery applications deployment
   -

   Webapp classloading runtimes

Reporting Issues

Issues, documentation errors and feature requests regarding WSO2
Application Server can be reported through the public issue tracking
system. https://wso2.org/jira/browse/WSAS.
Contact us

WSO2 Application Server developers can be contacted via the Development
 and Architecture  mailing lists.

Alternatively, questions can also be raised in the stackoverflow forum :
http://stackoverflow.com/questions/tagged/wso2

Thank you for your interest in WSO2 Application Server.

-The WSO2 Application Server Development Team -


On Mon, Aug 1, 2016 at 11:10 AM, Chanaka Cooray  wrote:

> WSO2 Application Server 6.0.0-M3 Released !
> Welcome to WSO2 Application Server, the successor of WSO2 Carbon based
> Application Server. WSO2 Application Server 6.0.0 is a complete revamp and
> is based on vanilla Apache Tomcat. WSO2 provides a number of features by
> means of extensions to Tomcat to add/enhance the functionality. It provides
> first class support for generic web applications, JAX-RS/JAX-WS web
> applications and jaggery applications. The performance of the server and
> individual application can be monitored by integrating WSO2 Application
> Server with WSO2 Data Analytics Server.
>
> WSO2 Application Server is an open source project and it is available
> under the Apache Software License (v2.0)
> <http://www.apache.org/licenses/LICENSE-2.0.html>.
>
> Source and product distribution for this release is available here
> <https://github.com/wso2/product-as/releases/tag/v6.0.0-m3>.
> Key Features
>
>- HTTP Statistics Monitoring
>- Webapp Classloading Runtimes
>- Jaggery Runtime Support
>- Accessing Applications using Single Sign-On
>
> Fixed Issues
>
>- https://wso2.org/jira/browse/WSAS-2194?fi

[Dev] [Architecture] WSO2 Application Server 6.0.0-M3 Released !

2016-07-31 Thread Chanaka Cooray
WSO2 Application Server 6.0.0-M3 Released !
Welcome to WSO2 Application Server, the successor of WSO2 Carbon based
Application Server. WSO2 Application Server 6.0.0 is a complete revamp and
is based on vanilla Apache Tomcat. WSO2 provides a number of features by
means of extensions to Tomcat to add/enhance the functionality. It provides
first class support for generic web applications, JAX-RS/JAX-WS web
applications and jaggery applications. The performance of the server and
individual application can be monitored by integrating WSO2 Application
Server with WSO2 Data Analytics Server.

WSO2 Application Server is an open source project and it is available under
the Apache Software License (v2.0)
<http://www.apache.org/licenses/LICENSE-2.0.html>.

Source and product distribution for this release is available here
<https://github.com/wso2/product-as/releases/tag/v6.0.0-m3>.
Key Features

   - HTTP Statistics Monitoring
   - Webapp Classloading Runtimes
   - Jaggery Runtime Support
   - Accessing Applications using Single Sign-On

Fixed Issues

   - https://wso2.org/jira/browse/WSAS-2194?filter=13173

Known Issues

   - https://wso2.org/jira/browse/WSAS-2248?filter=13174

Reporting Issues

Issues, documentation errors and feature requests regarding
WSO2 Application Server can be reported through the public issue tracking
system. https://wso2.org/jira/browse/WSAS.
Contact usWSO2 Application Server developers can be contacted via the
Development and Architecture mailing lists.
Alternatively, questions can also be raised in the stackoverflow forum :
http://stackoverflow.com/questions/tagged/wso2

Thank you for your interest in WSO2 Application Server.

*-The WSO2 Application Server Development Team -*

-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Provide Support to run Jaggery apps in Tomcat Server

2016-07-17 Thread Chanaka Cooray
t;>>>>>> apps.
>>>>>>>>
>>>>>>>> This is an extension for the Apache tomcat 8 to run the jaggery app
>>>>>>>> without modifying it. Although this is implemented as a requirement of 
>>>>>>>> WSO2
>>>>>>>> Application Server 6, Users who want to run jaggery apps without 
>>>>>>>> jaggery
>>>>>>>> server, can use this feature to run their jaggery apps in Apache tomcat
>>>>>>>> server.
>>>>>>>>
>>>>>>>> I have attached the documentation and sample jaggery with this
>>>>>>>> email. Please find these attachments and relevant jaggery branch 
>>>>>>>> here[1].
>>>>>>>> Please feel free to ask any questions.
>>>>>>>>
>>>>>>>> [1] - https://github.com/wso2/jaggery/tree/tomcat-8.0.x-jaggery
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Nisala
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Nisala Niroshana Nanayakkara,*
>>>>>>>> Software Engineer
>>>>>>>> Mobile:(+94)717600022
>>>>>>>> WSO2 Inc., http://wso2.com/
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
>>>>>>> email: kasung AT spamfree wso2.com
>>>>>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>>>>>> blog: http://kasunbg.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Nisala Niroshana Nanayakkara,*
>>>>>> Software Engineer
>>>>>> Mobile:(+94)717600022
>>>>>> WSO2 Inc., http://wso2.com/
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Sinthuja Rajendran*
>>>>> Technical Lead
>>>>> WSO2, Inc.:http://wso2.com
>>>>>
>>>>> Blog: http://sinthu-rajan.blogspot.com/
>>>>> Mobile: +94774273955
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> Architecture mailing list
>>>>> architect...@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Manjula Rathnayaka
>>>> Associate Technical Lead
>>>> WSO2, Inc.
>>>> Mobile:+94 77 743 1987
>>>>
>>>
>>>
>>>
>>> --
>>> *Nisala Niroshana Nanayakkara,*
>>> Software Engineer
>>> Mobile:(+94)717600022
>>> WSO2 Inc., http://wso2.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
>
> --
> Manjula Rathnayaka
> Associate Technical Lead
> WSO2, Inc.
> Mobile:+94 77 743 1987
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What's "/p2-profie-gen/carbon.product"?

2016-07-11 Thread Chanaka Cooray
Hi Prabath,

carbon.product file has the initial configurations of the osgi-bundles to
start and other required configurations necessary to generate the
config.ini (the main configuration file for an eclipse product). It also
defines the minimal equinox runtime-feature to be installed first into the
default WSO2Carbon profile.

This blog post[1] might help you.

[1] http://dileepajayakody.blogspot.com/2013_03_01_archive.html

Thanks,
Chanaka.

On Mon, Jul 11, 2016 at 12:35 PM, Prabath Abeysekera 
wrote:

> Hi Guys,
>
> Can someone please explain what "/p2-profie-gen/carbon.product" is and
> what it is intended for?
>
> Cheers,
> Prabath
> --
> Prabath Abeysekara
> Technical Lead
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Supporting OpenJDK for running WSO2 products.

2016-07-09 Thread Chanaka Cooray
On Sat, Jul 9, 2016 at 7:39 PM, Abimaran Kugathasan 
wrote:

>
>
> On Sat, Jul 9, 2016 at 9:55 AM, Chanaka Cooray  wrote:
>
>> Hi Abimaran,
>>
>> You can find a better answer in[1]. And in the comments of that post,
>> they have pointed out some of the issues they are facing with the openJDK.
>>
>> [1] *http://stackoverflow.com/a/22558837
>> <http://stackoverflow.com/a/22558837>*
>>
>
> Ok, So There aren't any WSO2 specific issues with OpenJDK. It's common to
> all Java applications.
>

But in eclipse equinox they recommend Oracle JDK for windows,OSX and ubuntu
[1]. Since we are using equinox framework for our osgi environment, I think
we should thoroughly test all functionalities with open JDK before
recommending that. Because I found some issues in OSGI with openJDK[2].

[1]
http://www.eclipse.org/projects/project-plan.php?projectid=eclipse#target_environments
[2] https://github.com/ReactiveX/RxJava/issues/3583#issuecomment-196089417
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Supporting OpenJDK for running WSO2 products.

2016-07-08 Thread Chanaka Cooray
Hi Abimaran,

You can find a better answer in[1]. And in the comments of that post, they
have pointed out some of the issues they are facing with the openJDK.

[1] *http://stackoverflow.com/a/22558837
<http://stackoverflow.com/a/22558837>*

Thanks,
Chanaka.

On Sat, Jul 9, 2016 at 8:46 AM, Abimaran Kugathasan 
wrote:

> Hi All,
>
>
> Why we don't recommend Open JDK?
>
> I searched, but, couldn't find a reason for that? Is that because of any
> Legal/License issues?
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> <http://stackoverflow.com/users/515034>
> <http://lk.linkedin.com/in/abimaran>
> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
> <https://twitter.com/abimaran>
>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [C5] Upgrading Kernel Equinox version to Neon Releases

2016-07-07 Thread Chanaka Cooray
Hi KasunG,

I have tested the carbon-feature-plugin and the kernel with the new
upgrades and sent two PRs for both repos. But at first, as you said, carbon
feature plugin has to be released in order to move the kernel to Neon
release because neon plugins don't work with the old versions of tycho.

Thanks,
Chanaka.

On Wed, Jul 6, 2016 at 11:42 AM, KasunG Gajasinghe  wrote:

>
> Chanaka, let's test the fix for carbon-feature-plugin, and go for an
> immediate release. Kernel version upgrade can be followed after that.
>
> On Wed, Jul 6, 2016 at 11:39 AM, KasunG Gajasinghe 
> wrote:
>
>>
>> +1. It's good that we identified the issues that has previously prevented
>> us updating to latest Equinox version.
>>
>> Thanks,
>> KasunG
>>
>> On Tue, Jul 5, 2016 at 7:57 PM, Niranjan Karunanandham > > wrote:
>>
>>> +1 to upgrade the tycho plugin. Currently we are using 0.13.0 and AFAIR
>>> the latest one is 0.25.0.
>>>
>>> Regards,
>>> Nira
>>>
>>> On Tue, Jul 5, 2016 at 3:11 PM, Sameera Jayasoma 
>>> wrote:
>>>
>>>> +1 for this.
>>>>
>>>> On Tue, Jul 5, 2016 at 2:48 PM, Chanaka Cooray 
>>>> wrote:
>>>>
>>>>> [+architecture]
>>>>>
>>>>> On Tue, Jul 5, 2016 at 1:53 PM, Chanaka Cooray 
>>>>> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> We have decided to upgrade the equinox version in kernel to Neon
>>>>>> release which is the latest release of the equinox[1]. This has to be 
>>>>>> done
>>>>>> due to several issues in kernel including [2] with the current equinox
>>>>>> version.
>>>>>> Addition to that, it is also required to upgrade tycho versions in
>>>>>> carbon-maven-plugins [3] because of a jarsigner issue with the JDK 7, 8.
>>>>>>
>>>>>> [1] http://download.eclipse.org/equinox/
>>>>>> [2] https://wso2.org/jira/browse/CARBON-15976
>>>>>> [3] https://github.com/wso2/carbon-maven-plugins
>>>>>>
>>>>>> Thanks,
>>>>>> Chanaka.
>>>>>> --
>>>>>> Chanaka Cooray
>>>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>>>> Email: chana...@wso2.com
>>>>>> Mobile: +94713149860
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Chanaka Cooray
>>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>>> Email: chana...@wso2.com
>>>>> Mobile: +94713149860
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>> ___
>>>> Architecture mailing list
>>>> architect...@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>> *Niranjan Karunanandham*
>>> Associate Technical Lead - WSO2 Inc.
>>> WSO2 Inc.: http://www.wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Associate Technical Lead, 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
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Upgrading Kernel Equinox version to Neon Releases

2016-07-05 Thread Chanaka Cooray
[+architecture]

On Tue, Jul 5, 2016 at 1:53 PM, Chanaka Cooray  wrote:

> Hi all,
>
> We have decided to upgrade the equinox version in kernel to Neon release
> which is the latest release of the equinox[1]. This has to be done due to
> several issues in kernel including [2] with the current equinox version.
> Addition to that, it is also required to upgrade tycho versions in
> carbon-maven-plugins [3] because of a jarsigner issue with the JDK 7, 8.
>
> [1] http://download.eclipse.org/equinox/
> [2] https://wso2.org/jira/browse/CARBON-15976
> [3] https://github.com/wso2/carbon-maven-plugins
>
> Thanks,
> Chanaka.
> --
> Chanaka Cooray
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: chana...@wso2.com
> Mobile: +94713149860
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [C5] Upgrading Kernel Equinox version to Neon Releases

2016-07-05 Thread Chanaka Cooray
Hi all,

We have decided to upgrade the equinox version in kernel to Neon release
which is the latest release of the equinox[1]. This has to be done due to
several issues in kernel including [2] with the current equinox version.
Addition to that, it is also required to upgrade tycho versions in
carbon-maven-plugins [3] because of a jarsigner issue with the JDK 7, 8.

[1] http://download.eclipse.org/equinox/
[2] https://wso2.org/jira/browse/CARBON-15976
[3] https://github.com/wso2/carbon-maven-plugins

Thanks,
Chanaka.
-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] carbon-datasources: Supporting Database Properties

2016-06-28 Thread Chanaka Cooray
Hi,

The issue is resolved now [1].

[1] https://github.com/wso2/carbon-datasources/pull/17

Thanks,
Chanaka.

On Fri, Jun 24, 2016 at 12:00 PM, Chanaka Cooray  wrote:

> Hi all,
>
> I will look into the issue.
>
> Thanks,
> Chanaka.
>
> On Fri, Jun 24, 2016 at 11:01 AM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> We will add this for the next minor release.
>>
>> @Isuru, you can go ahead with the version range as you mentioned for
>> package imports.
>>
>> On Thu, Jun 23, 2016 at 1:21 PM, Afkham Azeez  wrote:
>>
>>> Can we get a quick turnaround on this please?
>>>
>>> On Thu, Jun 23, 2016 at 12:10 PM, Isuru Perera  wrote:
>>>
>>>> Hi,
>>>>
>>>> This regarding CDATASRCS-2 <https://wso2.org/jira/browse/CDATASRCS-2>.
>>>> I guess that won't be fixed soon. But as I mentioned, this issue is a
>>>> blocker for Metrics release. Since we need to release Metrics soon (by next
>>>> week), I'll release the Metrics with datasources import range "[1.0.0,
>>>> 2.0.0)"
>>>>
>>>> I hope this issue will be fixed in a Minor release. I also hope the
>>>> datasource properties will be supported using the same configuration
>>>> elements used in C4. See:
>>>> https://github.com/wso2/carbon-metrics/blob/v1.2.1/features/carbon-metrics/org.wso2.carbon.metrics.server.feature/src/main/resources/conf/metrics-datasources.xml#L144-L146
>>>>
>>>> Please let me know the plan to support datasource properties in C5.
>>>>
>>>> Thanks!
>>>>
>>>> Best Regards,
>>>>
>>>> On Thu, Jun 2, 2016 at 12:25 PM, Isuru Perera  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> This is regarding [1]. Supporting database properties is required for
>>>>> Carbon Metrics.
>>>>>
>>>>> It will be a blocker when someone wants to use Carbon Metrics with
>>>>> Oracle database.
>>>>>
>>>>> Can we get it fixed soon?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> [1] https://wso2.org/jira/browse/CDATASOURC-2
>>>>>
>>>>> --
>>>>> Isuru Perera
>>>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>> about.me/chrishantha
>>>>> Contact: +IsuruPereraWSO2
>>>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Isuru Perera
>>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>>> Lean . Enterprise . Middleware
>>>>
>>>> about.me/chrishantha
>>>> Contact: +IsuruPereraWSO2
>>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>>
>>>
>>>
>>>
>>> --
>>> *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*
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> <http://kishanthan.wordpress.com>*
>> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>>
>
>
>
> --
> Chanaka Cooray
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: chana...@wso2.com
> Mobile: +94713149860
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] carbon-datasources: Supporting Database Properties

2016-06-23 Thread Chanaka Cooray
Hi all,

I will look into the issue.

Thanks,
Chanaka.

On Fri, Jun 24, 2016 at 11:01 AM, Kishanthan Thangarajah <
kishant...@wso2.com> wrote:

> We will add this for the next minor release.
>
> @Isuru, you can go ahead with the version range as you mentioned for
> package imports.
>
> On Thu, Jun 23, 2016 at 1:21 PM, Afkham Azeez  wrote:
>
>> Can we get a quick turnaround on this please?
>>
>> On Thu, Jun 23, 2016 at 12:10 PM, Isuru Perera  wrote:
>>
>>> Hi,
>>>
>>> This regarding CDATASRCS-2 <https://wso2.org/jira/browse/CDATASRCS-2>.
>>> I guess that won't be fixed soon. But as I mentioned, this issue is a
>>> blocker for Metrics release. Since we need to release Metrics soon (by next
>>> week), I'll release the Metrics with datasources import range "[1.0.0,
>>> 2.0.0)"
>>>
>>> I hope this issue will be fixed in a Minor release. I also hope the
>>> datasource properties will be supported using the same configuration
>>> elements used in C4. See:
>>> https://github.com/wso2/carbon-metrics/blob/v1.2.1/features/carbon-metrics/org.wso2.carbon.metrics.server.feature/src/main/resources/conf/metrics-datasources.xml#L144-L146
>>>
>>> Please let me know the plan to support datasource properties in C5.
>>>
>>> Thanks!
>>>
>>> Best Regards,
>>>
>>> On Thu, Jun 2, 2016 at 12:25 PM, Isuru Perera  wrote:
>>>
>>>> Hi,
>>>>
>>>> This is regarding [1]. Supporting database properties is required for
>>>> Carbon Metrics.
>>>>
>>>> It will be a blocker when someone wants to use Carbon Metrics with
>>>> Oracle database.
>>>>
>>>> Can we get it fixed soon?
>>>>
>>>> Thanks!
>>>>
>>>> Best Regards,
>>>>
>>>> [1] https://wso2.org/jira/browse/CDATASOURC-2
>>>>
>>>> --
>>>> Isuru Perera
>>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>>> Lean . Enterprise . Middleware
>>>>
>>>> about.me/chrishantha
>>>> Contact: +IsuruPereraWSO2
>>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>>
>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>
>>
>>
>>
>> --
>> *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*
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>



-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] [C5] Integration tests with PAX Exam.

2016-06-15 Thread Chanaka Cooray
Hi Hemika/Aruna,

Per-suite is also works with OSGI. See the mailing thread.[1]

[1] https://groups.google.com/forum/#!topic/ops4j/aiJ2dvrxhcI

Thanks,
Chanaka.

On Wed, Jun 15, 2016 at 1:32 PM, Aruna Karunarathna  wrote:

> Not sure Hemika, According to the pax-exam code base looks like it
> supports for OSGi per-suite scenarios also, see [1].
>
> It may be a documentation gap, could you try contacting their mailing list?
>
> [1].
> https://github.com/ops4j/org.ops4j.pax.exam2/blob/master/itest/osgi/src/it/regression-multi/src/test/java/org/ops4j/pax/exam/regression/multi/inject/SuiteTest.java
>
> Regards,
> Aruna
>
> On Wed, Jun 15, 2016 at 1:21 PM, Hemika Kodikara  wrote:
>
>> *but the document *doesn't* say that it supports OSGi,
>>
>> Hemika Kodikara
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middleware
>> http://wso2.com
>>
>> Mobile : +9477762
>>
>> On Wed, Jun 15, 2016 at 1:20 PM, Hemika Kodikara  wrote:
>>
>>> Hi Aruna,
>>>
>>> I checked the mentioned document earlier, but the document does say that
>>> it supports OSGi,
>>>
>>> "This strategy is only supported in Java EE, CDI and Web modes."
>>>
>>> Regards,
>>> Hemika
>>>
>>>
>>> Hemika Kodikara
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middleware
>>> http://wso2.com
>>>
>>> Mobile : +9477762
>>>
>>> On Wed, Jun 15, 2016 at 1:17 PM, Aruna Karunarathna 
>>> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Jun 15, 2016 at 1:11 PM, Hemika Kodikara 
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> In C4, We had integration tests running in a way that the server is
>>>>> started up by the test framework and the MB test cases were done through a
>>>>> JMS client. This JMS client is completely independent from MB(has no
>>>>> dependencies from MB other than the andes client jar).
>>>>>
>>>>> For C5, How can I achieve this ? IMO, running the JMS client in an
>>>>> OSGi environment is not required. Is it possible to start and stop the
>>>>> server using pax exam per testng suite ?
>>>>>
>>>>
>>>>> Is there an example on how to achieve this ? As far I see, the only
>>>>> task that needs to be done through pax exam is to start and stop the MB
>>>>> server environment.
>>>>>
>>>>> Any advice on this ?
>>>>>
>>>>
>>>> Yes, you should be able to run per-suite according to the docs [1].
>>>>
>>>> [1]. https://ops4j1.jira.com/wiki/display/PAXEXAM4/Reactor+Strategies
>>>>
>>>>>
>>>>> Regards,
>>>>> Hemika
>>>>>
>>>>> Hemika Kodikara
>>>>> Software Engineer
>>>>> WSO2 Inc.
>>>>> lean . enterprise . middleware
>>>>> http://wso2.com
>>>>>
>>>>> Mobile : +9477762
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Aruna Sujith Karunarathna *
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>>
>>>>
>>>
>>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR

2015-04-09 Thread Chanaka Cooray
Hi,

Please review and merge the pull requests for web app artifact extractor
for WSO2 Operations Center.

[1] https://github.com/wso2/Operation-Center/pull/9

-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 13: ESB - End-to-end Message Tracing Support

2015-03-22 Thread Chanaka Cooray
Hi,

Thanks for the response. I will let you know if I have any clarifications.

Regards,

On Wed, Mar 18, 2015 at 3:59 PM, Isuru Udana  wrote:

> Hi Chanaka,
>
> Thanks for the interest in the project.
> Please keep us updated on your progress. And raise any questions you have
> in understanding the project scope.
>
> Thanks.
>
> On Wed, Mar 4, 2015 at 11:20 AM, Chanaka Cooray  wrote:
>
>> Hi,
>>
>> I am Chanaka Sampath from Department of Computer Science and Engineering,
>> University of Moratuwa. Currently I'm an intern at WSO2 Inc.
>>
>> I am interested in proposal [1] and looking forward to contribute. I am
>> already familiar with the wso2 ESB. I will go through the  given references
>> and contact you for further details.
>>
>> [1]
>> https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal13:ESB-End-to-endMessageTracingSupport
>>
>> Thanks,
>> --
>> *Chanaka Sampath Cooray*
>> Software Engineering Intern,
>> WSO2 Lanka (pvt) Ltd.
>> Mobile:+94713614884
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Isuru Udana*
> Senior
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
> twitter: http://twitter.com/isudana
>



-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSoC-2015] Proposal 13: ESB - End-to-end Message Tracing Support

2015-03-04 Thread Chanaka Cooray
Hi,

I am Chanaka Sampath from Department of Computer Science and Engineering,
University of Moratuwa. Currently I'm an intern at WSO2 Inc.

I am interested in proposal [1] and looking forward to contribute. I am
already familiar with the wso2 ESB. I will go through the  given references
and contact you for further details.

[1]
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal13:ESB-End-to-endMessageTracingSupport

Thanks,
-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Creating a JAX-RS service project using WSO2 Developer Studio in eclipse

2015-02-26 Thread Chanaka Cooray
Hi Awanthika,

I made changes to the pom build tag as indicated in your message. It
worked!

Thanks a lot.

On Fri, Feb 27, 2015 at 10:03 AM, Awanthika Senarath 
wrote:

> Hi Chanaka,
>
> Adding the dependency to the pom.file alone will not ensure that it gets
> packed into the war ouput .
>
>  As explained in [1] you need to have the subject jar in the
> project/WEB-INF/lib folder in order to get it packed into your war file.
> You can refer [2] to see how to get this done . As to put it in to the
> specific location you can use the plugin at [3] . This will copy all your
> dependencies to the desired location which will ensure that it gets packed
> to your war file.
>
> [1]
> http://stackoverflow.com/questions/6496560/where-should-i-put-external-jar-files-when-developing-a-web-app
>
> [2]
> http://stackoverflow.com/questions/97640/force-maven2-to-copy-dependencies-into-target-lib
>
> [3] 
> maven-dependency-plugin
> 2.1
> 
> 
> copy-dependencies
> process-sources
> 
> copy-dependencies
> 
> 
> lib <--- the output directory you want
> the jars to be packed
> false
> false
> true
> true
> runtime
> 
> 
> 
> 
>
>
> regards
> Awanhtika
>
> On Fri, Feb 27, 2015 at 9:27 AM, Chanaka Cooray  wrote:
>
>> Hi Awanthika,
>> I did mvn clean install command to build the target .war file, It seems
>> that output .war file doesn't contain the external libraries. Here the
>> stacktrace I'm getting.
>>
>> java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonGenerationException
>>> java.lang.Class.getDeclaredConstructors0(Native Method)
>>> java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
>>> java.lang.Class.getConstructor0(Class.java:2885)
>>> java.lang.Class.getDeclaredConstructor(Class.java:2058)
>>> 
>>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65)
>>> 
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957)
>>> 
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910)
>>> 
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484)
>>> 
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
>>> 
>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
>>> 
>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>>> 
>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>>> 
>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
>>> 
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
>>> 
>>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
>>> 
>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
>>> 
>>> org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160)
>>> org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74)
>>> 
>>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:71)
>>> 
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>> 
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>> 
>>> org.wso2.carbon.statistics.webapp.RequestIntercepterValve.invoke(RequestIntercepterValve.java:43)
>>> 
>>> org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:104)
>>> 
>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>>> 
>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>> 
>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderV

Re: [Dev] Creating a JAX-RS service project using WSO2 Developer Studio in eclipse

2015-02-26 Thread Chanaka Cooray
Hi Awanthika,
I did mvn clean install command to build the target .war file, It seems
that output .war file doesn't contain the external libraries. Here the
stacktrace I'm getting.

java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonGenerationException
>   java.lang.Class.getDeclaredConstructors0(Native Method)
>   java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
>   java.lang.Class.getConstructor0(Class.java:2885)
>   java.lang.Class.getDeclaredConstructor(Class.java:2058)
>   
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65)
>   
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957)
>   
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910)
>   
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484)
>   
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
>   
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
>   
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>   
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>   
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
>   
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
>   
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
>   
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
>   
> org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160)
>   org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74)
>   
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:71)
>   
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>   
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>   
> org.wso2.carbon.statistics.webapp.RequestIntercepterValve.invoke(RequestIntercepterValve.java:43)
>   
> org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:104)
>   
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>   
> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>   
> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>   
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>   
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>   
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>   
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>   
> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>   
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>   
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>   
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>   
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>   
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>   
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>   java.lang.Thread.run(Thread.java:745)
>
>
Thanks,

On Fri, Feb 27, 2015 at 9:14 AM, Awanthika Senarath 
wrote:

> Hi Chanaka,
>
> AFAIK you need to clean the project and trigger a build to get it, it
> should work that way. Anyways could you please share the stack trace you
> are getting?
>
> also you can refer [1] on this as well..
>
>
> [1]
> http://stackoverflow.com/questions/2037188/how-to-configure-eclipse-build-path-to-use-maven-dependencies
>
> On Fri, Feb 27, 2015 at 8:59 AM, Chanaka Cooray  wrote

[Dev] Creating a JAX-RS service project using WSO2 Developer Studio in eclipse

2015-02-26 Thread Chanaka Cooray
Hi,
I created a jax-rs service using the wso2 developer studio. I want to add
an external library to that project. I added that to the pom as a
dependency. But it is not working. Any help on this would be appreciated.

Thanks,
-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please Review the Pull Requests

2015-02-23 Thread Chanaka Cooray
Hi,

Please review and merge the pull requests for java 8 support.
 [1] for axiom, [2] for wss4j, [3] for axis2 and [4] for carbon4-kernel.

[1] https://github.com/wso2/wso2-axiom/pull/17
[2] https://github.com/wso2/wso2-wss4j/pull/10
[3] https://github.com/wso2/wso2-axis2/pull/28
[4] https://github.com/wso2/carbon4-kernel/pull/146

-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB Sample for File inbound endpoint

2015-02-04 Thread Chanaka Cooray
All right then.
Thank you.

On Thu, Feb 5, 2015 at 9:57 AM, Isuru Ranawaka  wrote:

> HI Chanaka,
>
> This is a bug and will be fixed in M6 .
>
> thanks
>
>
> On Thu, Feb 5, 2015 at 9:52 AM, Chanaka Cooray  wrote:
>
>> Hi,
>>
>> I tried to run the sample[1] in ESB 4.9.0 M4 pack. When I update the
>> source view in ESB Management Console , it shows the following error. But
>> when I create a file inbound endpoint using the inbound UI it works fine. can
>> someone point out what I am doing wrong?
>>
>> [1]. https://docs.wso2.com/pages/viewpage.action?pageId=43995550
>>
>> [2015-02-05 09:45:10,920] ERROR - SynapseXMLConfigurationFactory Invalid
>>>> configuration element at the top level, one of 'sequence', 'endpoint',
>>>> 'proxy', 'eventSource', 'localEntry', 'priorityExecutor' or 'registry' is
>>>> expected
>>>
>>> [2015-02-05 09:45:10,921] ERROR - SynapseConfiguration Duplicate entry
>>>> definition for key : SERVER_HOST
>>>
>>> [2015-02-05 09:45:10,921] ERROR - ConfigAdmin Error while updating the
>>>> Synapse configuration
>>>
>>> org.apache.synapse.SynapseException: Duplicate entry definition for key
>>>> : SERVER_HOST
>>>
>>>
>>>
>> Thanks,
>> --
>> *Chanaka Sampath Cooray*
>> Software Engineering Intern,
>> WSO2 Lanka (pvt) Ltd.
>> Mobile:+94713614884
>>
>
>
>
> --
> Best Regards
> Isuru Ranawaka
> M: +94714629880
> Blog : http://isurur.blogspot.com/
>



-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ESB Sample for File inbound endpoint

2015-02-04 Thread Chanaka Cooray
Hi,

I tried to run the sample[1] in ESB 4.9.0 M4 pack. When I update the source
view in ESB Management Console , it shows the following error. But when I
create a file inbound endpoint using the inbound UI it works fine. can
someone point out what I am doing wrong?

[1]. https://docs.wso2.com/pages/viewpage.action?pageId=43995550

[2015-02-05 09:45:10,920] ERROR - SynapseXMLConfigurationFactory Invalid
>> configuration element at the top level, one of 'sequence', 'endpoint',
>> 'proxy', 'eventSource', 'localEntry', 'priorityExecutor' or 'registry' is
>> expected
>
> [2015-02-05 09:45:10,921] ERROR - SynapseConfiguration Duplicate entry
>> definition for key : SERVER_HOST
>
> [2015-02-05 09:45:10,921] ERROR - ConfigAdmin Error while updating the
>> Synapse configuration
>
> org.apache.synapse.SynapseException: Duplicate entry definition for key :
>> SERVER_HOST
>
>
>
Thanks,
-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge the pull request : MQTT Inbound Endpoint

2015-01-25 Thread Chanaka Cooray
A gentle reminder!

Thanks.

On Wed, Jan 21, 2015 at 4:04 PM, Chanaka Cooray  wrote:

> Hi,
>
> Please merge the pull request [1] for MQTT inbound endpoint.
>
> [1] https://github.com/wso2-dev/carbon-mediation/pull/105
>
> Thanks.
>
> --
> *Chanaka Sampath Cooray*
> Software Engineering Intern,
> WSO2 Lanka (pvt) Ltd.
> Mobile:+94713614884
>



-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge the pull request : MQTT Inbound Endpoint

2015-01-21 Thread Chanaka Cooray
Hi,

Please merge the pull request [1] for MQTT inbound endpoint.

[1] https://github.com/wso2-dev/carbon-mediation/pull/105

Thanks.

-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-20 Thread Chanaka Cooray
Hi,
I will check that.

Thank you.

On Tue, Jan 20, 2015 at 11:29 AM, Malaka Silva  wrote:

> Hi,
>
> There was some code re factoring done in the admin stub some time ago.
> Please merge with upstream.
>
> Build seems to be ok [1].
>
> [1] https://wso2.org/jenkins/job/carbon-mediation/398/
>
> On Tue, Jan 20, 2015 at 11:23 AM, Eranda Rajapakshe 
> wrote:
>
>> I got this error when I am building the inbound-endpoint-ui component. It
>> doesn't show any error logs in the console, but the only problem is that
>> inbound-endpoint ui is not coming up. And the error message "
>> org.wso2.carbon.inbound.stub.InboundAdminStub.
>> getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;"
>> comes in a message dialog box when I am trying to access the inbound
>> endpoint ui.
>>
>> On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran 
>> wrote:
>>
>>> Hi Chanaka,
>>>
>>> Can you please provide the complete error? Also, the archived mail [1],
>>> talks about a similar issue. Have a look at it too.
>>>
>>> [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html
>>>
>>> Thank you,
>>> Shiva Balachandran
>>>
>>> On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray 
>>> wrote:
>>>
>>>> I forgot to attach the error.
>>>>
>>>>
>>>> org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
>>>>
>>>> On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray 
>>>> wrote:
>>>>
>>>>>
>>>>> I am trying to build the inbound endpoint ui in carbon-mediation. I
>>>>> used "mvn clean install" in this
>>>>> directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
>>>>> build the jar and copied it to the
>>>>> /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.
>>>>>
>>>>> Even though the build was successful, the inbound endpoint tab doesn't
>>>>> appear in the ESB management console. It shows the following error.
>>>>>
>>>>>
>>>>>
>>>>> Is there any step that I have missed in the process of building the
>>>>> jar file?
>>>>>
>>>>> Thank you!
>>>>> --
>>>>> *Chanaka Sampath Cooray*
>>>>> Software Engineering Intern,
>>>>> WSO2 Lanka (pvt) Ltd.
>>>>> Mobile:+94713614884
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Chanaka Sampath Cooray*
>>>> Software Engineering Intern,
>>>> WSO2 Lanka (pvt) Ltd.
>>>> Mobile:+94713614884
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Eranda Rajapakshe*
>> Software Engineering intern
>> WSO2 Inc. www.wso2.com
>>
>> *B. Sc. Eng. (Hons) Undergraduate*
>> *Dept. of Computer Science and Engineering*
>> *University of Moratuwa, Sri Lanka*
>> Tel : +94784822608
>> Email : eran...@wso2.com
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>



-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I forgot to attach the error.

org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray  wrote:

>
> I am trying to build the inbound endpoint ui in carbon-mediation. I used
> "mvn clean install" in this
> directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
> build the jar and copied it to the
> /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.
>
> Even though the build was successful, the inbound endpoint tab doesn't
> appear in the ESB management console. It shows the following error.
>
>
>
> Is there any step that I have missed in the process of building the jar
> file?
>
> Thank you!
> --
> *Chanaka Sampath Cooray*
> Software Engineering Intern,
> WSO2 Lanka (pvt) Ltd.
> Mobile:+94713614884
>



-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I am trying to build the inbound endpoint ui in carbon-mediation. I used
"mvn clean install" in this
directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
build the jar and copied it to the
/wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

Even though the build was successful, the inbound endpoint tab doesn't
appear in the ESB management console. It shows the following error.



Is there any step that I have missed in the process of building the jar
file?

Thank you!
-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Injecting message into a ESB sequence

2015-01-11 Thread Chanaka Cooray
Hi,
Is there are any way to initialize the endpoint? I used the same code as
the [1] and [2]. I modified the inbound endpoint section in the
carbon-mediation.

[1]
https://github.com/wso2-dev/carbon-mediation/blob/master/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FileInjectHandler.java

[2]
https://github.com/wso2-dev/carbon-mediation/blob/master/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/jms/JMSInjectHandler.java

My implementation for the invoke method as follows, I think problem with
that

public boolean invoke(MqttMessage mqttMessage) {
>
> try {
>
> org.apache.synapse.MessageContext msgCtx =
>> createMessageContext();
>
> String contentType = null;
>
> if (log.isDebugEnabled()) {
>
> log.debug("Processed MQTT Message of Content-type : " +
>> contentType);
>
> }
>
> MessageContext axis2MsgCtx =
>> ((org.apache.synapse.core.axis2.Axis2MessageContext) msgCtx)
>
> .getAxis2MessageContext();
>
> // Determine the message builder to use
>
> Builder builder;
>
> if (contentType == null) {
>
> log.debug("No content type specified. Using SOAP
>> builder.");
>
> builder = new SOAPBuilder();
>
> } else {
>
> int index = contentType.indexOf(';');
>
> String type = index > 0 ? contentType.substring(0, index)
>> : contentType;
>
> builder = BuilderUtil.getBuilderFromSelector(type,
>> axis2MsgCtx);
>
> if (builder == null) {
>
> if (log.isDebugEnabled()) {
>
> log.debug("No message builder found for type '" +
>> type
>
> + "'. Falling back to SOAP.");
>
> }
>
> builder = new SOAPBuilder();
>
> }
>
> }
>
> OMElement documentElement = null;
>
>
>
> String message = mqttMessage.toString();
>
> InputStream in = new AutoCloseInputStream(new
>> ByteArrayInputStream(
>
> message.getBytes()));
>
> documentElement = builder.processDocument(in, contentType,
>> axis2MsgCtx);
>
>
>> // Inject the message to the sequence.
>
>
>> msgCtx.setEnvelope(TransportUtils.createSOAPEnvelope(documentElement));
>
> if (injectingSeq == null || injectingSeq.equals("")) {
>
> log.error("Sequence name not specified. Sequence : " +
>> injectingSeq);
>
> return false;
>
> }
>
> SequenceMediator seq = (SequenceMediator)
>> synapseEnvironment.getSynapseConfiguration()
>
> .getSequence(injectingSeq);
>
> seq.setErrorHandler(onErrorSeq);
>
> if (seq != null) {
>
> if (log.isDebugEnabled()) {
>
> log.debug("injecting message to sequence : " +
>> injectingSeq);
>
> }
>
> if(!synapseEnvironment.injectInbound(msgCtx, seq,
>> sequential)){
>
> return false;
>
> }
>
> } else {
>
> log.error("Sequence: " + injectingSeq + " not found");
>
> }
>
>
>
> } catch (Exception e) {
>
> log.error("Error while processing the MQTT Message");
>
> }
>
> return true;
>
> }
>
>
On Mon, Jan 12, 2015 at 12:15 PM, Chanaka Cooray  wrote:

> Hi,
> I will check that.
> Thanks and regards
>
> On Mon, Jan 12, 2015 at 12:04 PM, Awanthika Senarath 
> wrote:
>
>> Hi Chanaka,
>>
>> You have not copied the dev list :)
>>
>> AFAIK for the send mediator you should have the endpoint you have given
>> being active (initialized), since you are trying to send the messages to
>> that endpoint, which i believe is an address endpoint in this case
>> according to your error log,
>>
>>  In case you already have the endpoint URL you have given to the send
>> mediator initialized,
>>  I came across a jira [1] which might be related to your issue.
>>
>> [1] https://wso2.org/jira/browse/ESBJAVA-2846
>>
>> thanks and re

[Dev] Injecting message into a ESB sequence

2015-01-11 Thread Chanaka Cooray
Hi,
I need to inject a message to a esb sequence, I already wrote a java code
to implement that. When I created a sequence to send message to an
endpoint, the console indicates the following error. But when I tried to
inject the message to a sequence with log mediator, it works fine.

[2015-01-12 09:37:26,679] ERROR - Axis2SynapseEnvironment Unexpected error
>> executing task/async inject
>
> java.lang.IllegalStateException: not initialized, endpoint must be in
>> initialized state
>
> at
>> org.apache.synapse.endpoints.AbstractEndpoint.readyToSend(AbstractEndpoint.java:244)
>
> at
>> org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:54)
>
> at
>> org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
>
> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:80)
>
> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>
> at
>> org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
>
> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:80)
>
> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>
> at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:135)
>
> at
>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectInbound(Axis2SynapseEnvironment.java:324)
>
> at
>> org.wso2.carbon.inbound.endpoint.protocol.mqtt.MQTTInjectHandler.invoke(MQTTInjectHandler.java:94)
>
> at
>> org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListenerCallback.messageArrived(MqttListenerCallback.java:30)
>
> at
>> org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:332)
>
> at
>> org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:144)
>
> at java.lang.Thread.run(Thread.java:745)
>
> [2015-01-12 09:37:26,683]  WARN - Axis2SynapseEnvironment Executing fault
>> handler due to exception encountered
>
> [2015-01-12 09:37:26,683]  WARN - FaultHandler ERROR_CODE : 0
>
> [2015-01-12 09:37:26,683]  WARN - FaultHandler ERROR_MESSAGE : not
>> initialized, endpoint must be in initialized state
>
> [2015-01-12 09:37:26,684]  WARN - FaultHandler ERROR_DETAIL :
>> java.lang.IllegalStateException: not initialized, endpoint must be in
>> initialized state
>
> at
>> org.apache.synapse.endpoints.AbstractEndpoint.readyToSend(AbstractEndpoint.java:244)
>
> at
>> org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:54)
>
> at
>> org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
>
> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:80)
>
> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>
> at
>> org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
>
> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:80)
>
> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>
> at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:135)
>
> at
>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectInbound(Axis2SynapseEnvironment.java:324)
>
> at
>> org.wso2.carbon.inbound.endpoint.protocol.mqtt.MQTTInjectHandler.invoke(MQTTInjectHandler.java:94)
>
> at
>> org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListenerCallback.messageArrived(MqttListenerCallback.java:30)
>
> at
>> org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:332)
>
> at
>> org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:144)
>
> at java.lang.Thread.run(Thread.java:745)
>
>
>> [2015-01-12 09:37:26,684]  WARN - FaultHandler ERROR_EXCEPTION :
>> java.lang.IllegalStateException: not initialized, endpoint must be in
>> initialized state
>
>
>
The java code attached below is the code that I implemented to inject the
message into the sequence.


> *OMElement documentElement = null;*
> *InputStream in = new AutoCloseInputStream(new
> ByteArrayInputStream(*
> *message.getBytes()));**
> documentElement = builder.processDocument(in, contentType, axis2MsgCtx);*
>
> *// Inject the message to the sequence.*
> *
> msgCtx.setEnvelope(TransportUtils.createSOAPEnvelope(documentElement));*
> *if (injectingSeq == null || injectingSeq.equals("")) {*
> *log.error("Sequence name not specified. Sequence : " +
> injectingSeq);*
> *return false;*
> *}*
> *SequenceMediator seq = (SequenceMediator)
> synapseEnvironment.getSynapseConfiguration()*
> *.getSequence(injectingSeq);*
> *seq.setErrorHandler(onErrorSeq);*
> *if (seq != null) {*
> *if (log.isDebugEnabled()) {*
> *