[Dev] [DevStudio] Please review and merged the PR

2015-06-23 Thread Nuwan Pallewela
Hi,

Please review and merge PR[1] - Fixing TOOLS-2837 Server role is not
clickable until the particular artifact is selected in CAPP editor

[1] https://github.com/wso2/developer-studio/pull/53

Thanks,
Nuwan.

-- 
--

*Nuwan Chamara Pallewela*


*Software Engineer*

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

Email   *nuw...@wso2.com *
Mobile  *+94719079739*
*+94767100087*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Product-bam code base is 124MB

2015-06-23 Thread Isuru Perera
FYI

We can use --depth in git clone [1] to truncate history to the specified
number of revisions.

For example:

git clone --depth 2 https://github.com/wso2/product-bam

When I cloned using above command, the product-bam is around 16MB.

[1] http://git-scm.com/docs/git-clone

On Mon, Jun 22, 2015 at 3:30 PM, Nirmal Fernando  wrote:

> Great! Thanks.
>
> On Mon, Jun 22, 2015 at 3:29 PM, Dunith Dhanushka  wrote:
>
>> Removed already :)
>>
>> On Mon, Jun 22, 2015 at 3:24 PM, Nirmal Fernando  wrote:
>>
>>> Thanks Dunith! Let's remove it as soon as possible :-)
>>>
>>> On Mon, Jun 22, 2015 at 3:20 PM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi Nirmal,

 This might be due to shindig library we used to distribute with the
 pack. Now it has been configured to install from carbon-dashboards feature
 and will no longer be in use. Cloning time will be back to normal once
 shindig jar has been removed from the repo.

 Thanks,
 Dunith

 On Mon, Jun 22, 2015 at 3:13 PM, Nirmal Fernando 
 wrote:

> Hi,
>
> Can this be due to some jars checked-in ? Cloning the repo takes lot
> of time.
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


 --
 Regards,

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

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com 
 Twitter - @dunithd 

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Dunith Dhanushka,
>> Senior Software Engineer - BAM,
>> WSO2 Inc,
>>
>> Mobile - +94 71 8615744
>> Blog - dunithd.wordpress.com 
>> Twitter - @dunithd 
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
Contact: +IsuruPereraWSO2 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Should serialize method of a Mediator throw an exception on input invalidation ?

2015-06-23 Thread Nirmal Fernando
Hi,

$subject please. If so what's the exception type it should throw?

-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Progress so far with DL4J

2015-06-23 Thread Nirmal Fernando
Let's use H2O then.

On Fri, Jun 19, 2015 at 4:31 PM, Thushan Ganegedara 
wrote:

> Yes, the results look very promising. The deep networks are performing
> very well.
>
> On Fri, Jun 19, 2015 at 7:59 PM, Srinath Perera  wrote:
>
>> We should/can use H2O if it is better.
>>
>> On Fri, Jun 19, 2015 at 3:20 PM, Thushan Ganegedara 
>> wrote:
>>
>>> Hi all,
>>>
>>> I ran a simple example for MNIST dataset on H2O-Flow
>>>
>>> These are the results I obtained. Seems like a promising option.
>>>
>>>
>>> On Fri, Jun 19, 2015 at 2:11 PM, Thushan Ganegedara 
>>> wrote:
>>>
 Hi,

 H2O seems to be a very reliable option. They have quite a few strong
 testimonials too. And seems to be well documented too. Should I try to run
 few tests with H2O API?

 On Fri, Jun 19, 2015 at 12:17 PM, Srinath Perera 
 wrote:

> Have we look at h2o's DL impl?
>
> e.g.
> http://www.businesswire.com/news/home/20150616006734/en/H2O.ai-Showcases-Power-Deep-Learning-GBM-Spark
>
> On Thu, Jun 18, 2015 at 7:43 AM, Thushan Ganegedara 
> wrote:
>
>> Hi,
>>
>> Yes, that sounds good. I will start working on UI aspects while
>> waiting for them to release fixes. If they release fixes while working on
>> the UI it should be fine. Otherwise, I will start implementing the
>> autoencoder.
>>
>> On Thu, Jun 18, 2015 at 12:04 PM, Srinath Perera 
>> wrote:
>>
>>> Let's work on other parts of the project, for example we can look at
>>> UI to configure Deep learning while waiting for them to do it. However, 
>>> fix
>>> takes time, we have to write auto encoder.
>>>
>>> On Thu, Jun 18, 2015 at 7:26 AM, Thushan Ganegedara <
>>> thu...@gmail.com> wrote:
>>>
 Dear all,

 I posted about poor accuracy on deeplearning4j google group and
 they replied saying they are aware of this issue (
 https://groups.google.com/forum/#!topic/deeplearning4j/gRQH8rA9SQI).
 They are currently working on it, to get the tuned examples out soon.

 However, from the appearance of their response, deeplearning4j has
 few bugs/issues with gradient calculation after they moved to nd4j.

 I can see two options right now,

 1. Wait till the bugs are fixed and tuned examples are out
 2. Write autoencoder myself, adhering to the coding style they have
 followed. So the example can be easily integrated with deeplearning4j 
 after
 a stable version is out.


 Would highly appreciate your feedback.

 On Wed, Jun 17, 2015 at 10:27 AM, Thushan Ganegedara <
 thu...@gmail.com> wrote:

> Hi,
>
> I couldn't find any reports on high accuracy on any set of data.
> The popular datasets seem to be Iris dataset and MNIST dataset. 
> However,
> their example page on git hub shows several results for different
> techniques and datasets (
> https://github.com/deeplearning4j/dl4j-0.0.3.3-examples). And as
> it can be seen, the accuracies mentioned are quite low. (However, the
> developers claim that this is because they have run the examples with 
> less
> number of nodes and less iterations)
>
>
>
> On Tue, Jun 16, 2015 at 6:03 PM, Srinath Perera 
> wrote:
>
>> Are there any other datasets where dl4j suppose to do well? As
>> long as it does better with *some* datasets, we can go ahead with 
>> those?
>>
>> On Tue, Jun 16, 2015 at 9:13 AM, Thushan Ganegedara <
>> thu...@gmail.com> wrote:
>>
>>> Yes, there are few use list (Git hub and google group). I will
>>> inquire about this in user lists.
>>>
>>> Thank you
>>>
>>>
>>> On Tue, Jun 16, 2015 at 12:34 PM, Nirmal Fernando <
>>> nir...@wso2.com> wrote:
>>>
 Thanks Thushan for the update.

 In addition to you digging into the code, can you also inquire
 on the poor performance from the DL4J user list (if there's one 
 exist)?

 On Tue, Jun 16, 2015 at 5:27 AM, Thushan Ganegedara <
 thu...@gmail.com> wrote:

> Dear all,
>
> Please find the update regarding DL4J testing
>
> *Poor Accuracy*
> I have been testing DL4J extensively with *MNIST and Iris*
> datasets (Small and Full). However, I was unable to get a 
> reasonable
> accuracy with DL4J for the aforementioned datasets. The F1-score 
> was around
> 0.02, which is very low.
>
> I tried with different settings mainly for the following
> attribute

Re: [Dev] Carbon-deployment 4.4.2 Release date

2015-06-23 Thread Kasun Indrasiri
We probably need a release of carbon-deployment earlier than that, because
ESB GA release is planned on mid July. Most of the service
activation/deactivation features will be mainly used with Proxy service.

On Wed, Jun 24, 2015 at 11:22 AM, Jayanga Dissanayake 
wrote:

> Hi Prabath,
>
> Carbon-deployment 4.4.2 will be released on mid July, in parallel with
> WSO2AS RC releases.
> Changes related to proxy service Activate/Deactivate feature is merged
> into master branch and available in 4.4.2-SNAPSHOT
>
> Thanks,
> Jayanga.
>
>
> *Jayanga Dissanayake*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> email: jaya...@wso2.com
> mobile: +94772207259
>
> On Wed, Jun 24, 2015 at 11:14 AM, Prabath Ariyarathna 
> wrote:
>
>> Hi Carbon Team.
>>
>> We are planning to release proxy service Activate/Deactivate feature with
>> the ESB 4.9 release and AFAIK it has already been added to the
>> carbon-deployment 4.4.2-SNAPSHOT.
>> When you plan to release it?
>>
>>
>> Thanks.
>> --
>>
>> *Prabath Ariyarathna*
>>
>> *Associate Technical Lead*
>>
>> *WSO2, Inc. *
>>
>> *lean . enterprise . middleware *
>>
>>
>> *Email: prabat...@wso2.com *
>>
>> *Blog: http://prabu-lk.blogspot.com *
>>
>> *Flicker : https://www.flickr.com/photos/47759189@N08
>> *
>>
>> *Mobile: +94 77 699 4730 *
>>
>>
>>
>>
>>
>>
>


-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon-deployment 4.4.2 Release date

2015-06-23 Thread Jayanga Dissanayake
Hi Prabath,

Carbon-deployment 4.4.2 will be released on mid July, in parallel with
WSO2AS RC releases.
Changes related to proxy service Activate/Deactivate feature is merged into
master branch and available in 4.4.2-SNAPSHOT

Thanks,
Jayanga.


*Jayanga Dissanayake*
Senior Software Engineer
WSO2 Inc. - http://wso2.com/
lean . enterprise . middleware
email: jaya...@wso2.com
mobile: +94772207259

On Wed, Jun 24, 2015 at 11:14 AM, Prabath Ariyarathna 
wrote:

> Hi Carbon Team.
>
> We are planning to release proxy service Activate/Deactivate feature with
> the ESB 4.9 release and AFAIK it has already been added to the
> carbon-deployment 4.4.2-SNAPSHOT.
> When you plan to release it?
>
>
> Thanks.
> --
>
> *Prabath Ariyarathna*
>
> *Associate Technical Lead*
>
> *WSO2, Inc. *
>
> *lean . enterprise . middleware *
>
>
> *Email: prabat...@wso2.com *
>
> *Blog: http://prabu-lk.blogspot.com *
>
> *Flicker : https://www.flickr.com/photos/47759189@N08
> *
>
> *Mobile: +94 77 699 4730 *
>
>
>
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] Please review and merged the PR

2015-06-23 Thread Prabath Ariyarathna
Please review and merge PR[1][2] for the engaging modules to the proxy
service.

[1] = https://github.com/wso2/wso2-synapse/pull/238


[2] = https://github.com/wso2/carbon-mediation/pull/249


Thanks.

-- 

*Prabath Ariyarathna*

*Associate Technical Lead*

*WSO2, Inc. *

*lean . enterprise . middleware *


*Email: prabat...@wso2.com *

*Blog: http://prabu-lk.blogspot.com *

*Flicker : https://www.flickr.com/photos/47759189@N08
*

*Mobile: +94 77 699 4730 *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Pumudu Ruhunage

2015-06-23 Thread Madhawa Gunasekara
Congratulations Pumudu :)

On Wed, Jun 24, 2015 at 11:01 AM, Asitha Nanayakkara 
wrote:

> Congratulations Pumudu!
>
> On Wed, Jun 24, 2015 at 10:59 AM, Ramith Jayasinghe 
> wrote:
>
>> Hi Pumudu,
>> Congratulations!
>> It is with great pleasure that we welcome you as a WSO2 committer. Keep
>> up the good work!
>> regards,
>>
>> --
>> Ramith Jayasinghe
>> Technical Lead
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> E: ram...@wso2.com
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Asitha Nanayakkara*
> Software Engineer
> WSO2, Inc. http://wso2.com/
> Mob: + 94 77 85 30 682
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
*
linkedin: *http://lk.linkedin.com/in/mgunasekara
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Carbon-deployment 4.4.2 Release date

2015-06-23 Thread Prabath Ariyarathna
Hi Carbon Team.

We are planning to release proxy service Activate/Deactivate feature with
the ESB 4.9 release and AFAIK it has already been added to the
carbon-deployment 4.4.2-SNAPSHOT.
When you plan to release it?


Thanks.
-- 

*Prabath Ariyarathna*

*Associate Technical Lead*

*WSO2, Inc. *

*lean . enterprise . middleware *


*Email: prabat...@wso2.com *

*Blog: http://prabu-lk.blogspot.com *

*Flicker : https://www.flickr.com/photos/47759189@N08
*

*Mobile: +94 77 699 4730 *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge

2015-06-23 Thread Madhawa Gunasekara
Hi Rajith,

Please find the attached svn diff for dss 3.2.2, including Integration
tests for JIRA issues [1].

[1] https://wso2.org/jira/browse/DS-1058

On Wed, Jun 24, 2015 at 10:30 AM, Niranjan Karunanandham 
wrote:

> Hi Madhawa,
>
> Committed the diff to Kernel 4.2.0 patch0012 and the svn revision #
> is 212928.
>
> Regards,
> Nira
>
> On Wed, Jun 24, 2015 at 9:36 AM, Niranjan Karunanandham  > wrote:
>
>> Hi Madhawa,
>>
>> I will look into patch for kernel 4.2.0. Please note that patch0011 has
>> been closed and I will be committing your patch to patch0012.
>>
>> Please let me know when you have sent the PR for the integration test for
>> Kernel 4.4.0 (if it is possible).
>>
>> Regards,
>> Nira
>>
>> On Tue, Jun 23, 2015 at 10:12 AM, Madhawa Gunasekara 
>> wrote:
>>
>>> Please find the pull request for this issue [1]. Can we write the
>>> integration tests for this issue in kernel ? I have already wrote
>>> integration tests for this issue in dss.
>>>
>>> [1] https://github.com/wso2/wso2-axis2/pull/52
>>>
>>> Thanks,
>>> Madhawa
>>>
>>> On Tue, Jun 23, 2015 at 9:15 AM, Madhawa Gunasekara 
>>> wrote:
>>>
 This svn diff should apply to kernel patch0011.

 Thanks,
 Madhawa

 On Mon, Jun 22, 2015 at 6:43 PM, Madhawa Gunasekara 
 wrote:

> Hi Devs,
>
> Please find the attached patch for the jira issue [1].
>
> [1] https://wso2.org/jira/browse/CARBON-15280
>
> Thanks,
> Madhawa.
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> *
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> *
>



 --
 *Madhawa Gunasekara*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 719411002 <+94+719411002>
 blog: *http://madhawa-gunasekara.blogspot.com
 *
 linkedin: *http://lk.linkedin.com/in/mgunasekara
 *

>>>
>>>
>>>
>>> --
>>> *Madhawa Gunasekara*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 719411002 <+94+719411002>
>>> blog: *http://madhawa-gunasekara.blogspot.com
>>> *
>>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>>> *
>>>
>>
>>
>>
>> --
>>
>> *Niranjan Karunanandham*
>> Senior Software Engineer - WSO2 Inc.
>> WSO2 Inc.: http://www.wso2.com
>>
>
>
>
> --
>
> *Niranjan Karunanandham*
> Senior Software Engineer - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>



-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
*
linkedin: *http://lk.linkedin.com/in/mgunasekara
*
Index: modules/integration/tests-patches/src/test/java/org/wso2/carbon/dss/operation/test/CARBON1391RepeatServiceNameInURLTest.java
===
--- modules/integration/tests-patches/src/test/java/org/wso2/carbon/dss/operation/test/CARBON1391RepeatServiceNameInURLTest.java	(revision 0)
+++ modules/integration/tests-patches/src/test/java/org/wso2/carbon/dss/operation/test/CARBON1391RepeatServiceNameInURLTest.java	(working copy)
@@ -0,0 +1,114 @@
+/*
+ * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.wso2.carbon.dss.operation.test;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.testng.Assert;
+import org.testng.annotations.AfterClass;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
+import org.wso2.carbon.automation.core.ProductConstant;
+import org.wso2.carbon.dss.DSSIntegrationTest;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.OutputStreamWriter;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * This test is

Re: [Dev] WSO2 Committers += Pumudu Ruhunage

2015-06-23 Thread Asitha Nanayakkara
Congratulations Pumudu!

On Wed, Jun 24, 2015 at 10:59 AM, Ramith Jayasinghe  wrote:

> Hi Pumudu,
> Congratulations!
> It is with great pleasure that we welcome you as a WSO2 committer. Keep up
> the good work!
> regards,
>
> --
> Ramith Jayasinghe
> Technical Lead
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: ram...@wso2.com
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Asitha Nanayakkara*
Software Engineer
WSO2, Inc. http://wso2.com/
Mob: + 94 77 85 30 682
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Pumudu Ruhunage

2015-06-23 Thread Ramith Jayasinghe
Hi Pumudu,
Congratulations!
It is with great pleasure that we welcome you as a WSO2 committer. Keep up
the good work!
regards,

-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

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


[Dev] WSO2 Application Server 5.2.1 Docker Image

2015-06-23 Thread Imesh Gunaratne
Hi Devs,

WSO2 Application Server 5.2.1 Docker image is now available in Docker Hub:
https://registry.hub.docker.com/u/wso2/as/

Thanks

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


Re: [Dev] Please review and merged the PR

2015-06-23 Thread Vijitha Ekanayake
Thanks IsuruR.

On Wed, Jun 24, 2015 at 10:55 AM, Isuru Ranawaka  wrote:

> merged.
>
> On Wed, Jun 24, 2015 at 10:49 AM, Vijitha Ekanayake 
> wrote:
>
>> Hi,
>>
>> Please review and merge PR[1] - Fixing automation test failures in
>> tests-mediator-2 module in ESB.
>>
>> [1] https://github.com/wso2/product-esb/pull/196/
>>
>> --
>> Vijitha Ekanayake
>> Software Engineer*, *WSO2, Inc.; http://wso2.com/
>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>> lean.enterprise.middleware
>>
>
>
>
> --
> Best Regards
> Isuru Ranawaka
> M: +94714629880
> Blog : http://isurur.blogspot.com/
>



-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merged the PR

2015-06-23 Thread Isuru Ranawaka
merged.

On Wed, Jun 24, 2015 at 10:49 AM, Vijitha Ekanayake 
wrote:

> Hi,
>
> Please review and merge PR[1] - Fixing automation test failures in
> tests-mediator-2 module in ESB.
>
> [1] https://github.com/wso2/product-esb/pull/196/
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merged the PR

2015-06-23 Thread Vijitha Ekanayake
Hi,

Please review and merge PR[1] - Fixing automation test failures in
tests-mediator-2 module in ESB.

[1] https://github.com/wso2/product-esb/pull/196/

-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Maheeka Jayasuriya

2015-06-23 Thread Viraj Senevirathne
Congratulations Maheeka .

On Wed, Jun 24, 2015 at 10:36 AM, Dinithi De Silva 
wrote:

> Congratzzz maheeka... :)
>
> On Wed, Jun 24, 2015 at 10:29 AM, Kasun Indrasiri  wrote:
>
>> Hi devs,
>>
>> Its my pleasure to welcome Maheeka Jayasuriya as a WSO2 Committer.
>> Maheeka, welcome aboard and keep up the good work!
>>
>> Thanks.
>> --
>> Kasun Indrasiri
>> Software Architect
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 77 556 5206
>> Blog : http://kasunpanorama.blogspot.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Dinithi De Silva*
> Associate Software Engineer, WSO2 Inc.
> m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
> | a: #20, Palm Grove, Colombo 03
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Viraj Senevirathne
Software Engineer; WSO2, Inc.

Mobile : +94 71 818 4742 <%2B94%20%280%29%20773%20451194>
Email : vir...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppFac] curl commands for REST API access to WSO2 Appfactory

2015-06-23 Thread Fathima Dilhasha
Hi Punnadi,

Thank you. Will use that.

Regards,
Dilhasha

Fathima Dilhasha Nazeer 
(M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka

On Wed, Jun 24, 2015 at 9:38 AM, Punnadi Gunarathna 
wrote:

> So the new endpoint for 'deployArtifact' is
> https://apps.cloud.wso2.com/appmgt/site/blocks/build/add/ajax/add.jag
>
> Please find the curl command:
>
> curl -v -X  POST -k
> https://apps.cloud.wso2.com/appmgt/site/blocks/build/add/ajax/add.jag -H
> 'Content-Type:application/x-www-form-urlencoded' -H
> 'Cookie:JSESSIONID=EFB464F63D6D3F49F9F6DD338E636304' -d
> 'on=deployArtifact&applicationKey=wow&stage=Development&version=trunk&tagName=&deployAction=deploy'
>
> On Wed, Jun 24, 2015 at 9:37 AM, Punnadi Gunarathna 
> wrote:
>
>> Hi Fathima,
>>
>> Extremely sorry for your trouble. Recently there was a code refactoring
>> done on jaggery side.
>>
>> So the new endpoint for 'deployArtifact'
>>
>>
>> On Wed, Jun 24, 2015 at 9:02 AM, Punnadi Gunarathna 
>> wrote:
>>
>>> Hi Fathima,
>>>
>>> I will get back to you.
>>>
>>> On Wed, Jun 24, 2015 at 7:23 AM, Fathima Dilhasha <
>>> dilhasha@gmail.com> wrote:
>>>
 Hi Punnadi,

 Still gives the page not found error. May be that page is mapped to
 some other url. But I can't seem to find a mapping.

 Fathima Dilhasha Nazeer 
 (M.N.F.Dilhasha)
 Undergraduate | Department of Computer Science and Engineering
 University of Moratuwa
 Sri Lanka

 On Wed, Jun 24, 2015 at 6:51 AM, Punnadi Gunarathna 
 wrote:

> Hi Fathima,
>
> The value of 'deployAction' is "deploy". Please set it and give a try.
>
> On Wed, Jun 24, 2015 at 5:20 AM, Fathima Dilhasha <
> dilhasha@gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to trigger a build via REST API call. Following is the
>> curl command I'm using,
>>
>> *curl -v -X  POST -k
>> https://apps.cloud.wso2.com/appmgt/site/blocks/reposBuilds/add/ajax/add.jag
>> 
>> -H 'Content-Type:application/x-www-form-urlencoded' -H
>> 'Cookie:JSESSIONID=043032EE08D9FB074845FEF4313DD83D' -d
>> 'action=deployArtifact&applicationKey=de&stage=Development&version=trunk&tagName=tag1&deployAction='*
>>
>> When I run this, I'm getting a *Page Not Found Error.*
>> But this page exists in block layer.
>> Also, I am not sure what is meant by "deployAction" and what can be
>> the possible values for that.
>>
>> Can someone help me to correct this?
>>
>> Thanks.
>> Regards,
>> Dilhasha
>>
>>
>> Fathima Dilhasha Nazeer 
>> (M.N.F.Dilhasha)
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> On Tue, Jun 23, 2015 at 10:08 AM, Fathima Dilhasha <
>> dilhasha@gmail.com> wrote:
>>
>>> Hi Punnadi,
>>>
>>> Thanks for pointing out the mistake. With the correct username (with
>>> dilhasha.wso2@dilhashan), getApplicationsOfUser works fine for me.
>>> I will check on the other commands as well.
>>>
>>> Thanks.
>>> Regards,
>>> Dilhasha
>>>
>>>
>>> Fathima Dilhasha Nazeer 
>>> (M.N.F.Dilhasha)
>>> Undergraduate | Department of Computer Science and Engineering
>>> University of Moratuwa
>>> Sri Lanka
>>>
>>> On Tue, Jun 23, 2015 at 9:56 AM, Punnadi Gunarathna <
>>> punn...@wso2.com> wrote:
>>>
 Hi Fathima,

 I tried the 'getApplicationsOfUser' and it works fine for me.

 curl -v -X POST -k
 https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
 -d 'action=login&userName=punnadi.wso2.com@puva6107
 &password=**'

 curl -v -X POST
 https://apps.cloud.wso2.com/appmgt/site/blocks/application/get/ajax/list.jag
 -H 'Content-Type:application/x-www-form-urlencoded' -H
 'Cookie:JSESSIONID=D084797351C4203D850C2D75CD65D4DD' -d
 'action=getApplicationsOfUser&userName=punnadi.wso2.com@puva6107'

 And the output is as follows:

 [{"key" : "wow", "owner" : "punnadi.wso2.com@puva6107", "type" :
 "war", "language" : "Java", "mappedSubDomain" : null, "customUrl" : 
 null,
 "customUrlVerificationCode" : null, "description" : null, 
 "repositoryType"
 : "git", "repositoryTypeDisplayName" : "Git", "branchCount" : 2,
 "typeDisplayName" : "Java Web Application", "isUploadable" : false, 
 "name"
 : "wow", "repoAccessability" : "perDevRepo", "inProduction" : false,
 "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>>

Re: [Dev] WSO2 Committers += Maheeka Jayasuriya

2015-06-23 Thread Dinithi De Silva
Congratzzz maheeka... :)

On Wed, Jun 24, 2015 at 10:29 AM, Kasun Indrasiri  wrote:

> Hi devs,
>
> Its my pleasure to welcome Maheeka Jayasuriya as a WSO2 Committer.
> Maheeka, welcome aboard and keep up the good work!
>
> Thanks.
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Dinithi De Silva*
Associate Software Engineer, WSO2 Inc.
m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
| a: #20, Palm Grove, Colombo 03
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge

2015-06-23 Thread Niranjan Karunanandham
Hi Madhawa,

Committed the diff to Kernel 4.2.0 patch0012 and the svn revision #
is 212928.

Regards,
Nira

On Wed, Jun 24, 2015 at 9:36 AM, Niranjan Karunanandham 
wrote:

> Hi Madhawa,
>
> I will look into patch for kernel 4.2.0. Please note that patch0011 has
> been closed and I will be committing your patch to patch0012.
>
> Please let me know when you have sent the PR for the integration test for
> Kernel 4.4.0 (if it is possible).
>
> Regards,
> Nira
>
> On Tue, Jun 23, 2015 at 10:12 AM, Madhawa Gunasekara 
> wrote:
>
>> Please find the pull request for this issue [1]. Can we write the
>> integration tests for this issue in kernel ? I have already wrote
>> integration tests for this issue in dss.
>>
>> [1] https://github.com/wso2/wso2-axis2/pull/52
>>
>> Thanks,
>> Madhawa
>>
>> On Tue, Jun 23, 2015 at 9:15 AM, Madhawa Gunasekara 
>> wrote:
>>
>>> This svn diff should apply to kernel patch0011.
>>>
>>> Thanks,
>>> Madhawa
>>>
>>> On Mon, Jun 22, 2015 at 6:43 PM, Madhawa Gunasekara 
>>> wrote:
>>>
 Hi Devs,

 Please find the attached patch for the jira issue [1].

 [1] https://wso2.org/jira/browse/CARBON-15280

 Thanks,
 Madhawa.
 --
 *Madhawa Gunasekara*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 719411002 <+94+719411002>
 blog: *http://madhawa-gunasekara.blogspot.com
 *
 linkedin: *http://lk.linkedin.com/in/mgunasekara
 *

>>>
>>>
>>>
>>> --
>>> *Madhawa Gunasekara*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 719411002 <+94+719411002>
>>> blog: *http://madhawa-gunasekara.blogspot.com
>>> *
>>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>>> *
>>>
>>
>>
>>
>> --
>> *Madhawa Gunasekara*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 719411002 <+94+719411002>
>> blog: *http://madhawa-gunasekara.blogspot.com
>> *
>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>> *
>>
>
>
>
> --
>
> *Niranjan Karunanandham*
> Senior Software Engineer - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>



-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Maheeka Jayasuriya

2015-06-23 Thread Kasun Indrasiri
Hi devs,

Its my pleasure to welcome Maheeka Jayasuriya as a WSO2 Committer.
Maheeka, welcome aboard and keep up the good work!

Thanks.
-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge the PR

2015-06-23 Thread Irham Iqbal
Hi Niranjan,

Please review and merge PR[1] which is for carbon tools integration tests.

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

Thanks,
Iqbal

-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppFac] curl commands for REST API access to WSO2 Appfactory

2015-06-23 Thread Punnadi Gunarathna
So the new endpoint for 'deployArtifact' is
https://apps.cloud.wso2.com/appmgt/site/blocks/build/add/ajax/add.jag

Please find the curl command:

curl -v -X  POST -k
https://apps.cloud.wso2.com/appmgt/site/blocks/build/add/ajax/add.jag -H
'Content-Type:application/x-www-form-urlencoded' -H
'Cookie:JSESSIONID=EFB464F63D6D3F49F9F6DD338E636304' -d
'on=deployArtifact&applicationKey=wow&stage=Development&version=trunk&tagName=&deployAction=deploy'

On Wed, Jun 24, 2015 at 9:37 AM, Punnadi Gunarathna 
wrote:

> Hi Fathima,
>
> Extremely sorry for your trouble. Recently there was a code refactoring
> done on jaggery side.
>
> So the new endpoint for 'deployArtifact'
>
>
> On Wed, Jun 24, 2015 at 9:02 AM, Punnadi Gunarathna 
> wrote:
>
>> Hi Fathima,
>>
>> I will get back to you.
>>
>> On Wed, Jun 24, 2015 at 7:23 AM, Fathima Dilhasha > > wrote:
>>
>>> Hi Punnadi,
>>>
>>> Still gives the page not found error. May be that page is mapped to some
>>> other url. But I can't seem to find a mapping.
>>>
>>> Fathima Dilhasha Nazeer 
>>> (M.N.F.Dilhasha)
>>> Undergraduate | Department of Computer Science and Engineering
>>> University of Moratuwa
>>> Sri Lanka
>>>
>>> On Wed, Jun 24, 2015 at 6:51 AM, Punnadi Gunarathna 
>>> wrote:
>>>
 Hi Fathima,

 The value of 'deployAction' is "deploy". Please set it and give a try.

 On Wed, Jun 24, 2015 at 5:20 AM, Fathima Dilhasha <
 dilhasha@gmail.com> wrote:

> Hi,
>
> I'm trying to trigger a build via REST API call. Following is the curl
> command I'm using,
>
> *curl -v -X  POST -k
> https://apps.cloud.wso2.com/appmgt/site/blocks/reposBuilds/add/ajax/add.jag
> 
> -H 'Content-Type:application/x-www-form-urlencoded' -H
> 'Cookie:JSESSIONID=043032EE08D9FB074845FEF4313DD83D' -d
> 'action=deployArtifact&applicationKey=de&stage=Development&version=trunk&tagName=tag1&deployAction='*
>
> When I run this, I'm getting a *Page Not Found Error.*
> But this page exists in block layer.
> Also, I am not sure what is meant by "deployAction" and what can be
> the possible values for that.
>
> Can someone help me to correct this?
>
> Thanks.
> Regards,
> Dilhasha
>
>
> Fathima Dilhasha Nazeer 
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> On Tue, Jun 23, 2015 at 10:08 AM, Fathima Dilhasha <
> dilhasha@gmail.com> wrote:
>
>> Hi Punnadi,
>>
>> Thanks for pointing out the mistake. With the correct username (with
>> dilhasha.wso2@dilhashan), getApplicationsOfUser works fine for me. I
>> will check on the other commands as well.
>>
>> Thanks.
>> Regards,
>> Dilhasha
>>
>>
>> Fathima Dilhasha Nazeer 
>> (M.N.F.Dilhasha)
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> On Tue, Jun 23, 2015 at 9:56 AM, Punnadi Gunarathna > > wrote:
>>
>>> Hi Fathima,
>>>
>>> I tried the 'getApplicationsOfUser' and it works fine for me.
>>>
>>> curl -v -X POST -k
>>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
>>> -d 'action=login&userName=punnadi.wso2.com@puva6107&password=**'
>>>
>>> curl -v -X POST
>>> https://apps.cloud.wso2.com/appmgt/site/blocks/application/get/ajax/list.jag
>>> -H 'Content-Type:application/x-www-form-urlencoded' -H
>>> 'Cookie:JSESSIONID=D084797351C4203D850C2D75CD65D4DD' -d
>>> 'action=getApplicationsOfUser&userName=punnadi.wso2.com@puva6107'
>>>
>>> And the output is as follows:
>>>
>>> [{"key" : "wow", "owner" : "punnadi.wso2.com@puva6107", "type" :
>>> "war", "language" : "Java", "mappedSubDomain" : null, "customUrl" : 
>>> null,
>>> "customUrlVerificationCode" : null, "description" : null, 
>>> "repositoryType"
>>> : "git", "repositoryTypeDisplayName" : "Git", "branchCount" : 2,
>>> "typeDisplayName" : "Java Web Application", "isUploadable" : false, 
>>> "name"
>>> : "wow", "repoAccessability" : "perDevRepo", "inProduction" : false,
>>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" :
>>> "punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>>> "appowner", "subscriber", "publisher", "developer", "default",
>>> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
>>> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", 
>>> "Subscriber",
>>> "Publisher", "Developer"]}]}, {"key" : "guy", "owner" :
>>> "punnadi.wso2.com@puva6107", "type" 

Re: [Dev] [AppFac] curl commands for REST API access to WSO2 Appfactory

2015-06-23 Thread Punnadi Gunarathna
Hi Fathima,

Extremely sorry for your trouble. Recently there was a code refactoring
done on jaggery side.

So the new endpoint for 'deployArtifact'


On Wed, Jun 24, 2015 at 9:02 AM, Punnadi Gunarathna 
wrote:

> Hi Fathima,
>
> I will get back to you.
>
> On Wed, Jun 24, 2015 at 7:23 AM, Fathima Dilhasha 
> wrote:
>
>> Hi Punnadi,
>>
>> Still gives the page not found error. May be that page is mapped to some
>> other url. But I can't seem to find a mapping.
>>
>> Fathima Dilhasha Nazeer 
>> (M.N.F.Dilhasha)
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> On Wed, Jun 24, 2015 at 6:51 AM, Punnadi Gunarathna 
>> wrote:
>>
>>> Hi Fathima,
>>>
>>> The value of 'deployAction' is "deploy". Please set it and give a try.
>>>
>>> On Wed, Jun 24, 2015 at 5:20 AM, Fathima Dilhasha <
>>> dilhasha@gmail.com> wrote:
>>>
 Hi,

 I'm trying to trigger a build via REST API call. Following is the curl
 command I'm using,

 *curl -v -X  POST -k
 https://apps.cloud.wso2.com/appmgt/site/blocks/reposBuilds/add/ajax/add.jag
 
 -H 'Content-Type:application/x-www-form-urlencoded' -H
 'Cookie:JSESSIONID=043032EE08D9FB074845FEF4313DD83D' -d
 'action=deployArtifact&applicationKey=de&stage=Development&version=trunk&tagName=tag1&deployAction='*

 When I run this, I'm getting a *Page Not Found Error.*
 But this page exists in block layer.
 Also, I am not sure what is meant by "deployAction" and what can be the
 possible values for that.

 Can someone help me to correct this?

 Thanks.
 Regards,
 Dilhasha


 Fathima Dilhasha Nazeer 
 (M.N.F.Dilhasha)
 Undergraduate | Department of Computer Science and Engineering
 University of Moratuwa
 Sri Lanka

 On Tue, Jun 23, 2015 at 10:08 AM, Fathima Dilhasha <
 dilhasha@gmail.com> wrote:

> Hi Punnadi,
>
> Thanks for pointing out the mistake. With the correct username (with
> dilhasha.wso2@dilhashan), getApplicationsOfUser works fine for me. I
> will check on the other commands as well.
>
> Thanks.
> Regards,
> Dilhasha
>
>
> Fathima Dilhasha Nazeer 
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> On Tue, Jun 23, 2015 at 9:56 AM, Punnadi Gunarathna 
> wrote:
>
>> Hi Fathima,
>>
>> I tried the 'getApplicationsOfUser' and it works fine for me.
>>
>> curl -v -X POST -k
>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
>> -d 'action=login&userName=punnadi.wso2.com@puva6107&password=**'
>>
>> curl -v -X POST
>> https://apps.cloud.wso2.com/appmgt/site/blocks/application/get/ajax/list.jag
>> -H 'Content-Type:application/x-www-form-urlencoded' -H
>> 'Cookie:JSESSIONID=D084797351C4203D850C2D75CD65D4DD' -d
>> 'action=getApplicationsOfUser&userName=punnadi.wso2.com@puva6107'
>>
>> And the output is as follows:
>>
>> [{"key" : "wow", "owner" : "punnadi.wso2.com@puva6107", "type" :
>> "war", "language" : "Java", "mappedSubDomain" : null, "customUrl" : null,
>> "customUrlVerificationCode" : null, "description" : null, 
>> "repositoryType"
>> : "git", "repositoryTypeDisplayName" : "Git", "branchCount" : 2,
>> "typeDisplayName" : "Java Web Application", "isUploadable" : false, 
>> "name"
>> : "wow", "repoAccessability" : "perDevRepo", "inProduction" : false,
>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
>> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>> "appowner", "subscriber", "publisher", "developer", "default",
>> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
>> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", 
>> "Subscriber",
>> "Publisher", "Developer"]}]}, {"key" : "guy", "owner" :
>> "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
>> "mappedSubDomain" : null, "customUrl" : null, 
>> "customUrlVerificationCode" :
>> null, "description" : null, "repositoryType" : "git",
>> "repositoryTypeDisplayName" : "Git", "branchCount" : 3, 
>> "typeDisplayName" :
>> "Java Web Application", "isUploadable" : false, "name" : "guy",
>> "repoAccessability" : "perDevRepo", "inProduction" : false,
>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
>> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>> "appown

Re: [Dev] Please review and merge

2015-06-23 Thread Niranjan Karunanandham
Hi Madhawa,

I will look into patch for kernel 4.2.0. Please note that patch0011 has
been closed and I will be committing your patch to patch0012.

Please let me know when you have sent the PR for the integration test for
Kernel 4.4.0 (if it is possible).

Regards,
Nira

On Tue, Jun 23, 2015 at 10:12 AM, Madhawa Gunasekara 
wrote:

> Please find the pull request for this issue [1]. Can we write the
> integration tests for this issue in kernel ? I have already wrote
> integration tests for this issue in dss.
>
> [1] https://github.com/wso2/wso2-axis2/pull/52
>
> Thanks,
> Madhawa
>
> On Tue, Jun 23, 2015 at 9:15 AM, Madhawa Gunasekara 
> wrote:
>
>> This svn diff should apply to kernel patch0011.
>>
>> Thanks,
>> Madhawa
>>
>> On Mon, Jun 22, 2015 at 6:43 PM, Madhawa Gunasekara 
>> wrote:
>>
>>> Hi Devs,
>>>
>>> Please find the attached patch for the jira issue [1].
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-15280
>>>
>>> Thanks,
>>> Madhawa.
>>> --
>>> *Madhawa Gunasekara*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 719411002 <+94+719411002>
>>> blog: *http://madhawa-gunasekara.blogspot.com
>>> *
>>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>>> *
>>>
>>
>>
>>
>> --
>> *Madhawa Gunasekara*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 719411002 <+94+719411002>
>> blog: *http://madhawa-gunasekara.blogspot.com
>> *
>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>> *
>>
>
>
>
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> *
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> *
>



-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Manorama Perera

2015-06-23 Thread Nirmal Fernando
Hi All,

It's my pleasure to announce *Manorama Perera* as a *WSO2 Committer*. She
has been a key contributor to the *WSO2 Machine Learner *Product and in
recognition of her excellent work, she had been voted as a WSO2 Committer.

Congratulations Mano and keep up the good work!

*PS: Please send any wishes you may send directly to Manorama. Please do
not replyAll :-) Thanks.*

-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppFac] curl commands for REST API access to WSO2 Appfactory

2015-06-23 Thread Punnadi Gunarathna
Hi Fathima,

I will get back to you.

On Wed, Jun 24, 2015 at 7:23 AM, Fathima Dilhasha 
wrote:

> Hi Punnadi,
>
> Still gives the page not found error. May be that page is mapped to some
> other url. But I can't seem to find a mapping.
>
> Fathima Dilhasha Nazeer 
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> On Wed, Jun 24, 2015 at 6:51 AM, Punnadi Gunarathna 
> wrote:
>
>> Hi Fathima,
>>
>> The value of 'deployAction' is "deploy". Please set it and give a try.
>>
>> On Wed, Jun 24, 2015 at 5:20 AM, Fathima Dilhasha > > wrote:
>>
>>> Hi,
>>>
>>> I'm trying to trigger a build via REST API call. Following is the curl
>>> command I'm using,
>>>
>>> *curl -v -X  POST -k
>>> https://apps.cloud.wso2.com/appmgt/site/blocks/reposBuilds/add/ajax/add.jag
>>> 
>>> -H 'Content-Type:application/x-www-form-urlencoded' -H
>>> 'Cookie:JSESSIONID=043032EE08D9FB074845FEF4313DD83D' -d
>>> 'action=deployArtifact&applicationKey=de&stage=Development&version=trunk&tagName=tag1&deployAction='*
>>>
>>> When I run this, I'm getting a *Page Not Found Error.*
>>> But this page exists in block layer.
>>> Also, I am not sure what is meant by "deployAction" and what can be the
>>> possible values for that.
>>>
>>> Can someone help me to correct this?
>>>
>>> Thanks.
>>> Regards,
>>> Dilhasha
>>>
>>>
>>> Fathima Dilhasha Nazeer 
>>> (M.N.F.Dilhasha)
>>> Undergraduate | Department of Computer Science and Engineering
>>> University of Moratuwa
>>> Sri Lanka
>>>
>>> On Tue, Jun 23, 2015 at 10:08 AM, Fathima Dilhasha <
>>> dilhasha@gmail.com> wrote:
>>>
 Hi Punnadi,

 Thanks for pointing out the mistake. With the correct username (with
 dilhasha.wso2@dilhashan), getApplicationsOfUser works fine for me. I
 will check on the other commands as well.

 Thanks.
 Regards,
 Dilhasha


 Fathima Dilhasha Nazeer 
 (M.N.F.Dilhasha)
 Undergraduate | Department of Computer Science and Engineering
 University of Moratuwa
 Sri Lanka

 On Tue, Jun 23, 2015 at 9:56 AM, Punnadi Gunarathna 
 wrote:

> Hi Fathima,
>
> I tried the 'getApplicationsOfUser' and it works fine for me.
>
> curl -v -X POST -k
> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
> -d 'action=login&userName=punnadi.wso2.com@puva6107&password=**'
>
> curl -v -X POST
> https://apps.cloud.wso2.com/appmgt/site/blocks/application/get/ajax/list.jag
> -H 'Content-Type:application/x-www-form-urlencoded' -H
> 'Cookie:JSESSIONID=D084797351C4203D850C2D75CD65D4DD' -d
> 'action=getApplicationsOfUser&userName=punnadi.wso2.com@puva6107'
>
> And the output is as follows:
>
> [{"key" : "wow", "owner" : "punnadi.wso2.com@puva6107", "type" :
> "war", "language" : "Java", "mappedSubDomain" : null, "customUrl" : null,
> "customUrlVerificationCode" : null, "description" : null, "repositoryType"
> : "git", "repositoryTypeDisplayName" : "Git", "branchCount" : 2,
> "typeDisplayName" : "Java Web Application", "isUploadable" : false, "name"
> : "wow", "repoAccessability" : "perDevRepo", "inProduction" : false,
> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
> "appowner", "subscriber", "publisher", "developer", "default",
> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", 
> "Subscriber",
> "Publisher", "Developer"]}]}, {"key" : "guy", "owner" :
> "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
> "mappedSubDomain" : null, "customUrl" : null, "customUrlVerificationCode" 
> :
> null, "description" : null, "repositoryType" : "git",
> "repositoryTypeDisplayName" : "Git", "branchCount" : 3, "typeDisplayName" 
> :
> "Java Web Application", "isUploadable" : false, "name" : "guy",
> "repoAccessability" : "perDevRepo", "inProduction" : false,
> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
> "appowner", "subscriber", "publisher", "developer", "default",
> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", 
> "Subscriber",
> "Publisher", "Developer"]}]}, {"key" : "sun", "owner" :
> "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
> "mappedSubDomain" 

Re: [Dev] [AppFac] curl commands for REST API access to WSO2 Appfactory

2015-06-23 Thread Fathima Dilhasha
Hi Punnadi,

Still gives the page not found error. May be that page is mapped to some
other url. But I can't seem to find a mapping.

Fathima Dilhasha Nazeer 
(M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka

On Wed, Jun 24, 2015 at 6:51 AM, Punnadi Gunarathna 
wrote:

> Hi Fathima,
>
> The value of 'deployAction' is "deploy". Please set it and give a try.
>
> On Wed, Jun 24, 2015 at 5:20 AM, Fathima Dilhasha 
> wrote:
>
>> Hi,
>>
>> I'm trying to trigger a build via REST API call. Following is the curl
>> command I'm using,
>>
>> *curl -v -X  POST -k
>> https://apps.cloud.wso2.com/appmgt/site/blocks/reposBuilds/add/ajax/add.jag
>> 
>> -H 'Content-Type:application/x-www-form-urlencoded' -H
>> 'Cookie:JSESSIONID=043032EE08D9FB074845FEF4313DD83D' -d
>> 'action=deployArtifact&applicationKey=de&stage=Development&version=trunk&tagName=tag1&deployAction='*
>>
>> When I run this, I'm getting a *Page Not Found Error.*
>> But this page exists in block layer.
>> Also, I am not sure what is meant by "deployAction" and what can be the
>> possible values for that.
>>
>> Can someone help me to correct this?
>>
>> Thanks.
>> Regards,
>> Dilhasha
>>
>>
>> Fathima Dilhasha Nazeer 
>> (M.N.F.Dilhasha)
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> On Tue, Jun 23, 2015 at 10:08 AM, Fathima Dilhasha <
>> dilhasha@gmail.com> wrote:
>>
>>> Hi Punnadi,
>>>
>>> Thanks for pointing out the mistake. With the correct username (with
>>> dilhasha.wso2@dilhashan), getApplicationsOfUser works fine for me. I
>>> will check on the other commands as well.
>>>
>>> Thanks.
>>> Regards,
>>> Dilhasha
>>>
>>>
>>> Fathima Dilhasha Nazeer 
>>> (M.N.F.Dilhasha)
>>> Undergraduate | Department of Computer Science and Engineering
>>> University of Moratuwa
>>> Sri Lanka
>>>
>>> On Tue, Jun 23, 2015 at 9:56 AM, Punnadi Gunarathna 
>>> wrote:
>>>
 Hi Fathima,

 I tried the 'getApplicationsOfUser' and it works fine for me.

 curl -v -X POST -k
 https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
 -d 'action=login&userName=punnadi.wso2.com@puva6107&password=**'

 curl -v -X POST
 https://apps.cloud.wso2.com/appmgt/site/blocks/application/get/ajax/list.jag
 -H 'Content-Type:application/x-www-form-urlencoded' -H
 'Cookie:JSESSIONID=D084797351C4203D850C2D75CD65D4DD' -d
 'action=getApplicationsOfUser&userName=punnadi.wso2.com@puva6107'

 And the output is as follows:

 [{"key" : "wow", "owner" : "punnadi.wso2.com@puva6107", "type" :
 "war", "language" : "Java", "mappedSubDomain" : null, "customUrl" : null,
 "customUrlVerificationCode" : null, "description" : null, "repositoryType"
 : "git", "repositoryTypeDisplayName" : "Git", "branchCount" : 2,
 "typeDisplayName" : "Java Web Application", "isUploadable" : false, "name"
 : "wow", "repoAccessability" : "perDevRepo", "inProduction" : false,
 "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
 punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
 punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
 "appowner", "subscriber", "publisher", "developer", "default",
 "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
 "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", "Subscriber",
 "Publisher", "Developer"]}]}, {"key" : "guy", "owner" :
 "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
 "mappedSubDomain" : null, "customUrl" : null, "customUrlVerificationCode" :
 null, "description" : null, "repositoryType" : "git",
 "repositoryTypeDisplayName" : "Git", "branchCount" : 3, "typeDisplayName" :
 "Java Web Application", "isUploadable" : false, "name" : "guy",
 "repoAccessability" : "perDevRepo", "inProduction" : false,
 "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
 punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
 punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
 "appowner", "subscriber", "publisher", "developer", "default",
 "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
 "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", "Subscriber",
 "Publisher", "Developer"]}]}, {"key" : "sun", "owner" :
 "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
 "mappedSubDomain" : null, "customUrl" : null, "customUrlVerificationCode" :
 null, "description" : null, "repositoryType" : "git",
 "repositoryTypeDisplayName" : "Git", "branchCount" : 1, "typeDisplayName" :
 "Java Web Application", "isUploadable" : false, "n

Re: [Dev] [AppFac] curl commands for REST API access to WSO2 Appfactory

2015-06-23 Thread Punnadi Gunarathna
Hi Fathima,

The value of 'deployAction' is "deploy". Please set it and give a try.

On Wed, Jun 24, 2015 at 5:20 AM, Fathima Dilhasha 
wrote:

> Hi,
>
> I'm trying to trigger a build via REST API call. Following is the curl
> command I'm using,
>
> *curl -v -X  POST -k
> https://apps.cloud.wso2.com/appmgt/site/blocks/reposBuilds/add/ajax/add.jag
> 
> -H 'Content-Type:application/x-www-form-urlencoded' -H
> 'Cookie:JSESSIONID=043032EE08D9FB074845FEF4313DD83D' -d
> 'action=deployArtifact&applicationKey=de&stage=Development&version=trunk&tagName=tag1&deployAction='*
>
> When I run this, I'm getting a *Page Not Found Error.*
> But this page exists in block layer.
> Also, I am not sure what is meant by "deployAction" and what can be the
> possible values for that.
>
> Can someone help me to correct this?
>
> Thanks.
> Regards,
> Dilhasha
>
>
> Fathima Dilhasha Nazeer 
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> On Tue, Jun 23, 2015 at 10:08 AM, Fathima Dilhasha  > wrote:
>
>> Hi Punnadi,
>>
>> Thanks for pointing out the mistake. With the correct username (with
>> dilhasha.wso2@dilhashan), getApplicationsOfUser works fine for me. I
>> will check on the other commands as well.
>>
>> Thanks.
>> Regards,
>> Dilhasha
>>
>>
>> Fathima Dilhasha Nazeer 
>> (M.N.F.Dilhasha)
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> On Tue, Jun 23, 2015 at 9:56 AM, Punnadi Gunarathna 
>> wrote:
>>
>>> Hi Fathima,
>>>
>>> I tried the 'getApplicationsOfUser' and it works fine for me.
>>>
>>> curl -v -X POST -k
>>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
>>> -d 'action=login&userName=punnadi.wso2.com@puva6107&password=**'
>>>
>>> curl -v -X POST
>>> https://apps.cloud.wso2.com/appmgt/site/blocks/application/get/ajax/list.jag
>>> -H 'Content-Type:application/x-www-form-urlencoded' -H
>>> 'Cookie:JSESSIONID=D084797351C4203D850C2D75CD65D4DD' -d
>>> 'action=getApplicationsOfUser&userName=punnadi.wso2.com@puva6107'
>>>
>>> And the output is as follows:
>>>
>>> [{"key" : "wow", "owner" : "punnadi.wso2.com@puva6107", "type" : "war",
>>> "language" : "Java", "mappedSubDomain" : null, "customUrl" : null,
>>> "customUrlVerificationCode" : null, "description" : null, "repositoryType"
>>> : "git", "repositoryTypeDisplayName" : "Git", "branchCount" : 2,
>>> "typeDisplayName" : "Java Web Application", "isUploadable" : false, "name"
>>> : "wow", "repoAccessability" : "perDevRepo", "inProduction" : false,
>>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
>>> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>>> "appowner", "subscriber", "publisher", "developer", "default",
>>> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
>>> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", "Subscriber",
>>> "Publisher", "Developer"]}]}, {"key" : "guy", "owner" :
>>> "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
>>> "mappedSubDomain" : null, "customUrl" : null, "customUrlVerificationCode" :
>>> null, "description" : null, "repositoryType" : "git",
>>> "repositoryTypeDisplayName" : "Git", "branchCount" : 3, "typeDisplayName" :
>>> "Java Web Application", "isUploadable" : false, "name" : "guy",
>>> "repoAccessability" : "perDevRepo", "inProduction" : false,
>>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
>>> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>>> "appowner", "subscriber", "publisher", "developer", "default",
>>> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
>>> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", "Subscriber",
>>> "Publisher", "Developer"]}]}, {"key" : "sun", "owner" :
>>> "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
>>> "mappedSubDomain" : null, "customUrl" : null, "customUrlVerificationCode" :
>>> null, "description" : null, "repositoryType" : "git",
>>> "repositoryTypeDisplayName" : "Git", "branchCount" : 1, "typeDisplayName" :
>>> "Java Web Application", "isUploadable" : false, "name" : "sun",
>>> "repoAccessability" : "perDevRepo", "inProduction" : false,
>>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
>>> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>>> "appowner", "subscriber", "publisher", "developer", "default",
>>> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
>>> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", "Subscr

Re: [Dev] [ML] Error - Testing a model's prediction with a Data File

2015-06-23 Thread Nirmal Fernando
Thushan had some outdated Jars and the issue got sorted after using latest
code.

On Tue, Jun 23, 2015 at 9:34 AM, Nirmal Fernando  wrote:

> Sorry, I somehow missed the vital information on the file.
>
> These properties are in {ML_HOME}/repository/conf/machine-learner.xml file
> and please restart ML, after doing those changes.
>
> On Tue, Jun 23, 2015 at 9:24 AM, Thushan Ganegedara 
> wrote:
>
>> Never mind! I found where the variables are
>>
>> However, even after changing the variable /tmp to C:\tmp the problem
>> still exist (C:\tmp is a valid folder)
>>
>> On Tue, Jun 23, 2015 at 1:37 PM, Thushan Ganegedara 
>> wrote:
>>
>>> Hi,
>>>
>>> You're on Windows right?
>>> Yes, I am
>>>
>>> 
>>>
>>> /tmp
>>> Can you tell me where to find these variables?
>>>
>>>  And are you using master branch?
>>> I'm currently using a forked version of the master branch of product-ml
>>>
>>> Thank you
>>>
>>> On Tue, Jun 23, 2015 at 12:37 PM, Nirmal Fernando 
>>> wrote:
>>>
 Hi Thushan,

 You're on Windows right? We have a usability issue which we'll be
 fixing soon for our Windows users. For now, you have to change following;

 

 /tmp

 to a valid Windows file system folder. Let us know how it goes. And are
 you using master branch? If not please use master, as we have done few
 fixes for Windows usage.

 On Tue, Jun 23, 2015 at 5:55 AM, Thushan Ganegedara 
 wrote:

> Hi all,
>
> I trained a Logistic Regression model on IRIS dataset and I tried
> classifying a test file (a portion of the original file in csv format)
>
> But when I try to do that, I get this error.
> Error occurred while predicting from model [id] 2 of tenant [id] -1234
> and [user] admin. Cause:
> org.wso2.carbon.ml.core.exceptions.MLModelHandlerException - Failed to
> retrieve the model [id] 2
>
> The error in the console
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.net.URISyntaxException: Illegal character in path at
> index 4: /t
> mp\TestAnalysis2.Model.2015-06-23_10-16-46
> at java.net.URI$Parser.fail(URI.java:2848)
> at java.net.URI$Parser.checkChars(URI.java:3021)
> at java.net.URI$Parser.parseHierarchical(URI.java:3105)
> at java.net.URI$Parser.parse(URI.java:3063)
> at java.net.URI.(URI.java:588)
> at
> org.wso2.carbon.ml.core.impl.MLModelHandler.retrieveModel(MLModelHand
> ler.java:386)
>
>
> This is the URL I have
>
> http://10.16.64.212:9763/ml/site/predict/predict.jag?analysisId=2&datasetId=1&modelId=2&projectName=TestProject&analysisName=TestAnalysis2&modelName=TestAnalysis2.Model.2015-06-23_10-16-46&fromCompare=false
>
> Any idea why this is happening?
>
> Thank you​
>
> --
> Regards,
>
> Thushan Ganegedara
> School of IT
> University of Sydney, Australia
>



 --

 Thanks & regards,
 Nirmal

 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



>>>
>>>
>>> --
>>> Regards,
>>>
>>> Thushan Ganegedara
>>> School of IT
>>> University of Sydney, Australia
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Thushan Ganegedara
>> School of IT
>> University of Sydney, Australia
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Data Wrangler extension for WSO2 Machine Learner

2015-06-23 Thread Nirmal Fernando
Hi Danula,

Thanks for the update, keep them coming.

On a JavaRDD you can perform a collect() to get a list, AFAIR. Yes, this is
costly, since it would load whole dataset into memory. So, is this an
operation which involves multiple rows?

On Tue, Jun 23, 2015 at 2:15 PM, Danula Eranjith 
wrote:

> Hi Supun,
>
> I modified the "Fill" operation to add what you mentioned.
>
> I used a workaround to to implement certain parts of the operations such
> as filling with values from rows above and below.
> I created a List Implementation using toArray() method in JavaRDD and then
> converted it back to a JavaRDD after the operation.
>
> This will be inefficient (in terms of both memory and time) when working
> with very large data sets. But I think its important to have these features
> included. Otherwise a user would be left with very limited set of
> operations.
>
> Please let me know if you have a different opinion on this.
>
> Thanks,
> Danula
>
> On Tue, Jun 16, 2015 at 9:44 AM, Supun Sethunga  wrote:
>
>> Somehow there are issues in implementing certain wrangler functions due
>>> to limitations in JavaRDD used in spark
>>> e.g. -
>>> Fill operation - when filling with values from rows above and below
>>> Fold operation
>>
>>
>> Agree, since rows will get executed randomly with spark, inter-row
>> operations are not very meaningful.
>> But you can slightly modify the implementation of the "Fill" operation,
>> such as, to fill values based on an expression/static-value/mean etc. (not
>> depending on other rows)..
>>
>> Thanks,
>> Supun
>>
>> On Tue, Jun 16, 2015 at 9:27 AM, Supun Sethunga  wrote:
>>
>>> Hi Danula,
>>>
>>> Sorry for the late reply. Have you got the details you were looking for?
>>>
>>> It would be great if I could get to know which wrangler operations are
 important for a user of the ML
>>>
>>>
>>> Other than the ones you have mentioned in the proposal, think its better
>>> to have "Translate" operation as well (to create a new column based on
>>> an existing column).
>>>
>>> Thanks,
>>> Supun
>>>
>>>
>>>
>>> On Thu, Jun 4, 2015 at 10:11 PM, Danula Eranjith 
>>> wrote:
>>>
 Hi all,

 I am currently working on generating spark transformations related to
 the operations available in the data wrangler.

 Data wrangler provides sufficient parameters to re-create these at
 spark.I have successfully implemented delete and split operations of
 wrangler in spark.

 Once this phase is completed, I can either directly generate these
 scripts at wrangler or use the javascript output and convert it to spark
 depending on the implementation.

 Somehow there are issues in implementing certain wrangler functions due
 to limitations in JavaRDD used in spark

 e.g. -
 Fill operation - when filling with values from rows above and below
 Fold operation

 It would be great if I could get to know which wrangler operations are
 important for a user of the ML

 Thanks,
 Danula

 On Wed, Jun 3, 2015 at 8:30 AM, Nirmal Fernando 
 wrote:

> Hi Danula,
>
> Please send an update of your work thus far.
>
> On Sun, May 10, 2015 at 2:30 PM, Nirmal Fernando 
> wrote:
>
>> Hi Danula,
>>
>> Welcome to GSoC 15' ! Can you do some research on directly generating
>> spark transformations using Wrangler and come up with a summary ?
>>
>> On Fri, May 8, 2015 at 11:03 AM, Danula Eranjith > > wrote:
>>
>>> Hi all,
>>>
>>> Thank you for selecting my proposal [1]
>>> 
>>> for GSoC 2015. I am really looking forward to work with you all and
>>> contribute to WSO2.
>>>
>>> I have already completed my primary research on wrangler and would
>>> like to meet you to get feedback on the proposed architecture. I am
>>> planning to start working on the project before 25th of May.
>>>
>>> Thank you,
>>> Danula
>>>
>>> [1] -
>>> https://docs.google.com/document/d/18NFa23CrhXqnHrkl_AuRz3sQ3Axg7SEmiA7l66Hl9_0/edit?usp=sharing
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>

>>>
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> http://wso2.com/
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> http://wso2.com/
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>
>


-

Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-06-23 Thread Nirmal Fernando
Great!

On Tue, Jun 23, 2015 at 9:03 PM, Madawa Soysa 
wrote:

> Hi,
>
> I found a solution for the above issue. I could use most common feedback
> such as views and purchases as the implicit data. I'm working on this right
> now.
>
> On 22 June 2015 at 09:26, Madawa Soysa  wrote:
>
>> I have lectures in Wednesday morning till 12.15. I'll be free after that.
>>
>> On 22 June 2015 at 09:24, Srinath Perera  wrote:
>>
>>> Can we meet Wednesday 10.30 at WSO2 Trace office?
>>>
>>> On Mon, Jun 22, 2015 at 9:10 AM, Nirmal Fernando 
>>> wrote:
>>>


 On Mon, Jun 22, 2015 at 9:07 AM, Madawa Soysa 
 wrote:

> Hi,
>
> In this week I have researched on collaborative filtering with
> implicit feedback data (i.e session data and user behavior). I have
> followed [1, 2] on this. Even though these papers provide a solution we
> cannot use them since we cannot use the current implementation in Spark
> with these.
>
> Also I researched on the possibility of inferring a rating using the
> session data and create a new data set and push to spark, but almost all
> the solutions are domain specific. Since the preferences are dependent on
> item attributes.
>
> How should I proceed? Since I have finished implementing the generic
> recommendation algorithm I can integrate this with ML with a slight design
> change. Can we have a discussion on this?
>

 +1, let's discuss the issue in detail.

>
> Thanks,
> Madawa
>
> [1] -
> https://drive.google.com/file/d/0B5EB-AEf-NyPOHBPRWpRM3hvejA/view?usp=sharing
> [2] -
> https://drive.google.com/file/d/0B5EB-AEf-NyPbkVUV2NqZ3R5b0U/view?usp=sharing
>
> On 16 June 2015 at 12:00, Madawa Soysa 
> wrote:
>
>> Hi,
>>
>> I have developed an sample application to generate recommendations
>> using Apache Spark MLlib and Java. Project source code can be found in
>> GitHub[1] . Output
>> can be taken in any format and in the current app, I'm printing the 
>> output
>> to the console. The data set used can be found here[2]
>> .
>> Please look in to this and provide feedback.
>>
>> Next I'm going to modify the application to read data from implicit
>> data (page views, likes, time spent on page) and infer a rating. I'm
>> referring to [3]
>> 
>> on this.
>>
>> Also is there any idea on how to extract data from websites?
>>
>>
>> [1] - https://github.com/madawas/spark-recommendation
>> [2] -
>> https://drive.google.com/open?id=0B5EB-AEf-NyPflRteEhzNmxFOGpROEFNbWJRa0VTcU5MeEg5WVcya1JIbGM5LVhrU3VXNTQ&authuser=0
>> [3] -
>> https://drive.google.com/open?id=0B5EB-AEf-NyPOHBPRWpRM3hvejA&authuser=0
>>
>> Thanks,
>> Madawa.
>>
>> On 5 June 2015 at 15:27, Madawa Soysa 
>> wrote:
>>
>>> Hi,
>>>
>>> Had an initial meeting with the mentors about the $subject and
>>> discussed following matters.
>>>
>>>- Data format to be consider in the project
>>>- Re-Modeling implicit data (mouse clicks, page views) that can
>>>be extracted from websites to explicit rating scheme.
>>>- publishing data to DAS and connecting ML with DAS.
>>>
>>> Currently I'm developing a sample personalized recommend system to
>>> test how Apache Spark uses data and how it generates the output model.
>>>
>>> Thanks,
>>> Madawa
>>>
>>> On 5 June 2015 at 11:22, Nirmal Fernando  wrote:
>>>
 Please also send an update on the meeting to dev@

 On Fri, Jun 5, 2015 at 11:19 AM, Nirmal Fernando 
 wrote:

>
> https://docs.wso2.com/display/ML100/Integration+with+WSO2+Data+Analytics+Server
>
> On Thu, Jun 4, 2015 at 3:48 PM, Madawa Soysa <
> madawa...@cse.mrt.ac.lk> wrote:
>
>> OK. Thanks. I will be there.
>>
>> On 4 June 2015 at 14:55, Nirmal Fernando  wrote:
>>
>>> great.. confirmed then.
>>>
>>> On Thu, Jun 4, 2015 at 2:47 PM, Madawa Soysa <
>>> madawa...@cse.mrt.ac.lk> wrote:
>>>
 Yes. Fine with 11 a.m.

 On 4 June 2015 at 14:00, Nirmal Fernando 
 wrote:

> 11am ?
>
> On Thu, Jun 4, 2015 at 1:23 PM, Madawa Soysa <
> madawa...@cse.mrt.ac.lk> wrote:
>
>> I'm free in the morning.
>>
>> On 4 June 2015 at 10:52, Nirmal Fernando 
>> wrote:
>>
>>> You are free tomorrow?
>>>
>>> On Thu, Jun 4, 2015 a

Re: [Dev] [AppFac] curl commands for REST API access to WSO2 Appfactory

2015-06-23 Thread Fathima Dilhasha
Hi,

I'm trying to trigger a build via REST API call. Following is the curl
command I'm using,

*curl -v -X  POST -k
https://apps.cloud.wso2.com/appmgt/site/blocks/reposBuilds/add/ajax/add.jag

-H 'Content-Type:application/x-www-form-urlencoded' -H
'Cookie:JSESSIONID=043032EE08D9FB074845FEF4313DD83D' -d
'action=deployArtifact&applicationKey=de&stage=Development&version=trunk&tagName=tag1&deployAction='*

When I run this, I'm getting a *Page Not Found Error.*
But this page exists in block layer.
Also, I am not sure what is meant by "deployAction" and what can be the
possible values for that.

Can someone help me to correct this?

Thanks.
Regards,
Dilhasha


Fathima Dilhasha Nazeer 
(M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka

On Tue, Jun 23, 2015 at 10:08 AM, Fathima Dilhasha 
wrote:

> Hi Punnadi,
>
> Thanks for pointing out the mistake. With the correct username (with
> dilhasha.wso2@dilhashan), getApplicationsOfUser works fine for me. I will
> check on the other commands as well.
>
> Thanks.
> Regards,
> Dilhasha
>
>
> Fathima Dilhasha Nazeer 
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> On Tue, Jun 23, 2015 at 9:56 AM, Punnadi Gunarathna 
> wrote:
>
>> Hi Fathima,
>>
>> I tried the 'getApplicationsOfUser' and it works fine for me.
>>
>> curl -v -X POST -k
>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
>> -d 'action=login&userName=punnadi.wso2.com@puva6107&password=**'
>>
>> curl -v -X POST
>> https://apps.cloud.wso2.com/appmgt/site/blocks/application/get/ajax/list.jag
>> -H 'Content-Type:application/x-www-form-urlencoded' -H
>> 'Cookie:JSESSIONID=D084797351C4203D850C2D75CD65D4DD' -d
>> 'action=getApplicationsOfUser&userName=punnadi.wso2.com@puva6107'
>>
>> And the output is as follows:
>>
>> [{"key" : "wow", "owner" : "punnadi.wso2.com@puva6107", "type" : "war",
>> "language" : "Java", "mappedSubDomain" : null, "customUrl" : null,
>> "customUrlVerificationCode" : null, "description" : null, "repositoryType"
>> : "git", "repositoryTypeDisplayName" : "Git", "branchCount" : 2,
>> "typeDisplayName" : "Java Web Application", "isUploadable" : false, "name"
>> : "wow", "repoAccessability" : "perDevRepo", "inProduction" : false,
>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
>> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>> "appowner", "subscriber", "publisher", "developer", "default",
>> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
>> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", "Subscriber",
>> "Publisher", "Developer"]}]}, {"key" : "guy", "owner" :
>> "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
>> "mappedSubDomain" : null, "customUrl" : null, "customUrlVerificationCode" :
>> null, "description" : null, "repositoryType" : "git",
>> "repositoryTypeDisplayName" : "Git", "branchCount" : 3, "typeDisplayName" :
>> "Java Web Application", "isUploadable" : false, "name" : "guy",
>> "repoAccessability" : "perDevRepo", "inProduction" : false,
>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
>> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>> "appowner", "subscriber", "publisher", "developer", "default",
>> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
>> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", "Subscriber",
>> "Publisher", "Developer"]}]}, {"key" : "sun", "owner" :
>> "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
>> "mappedSubDomain" : null, "customUrl" : null, "customUrlVerificationCode" :
>> null, "description" : null, "repositoryType" : "git",
>> "repositoryTypeDisplayName" : "Git", "branchCount" : 1, "typeDisplayName" :
>> "Java Web Application", "isUploadable" : false, "name" : "sun",
>> "repoAccessability" : "perDevRepo", "inProduction" : false,
>> "applicationCreationStatus" : "COMPLETED", "users" : [{"userName" : "
>> punnadi.wso2.com", "firstName" : "$1", "lastName" : "$2", "email" : "
>> punn...@wso2.com", "roles" : ["admin", "qa", "cxo", "devops",
>> "appowner", "subscriber", "publisher", "developer", "default",
>> "globalAPIPublisher", "everyone"], "displayName" : "punn...@wso2.com",
>> "displayRoles" : ["QA", "CXO", "DevOps", "Application Owner", "Subscriber",
>> "Publisher", "Developer"]}]}, {"key" : "newapp", "owner" :
>> "punnadi.wso2.com@puva6107", "type" : "war", "language" : "Java",
>> "mappedSubDomain" : "newapp.puva6107", "customUrl" : null,
>> "customUrlVerificationCode" : null, "description" : null, "repositoryTyp

Re: [Dev] PP- Docker base image

2015-06-23 Thread Chamila De Alwis
+1 for an intermediate base image for Carbon based images since there can
be images which would not need Java.

(On a mobile)
Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer - WSO2
http://code.chamiladealwis.com
On Jun 23, 2015 8:40 AM, "Imesh Gunaratne"  wrote:

> +1 A good thought Udara, will do this.
>
> On Tue, Jun 23, 2015 at 2:02 PM, Udara Liyanage  wrote:
>
>> Hi,
>>
>> Shall we move Java installation and configurater to base image. Otherwise
>> we have to repeat the task in every cartridge. Hope every cartridge require
>> Java. If there are cartridges which does not require Java we can create an
>> intermediate image (carbon base) which all Carbon products inherits from,
>> other cartridges just inherit from current base image.
>>
>> WDYT?
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> *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
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Chandana Napagoda
HI Susanka,

We don't have any major changes in kernel 4.4.1-SHANPSHOT other than some
missing registry mount related fixes in 4.4.0 release. Have you tried to
add a role, try to add a user or view Secure Vault Tool after starting WSO2
server using Dev Studio? I can see the similar exception while performing
above actions [1][2]. Any Idea?

[1][2015-06-23 22:15:32,521] ERROR - RoleSecurityTagSupport IO Error
executing tag: JSPException while including path '/user/add-step2.jsp'.
ServletException while including page.
java.io.IOException: JSPException while including path
'/user/add-step2.jsp'. ServletException while including page.
at
org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
at
org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at
org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at
org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at
org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:634)
at
org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
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: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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
at
org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
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:727)
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(HttpServle

Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Susankha Nirmala
Hi Chandana,

Also "wso2as-5.3.0-SNAPSHOT" is working as expected. Any idea?

Thanks.
/Susankha

On Tue, Jun 23, 2015 at 9:33 PM, Jasintha Dasanayake 
wrote:

> Hi Chandana
>
> On Tue, Jun 23, 2015 at 7:50 PM, Chandana Napagoda 
> wrote:
>
>> HI Gayan,
>>
>> As we observed, these issues are not seen when the server is started
>> using wso2server.sh. So I believe this may have happened due to the way how
>> Dev Studio remotely starts WSO2 server. WDYT?
>>
>
> So if that's the case  then how ESB 4.8.1 works without any issue ?, (I
> think all the 4.2.0 based servers working fine),
>
> Thanks and Regards
> /Jasintha
>
>
>
>>
>> Regards,
>> Chandana
>>
>> On Tue, Jun 23, 2015 at 7:30 PM, Gayan Yalpathwala 
>> wrote:
>>
>>> Chandana and myself could figure out the same issue in GReg 5.0.0-M7
>>> when started through DevS. This version of GReg uses,
>>>
>>> org.wso2.carbon.registry.core_4.4.0,
>>> org.wso2.carbon.registry.api_4.4.0 and
>>> org.wso2.carbon.registry.resource.ui_4.4.4.SNAPSHOT.
>>>
>>> Thanks,
>>>
>>>
>>> On Tue, Jun 23, 2015 at 5:48 PM, KasunG Gajasinghe 
>>> wrote:
>>>

 AS depends on snapshot version of kernel which is a special case. Since
 AS and kernel are the same team, and kernel snapshots are tested against AS
 we need this.


 On Tue, Jun 23, 2015 at 3:36 PM, Kasun Indrasiri 
 wrote:

>
> >>App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
> and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>  So, is that related to not using the latest registry core and api?
> Why do we have snapshot versions of these components in AS?
>
> On Tue, Jun 23, 2015 at 3:30 PM, Susankha Nirmala 
> wrote:
>
>> Hi All,
>>
>> Yes, with org.wso2.carbon.registry.resource.ui_4.4.3.jar also it's
>> not working. But with, "org.wso2.carbon.registry.resource.ui_4.4.1.jar", 
>> AppServer
>> is working and ESB is not working.
>>
>> Thanks.
>> /Susankha.
>>
>> On Tue, Jun 23, 2015 at 3:17 PM, Isuru Udana  wrote:
>>
>>> Hi,
>>>
>>> Latest ESB build has the 4.4.3 version of this jar.
>>> As per Susankha, still the same issue exists in that pack.
>>>
>>>
>>>
>>> On Tue, Jun 23, 2015 at 3:13 PM, Susankha Nirmala >> > wrote:
>>>
 Hi Chandana,

 It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"

 Thanks.
 /Susankha.

 On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda <
 chand...@wso2.com> wrote:

> Hi Susankha,
>
> What is the "org.wso2.carbon.registry.resource.ui"bundle version
> used in ESB?
>
> Regards,
> Chandana
>
> On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe <
> kas...@wso2.com> wrote:
>
>> [+Sagara,+Chandana]
>>
>> On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala <
>> susan...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using
>>> Developer Studio 3.8.0 m5 pack and try to browse the registry 
>>> browser using
>>> the management console. It will return empty page and give the
>>> exception [1]. After that I have tried the same thing with
>>> "wso2as-5.3.0-SNAPSHOT" pack and I can successfully browse the 
>>> registry
>>> resources using the management console. When I compared the registry
>>> plugins between two packs (ESB and App Server), I can see below 
>>> version
>>> differences.
>>>
>>> App server uses "
>>> *org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*" and "
>>> *org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>>> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
>>> *org.wso2.carbon.registry.api_4.4.0.jar*"
>>>
>>> Is that the reason for this?
>>>
>>> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
>>> JSPException while including path '/resources/resource.jsp'.
>>> javax.servlet.jsp.JspException: ServletException while including
>>> page.
>>> at
>>> org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>>> at
>>> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
>>> at
>>> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>>> at
>>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
>>> at
>>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>>> at
>>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>>> at
>>> org.apache.tiles.jsp.ta

Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Jasintha Dasanayake
Hi Chandana

On Tue, Jun 23, 2015 at 7:50 PM, Chandana Napagoda 
wrote:

> HI Gayan,
>
> As we observed, these issues are not seen when the server is started using
> wso2server.sh. So I believe this may have happened due to the way how Dev
> Studio remotely starts WSO2 server. WDYT?
>

So if that's the case  then how ESB 4.8.1 works without any issue ?, (I
think all the 4.2.0 based servers working fine),

Thanks and Regards
/Jasintha



>
> Regards,
> Chandana
>
> On Tue, Jun 23, 2015 at 7:30 PM, Gayan Yalpathwala 
> wrote:
>
>> Chandana and myself could figure out the same issue in GReg 5.0.0-M7 when
>> started through DevS. This version of GReg uses,
>>
>> org.wso2.carbon.registry.core_4.4.0,
>> org.wso2.carbon.registry.api_4.4.0 and
>> org.wso2.carbon.registry.resource.ui_4.4.4.SNAPSHOT.
>>
>> Thanks,
>>
>>
>> On Tue, Jun 23, 2015 at 5:48 PM, KasunG Gajasinghe 
>> wrote:
>>
>>>
>>> AS depends on snapshot version of kernel which is a special case. Since
>>> AS and kernel are the same team, and kernel snapshots are tested against AS
>>> we need this.
>>>
>>>
>>> On Tue, Jun 23, 2015 at 3:36 PM, Kasun Indrasiri  wrote:
>>>

 >>App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
 and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
  So, is that related to not using the latest registry core and api? Why
 do we have snapshot versions of these components in AS?

 On Tue, Jun 23, 2015 at 3:30 PM, Susankha Nirmala 
 wrote:

> Hi All,
>
> Yes, with org.wso2.carbon.registry.resource.ui_4.4.3.jar also it's not
> working. But with, "org.wso2.carbon.registry.resource.ui_4.4.1.jar", 
> AppServer
> is working and ESB is not working.
>
> Thanks.
> /Susankha.
>
> On Tue, Jun 23, 2015 at 3:17 PM, Isuru Udana  wrote:
>
>> Hi,
>>
>> Latest ESB build has the 4.4.3 version of this jar.
>> As per Susankha, still the same issue exists in that pack.
>>
>>
>>
>> On Tue, Jun 23, 2015 at 3:13 PM, Susankha Nirmala 
>> wrote:
>>
>>> Hi Chandana,
>>>
>>> It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"
>>>
>>> Thanks.
>>> /Susankha.
>>>
>>> On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda <
>>> chand...@wso2.com> wrote:
>>>
 Hi Susankha,

 What is the "org.wso2.carbon.registry.resource.ui"bundle version
 used in ESB?

 Regards,
 Chandana

 On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe >>> > wrote:

> [+Sagara,+Chandana]
>
> On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala <
> susan...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using
>> Developer Studio 3.8.0 m5 pack and try to browse the registry 
>> browser using
>> the management console. It will return empty page and give the
>> exception [1]. After that I have tried the same thing with
>> "wso2as-5.3.0-SNAPSHOT" pack and I can successfully browse the 
>> registry
>> resources using the management console. When I compared the registry
>> plugins between two packs (ESB and App Server), I can see below 
>> version
>> differences.
>>
>> App server uses "
>> *org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*" and "
>> *org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
>> *org.wso2.carbon.registry.api_4.4.0.jar*"
>>
>> Is that the reason for this?
>>
>> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
>> JSPException while including path '/resources/resource.jsp'.
>> javax.servlet.jsp.JspException: ServletException while including
>> page.
>> at
>> org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>> at
>> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
>> at
>> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>> at
>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
>> at
>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>> at
>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>> at
>> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
>> at
>> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
>> at
>> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
>> at
>> org.apache.jsp.admin.lay

Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-06-23 Thread Madawa Soysa
Hi,

I found a solution for the above issue. I could use most common feedback
such as views and purchases as the implicit data. I'm working on this right
now.

On 22 June 2015 at 09:26, Madawa Soysa  wrote:

> I have lectures in Wednesday morning till 12.15. I'll be free after that.
>
> On 22 June 2015 at 09:24, Srinath Perera  wrote:
>
>> Can we meet Wednesday 10.30 at WSO2 Trace office?
>>
>> On Mon, Jun 22, 2015 at 9:10 AM, Nirmal Fernando  wrote:
>>
>>>
>>>
>>> On Mon, Jun 22, 2015 at 9:07 AM, Madawa Soysa 
>>> wrote:
>>>
 Hi,

 In this week I have researched on collaborative filtering with implicit
 feedback data (i.e session data and user behavior). I have followed [1, 2]
 on this. Even though these papers provide a solution we cannot use them
 since we cannot use the current implementation in Spark with these.

 Also I researched on the possibility of inferring a rating using the
 session data and create a new data set and push to spark, but almost all
 the solutions are domain specific. Since the preferences are dependent on
 item attributes.

 How should I proceed? Since I have finished implementing the generic
 recommendation algorithm I can integrate this with ML with a slight design
 change. Can we have a discussion on this?

>>>
>>> +1, let's discuss the issue in detail.
>>>

 Thanks,
 Madawa

 [1] -
 https://drive.google.com/file/d/0B5EB-AEf-NyPOHBPRWpRM3hvejA/view?usp=sharing
 [2] -
 https://drive.google.com/file/d/0B5EB-AEf-NyPbkVUV2NqZ3R5b0U/view?usp=sharing

 On 16 June 2015 at 12:00, Madawa Soysa  wrote:

> Hi,
>
> I have developed an sample application to generate recommendations
> using Apache Spark MLlib and Java. Project source code can be found in
> GitHub[1] . Output
> can be taken in any format and in the current app, I'm printing the output
> to the console. The data set used can be found here[2]
> .
> Please look in to this and provide feedback.
>
> Next I'm going to modify the application to read data from implicit
> data (page views, likes, time spent on page) and infer a rating. I'm
> referring to [3]
> 
> on this.
>
> Also is there any idea on how to extract data from websites?
>
>
> [1] - https://github.com/madawas/spark-recommendation
> [2] -
> https://drive.google.com/open?id=0B5EB-AEf-NyPflRteEhzNmxFOGpROEFNbWJRa0VTcU5MeEg5WVcya1JIbGM5LVhrU3VXNTQ&authuser=0
> [3] -
> https://drive.google.com/open?id=0B5EB-AEf-NyPOHBPRWpRM3hvejA&authuser=0
>
> Thanks,
> Madawa.
>
> On 5 June 2015 at 15:27, Madawa Soysa  wrote:
>
>> Hi,
>>
>> Had an initial meeting with the mentors about the $subject and
>> discussed following matters.
>>
>>- Data format to be consider in the project
>>- Re-Modeling implicit data (mouse clicks, page views) that can
>>be extracted from websites to explicit rating scheme.
>>- publishing data to DAS and connecting ML with DAS.
>>
>> Currently I'm developing a sample personalized recommend system to
>> test how Apache Spark uses data and how it generates the output model.
>>
>> Thanks,
>> Madawa
>>
>> On 5 June 2015 at 11:22, Nirmal Fernando  wrote:
>>
>>> Please also send an update on the meeting to dev@
>>>
>>> On Fri, Jun 5, 2015 at 11:19 AM, Nirmal Fernando 
>>> wrote:
>>>

 https://docs.wso2.com/display/ML100/Integration+with+WSO2+Data+Analytics+Server

 On Thu, Jun 4, 2015 at 3:48 PM, Madawa Soysa <
 madawa...@cse.mrt.ac.lk> wrote:

> OK. Thanks. I will be there.
>
> On 4 June 2015 at 14:55, Nirmal Fernando  wrote:
>
>> great.. confirmed then.
>>
>> On Thu, Jun 4, 2015 at 2:47 PM, Madawa Soysa <
>> madawa...@cse.mrt.ac.lk> wrote:
>>
>>> Yes. Fine with 11 a.m.
>>>
>>> On 4 June 2015 at 14:00, Nirmal Fernando 
>>> wrote:
>>>
 11am ?

 On Thu, Jun 4, 2015 at 1:23 PM, Madawa Soysa <
 madawa...@cse.mrt.ac.lk> wrote:

> I'm free in the morning.
>
> On 4 June 2015 at 10:52, Nirmal Fernando 
> wrote:
>
>> You are free tomorrow?
>>
>> On Thu, Jun 4, 2015 at 10:51 AM, Nirmal Fernando <
>> nir...@wso2.com> wrote:
>>
>>> Ok thanks. I'll send you an invite offline.
>>>
>>> On Wed, Jun 3, 2015 at 9:44 PM, Madawa Soysa <
>

Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Chandana Napagoda
HI Gayan,

As we observed, these issues are not seen when the server is started using
wso2server.sh. So I believe this may have happened due to the way how Dev
Studio remotely starts WSO2 server. WDYT?

Regards,
Chandana

On Tue, Jun 23, 2015 at 7:30 PM, Gayan Yalpathwala  wrote:

> Chandana and myself could figure out the same issue in GReg 5.0.0-M7 when
> started through DevS. This version of GReg uses,
>
> org.wso2.carbon.registry.core_4.4.0,
> org.wso2.carbon.registry.api_4.4.0 and
> org.wso2.carbon.registry.resource.ui_4.4.4.SNAPSHOT.
>
> Thanks,
>
>
> On Tue, Jun 23, 2015 at 5:48 PM, KasunG Gajasinghe 
> wrote:
>
>>
>> AS depends on snapshot version of kernel which is a special case. Since
>> AS and kernel are the same team, and kernel snapshots are tested against AS
>> we need this.
>>
>>
>> On Tue, Jun 23, 2015 at 3:36 PM, Kasun Indrasiri  wrote:
>>
>>>
>>> >>App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
>>> and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>>>  So, is that related to not using the latest registry core and api? Why
>>> do we have snapshot versions of these components in AS?
>>>
>>> On Tue, Jun 23, 2015 at 3:30 PM, Susankha Nirmala 
>>> wrote:
>>>
 Hi All,

 Yes, with org.wso2.carbon.registry.resource.ui_4.4.3.jar also it's not
 working. But with, "org.wso2.carbon.registry.resource.ui_4.4.1.jar", 
 AppServer
 is working and ESB is not working.

 Thanks.
 /Susankha.

 On Tue, Jun 23, 2015 at 3:17 PM, Isuru Udana  wrote:

> Hi,
>
> Latest ESB build has the 4.4.3 version of this jar.
> As per Susankha, still the same issue exists in that pack.
>
>
>
> On Tue, Jun 23, 2015 at 3:13 PM, Susankha Nirmala 
> wrote:
>
>> Hi Chandana,
>>
>> It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"
>>
>> Thanks.
>> /Susankha.
>>
>> On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda > > wrote:
>>
>>> Hi Susankha,
>>>
>>> What is the "org.wso2.carbon.registry.resource.ui"bundle version
>>> used in ESB?
>>>
>>> Regards,
>>> Chandana
>>>
>>> On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe 
>>> wrote:
>>>
 [+Sagara,+Chandana]

 On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala <
 susan...@wso2.com> wrote:

> Hi All,
>
> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using
> Developer Studio 3.8.0 m5 pack and try to browse the registry browser 
> using
> the management console. It will return empty page and give the
> exception [1]. After that I have tried the same thing with
> "wso2as-5.3.0-SNAPSHOT" pack and I can successfully browse the 
> registry
> resources using the management console. When I compared the registry
> plugins between two packs (ESB and App Server), I can see below 
> version
> differences.
>
> App server uses "
> *org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*" and "
> *org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
> *org.wso2.carbon.registry.api_4.4.0.jar*"
>
> Is that the reason for this?
>
> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
> JSPException while including path '/resources/resource.jsp'.
> javax.servlet.jsp.JspException: ServletException while including
> page.
> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
> at
> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
> at
> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
> at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
> at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
> at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
> at
> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
> at
> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
> at
> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
> at
> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
> at
> org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.jasper.servlet.JspServle

Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Gayan Yalpathwala
Chandana and myself could figure out the same issue in GReg 5.0.0-M7 when
started through DevS. This version of GReg uses,

org.wso2.carbon.registry.core_4.4.0,
org.wso2.carbon.registry.api_4.4.0 and
org.wso2.carbon.registry.resource.ui_4.4.4.SNAPSHOT.

Thanks,


On Tue, Jun 23, 2015 at 5:48 PM, KasunG Gajasinghe  wrote:

>
> AS depends on snapshot version of kernel which is a special case. Since AS
> and kernel are the same team, and kernel snapshots are tested against AS we
> need this.
>
>
> On Tue, Jun 23, 2015 at 3:36 PM, Kasun Indrasiri  wrote:
>
>>
>> >>App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
>> and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>>  So, is that related to not using the latest registry core and api? Why
>> do we have snapshot versions of these components in AS?
>>
>> On Tue, Jun 23, 2015 at 3:30 PM, Susankha Nirmala 
>> wrote:
>>
>>> Hi All,
>>>
>>> Yes, with org.wso2.carbon.registry.resource.ui_4.4.3.jar also it's not
>>> working. But with, "org.wso2.carbon.registry.resource.ui_4.4.1.jar", 
>>> AppServer
>>> is working and ESB is not working.
>>>
>>> Thanks.
>>> /Susankha.
>>>
>>> On Tue, Jun 23, 2015 at 3:17 PM, Isuru Udana  wrote:
>>>
 Hi,

 Latest ESB build has the 4.4.3 version of this jar.
 As per Susankha, still the same issue exists in that pack.



 On Tue, Jun 23, 2015 at 3:13 PM, Susankha Nirmala 
 wrote:

> Hi Chandana,
>
> It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"
>
> Thanks.
> /Susankha.
>
> On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda 
> wrote:
>
>> Hi Susankha,
>>
>> What is the "org.wso2.carbon.registry.resource.ui"bundle version used
>> in ESB?
>>
>> Regards,
>> Chandana
>>
>> On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe 
>> wrote:
>>
>>> [+Sagara,+Chandana]
>>>
>>> On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala >> > wrote:
>>>
 Hi All,

 I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using
 Developer Studio 3.8.0 m5 pack and try to browse the registry browser 
 using
 the management console. It will return empty page and give the
 exception [1]. After that I have tried the same thing with
 "wso2as-5.3.0-SNAPSHOT" pack and I can successfully browse the registry
 resources using the management console. When I compared the registry
 plugins between two packs (ESB and App Server), I can see below version
 differences.

 App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
 and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
 ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
 *org.wso2.carbon.registry.api_4.4.0.jar*"

 Is that the reason for this?

 [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
 JSPException while including path '/resources/resource.jsp'.
 javax.servlet.jsp.JspException: ServletException while including
 page.
 at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
 at
 org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
 at
 org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
 at
 org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
 at
 org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
 at
 org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
 at
 org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
 at
 org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
 at
 org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
 at
 org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
 at
 org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at
 org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.ser

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-23 Thread Mohamed Fawzan
Hi Srinath,

I have found a workaround for connecting elements with click & click. I
will update the demo soon with the (progress of) improvements we have
discussed in the meeting on 19th.  .

-Regards

On Mon, Jun 15, 2015 at 5:13 AM, Mohamed Fawzan  wrote:

> Hi Srinath.
>
> I have added support for large file names in the streams [1]
>   by showing the part of the stream
> name in the rectangle element. When you *hover *
> you can see the* full stream name. *Also when the user drag the element
> to the canvas, he get the same behavior their.
>
> Currently I'm working on connecting the elements. It is bit difficult. But
> I am close enough. I think i can present it by this week.
>
> -Regards
>
> [1] - http://vc.mutexlk.com/dashboard.html
>
> On Fri, Jun 12, 2015 at 4:29 PM, Mohamed Fawzan  wrote:
>
>> Thanks.
>>
>>
>> On Friday, June 12, 2015, Srinath Perera  wrote:
>>
>>> yes that is OK.
>>>
>>> On Fri, Jun 12, 2015 at 4:25 PM, Mohamed Fawzan 
>>> wrote:
>>>
 Yes. It is a good time. I can take the 6.00AM Train from kandy. Can
 reach colombo by 10.00 i guess. Is it o?


 On Friday, June 12, 2015, Mohamed Fawzan  wrote:

> Understood. Thanks Srinath.
>
> On Friday, June 12, 2015, Srinath Perera  wrote:
>
>> Input and output streams are the same thing. Sometimes, a stream can
>> be both inputs and outputs E.g. Stream 2.
>>
>> [image: Inline image 1]
>>
>> On Thu, Jun 11, 2015 at 1:53 PM, Mohamed Fawzan 
>> wrote:
>>
>>> Hi Srinath,
>>>
>>> Can you please help me to understand the streams? I mean the 
>>> InputOutputNode
>>> in.
>>>
>>>
>>> InputOutputNode : {
>>>
>>> connectionName : 'StockQuoteStream',
>>>
>>> connectionType :'Stream',
>>>
>>> connectionTypeDetails : 'para1:string, para2:int'
>>>
>>> }
>>>
>>>
>>> In the layout[1]  I have 
>>> considered Input & Output streams as separate things. Is it correct ? 
>>> or else are they belong to same category?
>>>
>>>
>>> -Regards
>>>
>>>
>>> [1]-http://vc.mutexlk.com/dashboard.html
>>>
>>>
>>> On Thu, Jun 11, 2015 at 10:53 AM, Mohamed Fawzan 
>>> wrote:
>>>
 Hi,



 On Thu, Jun 11, 2015 at 8:04 AM, Srinath Perera 
 wrote:

> Need names inside canvas as well. ( need to handle large names).
>
> What are the children of streams? attributes?
>
 I was planning to categorize streams there. Please see the updated
 names here[1]. 





> I would rather connect streams and operators, then click on
> operator and pick which attribute/ or attributes you use. If so I 
> would not
> show children against streams.
>
> On Thu, Jun 11, 2015 at 6:52 AM, Mohamed Fawzan  > wrote:
>
>>
>> Hi Srinath,
>>
>> I have just added the streams names inside the rectangles [1]
>>  . Please check and
>> comment on it.
>>
>> -Regards
>>
>> [1] - http://vc.mutexlk.com/dashboard.html
>>
>> On Wed, Jun 10, 2015 at 5:55 PM, Mohamed Fawzan <
>> fawz...@gmail.com> wrote:
>>
>>>
>>> On Wed, Jun 10, 2015 at 5:52 PM, Srinath Perera <
>>> srin...@wso2.com> wrote:
>>>
 We can do it several ways

 1. have small connectors showing against each node ( Stream/
 Operator), which you can click and drag to connector in other node.

>>>
>>> +1, I had the same idea on my mind. I will work on that, Feel
>>> free to suggest other options as well.
>>>
>>>
>>>
 2. Second option drop into other one as you mention.

 I think #2 run into a problem if you want to connect two
 streams to same operator ( e.g. Join). So I prefer #1. But open 
 for other
 options.

 --Srinath

 On Wed, Jun 10, 2015 at 5:46 PM, Mohamed Fawzan <
 fawz...@gmail.com> wrote:

> Are we talking about connecting the streams & operators phase?
> If so what is your preferred method of doing it?
>
> does the connection made when we drop an operator on another
> operator OR drop an operator on a stream?
>
> Am I correct ?
>
>
>
> On Wed, Jun 10, 2015 at 5:42 PM, Srinath Perera <
> srin...@wso2.com> wrote:
>
>> We need to connect stream to operat

Re: [Dev] [Registry] [DAS] Registry search not working in DAS

2015-06-23 Thread Danesh Kuruppu
Hi Gihan,

According to the Error log, It seems like solr server is not initialized
correctly. Here 'registry-indexing' is the solr core we defined for solr
configuration. Please check whether 'registry-indexing' folder exist inside
/repository/conf/solr directory.

May be there is an issue in content-search feature installation (due to
conflict etc).
Is there any errors when server startup?

Thanks
Danesh

On Mon, Jun 22, 2015 at 4:34 AM, Gihan Anuruddha  wrote:

> Hi GReg Team,
>
> I'm getting below exception when I'm trying to do a registry search from
> UI. Any idea about this?
>
> [2015-06-22 13:54:56,796] ERROR
> {org.wso2.carbon.registry.search.ui.clients.SearchServiceClient} -  Failed
> to get advanced search results from the search service. SolrCore
> 'registry-indexing' is not available due to init failure: JVM Error
> creating core [registry-indexing]: org/apache/lucene/index/QueryTimeout
> org.apache.axis2.AxisFault: SolrCore 'registry-indexing' is not available
> due to init failure: JVM Error creating core [registry-indexing]:
> org/apache/lucene/index/QueryTimeout
> at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
> at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.carbon.registry.search.stub.SearchAdminServiceStub.getAdvancedSearchResults(SearchAdminServiceStub.java:1331)
> at
> org.wso2.carbon.registry.search.ui.clients.SearchServiceClient.getAdvancedSearchResults(SearchServiceClient.java:116)
> at
> org.apache.jsp.search.advancedSearch_002dajaxprocessor_jsp._jspService(advancedSearch_002dajaxprocessor_jsp.java:145)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> 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: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.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> at
> org.apache.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.catali

Re: [Dev] PP- Docker base image

2015-06-23 Thread Imesh Gunaratne
+1 A good thought Udara, will do this.

On Tue, Jun 23, 2015 at 2:02 PM, Udara Liyanage  wrote:

> Hi,
>
> Shall we move Java installation and configurater to base image. Otherwise
> we have to repeat the task in every cartridge. Hope every cartridge require
> Java. If there are cartridges which does not require Java we can create an
> intermediate image (carbon base) which all Carbon products inherits from,
> other cartridges just inherit from current base image.
>
> WDYT?
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



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


Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread KasunG Gajasinghe
AS depends on snapshot version of kernel which is a special case. Since AS
and kernel are the same team, and kernel snapshots are tested against AS we
need this.


On Tue, Jun 23, 2015 at 3:36 PM, Kasun Indrasiri  wrote:

>
> >>App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
> and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>  So, is that related to not using the latest registry core and api? Why do
> we have snapshot versions of these components in AS?
>
> On Tue, Jun 23, 2015 at 3:30 PM, Susankha Nirmala 
> wrote:
>
>> Hi All,
>>
>> Yes, with org.wso2.carbon.registry.resource.ui_4.4.3.jar also it's not
>> working. But with, "org.wso2.carbon.registry.resource.ui_4.4.1.jar", 
>> AppServer
>> is working and ESB is not working.
>>
>> Thanks.
>> /Susankha.
>>
>> On Tue, Jun 23, 2015 at 3:17 PM, Isuru Udana  wrote:
>>
>>> Hi,
>>>
>>> Latest ESB build has the 4.4.3 version of this jar.
>>> As per Susankha, still the same issue exists in that pack.
>>>
>>>
>>>
>>> On Tue, Jun 23, 2015 at 3:13 PM, Susankha Nirmala 
>>> wrote:
>>>
 Hi Chandana,

 It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"

 Thanks.
 /Susankha.

 On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda 
 wrote:

> Hi Susankha,
>
> What is the "org.wso2.carbon.registry.resource.ui"bundle version used
> in ESB?
>
> Regards,
> Chandana
>
> On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe 
> wrote:
>
>> [+Sagara,+Chandana]
>>
>> On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala 
>> wrote:
>>
>>> Hi All,
>>>
>>> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using Developer
>>> Studio 3.8.0 m5 pack and try to browse the registry browser using the
>>> management console. It will return empty page and give the exception 
>>> [1].
>>> After that I have tried the same thing with "wso2as-5.3.0-SNAPSHOT" pack
>>> and I can successfully browse the registry resources using the 
>>> management
>>> console. When I compared the registry plugins between two packs (ESB and
>>> App Server), I can see below version differences.
>>>
>>> App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
>>> and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>>> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
>>> *org.wso2.carbon.registry.api_4.4.0.jar*"
>>>
>>> Is that the reason for this?
>>>
>>> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
>>> JSPException while including path '/resources/resource.jsp'.
>>> javax.servlet.jsp.JspException: ServletException while including
>>> page.
>>> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>>> at
>>> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
>>> at
>>> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>>> at
>>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
>>> at
>>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>>> at
>>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>>> at
>>> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
>>> at
>>> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
>>> at
>>> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
>>> at
>>> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
>>> at
>>> org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
>>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>>> at
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>> at
>>> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> 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.intern

Re: [Dev] "HTTP DELETE with entity body" support for WSO2 ESB Passthru transport

2015-06-23 Thread Kishanthan Thangarajah
Was there a public jira on CARBON project to track this? If not, then I
guess now its too late to add as this may bring API changes on top of 4.4.0
(for kernel patch releases).

On Mon, Jun 22, 2015 at 9:21 PM, Malaka Silva  wrote:

> Hi Carbon Team,
>
> Can we get this fix with latest carbon version, so that it'll be available
> with esb 4.9.0?
>
> On Fri, Jan 24, 2014 at 2:05 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Please note that *No API* changes in a patch is allowed.
>>
>>
>> On Fri, Jan 24, 2014 at 12:51 PM, Manoj Kumara  wrote:
>>
>>> Hi Jeewantha,
>>>
>>> I'm holding this for now without committing. Can you discuss with others
>>> and let me know.
>>>
>>> Thanks,
>>> Manoj
>>>
>>> Best Regards..
>>>
>>>
>>> Manoj Kumara
>>> Software Engineer
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Twitter:  http://twitter.com/ManKuma
>>> Mobile: +94713448188
>>>
>>>
>>> On Fri, Jan 24, 2014 at 11:47 AM, Nuwan Dias  wrote:
>>>
 Guys,

 This patch introduces an API change. We will have to redo it in such a
 way so that we do not introduce API changes if we're committing this to
 Carbon 4.2.0 patches.

 Thanks,
 NuwanD.


 On Fri, Jan 24, 2014 at 11:20 AM, Jeewantha Dharmaparakrama <
 jeewan...@wso2.com> wrote:

> Hi Manoj,
>
> Please find the new httpcore.diff. Sorry for the inconvenience.
>
> Thanks,
> Jeewantha
>
>
>
>
> On Thu, Jan 23, 2014 at 7:04 PM, Manoj Kumara  wrote:
>
>> Hi Jeewantha,
>>
>> I'm getting some compilation errors when building httpcore module.
>> Can you please check.
>>
>>
>> [INFO] -
>> [ERROR] COMPILATION ERROR :
>> [INFO] -
>> [ERROR]
>> /media/carbon/carbon/kernal/branches/4.2.0/patches/patch0005/dependencies/httpcore/4.3.0-wso2v1/src/main/java/org/apache/http/impl/DefaultHttpRequestFactory.java:[36,31]
>> cannot find symbol
>>   symbol:   class BasicHttpEntityPossibleEnclosingRequest
>>   location: package org.apache.http.message
>> [ERROR]
>> /media/carbon/carbon/kernal/branches/4.2.0/patches/patch0005/dependencies/httpcore/4.3.0-wso2v1/src/main/java/org/apache/http/impl/DefaultHttpRequestFactory.java:[93,24]
>> cannot find symbol
>>   symbol:   class BasicHttpEntityPossibleEnclosingRequest
>>   location: class org.apache.http.impl.DefaultHttpRequestFactory
>> [ERROR]
>> /media/carbon/carbon/kernal/branches/4.2.0/patches/patch0005/dependencies/httpcore/4.3.0-wso2v1/src/main/java/org/apache/http/impl/DefaultHttpRequestFactory.java:[108,24]
>> cannot find symbol
>>   symbol:   class BasicHttpEntityPossibleEnclosingRequest
>>   location: class org.apache.http.impl.DefaultHttpRequestFactory
>>
>>
>> Thanks,
>> Manoj
>>
>> Best Regards..
>>
>>
>> Manoj Kumara
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>> Twitter:  http://twitter.com/ManKuma
>> Mobile: +94713448188
>>
>>
>> On Thu, Jan 23, 2014 at 6:00 PM, Jeewantha Dharmaparakrama <
>> jeewan...@wso2.com> wrote:
>>
>>> Adding the bin.xml
>>>
>>>
>>> On Thu, Jan 23, 2014 at 5:29 PM, Jeewantha Dharmaparakrama <
>>> jeewan...@wso2.com> wrote:
>>>
 Hi Manoj,

 Attached are the diffs to be committed to patch0005 in kernal
 4.2.0. Please do the needful.

 Thanks,
 Jeewantha


 On Thu, Jan 16, 2014 at 1:52 PM, Kasun Indrasiri 
 wrote:

> +1 This is looking good. Shall we incorporate the changes in to
> the latest ESB version and verify the fix with the integration tests.
>
>
> On Thu, Jan 16, 2014 at 11:45 AM, Jeewantha Dharmaparakrama <
> jeewan...@wso2.com> wrote:
>
>> Hi Folks,
>>
>> We had been implementing this feature last week and thought it
>> needed public attention. First of all, "HTTP/1.1 DELETE with entity 
>> body"
>> does NOT violate the spec [1] [2]. But the initial design of
>> apache-httpcomponents considers DELETE as a "Non entity enclosing 
>> request".
>> To support this feature, we introduced a third category "Possible 
>> entity
>> enclosing request" because now a DELETE can be of either type, with 
>> or
>> without entity body.
>>
>> Once the whole HTTP request is read, a "Possible entity enclosing
>> request" will create the correct object "entity enclosing request" 
>> or a
>> "non entity enclosing request" by looking at it headers. We look at 
>> the
>> header Content-Length to determine if the request has a payload.
>>
>> So now, the following is a perfectl

Re: [Dev] APIM 1.8.0 is not available in OT to download

2015-06-23 Thread Nuwan Dias
Thanks Thimuth

On Tue, Jun 23, 2015 at 5:31 PM, Thimuth Amarakoon  wrote:

> Hi Nuwan,
>
> 1.8.0 is added to the previous releases page [1].
>
> [1] - http://wso2.com/more-downloads/api-manager/
>
> Thanks,
> Thimuth
>
> On Tue, Jun 23, 2015 at 5:18 PM, Nuwan Dias  wrote:
>
>> @Thimuth, can you check on this please?
>>
>> Thanks,
>> NuwanD.
>>
>> On Tue, Jun 23, 2015 at 4:55 PM, Abimaran Kugathasan 
>> wrote:
>>
>>> [+NuwanD, Lakmali]
>>>
>>> On Mon, Jun 22, 2015 at 8:39 PM, Jason De Silva  wrote:
>>>
 Hi All,

 I noticed that APIM 1.8.0 is not available to be downloaded in OT under
 "Previous Releases" section [1].

 Regards,
 Jason

 [1] http://wso2.com/more-downloads/api-manager/


 --
 Jason De Silva
 *Software Engineer - QA*
 Mobile: +94 (0) 772 097 678
 Email: jas...@wso2.com
 WSO2 Inc. www.wso2.com

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


>>>
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>>
>>> Software Engineer | WSO2 Inc
>>> Data & APIs Technologies Team
>>> Mobile : +94 773922820
>>>
>>> 
>>> 
>>>   
>>> 
>>>
>>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Technical Lead - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
>
> --
>
> *Thimuth Amarakoon*
>
> *Associate Technical Lead*
>
>
> *WSO2 Inc. http://wso2.com lean.enterprise.middleware*
>
>
> *mobile : +94718340414 <%2B94718340414>*
>



-- 
Nuwan Dias

Technical 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


Re: [Dev] R: building from source BPS 3.2.0

2015-06-23 Thread Vinod Kavinda
Hi,
Did you build the patches before running eclipse:eclipse command? This must
be the reason for this error.

Please follow all the steps given in the reference, from Milinda.

Thanks,
Vinod


On Tue, Jun 23, 2015 at 3:18 PM,  wrote:

>  I cannot use project in Eclipse;
>
>
>
> I've imported all projects as "Existing Maven Projects" and I see
>
>
>
> I'm trying to run mvn eclipse:eclipse command on bps 3.2.0 pom.xml but I
> get this error
>
>
>
> [ERROR] Failed to execute goal on project org.wso2.bps.styles.feature:
> Could not resolve dependencies for project
> org.wso2.bps:org.wso2.bps.styles.feature:pom:3.2.0: Could not find artifact
> org.wso2.bps:org.wso2.bps.styles:jar:3.2.0 in wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
> [ERROR] [Help 1] 
> *http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> *
>
> [ERROR]
>
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> [ERROR]   mvn  -rf :org.wso2.bps.styles.feature
>
>
>
>
>
>
>
>
>
> *Da:* Milinda Perera [mailto:milin...@wso2.com]
> *Inviato:* Monday, June 22, 2015 13:01
> *A:* Lardera Roberto
> *Cc:* WSO2 Developers' List
> *Oggetto:* Re: [Dev] building from source BPS 3.2.0
>
>
>
> Hi,
>
> Please follow instructions in [1]
>
> [1] https://docs.wso2.com/display/BPS320/Building+from+Source
>
> Thanks,
>
> Milinda
>
>
>
> On Mon, Jun 22, 2015 at 4:25 PM,  wrote:
>
> I'd like to run BPS 3.2.0 in eclipse, but I founded only old versions...
> Is it possible building from source BPS 3.2.0?
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>
>
> --
>
> Milinda Perera
> Software Engineer;
> WSO2 Inc. http://wso2.com ,
>
> Mobile: (+94) 714 115 032
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM 1.8.0 is not available in OT to download

2015-06-23 Thread Nuwan Dias
@Thimuth, can you check on this please?

Thanks,
NuwanD.

On Tue, Jun 23, 2015 at 4:55 PM, Abimaran Kugathasan 
wrote:

> [+NuwanD, Lakmali]
>
> On Mon, Jun 22, 2015 at 8:39 PM, Jason De Silva  wrote:
>
>> Hi All,
>>
>> I noticed that APIM 1.8.0 is not available to be downloaded in OT under
>> "Previous Releases" section [1].
>>
>> Regards,
>> Jason
>>
>> [1] http://wso2.com/more-downloads/api-manager/
>>
>>
>> --
>> Jason De Silva
>> *Software Engineer - QA*
>> Mobile: +94 (0) 772 097 678
>> Email: jas...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
>
> Software Engineer | WSO2 Inc
> Data & APIs Technologies Team
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


-- 
Nuwan Dias

Technical 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


Re: [Dev] APIM 1.8.0 is not available in OT to download

2015-06-23 Thread Abimaran Kugathasan
[+NuwanD, Lakmali]

On Mon, Jun 22, 2015 at 8:39 PM, Jason De Silva  wrote:

> Hi All,
>
> I noticed that APIM 1.8.0 is not available to be downloaded in OT under
> "Previous Releases" section [1].
>
> Regards,
> Jason
>
> [1] http://wso2.com/more-downloads/api-manager/
>
>
> --
> Jason De Silva
> *Software Engineer - QA*
> Mobile: +94 (0) 772 097 678
> Email: jas...@wso2.com
> WSO2 Inc. www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data & APIs Technologies Team
Mobile : +94 773922820


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


[Dev] [AppM] Please review and merge PR

2015-06-23 Thread Sajith Ariyarathna
Hi Team,

Please review and merge PR [1] which should fix JIRA issue [2].

[1] https://github.com/wso2/carbon-appmgt/pull/83
[2] https://wso2.org/jira/browse/APPM-1010

Thanks & Regards.


-- 
Sajith Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/
mobile: +94 77 6602284, +94 71 3951048
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Kasun Indrasiri
>>App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*" and "
*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
 So, is that related to not using the latest registry core and api? Why do
we have snapshot versions of these components in AS?

On Tue, Jun 23, 2015 at 3:30 PM, Susankha Nirmala  wrote:

> Hi All,
>
> Yes, with org.wso2.carbon.registry.resource.ui_4.4.3.jar also it's not
> working. But with, "org.wso2.carbon.registry.resource.ui_4.4.1.jar", AppServer
> is working and ESB is not working.
>
> Thanks.
> /Susankha.
>
> On Tue, Jun 23, 2015 at 3:17 PM, Isuru Udana  wrote:
>
>> Hi,
>>
>> Latest ESB build has the 4.4.3 version of this jar.
>> As per Susankha, still the same issue exists in that pack.
>>
>>
>>
>> On Tue, Jun 23, 2015 at 3:13 PM, Susankha Nirmala 
>> wrote:
>>
>>> Hi Chandana,
>>>
>>> It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"
>>>
>>> Thanks.
>>> /Susankha.
>>>
>>> On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda 
>>> wrote:
>>>
 Hi Susankha,

 What is the "org.wso2.carbon.registry.resource.ui"bundle version used
 in ESB?

 Regards,
 Chandana

 On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe 
 wrote:

> [+Sagara,+Chandana]
>
> On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala 
> wrote:
>
>> Hi All,
>>
>> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using Developer
>> Studio 3.8.0 m5 pack and try to browse the registry browser using the
>> management console. It will return empty page and give the exception [1].
>> After that I have tried the same thing with "wso2as-5.3.0-SNAPSHOT" pack
>> and I can successfully browse the registry resources using the management
>> console. When I compared the registry plugins between two packs (ESB and
>> App Server), I can see below version differences.
>>
>> App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
>> and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
>> *org.wso2.carbon.registry.api_4.4.0.jar*"
>>
>> Is that the reason for this?
>>
>> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
>> JSPException while including path '/resources/resource.jsp'.
>> javax.servlet.jsp.JspException: ServletException while including page.
>> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>> at
>> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
>> at
>> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>> at
>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
>> at
>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>> at
>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>> at
>> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
>> at
>> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
>> at
>> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
>> at
>> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
>> at
>> org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> 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: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.App

Re: [Dev] Integration test dependencies are released !

2015-06-23 Thread Krishantha Samaraweera
Hi all,

Test dependencies are released again with few fixes.

1. Fixed issues with integration test execution on Windows environment.
2. Improve Jacoco class and package level filtering
3. Fixed Jmeter test runner issue on Linux

New dependencies are as follows.

carbon-platform-integration  4.4.1
carbon-platform-integration-utils 4.4.1

Thanks,
Krishantha.




On Mon, Jun 8, 2015 at 6:04 PM, Krishantha Samaraweera 
wrote:

> Hi Product teams,
>
> Following test automation repos have been released to make the artefacts
> compliant with JDK 7/8. Please update your product integration test
> dependencies before the next release.
>
> carbon-platform-integration  4.4.0
> carbon-platform-integration-utils 4.4.0
>
> With this release, new coverage generation was introduce which is based on
> Jacoco (To fix JDK 1.7 problems). You need update tests modules according
> to the guide at [1] for coverage generation.
>
> Let us know if you find any issues related to new coverage generation.
>
> Thanks,
> Krishantha.
>
> [1]
> https://docs.google.com/a/wso2.com/document/d/1pMJGdRH4Kmc4J3rYzgnpGlR5AnSeoC4QL9gMX9tUhYs/edit?usp=sharing
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Susankha Nirmala
Hi All,

Yes, with org.wso2.carbon.registry.resource.ui_4.4.3.jar also it's not
working. But with, "org.wso2.carbon.registry.resource.ui_4.4.1.jar", AppServer
is working and ESB is not working.

Thanks.
/Susankha.

On Tue, Jun 23, 2015 at 3:17 PM, Isuru Udana  wrote:

> Hi,
>
> Latest ESB build has the 4.4.3 version of this jar.
> As per Susankha, still the same issue exists in that pack.
>
>
>
> On Tue, Jun 23, 2015 at 3:13 PM, Susankha Nirmala 
> wrote:
>
>> Hi Chandana,
>>
>> It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"
>>
>> Thanks.
>> /Susankha.
>>
>> On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda 
>> wrote:
>>
>>> Hi Susankha,
>>>
>>> What is the "org.wso2.carbon.registry.resource.ui"bundle version used in
>>> ESB?
>>>
>>> Regards,
>>> Chandana
>>>
>>> On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe 
>>> wrote:
>>>
 [+Sagara,+Chandana]

 On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala 
 wrote:

> Hi All,
>
> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using Developer
> Studio 3.8.0 m5 pack and try to browse the registry browser using the
> management console. It will return empty page and give the exception [1].
> After that I have tried the same thing with "wso2as-5.3.0-SNAPSHOT" pack
> and I can successfully browse the registry resources using the management
> console. When I compared the registry plugins between two packs (ESB and
> App Server), I can see below version differences.
>
> App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
> and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
> *org.wso2.carbon.registry.api_4.4.0.jar*"
>
> Is that the reason for this?
>
> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
> JSPException while including path '/resources/resource.jsp'.
> javax.servlet.jsp.JspException: ServletException while including page.
> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
> at
> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
> at
> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
> at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
> at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
> at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
> at
> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
> at
> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
> at
> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
> at
> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
> at
> org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> 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: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.apache.catalina.core.ApplicationDispatcher.invoke(Ap

[Dev] Please review and merge PR for APPM-907

2015-06-23 Thread Sajith Abeywardhana
Hi Dinusha,

Please review and merge PR[1] for APPM-907

[1]. https://github.com/wso2/carbon-appmgt/pull/81
[2]. https://wso2.org/jira/browse/APPM-907

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] R: building from source BPS 3.2.0

2015-06-23 Thread R.Lardera
I cannot use project in Eclipse;

I've imported all projects as "Existing Maven Projects" and I see
[cid:image001.png@01D0ADA6.5DB65070]

I'm trying to run mvn eclipse:eclipse command on bps 3.2.0 pom.xml but I get 
this error

[ERROR] Failed to execute goal on project org.wso2.bps.styles.feature: Could 
not resolve dependencies for project 
org.wso2.bps:org.wso2.bps.styles.feature:pom:3.2.0: Could not find artifact 
org.wso2.bps:org.wso2.bps.styles:jar:3.2.0 in wso2-nexus 
(http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :org.wso2.bps.styles.feature




Da: Milinda Perera [mailto:milin...@wso2.com]
Inviato: Monday, June 22, 2015 13:01
A: Lardera Roberto
Cc: WSO2 Developers' List
Oggetto: Re: [Dev] building from source BPS 3.2.0

Hi,
Please follow instructions in [1]

[1] https://docs.wso2.com/display/BPS320/Building+from+Source
Thanks,
Milinda

On Mon, Jun 22, 2015 at 4:25 PM, mailto:r.lard...@seda.it>> 
wrote:
I'd like to run BPS 3.2.0 in eclipse, but I founded only old versions... Is it 
possible building from source BPS 3.2.0?

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



--
Milinda Perera
Software Engineer;
WSO2 Inc. http://wso2.com ,
Mobile: (+94) 714 115 032
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Isuru Udana
Hi,

Latest ESB build has the 4.4.3 version of this jar.
As per Susankha, still the same issue exists in that pack.



On Tue, Jun 23, 2015 at 3:13 PM, Susankha Nirmala  wrote:

> Hi Chandana,
>
> It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"
>
> Thanks.
> /Susankha.
>
> On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda 
> wrote:
>
>> Hi Susankha,
>>
>> What is the "org.wso2.carbon.registry.resource.ui"bundle version used in
>> ESB?
>>
>> Regards,
>> Chandana
>>
>> On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe 
>> wrote:
>>
>>> [+Sagara,+Chandana]
>>>
>>> On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala 
>>> wrote:
>>>
 Hi All,

 I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using Developer
 Studio 3.8.0 m5 pack and try to browse the registry browser using the
 management console. It will return empty page and give the exception [1].
 After that I have tried the same thing with "wso2as-5.3.0-SNAPSHOT" pack
 and I can successfully browse the registry resources using the management
 console. When I compared the registry plugins between two packs (ESB and
 App Server), I can see below version differences.

 App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
 and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
 ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
 *org.wso2.carbon.registry.api_4.4.0.jar*"

 Is that the reason for this?

 [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
 JSPException while including path '/resources/resource.jsp'.
 javax.servlet.jsp.JspException: ServletException while including page.
 at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
 at
 org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
 at
 org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
 at
 org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
 at
 org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
 at
 org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
 at
 org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
 at
 org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
 at
 org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
 at
 org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
 at
 org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 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: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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
 at
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
 at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
 at
 org.eclipse.equinox.http.servlet.

Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Susankha Nirmala
Hi Chandana,

It is "org.wso2.carbon.registry.resource.ui_4.4.1.jar"

Thanks.
/Susankha.

On Tue, Jun 23, 2015 at 3:11 PM, Chandana Napagoda 
wrote:

> Hi Susankha,
>
> What is the "org.wso2.carbon.registry.resource.ui"bundle version used in
> ESB?
>
> Regards,
> Chandana
>
> On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe 
> wrote:
>
>> [+Sagara,+Chandana]
>>
>> On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala 
>> wrote:
>>
>>> Hi All,
>>>
>>> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using Developer
>>> Studio 3.8.0 m5 pack and try to browse the registry browser using the
>>> management console. It will return empty page and give the exception [1].
>>> After that I have tried the same thing with "wso2as-5.3.0-SNAPSHOT" pack
>>> and I can successfully browse the registry resources using the management
>>> console. When I compared the registry plugins between two packs (ESB and
>>> App Server), I can see below version differences.
>>>
>>> App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*"
>>> and "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>>> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
>>> *org.wso2.carbon.registry.api_4.4.0.jar*"
>>>
>>> Is that the reason for this?
>>>
>>> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
>>> JSPException while including path '/resources/resource.jsp'.
>>> javax.servlet.jsp.JspException: ServletException while including page.
>>> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>>> at
>>> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
>>> at
>>> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>>> at
>>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
>>> at
>>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>>> at
>>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>>> at
>>> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
>>> at
>>> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
>>> at
>>> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
>>> at
>>> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
>>> at
>>> org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
>>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>>> at
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> 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: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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
>>> at
>>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
>>> at
>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
>>> at
>>> org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv

Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Chandana Napagoda
Hi Susankha,

What is the "org.wso2.carbon.registry.resource.ui"bundle version used in
ESB?

Regards,
Chandana

On Tue, Jun 23, 2015 at 2:58 PM, KasunG Gajasinghe  wrote:

> [+Sagara,+Chandana]
>
> On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala 
> wrote:
>
>> Hi All,
>>
>> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using Developer
>> Studio 3.8.0 m5 pack and try to browse the registry browser using the
>> management console. It will return empty page and give the exception [1].
>> After that I have tried the same thing with "wso2as-5.3.0-SNAPSHOT" pack
>> and I can successfully browse the registry resources using the management
>> console. When I compared the registry plugins between two packs (ESB and
>> App Server), I can see below version differences.
>>
>> App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*" and
>> "*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
>> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
>> *org.wso2.carbon.registry.api_4.4.0.jar*"
>>
>> Is that the reason for this?
>>
>> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext
>> JSPException while including path '/resources/resource.jsp'.
>> javax.servlet.jsp.JspException: ServletException while including page.
>> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>> at
>> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
>> at
>> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>> at
>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
>> at
>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>> at
>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>> at
>> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
>> at
>> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
>> at
>> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
>> at
>> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
>> at
>> org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> 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: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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
>> at
>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
>> 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.til

Re: [Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread KasunG Gajasinghe
[+Sagara,+Chandana]

On Tue, Jun 23, 2015 at 2:17 PM, Susankha Nirmala  wrote:

> Hi All,
>
> I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using Developer
> Studio 3.8.0 m5 pack and try to browse the registry browser using the
> management console. It will return empty page and give the exception [1].
> After that I have tried the same thing with "wso2as-5.3.0-SNAPSHOT" pack
> and I can successfully browse the registry resources using the management
> console. When I compared the registry plugins between two packs (ESB and
> App Server), I can see below version differences.
>
> App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*" and "
> *org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
> ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
> *org.wso2.carbon.registry.api_4.4.0.jar*"
>
> Is that the reason for this?
>
> [1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext JSPException
> while including path '/resources/resource.jsp'.
> javax.servlet.jsp.JspException: ServletException while including page.
> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
> at
> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
> at
> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
> at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
> at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
> at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
> at
> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
> at
> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
> at
> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
> at
> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
> at
> org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> 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: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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
> at
> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
> 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:

Re: [Dev] [MB] Ciphertools - To include or not to include

2015-06-23 Thread Niranjan Karunanandham
Hi Hemika,

I will look into this and get back to you.

Regards,
Nira

On Tue, Jun 23, 2015 at 2:46 PM, Hemika Kodikara  wrote:

> Hi Niranjan,
>
> Thanks for the update on the cipher tool.
>
> I have followed the document and added the contents successfully. The 
> ./ciphertool.sh
> -Dconfigure command ran successfully and the server also started up.
>
> However , the ./ciphertool.sh -Dchange did not work. I got the following
> output. After entering the number, the ciphertool got exit.
>
>
> 
> hemikakodikara@Hemikas-MacBook-Pro:bin$ ./ciphertool.sh -Dchange
> [Please Enter Primary KeyStore Password of Carbon Server : ]
>
> Primary KeyStore of Carbon Server is initialized Successfully
>
> [1] Carbon.Security.KeyStore.Password
> [2] Carbon.Security.KeyStore.KeyPassword
> [3] Server.Service.Connector.keystorePass
> [4] UserManager.AdminUser.Password
> [5] Datasources.WSO2_MB_STORE_DB.Configuration.Password
> [6] Carbon.Security.TrustStore.Password
> [7] Datasources.WSO2_CARBON_DB.Configuration.Password
> [Please enter the Number which is corresponding to the Password that is
> needed be changed [Press Enter to Skip] : ]5
> hemikakodikara@Hemikas-MacBook-Pro:bin$
>
>
> 
>
> I was following the document at [1]. Could it be something wrong from my
> side? . Also I am not sure whether this issue was there in the earlier
> version. I just ran the commands in the doc and thought mentioning this.
>
> [1] -
> https://docs.wso2.com/display/Carbon440/Encrypting+Passwords+with+Cipher+Tool
>
> Regards,
> Hemika
>
>
> Hemika Kodikara
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middleware
> http://wso2.com
>
> Mobile : +9477762
>
> On Tue, Jun 23, 2015 at 12:48 PM, Niranjan Karunanandham <
> niran...@wso2.com> wrote:
>
>> Hi Sinthuja / Hemika,
>>
>> The cipher tool (version 1.0.0-wso2v3) has been released. You can find
>> the documentation[1] as to how to add it to the product.
>>
>> [1] -
>> https://docs.wso2.com/display/Carbon440/Enabling+Cipher+Tool+for+Password+Encryption
>>
>> Regards,
>> Nira
>>
>> On Wed, Jun 17, 2015 at 5:10 PM, Sinthuja Ragendran 
>> wrote:
>>
>>> Thanks for the update Niranjan.
>>>
>>>
>>>
>>> On Wed, Jun 17, 2015 at 4:50 PM, Niranjan Karunanandham <
>>> niran...@wso2.com> wrote:
>>>
 Hi Sinthuja,

 The code is pending review. I will inform you once it has been merged
 to the repo [1].

 [1] - https://github.com/wso2/cipher-tool

 Regards,
 Nira

 On Wed, Jun 17, 2015 at 4:21 PM, Sinthuja Ragendran 
 wrote:

> Hi Niranjan,
>
> Do we have the cipher tool as a feature now? If so can you please
> provide the name of the feature we need to include in the product.
>
> Thanks,
> Sinthuja
>
> On Mon, May 25, 2015 at 1:06 PM, Niranjan Karunanandham <
> niran...@wso2.com> wrote:
>
>> Hi Hemika,
>>
>> Currently we are in the process of creating the cipher-tool[1] as a
>> feature so that products can be easily install via the p2-profile. As of
>> now, you will need to copy the cipher-tool jar to /lib and
>> the necessary files (cipher-text.properties and cipher-tool.properties) 
>> to
>> /repository/conf/security for it to work.
>>
>> [1] - https://github.com/wso2/cipher-tool.git
>>
>> Regards,
>> Nira
>>
>>
>> On Mon, May 25, 2015 at 12:11 PM, Hemika Kodikara 
>> wrote:
>>
>>> Hi Niranjan,
>>>
>>> Any update on this would be appreciated :)
>>>
>>> Regards,
>>> Hemika
>>>
>>> Hemika Kodikara
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middleware
>>> http://wso2.com
>>>
>>> Mobile : +9477762
>>>
>>> On Sun, May 24, 2015 at 9:52 PM, Manoj Kumara 
>>> wrote:
>>>
 Hi,

 Even though we discussed to not ship the cipher-tools with products
 later there was some discussions mentioning adding this back. I think
 Niranjan worked on creating a feature for that.

 @Nira,
 Whats the suggested plan on this.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Sun, May 24, 2015 at 7:51 PM, Hemika Kodikara 
 wrote:

> Hi Manoj,
>
> To clarify according to the above discussion, adding a modified "
> cipher-text.properties
> "
> and the "cipher-tool.properties
> 

Re: [Dev] [MB] Ciphertools - To include or not to include

2015-06-23 Thread Hemika Kodikara
Hi Niranjan,

Thanks for the update on the cipher tool.

I have followed the document and added the contents successfully. The
./ciphertool.sh
-Dconfigure command ran successfully and the server also started up.

However , the ./ciphertool.sh -Dchange did not work. I got the following
output. After entering the number, the ciphertool got exit.


hemikakodikara@Hemikas-MacBook-Pro:bin$ ./ciphertool.sh -Dchange
[Please Enter Primary KeyStore Password of Carbon Server : ]

Primary KeyStore of Carbon Server is initialized Successfully

[1] Carbon.Security.KeyStore.Password
[2] Carbon.Security.KeyStore.KeyPassword
[3] Server.Service.Connector.keystorePass
[4] UserManager.AdminUser.Password
[5] Datasources.WSO2_MB_STORE_DB.Configuration.Password
[6] Carbon.Security.TrustStore.Password
[7] Datasources.WSO2_CARBON_DB.Configuration.Password
[Please enter the Number which is corresponding to the Password that is
needed be changed [Press Enter to Skip] : ]5
hemikakodikara@Hemikas-MacBook-Pro:bin$



I was following the document at [1]. Could it be something wrong from my
side? . Also I am not sure whether this issue was there in the earlier
version. I just ran the commands in the doc and thought mentioning this.

[1] -
https://docs.wso2.com/display/Carbon440/Encrypting+Passwords+with+Cipher+Tool

Regards,
Hemika


Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile : +9477762

On Tue, Jun 23, 2015 at 12:48 PM, Niranjan Karunanandham 
wrote:

> Hi Sinthuja / Hemika,
>
> The cipher tool (version 1.0.0-wso2v3) has been released. You can find the
> documentation[1] as to how to add it to the product.
>
> [1] -
> https://docs.wso2.com/display/Carbon440/Enabling+Cipher+Tool+for+Password+Encryption
>
> Regards,
> Nira
>
> On Wed, Jun 17, 2015 at 5:10 PM, Sinthuja Ragendran 
> wrote:
>
>> Thanks for the update Niranjan.
>>
>>
>>
>> On Wed, Jun 17, 2015 at 4:50 PM, Niranjan Karunanandham <
>> niran...@wso2.com> wrote:
>>
>>> Hi Sinthuja,
>>>
>>> The code is pending review. I will inform you once it has been merged to
>>> the repo [1].
>>>
>>> [1] - https://github.com/wso2/cipher-tool
>>>
>>> Regards,
>>> Nira
>>>
>>> On Wed, Jun 17, 2015 at 4:21 PM, Sinthuja Ragendran 
>>> wrote:
>>>
 Hi Niranjan,

 Do we have the cipher tool as a feature now? If so can you please
 provide the name of the feature we need to include in the product.

 Thanks,
 Sinthuja

 On Mon, May 25, 2015 at 1:06 PM, Niranjan Karunanandham <
 niran...@wso2.com> wrote:

> Hi Hemika,
>
> Currently we are in the process of creating the cipher-tool[1] as a
> feature so that products can be easily install via the p2-profile. As of
> now, you will need to copy the cipher-tool jar to /lib and
> the necessary files (cipher-text.properties and cipher-tool.properties) to
> /repository/conf/security for it to work.
>
> [1] - https://github.com/wso2/cipher-tool.git
>
> Regards,
> Nira
>
>
> On Mon, May 25, 2015 at 12:11 PM, Hemika Kodikara 
> wrote:
>
>> Hi Niranjan,
>>
>> Any update on this would be appreciated :)
>>
>> Regards,
>> Hemika
>>
>> Hemika Kodikara
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middleware
>> http://wso2.com
>>
>> Mobile : +9477762
>>
>> On Sun, May 24, 2015 at 9:52 PM, Manoj Kumara  wrote:
>>
>>> Hi,
>>>
>>> Even though we discussed to not ship the cipher-tools with products
>>> later there was some discussions mentioning adding this back. I think
>>> Niranjan worked on creating a feature for that.
>>>
>>> @Nira,
>>> Whats the suggested plan on this.
>>>
>>> Regards,
>>> Manoj
>>>
>>>
>>> *Manoj Kumara*
>>> Software Engineer
>>> WSO2 Inc. http://wso2.com/
>>> *lean.enterprise.middleware*
>>> Mobile: +94713448188
>>>
>>> On Sun, May 24, 2015 at 7:51 PM, Hemika Kodikara 
>>> wrote:
>>>
 Hi Manoj,

 To clarify according to the above discussion, adding a modified "
 cipher-text.properties
 "
 and the "cipher-tool.properties
 "
  files would be suffice for MB ?
 So the bat and sh files will be added by the user if needed ?

 Regards,
 Hemika

 Hemika Kodikara
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middleware
 http://wso2.com

 Mobile : 

[Dev] Can't brows registry resource when WSO2 starting using Developer Studio 3.8.0 m5

2015-06-23 Thread Susankha Nirmala
Hi All,

I have started  "wso2esb-4.9.0-BETA-SNAPSHOT" server using Developer Studio
3.8.0 m5 pack and try to browse the registry browser using the management
console. It will return empty page and give the exception [1]. After that I
have tried the same thing with "wso2as-5.3.0-SNAPSHOT" pack and I can
successfully browse the registry resources using the management console.
When I compared the registry plugins between two packs (ESB and App
Server), I can see below version differences.

App server uses "*org.wso2.carbon.registry.core_4.4.1.SNAPSHOT.jar*" and "
*org.wso2.carbon.registry.api_4.4.1.SNAPSHOT.jar*"
ESB uses "*org.wso2.carbon.registry.core_4.4.0.jar*" and "
*org.wso2.carbon.registry.api_4.4.0.jar*"

Is that the reason for this?

[1]-  2015-06-22 10:58:52,201] ERROR - JspTilesRequestContext JSPException
while including path '/resources/resource.jsp'.
javax.servlet.jsp.JspException: ServletException while including page.
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
at
org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at
org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at
org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at
org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at
org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
at
org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
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: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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
at
org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
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:727)
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.ProxySer

Re: [Dev] [GSoC-2015] Data Wrangler extension for WSO2 Machine Learner

2015-06-23 Thread Danula Eranjith
Hi all,

I have completed implementing the wrangler operations as spark
transformations.

I am currently working on linking these operations with wrangler.

Thanks,
Danula

On Wed, Jun 17, 2015 at 10:25 AM, Nirmal Fernando  wrote:

> Danula,
>
> Can you please send an update on the status of the project?
>
> On Tue, Jun 16, 2015 at 9:44 AM, Supun Sethunga  wrote:
>
>> Somehow there are issues in implementing certain wrangler functions due
>>> to limitations in JavaRDD used in spark
>>> e.g. -
>>> Fill operation - when filling with values from rows above and below
>>> Fold operation
>>
>>
>> Agree, since rows will get executed randomly with spark, inter-row
>> operations are not very meaningful.
>> But you can slightly modify the implementation of the "Fill" operation,
>> such as, to fill values based on an expression/static-value/mean etc. (not
>> depending on other rows)..
>>
>> Thanks,
>> Supun
>>
>> On Tue, Jun 16, 2015 at 9:27 AM, Supun Sethunga  wrote:
>>
>>> Hi Danula,
>>>
>>> Sorry for the late reply. Have you got the details you were looking for?
>>>
>>> It would be great if I could get to know which wrangler operations are
 important for a user of the ML
>>>
>>>
>>> Other than the ones you have mentioned in the proposal, think its better
>>> to have "Translate" operation as well (to create a new column based on
>>> an existing column).
>>>
>>> Thanks,
>>> Supun
>>>
>>>
>>>
>>> On Thu, Jun 4, 2015 at 10:11 PM, Danula Eranjith 
>>> wrote:
>>>
 Hi all,

 I am currently working on generating spark transformations related to
 the operations available in the data wrangler.

 Data wrangler provides sufficient parameters to re-create these at
 spark.I have successfully implemented delete and split operations of
 wrangler in spark.

 Once this phase is completed, I can either directly generate these
 scripts at wrangler or use the javascript output and convert it to spark
 depending on the implementation.

 Somehow there are issues in implementing certain wrangler functions due
 to limitations in JavaRDD used in spark

 e.g. -
 Fill operation - when filling with values from rows above and below
 Fold operation

 It would be great if I could get to know which wrangler operations are
 important for a user of the ML

 Thanks,
 Danula

 On Wed, Jun 3, 2015 at 8:30 AM, Nirmal Fernando 
 wrote:

> Hi Danula,
>
> Please send an update of your work thus far.
>
> On Sun, May 10, 2015 at 2:30 PM, Nirmal Fernando 
> wrote:
>
>> Hi Danula,
>>
>> Welcome to GSoC 15' ! Can you do some research on directly generating
>> spark transformations using Wrangler and come up with a summary ?
>>
>> On Fri, May 8, 2015 at 11:03 AM, Danula Eranjith > > wrote:
>>
>>> Hi all,
>>>
>>> Thank you for selecting my proposal [1]
>>> 
>>> for GSoC 2015. I am really looking forward to work with you all and
>>> contribute to WSO2.
>>>
>>> I have already completed my primary research on wrangler and would
>>> like to meet you to get feedback on the proposed architecture. I am
>>> planning to start working on the project before 25th of May.
>>>
>>> Thank you,
>>> Danula
>>>
>>> [1] -
>>> https://docs.google.com/document/d/18NFa23CrhXqnHrkl_AuRz3sQ3Axg7SEmiA7l66Hl9_0/edit?usp=sharing
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>

>>>
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> http://wso2.com/
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> http://wso2.com/
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Data Wrangler extension for WSO2 Machine Learner

2015-06-23 Thread Danula Eranjith
Hi Supun,

I modified the "Fill" operation to add what you mentioned.

I used a workaround to to implement certain parts of the operations such
as filling with values from rows above and below.
I created a List Implementation using toArray() method in JavaRDD and then
converted it back to a JavaRDD after the operation.

This will be inefficient (in terms of both memory and time) when working
with very large data sets. But I think its important to have these features
included. Otherwise a user would be left with very limited set of
operations.

Please let me know if you have a different opinion on this.

Thanks,
Danula

On Tue, Jun 16, 2015 at 9:44 AM, Supun Sethunga  wrote:

> Somehow there are issues in implementing certain wrangler functions due to
>> limitations in JavaRDD used in spark
>> e.g. -
>> Fill operation - when filling with values from rows above and below
>> Fold operation
>
>
> Agree, since rows will get executed randomly with spark, inter-row
> operations are not very meaningful.
> But you can slightly modify the implementation of the "Fill" operation,
> such as, to fill values based on an expression/static-value/mean etc. (not
> depending on other rows)..
>
> Thanks,
> Supun
>
> On Tue, Jun 16, 2015 at 9:27 AM, Supun Sethunga  wrote:
>
>> Hi Danula,
>>
>> Sorry for the late reply. Have you got the details you were looking for?
>>
>> It would be great if I could get to know which wrangler operations are
>>> important for a user of the ML
>>
>>
>> Other than the ones you have mentioned in the proposal, think its better
>> to have "Translate" operation as well (to create a new column based on
>> an existing column).
>>
>> Thanks,
>> Supun
>>
>>
>>
>> On Thu, Jun 4, 2015 at 10:11 PM, Danula Eranjith 
>> wrote:
>>
>>> Hi all,
>>>
>>> I am currently working on generating spark transformations related to
>>> the operations available in the data wrangler.
>>>
>>> Data wrangler provides sufficient parameters to re-create these at
>>> spark.I have successfully implemented delete and split operations of
>>> wrangler in spark.
>>>
>>> Once this phase is completed, I can either directly generate these
>>> scripts at wrangler or use the javascript output and convert it to spark
>>> depending on the implementation.
>>>
>>> Somehow there are issues in implementing certain wrangler functions due
>>> to limitations in JavaRDD used in spark
>>>
>>> e.g. -
>>> Fill operation - when filling with values from rows above and below
>>> Fold operation
>>>
>>> It would be great if I could get to know which wrangler operations are
>>> important for a user of the ML
>>>
>>> Thanks,
>>> Danula
>>>
>>> On Wed, Jun 3, 2015 at 8:30 AM, Nirmal Fernando  wrote:
>>>
 Hi Danula,

 Please send an update of your work thus far.

 On Sun, May 10, 2015 at 2:30 PM, Nirmal Fernando 
 wrote:

> Hi Danula,
>
> Welcome to GSoC 15' ! Can you do some research on directly generating
> spark transformations using Wrangler and come up with a summary ?
>
> On Fri, May 8, 2015 at 11:03 AM, Danula Eranjith 
> wrote:
>
>> Hi all,
>>
>> Thank you for selecting my proposal [1]
>> 
>> for GSoC 2015. I am really looking forward to work with you all and
>> contribute to WSO2.
>>
>> I have already completed my primary research on wrangler and would
>> like to meet you to get feedback on the proposed architecture. I am
>> planning to start working on the project before 25th of May.
>>
>> Thank you,
>> Danula
>>
>> [1] -
>> https://docs.google.com/document/d/18NFa23CrhXqnHrkl_AuRz3sQ3Axg7SEmiA7l66Hl9_0/edit?usp=sharing
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


 --

 Thanks & regards,
 Nirmal

 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



>>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> http://wso2.com/
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> http://wso2.com/
> lean | enterprise | middleware
> Mobile : +94 716546324
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] PP- Docker base image

2015-06-23 Thread Udara Liyanage
Hi,

Shall we move Java installation and configurater to base image. Otherwise
we have to repeat the task in every cartridge. Hope every cartridge require
Java. If there are cartridges which does not require Java we can create an
intermediate image (carbon base) which all Carbon products inherits from,
other cartridges just inherit from current base image.

WDYT?



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to create a Axis Service, which should be able to get parameters from the URL with predefined structure.

2015-06-23 Thread Madhawa Gunasekara
Hi All,

I have to write a test-case for the fix which I have done for [1],
Therefore I have to create an Axis Service for the test-case, the axis
service should be able to get parameters through the URL. Parameters can be
taken from the URL with predefined structure like
http://192.168.1.103:9763/services/H2ServiceNameTest/insert/OfficeCode/Colombo/telephone/address1/address2/H2SimpleJsonTest/LK/postalCode/Western
.

How can I implement the Axis Service for the above requirement?

I cant send the parameters like
?DssJsonService="Madhawa"&testAddress="Kasun" this for this issue.

Any help on this matter is highly appreciated.

[1] https://wso2.org/jira/browse/CARBON-15280

Thanks,
Madhawa
-- 
*Madhawa  Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
*
linkedin: *http://lk.linkedin.com/in/mgunasekara
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] using call mediator

2015-06-23 Thread Sandapa Handakumbura
Hi,

Following proxy can be used to get the response you want from the web
service. Property and Log mediators in this proxy are not required for your
task. I just used those to get the 'Rate' in to a property and Log it.







http://www.webservicex.net/CurrencyConvertor.asmx"/>


http://www.webserviceX.NET/"/>








If we can't use xpath expressions inside properties in Class mediator, you
will have to try what Malaka has suggested. That part is not done in above
config.

Anyway if you send below request to above proxy you can get the proper
response from the web service.

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:web="http://www.webserviceX.NET/";>
   
   
  
 AUD
 LKR
  
   



Backend Log :

[2015-06-23 13:28:07,275]  INFO - LogMediator To:
http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: ,
MessageID: urn:uuid:8af82eef-84e9-4404-97c3-a53338279550, Direction:
request, *RATE = 103.5322*, Envelope: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>http://www.webserviceX.NET/
">103.5322

Regards,
Sandapa


On Mon, Jun 22, 2015 at 3:21 PM, Aaquibah Nashry  wrote:

> well..this is my task...
> i have written a proxy
> i need to call a webservice (
> http://www.webservicex.net/CurrencyConvertor.asmx?WSDL) and get the
> return value (the currency exchange rate) and pass that value to a class
> mediator.
> How could this be done?
>
>
>
> Thanks and Regards,
>
> M.R.Aaquibah Nashry
> *Intern, Engineering**| **WSO2, Inc.*
> Mobile : +94 773946123
> Tel  : +94 112662541
> Email : nas...@wso2.com 
>
> On Mon, Jun 22, 2015 at 3:08 PM, Sandapa Handakumbura 
> wrote:
>
>> If you can tell me the exact requirement, I can help you with the config.
>> Using the Payload factory mediator after the Call mediator will not make
>> any difference for the first web service call.
>>
>> What is the request that you're sending to the proxy service? Isn't it
>> something like this?
>>
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:web="
>> http://www.webserviceX.NET/";>
>>
>>
>>   
>>  AUD
>>  LKR
>>   
>>
>> 
>>
>> If the request has required information Call mediator can send it to the
>> web service and get the correct response.
>>
>> Regards,
>> Sandapa
>>
>> On Mon, Jun 22, 2015 at 2:54 PM, Aaquibah Nashry  wrote:
>>
>>> Hi Sandapa,
>>> I need to call it using the call mediator.
>>>
>>> I did the following modifications,
>>>
>>> 
>>> 
>>>http://www.webservicex.net/CurrencyConvertor.asmx?WSDL"/>
>>> 
>>>  
>>>  http://www.webserviceX.NET/ConversionRate"/>
>>>  
>>> 
>>>http://www.webserviceX.NET/
>>> ">
>>>   
>>>  EUR
>>>  USD
>>>   
>>>
>>> 
>>> 
>>>  
>>>  
>>>
>>>
>>>
>>> in the terminal i get the following when i try the proxy using 'try it'
>>>
>>> [2015-06-22 14:35:04,184]  INFO {SERVICE_LOGGER.SalesForceProxy} -
>>> Connection = Login to Salesforce .
>>> [2015-06-22 14:35:05,840]  INFO {SERVICE_LOGGER.SalesForceProxy} -  To:
>>> http://www.w3.org/2005/08/addressing/anonymous, WSAction:
>>> http://www.webserviceX.NET/ConversionRate, SOAPAction:
>>> http://www.webserviceX.NET/ConversionRate, MessageID:
>>> urn:uuid:67c0e1d0-ac7d-496a-9cac-7779e7370791, Direction: request,
>>> Envelope: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>>> xmlns:m0="http://www.webserviceX.NET/
>>> ">EURUSD
>>>
>>>
>>> Why am i not getting the response from the webservice?
>>>
>>> Thanks and Regards,
>>>
>>> M.R.Aaquibah Nashry
>>> *Intern, Engineering**| **WSO2, Inc.*
>>> Mobile : +94 773946123
>>> Tel  : +94 112662541
>>> Email : nas...@wso2.com 
>>>
>>> On Mon, Jun 22, 2015 at 2:40 PM, Sandapa Handakumbura 
>>> wrote:
>>>
 Hi Aaquibah,

 FromCurrency and ToCurrency should be sent in the request. So you can
 simply invoke the service using a tool like SoapUI. Did you try that 
 option?



 ​

 Regards,
 Sandapa


 On Mon, Jun 22, 2015 at 12:11 PM, Aaquibah Nashry 
 wrote:

> Hi,
> i am trying to get the current currency exchange rate from EUR to USD
> from a webservice. i used a call mediator as follows:
>
>  
> 
>http://www.webservicex.net/CurrencyConvertor.asmx?WSDL"/>
> 
>  
>
> I need to send the FromCurrency and the ToCurrency to the 

Re: [Dev] Latest ESB 4.9.0 build for testing

2015-06-23 Thread Sandapa Handakumbura
Will will continue testing with this pack.

Thanks,
Sandapa

On Mon, Jun 22, 2015 at 7:01 PM, Jagath Sisirakumara Ariyarathne <
jaga...@wso2.com> wrote:

> Hi QA Team,
>
> Latest Jenkins daily build ESB pack has been uploaded to below location[1]
> for testing. You can use it to continue ESB 4.9.0 testing and validate
> fixes which are already done.
>
> [1] - https://svn.wso2.org/repos/wso2/scratch/ESB/packs/22062015/
>
> Thanks.
> --
> Jagath Ariyarathne
> Technical Lead
> WSO2 Inc.  http://wso2.com/
> Email: jaga...@wso2.com
> Mob  : +94 77 386 7048
>
>


-- 
Sandapa Handakumbura
Associate Technical Lead
WSO2.Inc. ; http://wso2.com/
M : +94777115866
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Ciphertools - To include or not to include

2015-06-23 Thread Niranjan Karunanandham
Hi Sinthuja / Hemika,

The cipher tool (version 1.0.0-wso2v3) has been released. You can find the
documentation[1] as to how to add it to the product.

[1] -
https://docs.wso2.com/display/Carbon440/Enabling+Cipher+Tool+for+Password+Encryption

Regards,
Nira

On Wed, Jun 17, 2015 at 5:10 PM, Sinthuja Ragendran 
wrote:

> Thanks for the update Niranjan.
>
>
>
> On Wed, Jun 17, 2015 at 4:50 PM, Niranjan Karunanandham  > wrote:
>
>> Hi Sinthuja,
>>
>> The code is pending review. I will inform you once it has been merged to
>> the repo [1].
>>
>> [1] - https://github.com/wso2/cipher-tool
>>
>> Regards,
>> Nira
>>
>> On Wed, Jun 17, 2015 at 4:21 PM, Sinthuja Ragendran 
>> wrote:
>>
>>> Hi Niranjan,
>>>
>>> Do we have the cipher tool as a feature now? If so can you please
>>> provide the name of the feature we need to include in the product.
>>>
>>> Thanks,
>>> Sinthuja
>>>
>>> On Mon, May 25, 2015 at 1:06 PM, Niranjan Karunanandham <
>>> niran...@wso2.com> wrote:
>>>
 Hi Hemika,

 Currently we are in the process of creating the cipher-tool[1] as a
 feature so that products can be easily install via the p2-profile. As of
 now, you will need to copy the cipher-tool jar to /lib and
 the necessary files (cipher-text.properties and cipher-tool.properties) to
 /repository/conf/security for it to work.

 [1] - https://github.com/wso2/cipher-tool.git

 Regards,
 Nira


 On Mon, May 25, 2015 at 12:11 PM, Hemika Kodikara 
 wrote:

> Hi Niranjan,
>
> Any update on this would be appreciated :)
>
> Regards,
> Hemika
>
> Hemika Kodikara
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middleware
> http://wso2.com
>
> Mobile : +9477762
>
> On Sun, May 24, 2015 at 9:52 PM, Manoj Kumara  wrote:
>
>> Hi,
>>
>> Even though we discussed to not ship the cipher-tools with products
>> later there was some discussions mentioning adding this back. I think
>> Niranjan worked on creating a feature for that.
>>
>> @Nira,
>> Whats the suggested plan on this.
>>
>> Regards,
>> Manoj
>>
>>
>> *Manoj Kumara*
>> Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94713448188
>>
>> On Sun, May 24, 2015 at 7:51 PM, Hemika Kodikara 
>> wrote:
>>
>>> Hi Manoj,
>>>
>>> To clarify according to the above discussion, adding a modified "
>>> cipher-text.properties
>>> "
>>> and the "cipher-tool.properties
>>> "
>>>  files would be suffice for MB ?
>>> So the bat and sh files will be added by the user if needed ?
>>>
>>> Regards,
>>> Hemika
>>>
>>> Hemika Kodikara
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middleware
>>> http://wso2.com
>>>
>>> Mobile : +9477762
>>>
>>> On Fri, Mar 27, 2015 at 12:39 PM, Manoj Kumara 
>>> wrote:
>>>
 Hi Hasitha,

 We are shipping the default properties files with the [1]
 ciper-tool repo. Since your product has customized version of the file
 better to use a separate file in the product level and include this 
 using
 product bin.xml.

 [1] https://github.com/wso2/cipher-tool

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Fri, Mar 27, 2015 at 12:32 PM, Hasitha Amal De Silva <
 hasit...@wso2.com> wrote:

> Hi Manoj,
>
> With MB 3.0.0 approaching its alpha release, This is with regards
> to jira [1].
>
> Since carbon 4.3.0 is planned to release this as a separate
> feature, do we need to include cipher-tool files within our product 
> pack ?
>
> As per current situation, MB 3.0.0 release is only dependent on
> the carbon kernel release. Will this feature also be released as part 
> of
> the kernel ?
>
> [1] : https://wso2.org/jira/browse/MB-924
>
> --
> Cheers,
> Hasitha Amal De Silva
>  Software Engineer
> Mobile : 0772037426
> Blog: http://devnutshell.tumblr.com/
> WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
>


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


>>>
>>
>


 --

 *Niranjan Karunanandham*
 Sen

[Dev] Production Endpoint validation button returns invalid for Wikipedia sample- API Manager 1.9.0

2015-06-23 Thread Lasitha Deergawansa
Hi All,

I have created the Wikipedia API manually which was in sample[1]  and it is
working fine. After I clicked on "Edit" and try to validate "Test" button
in "Production end point" in API implementation page it gives as "invalid".
Endpoint: http://en.wikipedia.org/w/api.php


[1]- https://docs.wso2.com/display/AM160/Deploying+and+Testing+Wikipedia+API

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