Re: [Dev] [Orbit] Upgrading Jackson libraries 2.6.1
Hi All All jackson libraries were successfully deployed. On Wed, Aug 19, 2015 at 5:28 PM, Madhawa Gunasekara madha...@wso2.com wrote: Thanks On Wed, Aug 19, 2015 at 4:43 PM, Aruna Karunarathna ar...@wso2.com wrote: Merged. On Wed, Aug 19, 2015 at 3:18 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Madhawa, Will review and update. Regards, Aruna On Wed, Aug 19, 2015 at 10:03 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:12 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jackson-annotations, jackson-core , jackson-databind libraries. previously these libraries bundled as one bundle [2]. These libraries are needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/118 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/com/fasterxml/jackson/wso2/jackson-core/2.3.2.wso2v1/jackson-core-2.3.2.wso2v1.pom 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator *WSO2 Inc* *email : mahesh...@wso2.com mahesh...@wso2.com* *mobile : +94 773 596707* *www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Identity Server OAuth configuration issues
Hi Luiz, For the following issue that you have mentioned, the reason behind this is because this is that you have applied several patches that would need to update the webapps inside *IS_HOME/repository/deployment/server/webapps*. Indeed switching to Java 7 JDK fix that one, but then ran into this nasty one: https://www.mail-archive.com/dev@wso2.org/msg41705.html. Not sure exactly why but could be related to the fact I didn’t have the Carbon patches installed at some point. We assume that you have applied SP01 and then you need to replace the following war files in *IS_HOME/repository/deployment/server/webapps *provided with SP01. - oauth2.war (Provided with SP01 patch1016) - wso2.war (Provided with SP01 patch1016) You'll find these files inside the resources directory in SP01. Also please note that if you have applied any other patch after SP01 and if it says to replace those war files, please do replace the war files provided with the latest patch. *Also make sure you remove the extracted folders named 'authenticationendpoint', 'oauth2' and 'wso2' if exist.* Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Thu, Jun 11, 2015 at 7:23 AM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Luiz, Regarding [1], can you please share the error log you get so we can identify the exact issue and help with that. In addition to that, please share the list of patch directories in IS_HOME/repository/components/patches directory too (Just the patch number is enough... i.e patch0001, patch0002 ...). Regarding MITREid, I've no previous experience in using that but will check internally if any colleague has worked with it and let you know if there are any good references. [1] https://www.mail-archive.com/dev@wso2.org/msg41705.html Regards, Tharindu On Wed, Jun 10, 2015 at 11:25 PM, Luiz Omori luiz.om...@duke.edu wrote: Hi Tharindu, Thanks a lot for your reply. And sorry, had to unsubscribe from the dev list as the number of emails was overwhelming. Indeed switching to Java 7 JDK fix that one, but then ran into this nasty one: https://www.mail-archive.com/dev@wso2.org/msg41705.html. Not sure exactly why but could be related to the fact I didn’t have the Carbon patches installed at some point. In any case, we are working on an web application and will need an OpenID Connect server. I’m in charge of writing a document comparing WSO2 Identity Server against MITREid (https://github.com/mitreid-connect/). Are you aware of any good references that could help me with that? Regards, Luiz From: Tharindu Edirisinghe tharin...@wso2.com Date: Wednesday, June 10, 2015 at 11:27 AM To: Luiz Omori luiz.om...@dm.duke.edu Cc: dev@wso2.org dev@wso2.org Subject: Re: [Dev] WSO2 Identity Server OAuth configuration issues Hi Luiz, Would that be possible for you to change the java version to java7 and try the same scenario. There are some components in the Identity Server 5.0 which are not fully compatible with Java 8. We are in the process of supporting Java 8 in the Identity Server next releases. Regards, Tharindu On Wed, Jun 10, 2015 at 1:04 AM, Luiz Omori luiz.om...@duke.edu wrote: I’m having a not so pleasant, to say the least, experience configuring WSO2 Identify Server, in particular with OAuth2. Currently I’m following https://docs.wso2.com/display/IS500/Adding+a+Service+Provider and after step #4 I see only a blank screen, nothing like in the step #5. I’m running the latest WSO2 Identity Server with patch on MacOS 10.10.3, Java 8 (yes, doesn’t say it’s supported but if it breaks there you are probably doing something bad). Regards, Luiz ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tharindu Edirisinghe Software Engineer | WSO2 Inc Identity Server Team Blog : tharindue.blogspot.com mobile : +94 775 181586 -- Tharindu Edirisinghe Software Engineer | WSO2 Inc Identity Server Team Blog : tharindue.blogspot.com mobile : +94 775 181586 ___ 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] Getting the number of output classes
Also, I got an implementation concern as well, I have the following ajax calls taking place, getting number of input features, getting the response variable getting the number of output classes using the response variable then executing the visualization script Should I use nested ajax calls? On Wed, Aug 19, 2015 at 11:32 PM, Thushan Ganegedara thu...@gmail.com wrote: Oh, makes sense now. I need to know the number of output classes. I got it to work. Thanks On Wed, Aug 19, 2015 at 11:28 PM, Nirmal Fernando nir...@wso2.com wrote: Thushan, What's the feature name? 'Class' was a sample. https://localhost:9443/api/datasets/1/stats?feature= https://localhost:9443/api/datasets/1/stats?feature=Class YourFeatureName On Wed, Aug 19, 2015 at 6:53 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi, I tried the api call, however, I got the following error Error occurred while retrieving summarized stats of feature [name] Class for the dataset [id] 2 of tenant [id] -1234 and [user] admin . Cause: org.wso2.carbon.ml.core.exceptions.MLDataProcessingException - An error occurred while retrieving summary statistics for the dataset: 2: No data is available [2000-140] On Wed, Aug 19, 2015 at 10:43 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi CD, Thanks a lot. On Wed, Aug 19, 2015 at 10:41 PM, CD Athuraliya chathur...@wso2.com wrote: Hi Thushan, You can retrieve the number of output classes (or class labels of response variable) via this [1] API (e.g. https://localhost:9443/api/datasets/1/stats?feature=Class). Number of unique labels in that feature values are given in the JSON response like below. [ { missing: 0, median: 0, values: [ [ 0, 500 ], [ 1, 268 ] ], *unique: 2,* std: 0.477, mean: 0.349, bar: true, key: Frequency } ] [1] https://docs.wso2.com/display/ML100/Retrieve+summarized+statistics+of+a+feature+in+a+dataset+via+REST+API Regards, CD On Wed, Aug 19, 2015 at 5:47 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi all, The D3 visualization component is almost ready. I've to tweak few things. I'm attaching an images of what it looks like. Also there's a button for updating the visualization whenever the Layer Sizes input text is changed Could someone please tell me a way to obtain the number of classes with an ajax call maybe? I could obtain the input feature count but not the output class count. -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 Committers += Anuja Herath
Hi Anuja, 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting the number of output classes
Hi CD, Thanks a lot. On Wed, Aug 19, 2015 at 10:41 PM, CD Athuraliya chathur...@wso2.com wrote: Hi Thushan, You can retrieve the number of output classes (or class labels of response variable) via this [1] API (e.g. https://localhost:9443/api/datasets/1/stats?feature=Class). Number of unique labels in that feature values are given in the JSON response like below. [ { missing: 0, median: 0, values: [ [ 0, 500 ], [ 1, 268 ] ], *unique: 2,* std: 0.477, mean: 0.349, bar: true, key: Frequency } ] [1] https://docs.wso2.com/display/ML100/Retrieve+summarized+statistics+of+a+feature+in+a+dataset+via+REST+API Regards, CD On Wed, Aug 19, 2015 at 5:47 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi all, The D3 visualization component is almost ready. I've to tweak few things. I'm attaching an images of what it looks like. Also there's a button for updating the visualization whenever the Layer Sizes input text is changed Could someone please tell me a way to obtain the number of classes with an ajax call maybe? I could obtain the input feature count but not the output class count. -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005
Hi Harshana, Thanks for pointing out this. You can find Oracle JDK bug report at [1]. [1] http://bugs.java.com/view_bug.do?bug_id=8027686 Thanks, Rajeevan On Wed, Aug 19, 2015 at 6:22 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Since you are having difficulties while installing Java 7u51 on your Mac, we have to patch DevS 3.7.1 to overcome this issue. Since we have already fixed this issue in master branch we will be able to provide a patched jar. Thanks, Viraj. On Wed, Aug 19, 2015 at 6:09 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi John, We just tried to install JDK 7u51 (.dmg) on Mac OS X 10.10.5 but getting the same error as you got. We initially checked this issue (switching between source and design view issue) with Mac OS X 10.9.x and found out that is solved with 7u51. That's why we recommended you to use 7u51 as a workaround. But now JDK installation fails on Mac OS X 10.10.x because of a known issue with JDK installer[1] and it has been fixed with 8u20. [1] https://bugs.openjdk.java.net/browse/JDK-8027686 Thanks, Rajeevan On Mon, Aug 17, 2015 at 6:30 PM, John Hawkins jo...@wso2.com wrote: I just tried to install 7u51 and it comes up with the following error - Your system has Mac OS X Version 10.10.3. This product can be installed on Version 10.7.3 or later. then dumps me out of the install :-( I'm guessing their installer has a problem with parsing the number '10' :-( I can't see a way to install other than through the .dmg (I'm new to mac but nothing comes back in google or the oracle site). Do you have any experience of this sort of thing ? many thanks, john. John Hawkins Director: Solutions Architecture On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Looking at the stack trace you provided in issue TOOLS-3005, I suspect that the same class loading issue described in TOOLS-2958[1] caused this issue. This class loading issue exists on MacOS with Java 7 update 55(7u55) and later updates. As a workaround we can use Java 7 update 51(7u51) with DevS 3.7.1 on Mac OS to avoid this issue. Can you please attach the full log($workspace/.metadata/.log) so that I can confirm the workaround. Thanks, Viraj. [1] - https://wso2.org/jira/browse/TOOLS-2958 On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875 %2B94%20773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [CEP]Window Processors run method
Hi All, I have a small doubt in WindowProcessor. How often the run method of WindowProcessor will be called? Are there any ways that I can control(Schedulers) ? Can anyone explain me on this? Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] Upgrading Mongodb-java-driver library 3.0.0
Thanks On Wed, Aug 19, 2015 at 5:17 PM, Supun Malinga sup...@wso2.com wrote: Merged. @Maheshika, pls deploy this into nexus.. thanks, On Wed, Aug 19, 2015 at 3:23 PM, Supun Malinga sup...@wso2.com wrote: Hi, I'll look into this. thanks, On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:27 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade mongodb-java-driver library. This library is needed to support new MongoDB authentication mechanisms in DSS. [1] https://github.com/wso2/orbit/pull/119 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting the number of output classes
Thushan, What's the feature name? 'Class' was a sample. https://localhost:9443/api/datasets/1/stats?feature= https://localhost:9443/api/datasets/1/stats?feature=ClassYourFeatureName On Wed, Aug 19, 2015 at 6:53 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi, I tried the api call, however, I got the following error Error occurred while retrieving summarized stats of feature [name] Class for the dataset [id] 2 of tenant [id] -1234 and [user] admin . Cause: org.wso2.carbon.ml.core.exceptions.MLDataProcessingException - An error occurred while retrieving summary statistics for the dataset: 2: No data is available [2000-140] On Wed, Aug 19, 2015 at 10:43 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi CD, Thanks a lot. On Wed, Aug 19, 2015 at 10:41 PM, CD Athuraliya chathur...@wso2.com wrote: Hi Thushan, You can retrieve the number of output classes (or class labels of response variable) via this [1] API (e.g. https://localhost:9443/api/datasets/1/stats?feature=Class). Number of unique labels in that feature values are given in the JSON response like below. [ { missing: 0, median: 0, values: [ [ 0, 500 ], [ 1, 268 ] ], *unique: 2,* std: 0.477, mean: 0.349, bar: true, key: Frequency } ] [1] https://docs.wso2.com/display/ML100/Retrieve+summarized+statistics+of+a+feature+in+a+dataset+via+REST+API Regards, CD On Wed, Aug 19, 2015 at 5:47 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi all, The D3 visualization component is almost ready. I've to tweak few things. I'm attaching an images of what it looks like. Also there's a button for updating the visualization whenever the Layer Sizes input text is changed Could someone please tell me a way to obtain the number of classes with an ajax call maybe? I could obtain the input feature count but not the output class count. -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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] [Orbit] Upgrading Mongodb-java-driver library 3.0.0
Hi All Mongo library was successfully deployed. On Wed, Aug 19, 2015 at 5:27 PM, Madhawa Gunasekara madha...@wso2.com wrote: Thanks On Wed, Aug 19, 2015 at 5:17 PM, Supun Malinga sup...@wso2.com wrote: Merged. @Maheshika, pls deploy this into nexus.. thanks, On Wed, Aug 19, 2015 at 3:23 PM, Supun Malinga sup...@wso2.com wrote: Hi, I'll look into this. thanks, On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:27 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade mongodb-java-driver library. This library is needed to support new MongoDB authentication mechanisms in DSS. [1] https://github.com/wso2/orbit/pull/119 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator *WSO2 Inc* *email : mahesh...@wso2.com mahesh...@wso2.com* *mobile : +94 773 596707* *www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] Upgrading Jongo library 1.2
Hi All Jongo library was deployed successfully. On Wed, Aug 19, 2015 at 5:28 PM, Madhawa Gunasekara madha...@wso2.com wrote: Thanks On Wed, Aug 19, 2015 at 4:42 PM, Aruna Karunarathna ar...@wso2.com wrote: Merged. On Wed, Aug 19, 2015 at 4:18 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Thusitha, I have used Dynamic imports to find the import-packages. forgotten to remove it :( . Thanks for mentioning it. I have fixed it. Thanks, Madhawa On Wed, Aug 19, 2015 at 3:42 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi Madhawa, It seems that in the bundle you are using Dynamic imports. Can you verify the use of dynamic imports for this bundle. I also put a comment on the PR can you check on that as well. Thanks /Thusitha On Wed, Aug 19, 2015 at 3:20 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Will do On Wed, Aug 19, 2015 at 3:18 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Thusitha, Can you review this please? Regards, Aruna On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:20 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jongo library. previously this library bundled with mongodb-java-driver osgi bundle. This library is needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/120 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/org/mongodb/wso2/mongo-java-driver/2.11.4.wso2v1/mongo-java-driver-2.11.4.wso2v1.pom -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator *WSO2 Inc* *email : mahesh...@wso2.com mahesh...@wso2.com* *mobile : +94 773 596707* *www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting the number of output classes
Hi Thushan, You can retrieve the number of output classes (or class labels of response variable) via this [1] API (e.g. https://localhost:9443/api/datasets/1/stats?feature=Class). Number of unique labels in that feature values are given in the JSON response like below. [ { missing: 0, median: 0, values: [ [ 0, 500 ], [ 1, 268 ] ], *unique: 2,* std: 0.477, mean: 0.349, bar: true, key: Frequency } ] [1] https://docs.wso2.com/display/ML100/Retrieve+summarized+statistics+of+a+feature+in+a+dataset+via+REST+API Regards, CD On Wed, Aug 19, 2015 at 5:47 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi all, The D3 visualization component is almost ready. I've to tweak few things. I'm attaching an images of what it looks like. Also there's a button for updating the visualization whenever the Layer Sizes input text is changed Could someone please tell me a way to obtain the number of classes with an ajax call maybe? I could obtain the input feature count but not the output class count. -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [AppFac] Data Migration Script for AppFactory Milestone Release 2.2.0-M3
Hi All, The data migration from stratos registries (dev, test and prod) to appfactory runtime database (afdb) is needed for the next appfactory milestone release (2.2.0-M3). I have created a mysql script (stored procedure) for above purpose. The script file is attached here with and it contains the guideline on how to run the script. Thanks, Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 / +1 408 667 6254 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage migration-script.sql Description: application/sql ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting the number of output classes
Hi, I tried the api call, however, I got the following error Error occurred while retrieving summarized stats of feature [name] Class for the dataset [id] 2 of tenant [id] -1234 and [user] admin . Cause: org.wso2.carbon.ml.core.exceptions.MLDataProcessingException - An error occurred while retrieving summary statistics for the dataset: 2: No data is available [2000-140] On Wed, Aug 19, 2015 at 10:43 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi CD, Thanks a lot. On Wed, Aug 19, 2015 at 10:41 PM, CD Athuraliya chathur...@wso2.com wrote: Hi Thushan, You can retrieve the number of output classes (or class labels of response variable) via this [1] API (e.g. https://localhost:9443/api/datasets/1/stats?feature=Class). Number of unique labels in that feature values are given in the JSON response like below. [ { missing: 0, median: 0, values: [ [ 0, 500 ], [ 1, 268 ] ], *unique: 2,* std: 0.477, mean: 0.349, bar: true, key: Frequency } ] [1] https://docs.wso2.com/display/ML100/Retrieve+summarized+statistics+of+a+feature+in+a+dataset+via+REST+API Regards, CD On Wed, Aug 19, 2015 at 5:47 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi all, The D3 visualization component is almost ready. I've to tweak few things. I'm attaching an images of what it looks like. Also there's a button for updating the visualization whenever the Layer Sizes input text is changed Could someone please tell me a way to obtain the number of classes with an ajax call maybe? I could obtain the input feature count but not the output class count. -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] Upgrading Jackson libraries 2.6.1
Merged. On Wed, Aug 19, 2015 at 3:18 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Madhawa, Will review and update. Regards, Aruna On Wed, Aug 19, 2015 at 10:03 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:12 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jackson-annotations, jackson-core , jackson-databind libraries. previously these libraries bundled as one bundle [2]. These libraries are needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/118 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/com/fasterxml/jackson/wso2/jackson-core/2.3.2.wso2v1/jackson-core-2.3.2.wso2v1.pom 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Releasing Carbon Multitenancy
Niranjan will do the release. Thanks. On Tue, Aug 18, 2015 at 5:15 PM, Prabath Ariyarathna prabat...@wso2.com wrote: + KasunG On Tue, Aug 18, 2015 at 5:13 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. Can you please revert the previous merged PR for URL validation since it is breaking the existing API URL validations because API doesn't have service context path and newly added validation checking that path as a mandatory element. Still we couldn't find the way to differentiate proxy services and APIs inside the MultitenentDispatcher. So we decided to revert this and find the proper solution. Please use following PR. https://github.com/wso2/carbon-multitenancy/pull/49 Thanks. On Fri, Aug 7, 2015 at 12:21 PM, Supun Malinga sup...@wso2.com wrote: On Wed, Aug 5, 2015 at 9:14 PM, Supun Malinga sup...@wso2.com wrote: Hi, On Wed, Aug 5, 2015 at 12:59 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. I did small changes on PR to fix the few issues existing in the URL validation. Please check the new changes. Eg:- http://wso2s-MacBook-Pro-2.local:8280//services/t/wso1.com/Proxy1 http://wso2s-MacBook-Pro-2.local:8280/services//t/wso1.com/Proxy1 I checked basic scenarios like proxy service valid and invalid URLs with super tenant and tenant modes and ran available test cases which are related to the proxyServices/APIs in the ESB found no issues but unfortunately at the moment we don't have enough automated test cases to cover the multitenant edge cases. OK this is good. I'll merge the PR then. We should add test cases if they are not there. Please create a jira for that. Merged. thanks, Thanks. On Wed, Aug 5, 2015 at 12:06 PM, Supun Malinga sup...@wso2.com wrote: Hi, We need to release carbon-identity and carbon-registry once the commons is released. This is due to carbon-multitenancy being dependent on identity and registry. Greg and IS teams as we discussed shall we start on those once the commons is out ?. thanks, On Wed, Aug 5, 2015 at 9:14 AM, Supun Malinga sup...@wso2.com wrote: Hi All, We will be releasing carbon-multitenancy today.. Hi Prabath AR, I looked at the diff and fix looks ok. Have we also verified this with ESB team in terms of the approach to the fix ?. If yes I can go ahead and merge this. thanks, On Tue, Aug 4, 2015 at 12:39 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. Please review and merge the PR[1] for this issue[2]. [1] = https://github.com/wso2/carbon-multitenancy/pull/46 [2] = https://wso2.org/jira/browse/ESBJAVA-3992 Thanks. On Tue, Aug 4, 2015 at 10:48 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Supun, We have come across several issues[1], [2], [3] related to tenancy when testing the ESB 490 beta release. We are currently looking into these issues. Did you guys face any issue related to dispatching when testing the AS in multitenant scenarios? [1] https://wso2.org/jira/browse/ESBJAVA-3992 [2] https://wso2.org/jira/browse/ESBJAVA-3989 [3] https://wso2.org/jira/browse/ESBJAVA-3988 Thanks, Chanaka On Mon, Aug 3, 2015 at 10:13 PM, Supun Malinga sup...@wso2.com wrote: Hi Devs, We are going to do $subject soon after carbon commons release. Shout if you have any fixes to be added. thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * --
Re: [Dev] [Orbit] Upgrading Mongodb-java-driver library 3.0.0
Merged. @Maheshika, pls deploy this into nexus.. thanks, On Wed, Aug 19, 2015 at 3:23 PM, Supun Malinga sup...@wso2.com wrote: Hi, I'll look into this. thanks, On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:27 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade mongodb-java-driver library. This library is needed to support new MongoDB authentication mechanisms in DSS. [1] https://github.com/wso2/orbit/pull/119 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Current implementation of the defaultLifecycleEnabled property might confuse ES users
Hi Manu, In an offline discussion with Ayesha, I learnt the following regarding the defaultLifecycleEnabled property: - defaultLifecycleEnabled: *true *This property needs to be set to true in the asset extension (asset.js) when a user wants to attach a lifecycle to an asset type. This is in the event that the user has not already defined a lifecycle when creating the asset type. - defaultLifecycleEnabled: false This property needs to be set to false when the user has defined a lifecycle when creating the asset type. Based on the latter mentioned, ES considers the lifecycle defined in the asset extension (asset.js) as the default lifecycle for the asset type. However, GREG refers to the lifecycle defined in the RXT as the default lifecycle [1]. Is it really necessary to deviate from the concept that GREG uses? This can end-up confusing the user. As the initial impression that the user gets when seeing the defaultLifecycleEnabled property is that if this property is set to true, the lifecycle defined in the RXT will be considered, and if we set this property to false, the lifecycle defined in the asset extension will be considered. However, ES has been designed to work wise versa, which is confusing, because we are telling the user to consider a lifecycle defined in an extension as the default as opposed to the lifecycle that is defined in the RXT, which is the root source for an asset type. I do understand that it is not mandatory to define a lifecycle in the RXT. However, it might be better to change the current ES implementation, so that defaultLifecycleEnabled: true refers to the lifecycle in the RXT. WDYT? [1] https://docs.wso2.com/display/Governance460/Governance+Artifacts+Configuration+Model+Elements#GovernanceArtifactsConfigurationModelElements-ThelifecycleElement Regards, Mariangela *Mariangela Hills* Senior Technical Writer - WSO2, Inc. http://wso2.com Committer and PMC member - Apache Stratos email:mariang...@wso2.com | mobile: +94 773 500185 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005
Hi John, We just tried to install JDK 7u51 (.dmg) on Mac OS X 10.10.5 but getting the same error as you got. We initially checked this issue (switching between source and design view issue) with Mac OS X 10.9.x and found out that is solved with 7u51. That's why we recommended you to use 7u51 as a workaround. But now JDK installation fails on Mac OS X 10.10.x because of a known issue with JDK installer[1] and it has been fixed with 8u20. [1] https://bugs.openjdk.java.net/browse/JDK-8027686 Thanks, Rajeevan On Mon, Aug 17, 2015 at 6:30 PM, John Hawkins jo...@wso2.com wrote: I just tried to install 7u51 and it comes up with the following error - Your system has Mac OS X Version 10.10.3. This product can be installed on Version 10.7.3 or later. then dumps me out of the install :-( I'm guessing their installer has a problem with parsing the number '10' :-( I can't see a way to install other than through the .dmg (I'm new to mac but nothing comes back in google or the oracle site). Do you have any experience of this sort of thing ? many thanks, john. John Hawkins Director: Solutions Architecture On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Looking at the stack trace you provided in issue TOOLS-3005, I suspect that the same class loading issue described in TOOLS-2958[1] caused this issue. This class loading issue exists on MacOS with Java 7 update 55(7u55) and later updates. As a workaround we can use Java 7 update 51(7u51) with DevS 3.7.1 on Mac OS to avoid this issue. Can you please attach the full log($workspace/.metadata/.log) so that I can confirm the workaround. Thanks, Viraj. [1] - https://wso2.org/jira/browse/TOOLS-2958 On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Releasing Carbon Multitenancy
Hi KasunG / Builder Team, Please close the repo and push to staging, so that it can be tested and verified. Regards, Nira On Wed, Aug 19, 2015 at 4:43 PM, KasunG Gajasinghe kas...@wso2.com wrote: Niranjan will do the release. Thanks. On Tue, Aug 18, 2015 at 5:15 PM, Prabath Ariyarathna prabat...@wso2.com wrote: + KasunG On Tue, Aug 18, 2015 at 5:13 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. Can you please revert the previous merged PR for URL validation since it is breaking the existing API URL validations because API doesn't have service context path and newly added validation checking that path as a mandatory element. Still we couldn't find the way to differentiate proxy services and APIs inside the MultitenentDispatcher. So we decided to revert this and find the proper solution. Please use following PR. https://github.com/wso2/carbon-multitenancy/pull/49 Thanks. On Fri, Aug 7, 2015 at 12:21 PM, Supun Malinga sup...@wso2.com wrote: On Wed, Aug 5, 2015 at 9:14 PM, Supun Malinga sup...@wso2.com wrote: Hi, On Wed, Aug 5, 2015 at 12:59 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. I did small changes on PR to fix the few issues existing in the URL validation. Please check the new changes. Eg:- http://wso2s-MacBook-Pro-2.local:8280//services/t/wso1.com/Proxy1 http://wso2s-MacBook-Pro-2.local:8280/services//t/wso1.com/Proxy1 I checked basic scenarios like proxy service valid and invalid URLs with super tenant and tenant modes and ran available test cases which are related to the proxyServices/APIs in the ESB found no issues but unfortunately at the moment we don't have enough automated test cases to cover the multitenant edge cases. OK this is good. I'll merge the PR then. We should add test cases if they are not there. Please create a jira for that. Merged. thanks, Thanks. On Wed, Aug 5, 2015 at 12:06 PM, Supun Malinga sup...@wso2.com wrote: Hi, We need to release carbon-identity and carbon-registry once the commons is released. This is due to carbon-multitenancy being dependent on identity and registry. Greg and IS teams as we discussed shall we start on those once the commons is out ?. thanks, On Wed, Aug 5, 2015 at 9:14 AM, Supun Malinga sup...@wso2.com wrote: Hi All, We will be releasing carbon-multitenancy today.. Hi Prabath AR, I looked at the diff and fix looks ok. Have we also verified this with ESB team in terms of the approach to the fix ?. If yes I can go ahead and merge this. thanks, On Tue, Aug 4, 2015 at 12:39 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. Please review and merge the PR[1] for this issue[2]. [1] = https://github.com/wso2/carbon-multitenancy/pull/46 [2] = https://wso2.org/jira/browse/ESBJAVA-3992 Thanks. On Tue, Aug 4, 2015 at 10:48 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Supun, We have come across several issues[1], [2], [3] related to tenancy when testing the ESB 490 beta release. We are currently looking into these issues. Did you guys face any issue related to dispatching when testing the AS in multitenant scenarios? [1] https://wso2.org/jira/browse/ESBJAVA-3992 [2] https://wso2.org/jira/browse/ESBJAVA-3989 [3] https://wso2.org/jira/browse/ESBJAVA-3988 Thanks, Chanaka On Mon, Aug 3, 2015 at 10:13 PM, Supun Malinga sup...@wso2.com wrote: Hi Devs, We are going to do $subject soon after carbon commons release. Shout if you have any fixes to be added. thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog:
Re: [Dev] [Orbit] Upgrading Jackson libraries 2.6.1
Thanks On Wed, Aug 19, 2015 at 4:43 PM, Aruna Karunarathna ar...@wso2.com wrote: Merged. On Wed, Aug 19, 2015 at 3:18 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Madhawa, Will review and update. Regards, Aruna On Wed, Aug 19, 2015 at 10:03 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:12 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jackson-annotations, jackson-core , jackson-databind libraries. previously these libraries bundled as one bundle [2]. These libraries are needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/118 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/com/fasterxml/jackson/wso2/jackson-core/2.3.2.wso2v1/jackson-core-2.3.2.wso2v1.pom 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] Upgrading Jongo library 1.2
Thanks On Wed, Aug 19, 2015 at 4:42 PM, Aruna Karunarathna ar...@wso2.com wrote: Merged. On Wed, Aug 19, 2015 at 4:18 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Thusitha, I have used Dynamic imports to find the import-packages. forgotten to remove it :( . Thanks for mentioning it. I have fixed it. Thanks, Madhawa On Wed, Aug 19, 2015 at 3:42 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi Madhawa, It seems that in the bundle you are using Dynamic imports. Can you verify the use of dynamic imports for this bundle. I also put a comment on the PR can you check on that as well. Thanks /Thusitha On Wed, Aug 19, 2015 at 3:20 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Will do On Wed, Aug 19, 2015 at 3:18 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Thusitha, Can you review this please? Regards, Aruna On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:20 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jongo library. previously this library bundled with mongodb-java-driver osgi bundle. This library is needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/120 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/org/mongodb/wso2/mongo-java-driver/2.11.4.wso2v1/mongo-java-driver-2.11.4.wso2v1.pom -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Status update] Adding single tenant cartridge support to appfactory
Hi All, I raised the issue in jenkins dev mailing list and still waiting for a response. Standalone jenkins use jetty servelet container [1]. However it's still using winstone[2] for java command line argument parsing which I couldn't find a way to configure SSL clientAuthentication. One workaround is to call stratos services using the stratos admin. The other option is to use a signedJWT token athenticator. Using stratos admin for application(stratos) creation might incur metering or appfactory wall related concerns in-future. IMO if the MutualAuth doesn't work with current jenkins deployment it's better to go for SignedJWT Authenticator. Appreciate your feedback on this regard. [1] https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins [2] http://winstone.sourceforge.net/#configFile On Wed, Aug 19, 2015 at 12:20 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi All, I've completed the following flow for single tenant cartridge. * Creating S2 git repo for app creation. * Creating and deploying the app in stratos and bringing up the cartridge. * Preparing the tomcat cartridge. * Creating s2 repo for app versioning * Cleaning application resources(stratos s2 repos) on deletion. There's an issue in talking to stratos on application versioning. On versioning stratos rest calls(to create app) goes through jenkins, we are using MutualSSL for communication between stratos and deployers bundle. For this to work stratos expect javax.servlet.request.X509Certificate attribute to be set with the certificate object, this attribute is not getting set when the call goes through jenkins. Because of this stratos is unable to authenticate the application creation request. Also there's an error log[1] in jenkins before sending the rest call. This might be the reason for the failure of setting certificate object. FYI client truststore and the keystores are identical in jenkins and stratos side. has anyone encountered a similar issue before? [1] org.apache.commons.httpclient.HttpMethodDirector processAuthenticationResponse SEVERE: Invalid challenge: Basic org.apache.commons.httpclient.auth.MalformedChallengeException: Invalid challenge: Basic at org.apache.commons.httpclient.auth.AuthChallengeParser.extractParams(AuthChallengeParser.java:98) at org.apache.commons.httpclient.auth.RFC2617Scheme.processChallenge(RFC2617Scheme.java:94) at org.apache.commons.httpclient.auth.BasicScheme.processChallenge(BasicScheme.java:112) at org.apache.commons.httpclient.auth.AuthChallengeProcessor.processChallenge(AuthChallengeProcessor.java:162) at org.apache.commons.httpclient.HttpMethodDirector.processWWWAuthChallenge(HttpMethodDirector.java:694) at org.apache.commons.httpclient.HttpMethodDirector.processAuthenticationResponse(HttpMethodDirector.java:668) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:193) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.wso2.carbon.appfactory.s4.integration.StratosRestService.doPost(StratosRestService.java:301) at org.wso2.carbon.appfactory.s4.integration.StratosRestService.deployApplication(StratosRestService.java:134) at org.wso2.carbon.appfactory.deployers.StratosApplicationHandler.createAndDeployStratosApplication(StratosApplicationHandler.java:60) at org.wso2.carbon.appfactory.deployers.AbstractStratosDeployer.addToGitRepo(AbstractStratosDeployer.java:114) at org.wso2.carbon.appfactory.deployers.AbstractStratosDeployer.deploy(AbstractStratosDeployer.java:72) at org.wso2.carbon.appfactory.deployers.AbstractDeployer.deployLatestSuccessArtifact(AbstractDeployer.java:123) at org.wso2.carbon.appfactory.jenkins.deploy.JenkinsArtifactDeployer.deployLatestSuccessArtifact(JenkinsArtifactDeployer.java:84) at org.wso2.carbon.appfactory.jenkins.artifact.storage.AppfactoryArtifactStoragePlugin.doDynamic(AppfactoryArtifactStoragePlugin.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:391) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at
Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005
Hi Rajeevan, The JDK bug you have pointed is from Open JDK not against the Oracle JDK. Is there any evidence such issue is there in Oracle JDK as well? Thanks and Regards, Harshana On Wednesday, August 19, 2015, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi John, We just tried to install JDK 7u51 (.dmg) on Mac OS X 10.10.5 but getting the same error as you got. We initially checked this issue (switching between source and design view issue) with Mac OS X 10.9.x and found out that is solved with 7u51. That's why we recommended you to use 7u51 as a workaround. But now JDK installation fails on Mac OS X 10.10.x because of a known issue with JDK installer[1] and it has been fixed with 8u20. [1] https://bugs.openjdk.java.net/browse/JDK-8027686 Thanks, Rajeevan On Mon, Aug 17, 2015 at 6:30 PM, John Hawkins jo...@wso2.com javascript:_e(%7B%7D,'cvml','jo...@wso2.com'); wrote: I just tried to install 7u51 and it comes up with the following error - Your system has Mac OS X Version 10.10.3. This product can be installed on Version 10.7.3 or later. then dumps me out of the install :-( I'm guessing their installer has a problem with parsing the number '10' :-( I can't see a way to install other than through the .dmg (I'm new to mac but nothing comes back in google or the oracle site). Do you have any experience of this sort of thing ? many thanks, john. John Hawkins Director: Solutions Architecture On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru vi...@wso2.com javascript:_e(%7B%7D,'cvml','vi...@wso2.com'); wrote: Hi John, Looking at the stack trace you provided in issue TOOLS-3005, I suspect that the same class loading issue described in TOOLS-2958[1] caused this issue. This class loading issue exists on MacOS with Java 7 update 55(7u55) and later updates. As a workaround we can use Java 7 update 51(7u51) with DevS 3.7.1 on Mac OS to avoid this issue. Can you please attach the full log($workspace/.metadata/.log) so that I can confirm the workaround. Thanks, Viraj. [1] - https://wso2.org/jira/browse/TOOLS-2958 On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins jo...@wso2.com javascript:_e(%7B%7D,'cvml','jo...@wso2.com'); wrote: Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org'); http://wso2.org/cgi-bin/mailman/listinfo/dev -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org'); http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* -- Sent from Gmail Mobile for IPhone ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005
Hi John, Since you are having difficulties while installing Java 7u51 on your Mac, we have to patch DevS 3.7.1 to overcome this issue. Since we have already fixed this issue in master branch we will be able to provide a patched jar. Thanks, Viraj. On Wed, Aug 19, 2015 at 6:09 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi John, We just tried to install JDK 7u51 (.dmg) on Mac OS X 10.10.5 but getting the same error as you got. We initially checked this issue (switching between source and design view issue) with Mac OS X 10.9.x and found out that is solved with 7u51. That's why we recommended you to use 7u51 as a workaround. But now JDK installation fails on Mac OS X 10.10.x because of a known issue with JDK installer[1] and it has been fixed with 8u20. [1] https://bugs.openjdk.java.net/browse/JDK-8027686 Thanks, Rajeevan On Mon, Aug 17, 2015 at 6:30 PM, John Hawkins jo...@wso2.com wrote: I just tried to install 7u51 and it comes up with the following error - Your system has Mac OS X Version 10.10.3. This product can be installed on Version 10.7.3 or later. then dumps me out of the install :-( I'm guessing their installer has a problem with parsing the number '10' :-( I can't see a way to install other than through the .dmg (I'm new to mac but nothing comes back in google or the oracle site). Do you have any experience of this sort of thing ? many thanks, john. John Hawkins Director: Solutions Architecture On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Looking at the stack trace you provided in issue TOOLS-3005, I suspect that the same class loading issue described in TOOLS-2958[1] caused this issue. This class loading issue exists on MacOS with Java 7 update 55(7u55) and later updates. As a workaround we can use Java 7 update 51(7u51) with DevS 3.7.1 on Mac OS to avoid this issue. Can you please attach the full log($workspace/.metadata/.log) so that I can confirm the workaround. Thanks, Viraj. [1] - https://wso2.org/jira/browse/TOOLS-2958 On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875 %2B94%20773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting the number of output classes
Oh, makes sense now. I need to know the number of output classes. I got it to work. Thanks On Wed, Aug 19, 2015 at 11:28 PM, Nirmal Fernando nir...@wso2.com wrote: Thushan, What's the feature name? 'Class' was a sample. https://localhost:9443/api/datasets/1/stats?feature= https://localhost:9443/api/datasets/1/stats?feature=Class YourFeatureName On Wed, Aug 19, 2015 at 6:53 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi, I tried the api call, however, I got the following error Error occurred while retrieving summarized stats of feature [name] Class for the dataset [id] 2 of tenant [id] -1234 and [user] admin . Cause: org.wso2.carbon.ml.core.exceptions.MLDataProcessingException - An error occurred while retrieving summary statistics for the dataset: 2: No data is available [2000-140] On Wed, Aug 19, 2015 at 10:43 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi CD, Thanks a lot. On Wed, Aug 19, 2015 at 10:41 PM, CD Athuraliya chathur...@wso2.com wrote: Hi Thushan, You can retrieve the number of output classes (or class labels of response variable) via this [1] API (e.g. https://localhost:9443/api/datasets/1/stats?feature=Class). Number of unique labels in that feature values are given in the JSON response like below. [ { missing: 0, median: 0, values: [ [ 0, 500 ], [ 1, 268 ] ], *unique: 2,* std: 0.477, mean: 0.349, bar: true, key: Frequency } ] [1] https://docs.wso2.com/display/ML100/Retrieve+summarized+statistics+of+a+feature+in+a+dataset+via+REST+API Regards, CD On Wed, Aug 19, 2015 at 5:47 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi all, The D3 visualization component is almost ready. I've to tweak few things. I'm attaching an images of what it looks like. Also there's a button for updating the visualization whenever the Layer Sizes input text is changed Could someone please tell me a way to obtain the number of classes with an ajax call maybe? I could obtain the input feature count but not the output class count. -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Getting the number of output classes
Hi all, The D3 visualization component is almost ready. I've to tweak few things. I'm attaching an images of what it looks like. Also there's a button for updating the visualization whenever the Layer Sizes input text is changed Could someone please tell me a way to obtain the number of classes with an ajax call maybe? I could obtain the input feature count but not the output class count. -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting the number of output classes
In such cases we make those calls as synchronous calls (async: false). CD Athuraliya Sent from my mobile device On Aug 19, 2015 7:08 PM, Thushan Ganegedara thu...@gmail.com wrote: Also, I got an implementation concern as well, I have the following ajax calls taking place, getting number of input features, getting the response variable getting the number of output classes using the response variable then executing the visualization script Should I use nested ajax calls? On Wed, Aug 19, 2015 at 11:32 PM, Thushan Ganegedara thu...@gmail.com wrote: Oh, makes sense now. I need to know the number of output classes. I got it to work. Thanks On Wed, Aug 19, 2015 at 11:28 PM, Nirmal Fernando nir...@wso2.com wrote: Thushan, What's the feature name? 'Class' was a sample. https://localhost:9443/api/datasets/1/stats?feature= https://localhost:9443/api/datasets/1/stats?feature=Class YourFeatureName On Wed, Aug 19, 2015 at 6:53 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi, I tried the api call, however, I got the following error Error occurred while retrieving summarized stats of feature [name] Class for the dataset [id] 2 of tenant [id] -1234 and [user] admin . Cause: org.wso2.carbon.ml.core.exceptions.MLDataProcessingException - An error occurred while retrieving summary statistics for the dataset: 2: No data is available [2000-140] On Wed, Aug 19, 2015 at 10:43 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi CD, Thanks a lot. On Wed, Aug 19, 2015 at 10:41 PM, CD Athuraliya chathur...@wso2.com wrote: Hi Thushan, You can retrieve the number of output classes (or class labels of response variable) via this [1] API (e.g. https://localhost:9443/api/datasets/1/stats?feature=Class). Number of unique labels in that feature values are given in the JSON response like below. [ { missing: 0, median: 0, values: [ [ 0, 500 ], [ 1, 268 ] ], *unique: 2,* std: 0.477, mean: 0.349, bar: true, key: Frequency } ] [1] https://docs.wso2.com/display/ML100/Retrieve+summarized+statistics+of+a+feature+in+a+dataset+via+REST+API Regards, CD On Wed, Aug 19, 2015 at 5:47 PM, Thushan Ganegedara thu...@gmail.com wrote: Hi all, The D3 visualization component is almost ready. I've to tweak few things. I'm attaching an images of what it looks like. Also there's a button for updating the visualization whenever the Layer Sizes input text is changed Could someone please tell me a way to obtain the number of classes with an ajax call maybe? I could obtain the input feature count but not the output class count. -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Server startup script cannot handle spaces in parameters passed to the script
Hi Devs, In CEP sample mode, we basically keep a script that changes the axis2 deployment directory by passing the -Daxis2.repo system property to the usual wso2server.sh script [1]. However, if the directory name passed into the above system property contains spaces, the repository path is not taken correctly. I tried adding quotes to the system property, to the value of the system property only and other modifications to resolve this issue from the wso2cep-samples.sh script, but did not succeed. The issue seems to be occurring because of the wso2server.sh command has a $* after specifying the bootstrap class and this variable is not enclosed in quotes [2]. If the $* after the bootstrap class is enclosed in quotes as below, it will work. -DworkerNode=false \ org.wso2.carbon.bootstrap.Bootstrap $* status=$? Is there any adverse effect from enclosing the above variable within quotes? It seems usually it is recommend to enclose variables within quotes in shell scripting [3]. Also, according to [4], $@ might be a better option for the above line. If so, can we modify the startup script so that spaces within quotes or similar special characters are treated correctly? [1] https://github.com/wso2/product-cep/blob/master/modules/distribution/scripts/wso2cep-samples.sh#L68 [2] https://github.com/wso2/carbon4-kernel/blob/master/distribution/kernel/carbon-home/bin/wso2server.sh#L307 [3] http://unix.stackexchange.com/questions/131766/why-does-my-shell-script-choke-on-whitespace-or-other-special-characters [4] http://stackoverflow.com/questions/448407/bash-script-to-receive-and-repass-quoted-parameters Thanks, Lasantha -- *Lasantha Fernando* Senior Software Engineer - Data Technologies Team WSO2 Inc. http://wso2.com email: lasan...@wso2.com mobile: (+94) 71 5247551 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005
Awesome response guys ! Will this patch be available to customers/opensource too ? John Hawkins Director: Solutions Architecture On Wed, Aug 19, 2015 at 1:58 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi Harshana, Thanks for pointing out this. You can find Oracle JDK bug report at [1]. [1] http://bugs.java.com/view_bug.do?bug_id=8027686 Thanks, Rajeevan On Wed, Aug 19, 2015 at 6:22 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Since you are having difficulties while installing Java 7u51 on your Mac, we have to patch DevS 3.7.1 to overcome this issue. Since we have already fixed this issue in master branch we will be able to provide a patched jar. Thanks, Viraj. On Wed, Aug 19, 2015 at 6:09 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi John, We just tried to install JDK 7u51 (.dmg) on Mac OS X 10.10.5 but getting the same error as you got. We initially checked this issue (switching between source and design view issue) with Mac OS X 10.9.x and found out that is solved with 7u51. That's why we recommended you to use 7u51 as a workaround. But now JDK installation fails on Mac OS X 10.10.x because of a known issue with JDK installer[1] and it has been fixed with 8u20. [1] https://bugs.openjdk.java.net/browse/JDK-8027686 Thanks, Rajeevan On Mon, Aug 17, 2015 at 6:30 PM, John Hawkins jo...@wso2.com wrote: I just tried to install 7u51 and it comes up with the following error - Your system has Mac OS X Version 10.10.3. This product can be installed on Version 10.7.3 or later. then dumps me out of the install :-( I'm guessing their installer has a problem with parsing the number '10' :-( I can't see a way to install other than through the .dmg (I'm new to mac but nothing comes back in google or the oracle site). Do you have any experience of this sort of thing ? many thanks, john. John Hawkins Director: Solutions Architecture On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Looking at the stack trace you provided in issue TOOLS-3005, I suspect that the same class loading issue described in TOOLS-2958[1] caused this issue. This class loading issue exists on MacOS with Java 7 update 55(7u55) and later updates. As a workaround we can use Java 7 update 51(7u51) with DevS 3.7.1 on Mac OS to avoid this issue. Can you please attach the full log($workspace/.metadata/.log) so that I can confirm the workaround. Thanks, Viraj. [1] - https://wso2.org/jira/browse/TOOLS-2958 On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875 %2B94%20773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875 %2B94%20773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to use classes in container classpath in a webapp
Hi All, I have a requirement to process some HTTP requests, therefore I have used a webapp. but I need to access some class instances in dss core, but servlet cannot find those class instances in runtime classpath. hence I found ClassNotFound Exceptions. I have registered osgi service to get that class instance. then it worked fine. Is it the best approach to fix this issue. Any help on this matter is highly appreciated. 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] UI validation for API context in publisher.
API Publisher create api only supports following formats according to the tool tip displayed. 1. /foo 2. /foo/bar 3. /foo/{version}/bar If we use something like /{version} it gives ArrayIndexOutOfBound exception. It is good to have a UI validation or have a proper error hailing in the back end. Created a public JIRA to track this.. [1]. [1]. https://wso2.org/jira/browse/APIMANAGER-4061 -- Prasad Tissera Software Engineer. Mobile : +94777223444 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Releasing Carbon Multitenancy
Closed the repo. Please verify - http://maven.wso2.org/nexus/content/repositories/orgwso2carbonmultitenancy-033/ On Wed, Aug 19, 2015 at 7:46 PM, Niranjan Karunanandham niran...@wso2.com wrote: Hi KasunG / Builder Team, Please close the repo and push to staging, so that it can be tested and verified. Regards, Nira On Wed, Aug 19, 2015 at 4:43 PM, KasunG Gajasinghe kas...@wso2.com wrote: Niranjan will do the release. Thanks. On Tue, Aug 18, 2015 at 5:15 PM, Prabath Ariyarathna prabat...@wso2.com wrote: + KasunG On Tue, Aug 18, 2015 at 5:13 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. Can you please revert the previous merged PR for URL validation since it is breaking the existing API URL validations because API doesn't have service context path and newly added validation checking that path as a mandatory element. Still we couldn't find the way to differentiate proxy services and APIs inside the MultitenentDispatcher. So we decided to revert this and find the proper solution. Please use following PR. https://github.com/wso2/carbon-multitenancy/pull/49 Thanks. On Fri, Aug 7, 2015 at 12:21 PM, Supun Malinga sup...@wso2.com wrote: On Wed, Aug 5, 2015 at 9:14 PM, Supun Malinga sup...@wso2.com wrote: Hi, On Wed, Aug 5, 2015 at 12:59 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. I did small changes on PR to fix the few issues existing in the URL validation. Please check the new changes. Eg:- http://wso2s-MacBook-Pro-2.local:8280//services/t/ wso1.com/Proxy1 http://wso2s-MacBook-Pro-2.local:8280/services//t/ wso1.com/Proxy1 I checked basic scenarios like proxy service valid and invalid URLs with super tenant and tenant modes and ran available test cases which are related to the proxyServices/APIs in the ESB found no issues but unfortunately at the moment we don't have enough automated test cases to cover the multitenant edge cases. OK this is good. I'll merge the PR then. We should add test cases if they are not there. Please create a jira for that. Merged. thanks, Thanks. On Wed, Aug 5, 2015 at 12:06 PM, Supun Malinga sup...@wso2.com wrote: Hi, We need to release carbon-identity and carbon-registry once the commons is released. This is due to carbon-multitenancy being dependent on identity and registry. Greg and IS teams as we discussed shall we start on those once the commons is out ?. thanks, On Wed, Aug 5, 2015 at 9:14 AM, Supun Malinga sup...@wso2.com wrote: Hi All, We will be releasing carbon-multitenancy today.. Hi Prabath AR, I looked at the diff and fix looks ok. Have we also verified this with ESB team in terms of the approach to the fix ?. If yes I can go ahead and merge this. thanks, On Tue, Aug 4, 2015 at 12:39 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. Please review and merge the PR[1] for this issue[2]. [1] = https://github.com/wso2/carbon-multitenancy/pull/46 [2] = https://wso2.org/jira/browse/ESBJAVA-3992 Thanks. On Tue, Aug 4, 2015 at 10:48 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Supun, We have come across several issues[1], [2], [3] related to tenancy when testing the ESB 490 beta release. We are currently looking into these issues. Did you guys face any issue related to dispatching when testing the AS in multitenant scenarios? [1] https://wso2.org/jira/browse/ESBJAVA-3992 [2] https://wso2.org/jira/browse/ESBJAVA-3989 [3] https://wso2.org/jira/browse/ESBJAVA-3988 Thanks, Chanaka On Mon, Aug 3, 2015 at 10:13 PM, Supun Malinga sup...@wso2.com wrote: Hi Devs, We are going to do $subject soon after carbon commons release. Shout if you have any fixes to be added. thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com
Re: [Dev] [CEP]Window Processors run method
Hi Pranavan, Based on your previous questions, I assume you're using siddhi 2.0.0-wso2v5. Please find my response inline. On Wed, Aug 19, 2015 at 5:00 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: How often the run method of WindowProcessor will be called? This depends on the specific implementation. For instance, in TimeWindowProcessor [1], each time we put an event into the window, we schedule an event-removing executor which will run t milliseconds later (where t is window size) So, basically run() will be called once for each time an event is put into the window. However, in distributed mode, if the delay isn't enough, run() can be invoked even more than that. To learn about what actually happens, you may try debugging a testcase such as 'WindowTestCase' [2] Are there any ways that I can control(Schedulers) ? Could you please elaborate more on your requirement/usecase - as what exactly you want to control? [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/dependencies/commons/siddhi/2.0.0-wso2v5/modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/processor/window/TimeWindowProcessor.java [2] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/dependencies/commons/siddhi/2.0.0-wso2v5/modules/siddhi-core/src/test/java/org/wso2/siddhi/test/standard/WindowTestCase.java Thanks, Dilini Can anyone explain me on this? Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Dilini Muthumala* Software Engineer, WSO2 Inc. *E-mail :* dil...@wso2.com *Mobile: *+94 713-400-029 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ML] Completed DL Visualization component
Hello, Please find an attached screen capture of the completed DL visualization component -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender
I have updated the Salesforce connector documentation [1] . [1] - https://docs.wso2.com/display/ESBCONNECTORS/Salesforce+Connector Kesavan Yogarajah Associate Software Engineer Mobile :+94 (0) 779 758021 kesav...@wso2.com WSO2, Inc. lean . enterprise . middleware On Wed, Aug 19, 2015 at 9:59 AM, Malaka Silva mal...@wso2.com wrote: I have reopened the jira. We need to add this to docs. Guess this is the issue Dushan has reported as well. On Wed, Aug 19, 2015 at 9:53 AM, Aaquibah Nashry nas...@wso2.com wrote: Hi, @Malaka: Yes, i have imported it to the client-truststore.jks. @Bhathiya: This was the same issue. I had imported the cert from the login page with cn login.salesforce.com. Once i got a cn of *.salesforce.com it works. Thank you all Regards, M.R.Aaquibah Nashry *Intern, Engineering**| **WSO2, Inc.* Mobile : +94 773946123 Tel : +94 112662541 Email : nas...@wso2.com nas...@wso2.com On Tue, Aug 18, 2015 at 7:32 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: When was using Salesforce connector once, I faced a certificate issue. Mentioning about this in case it helps you. I initially imported the cert of login.salesforce.com, it worked fine for login. But its CN was login.salesforce.com. So every request which were sent to ap1.salesforce.com, after login, failed because of the mismatched CN. So I also had to import cert of ap1.salesforce.com, of which CN was *.salesforce.com, to make other requests successful. Thanks, Bhathiya On Tue, Aug 18, 2015 at 9:19 AM, Malaka Silva mal...@wso2.com wrote: Have you imported it to client-truststore.jks? https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service On Tue, Aug 18, 2015 at 6:39 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi Malaka, I did import the .crt file from salesforce.com into the esb home/repository/resources/security folder. Is this the one you are referring to? If so, it didnt work. Regards, M.R.Aaquibah Nashry *Intern, Engineering**| **WSO2, Inc.* Mobile : +94 773946123 Tel : +94 112662541 Email : nas...@wso2.com nas...@wso2.com On Tue, Aug 18, 2015 at 6:33 PM, Malaka Silva mal...@wso2.com wrote: Maybe the issue is related to [1]. Can you try importing the certificate to truststore pls? @Kesavan - Did you experience this behavior intermittently? [1] https://wso2.org/jira/browse/ESBCONNECT-60 On Tue, Aug 18, 2015 at 5:33 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, the sequence previously worked with the getUserInfo. i added an onError=fault, the logs are as follows: [2015-08-18 17:22:45,644] INFO {SERVICE_LOGGER} - To: , MessageID: urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE = Before sf_auth sequence [2015-08-18 17:22:45,644] INFO {SERVICE_LOGGER} - To: , MessageID: urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text = An unexpected error occured, message = null, Envelope: ?xml version=1.0 encoding=utf-8?soapenv:Envelope xmlns:soapenv= http://www.w3.org/2003/05/soap-envelope;soapenv:BodyyAM data written successfully into pipeline table/y/soapenv:Body/soapenv:Envelope [2015-08-18 17:22:45,648] INFO {SERVICE_LOGGER} - Connection = Login to Salesforce . [2015-08-18 17:22:46,928] WARN {SERVICE_LOGGER} - ERROR_CODE : 101500 ERROR_MESSAGE : Error in Sender I have attached the logs after enabling wire logs. Regards, M.R.Aaquibah Nashry *Intern, Engineering**| **WSO2, Inc.* Mobile : +94 773946123 Tel : +94 112662541 Email : nas...@wso2.com nas...@wso2.com On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva mal...@wso2.com wrote: Why are you adding getUserInfo, since you are not using the response from it? Also try adding onError attribute to your sequence and check. eg: onError=fault More on wire logs with [1] [1] http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, 1) I couldn't find the line to enable wire logs in my log4j file. Is it okay if i add the line to it? (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG) 2) My init config is in the sequence *sf_auth* as below: salesforce.init xmlns=http://ws.apache.org/ns/synapse; usernamesesh...@wso2.com/username passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password loginUrlhttps://login.salesforce.com/services/Soap/u/27.0 /loginUrl /salesforce.init 3) When i added the logs, i find that error occurs at salesforce.getUserInfo configKey=*sf_auth* /salesforce.getUserInfo The error logs are as follows: [2015-08-18 14:42:22,950] INFO {SERVICE_LOGGER} - To: , MessageID: urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE = Before sf_auth sequence [2015-08-18 14:42:22,958] INFO {SERVICE_LOGGER} - Connection = Login to Salesforce . [2015-08-18 14:42:26,100] WARN {SERVICE_LOGGER} - ERROR_CODE : 101500
Re: [Dev] [Orbit] Upgrading Jongo library 1.2
Hi Thusitha, I have used Dynamic imports to find the import-packages. forgotten to remove it :( . Thanks for mentioning it. I have fixed it. Thanks, Madhawa On Wed, Aug 19, 2015 at 3:42 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi Madhawa, It seems that in the bundle you are using Dynamic imports. Can you verify the use of dynamic imports for this bundle. I also put a comment on the PR can you check on that as well. Thanks /Thusitha On Wed, Aug 19, 2015 at 3:20 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Will do On Wed, Aug 19, 2015 at 3:18 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Thusitha, Can you review this please? Regards, Aruna On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:20 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jongo library. previously this library bundled with mongodb-java-driver osgi bundle. This library is needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/120 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/org/mongodb/wso2/mongo-java-driver/2.11.4.wso2v1/mongo-java-driver-2.11.4.wso2v1.pom -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Architecture] Arduino Agent for IoT
True that Imesh, for scenarios with heavy traffic. Initially what we had was an implementation based on MQTT (via ActiveMQ). Some concerns with that was the amount of dynamic memory available in the Arduino which is a max of 2MB. So with a publisher to send messages to the queue and a subscriber to receive it took quiet a lot of space. Moreover, anything even close to 1.5MBs causes glitches and resets when run. We will have an MQTT based implementation after refining the code to stay within an acceptable amount of memory usage. However, the HTTP based implementation was done as a POC to indicate our support for HTTP. We are in the process of moving to XMPP as the accepted transport protocol since we learnt that HTTP is IP-bound. This beats the purpose of remotely communicating with devices in different IP networks. We only learnt it in the process of continuous workshops some of which were setup outside the WSO2-Network. Moving to XMPP, overcomes this limitation with a central server handling the accounts related to each of its connected devices. Thanks Very Much. - *Shabir Mohamed* *Software Engineer* WSO2 Inc.; http://wso2.com Email: sha...@wso2.com ayy...@wso2.com Mobile: +94 77 3516019 | +94 71 6583393 On Thu, Aug 20, 2015 at 9:26 AM, Imesh Gunaratne im...@wso2.com wrote: It might be better to use a message broker with MQTT to receive messages instead of running a HTTP server. Since Arduino is single threaded running a HTTP server in it might cause problems. On Tue, Aug 4, 2015 at 6:19 PM, Shabir Mohamed sha...@wso2.com wrote: Hi, I've written an Arduino Agent to connect and push device data (Temperature, Bulb Stats and etc) to our IoT platform. You can find the code at [1] The Agent connects to the internet via a wifi-shield mounted on top of it. A similar version of the same has been written for ethernet-sheilds as well [2]. The agent basically has two components: * 1. PushClient* * 2. HttpServer* The *PushClient* connects to our IoTPlatform and pushes device data at pre-set time intervals. The *HttpServer* is initialised at startup and is continuously checked for any incoming messages in the loop() method of the arduino. The purpose of the HttpServer is allow control signals (ex: switching a bulb or buzzer) to be sent to the Arduino. Your comments as to how we could improve this implementation is highly appreciated. [1] https://github.com/wso2-dev/device-cloud-agents/tree/master/FireAlarmWifiAgent [2] https://github.com/wso2-dev/device-cloud-agents/tree/master/FireAlarmEthernetAgent - *Shabir Mohamed* *Software Engineer* WSO2 Inc.; http://wso2.com Email: sha...@wso2.com ayy...@wso2.com Mobile: +94 77 3516019 | +94 71 6583393 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *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] WSO2 Committers += Omindu Rathnaweera
Congratulations Omindu :) On Tue, Aug 18, 2015 at 12:42 PM, Harsha Thirimanna hars...@wso2.com wrote: On Tue, Aug 18, 2015 at 12:37 PM, Kasun Bandara kas...@wso2.com wrote: Congratulations Omindu !! Congratulations... *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * http://www.apache.org/* *email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770 * *twitter: **http://twitter.com/ http://twitter.com/afkham_azeez* *harshathirimannlinked-in: **http: http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122* *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ramindu De Silva* Software Engineer WSO2 Inc.: http://wso2.com lean.enterprise.middleware email: ramin...@wso2.com sanj...@wso2.com mob: +94 772339350 mob: +94 782731766 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to use classes in container classpath in a webapp
Hi Madhawa, On Aug 20, 2015, at 9:10 AM, Harsha Thirimanna hars...@wso2.com wrote: If that instance is already created within OSGi bundle then you have to expose it as OSGi service to access from web application. Otherwise you have to expose its operation as web service and access from web application. And you have an another option that create servlet within OSGi bundle. I am not sure whether this is recomended to do. We need to check this with kernal team. On Aug 19, 2015 8:38 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi All, I have a requirement to process some HTTP requests, therefore I have used a webapp. but I need to access some class instances in dss core, but servlet cannot find those class instances in runtime classpath. What do you mean by class instances in runtime classpath? hence I found ClassNotFound Exceptions. I have registered osgi service to get that class instance. then it worked fine. Is it the best approach to fix this issue. Any help on this matter is highly appreciated. Thanks, Madhawa -- Madhawa Gunasekara Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +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 mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to use classes in container classpath in a webapp
Hi Kasun, I have a singleton class in dss core. I just need to access it. On Thu, Aug 20, 2015 at 11:03 AM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Madhawa, On Aug 20, 2015, at 9:10 AM, Harsha Thirimanna hars...@wso2.com wrote: If that instance is already created within OSGi bundle then you have to expose it as OSGi service to access from web application. Otherwise you have to expose its operation as web service and access from web application. And you have an another option that create servlet within OSGi bundle. I am not sure whether this is recomended to do. We need to check this with kernal team. On Aug 19, 2015 8:38 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi All, I have a requirement to process some HTTP requests, therefore I have used a webapp. but I need to access some class instances in dss core, but servlet cannot find those class instances in runtime classpath. What do you mean by class instances in runtime classpath? hence I found ClassNotFound Exceptions. I have registered osgi service to get that class instance. then it worked fine. Is it the best approach to fix this issue. Any help on this matter is highly appreciated. 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [BPS] Process cleanup tool does not support postgresql
Hi team, I have been doing db testing for bps 3.5 release for postgresql. The process cleanup tool does not support postgresql. It shows a message saying Unsupported DB Type or Invalid Driver Name! at the startup. Are we have ignored it intentionally?? Do we need to add support for the upcoming release? WDYT. Regards, Vinod Kavinda -- Vinod Kavinda Software Engineer *WSO2 Inc. - lean . enterprise . middleware http://www.wso2.com.* 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] [ESB-Connector] Google Spreadsheet Connector Documentation not Changed
Didn't know that Rajjaz was a member of platform extensions team :) Thank you Rajjaz for working on the required changes in the sandbox space[1]. I have now done the changes in the public space[2] as well. [1] https://docs.wso2.com/display/CONNECTORS/Google+Spreadsheet+Connector [2] https://docs.wso2.com/display/ESBCONNECTORS/Google+Spreadsheet+Connector Best Regards, Nisrin Nisrin Sheriff Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. mobile: +94 776 24 84 56 http://wso2.com On Tue, Aug 18, 2015 at 11:14 AM, Malaka Silva mal...@wso2.com wrote: Rajjaz is also a member of platform extensions team :) On Mon, Aug 17, 2015 at 1:36 PM, Nisrin Sheriff nis...@wso2.com wrote: Hi Rajjaz, Thank you for reporting this. I will get in touch with the connector team and update the docs. Best Regards, Nisrin Nisrin Sheriff Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. mobile: +94 776 24 84 56 http://wso2.com On Mon, Aug 17, 2015 at 10:35 AM, Nirdesha Munasinghe nirde...@wso2.com wrote: Copying Nisrin... On Sun, Aug 16, 2015 at 2:58 PM, Rajjaz Mohammed raj...@wso2.com wrote: Hi All, Please Note $Subject . Authentication method changed to OAuth 2.0 so init method should be oAuth2init . but its still not updated in Documentation. -- Thank you Best Regards *Rajjaz HM* Associate Software Engineer WSO2 Inc. http://wso2.com/ lean | enterprise | middleware Mobile : +94752833834 Email :raj...@wso2.com LinkedIn | Blogger | WSO2 Profile http://wso2.com/about/team/mohammer_rajjaz/ -- You received this message because you are subscribed to the Google Groups WSO2 Documentation Group group. To unsubscribe from this group and stop receiving emails from it, send an email to documentation+unsubscr...@wso2.com. For more options, visit https://groups.google.com/a/wso2.com/d/optout. -- Thanks, Nirdesha Munasinghe, WSO2 Inc. Web:http://wso2.com Mobile: +94 776321920 -- You received this message because you are subscribed to the Google Groups WSO2 Documentation Group group. To unsubscribe from this group and stop receiving emails from it, send an email to documentation+unsubscr...@wso2.com. For more options, visit https://groups.google.com/a/wso2.com/d/optout. -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [MB] Waiting forever on sever startup after configuring qpid-config.xml
Hi, I was trying to reproduce the issue in [1]. I could successfully reproduce the issue in ALPHA pack. But, in latest pack instead of exception, server waits forever on startup after below log messages. [2015-08-19 12:21:54,955] INFO {org.wso2.andes.mqtt.MQTTopicManager} - MQTT andes connecting bridge initialized successfully [2015-08-19 12:21:54,979] INFO {org.dna.mqtt.moquette.server.netty.NettyAcceptor} - Server binded host: 10.100.7.32, port: 1883 [2015-08-19 12:21:55,419] INFO {org.dna.mqtt.moquette.server.netty.NettyAcceptor} - Starting SSL on port 8883 [2015-08-19 12:21:55,419] INFO {org.dna.mqtt.moquette.server.netty.NettyAcceptor} - Server binded host: 10.100.7.32, port: 8883 Execution point stops at *for(ex = this.sequenceBarrier.waitFor(nextSequence); nextSequence = ex; ++nextSequence) {* loop in BatchEventProcessor in disruptor. Any idea about this behaviour? [1] https://wso2.org/jira/browse/MB-1173 Thanks, Anuja. -- Anuja Herath *Software Engineer* *WSO2, Inc.* Mobile : +94 (0)71 429 8861 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Status update] Adding single tenant cartridge support to appfactory
Hi All, I've completed the following flow for single tenant cartridge. * Creating S2 git repo for app creation. * Creating and deploying the app in stratos and bringing up the cartridge. * Preparing the tomcat cartridge. * Creating s2 repo for app versioning * Cleaning application resources(stratos s2 repos) on deletion. There's an issue in talking to stratos on application versioning. On versioning stratos rest calls(to create app) goes through jenkins, we are using MutualSSL for communication between stratos and deployers bundle. For this to work stratos expect javax.servlet.request.X509Certificate attribute to be set with the certificate object, this attribute is not getting set when the call goes through jenkins. Because of this stratos is unable to authenticate the application creation request. Also there's an error log[1] in jenkins before sending the rest call. This might be the reason for the failure of setting certificate object. FYI client truststore and the keystores are identical in jenkins and stratos side. has anyone encountered a similar issue before? [1] org.apache.commons.httpclient.HttpMethodDirector processAuthenticationResponse SEVERE: Invalid challenge: Basic org.apache.commons.httpclient.auth.MalformedChallengeException: Invalid challenge: Basic at org.apache.commons.httpclient.auth.AuthChallengeParser.extractParams(AuthChallengeParser.java:98) at org.apache.commons.httpclient.auth.RFC2617Scheme.processChallenge(RFC2617Scheme.java:94) at org.apache.commons.httpclient.auth.BasicScheme.processChallenge(BasicScheme.java:112) at org.apache.commons.httpclient.auth.AuthChallengeProcessor.processChallenge(AuthChallengeProcessor.java:162) at org.apache.commons.httpclient.HttpMethodDirector.processWWWAuthChallenge(HttpMethodDirector.java:694) at org.apache.commons.httpclient.HttpMethodDirector.processAuthenticationResponse(HttpMethodDirector.java:668) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:193) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.wso2.carbon.appfactory.s4.integration.StratosRestService.doPost(StratosRestService.java:301) at org.wso2.carbon.appfactory.s4.integration.StratosRestService.deployApplication(StratosRestService.java:134) at org.wso2.carbon.appfactory.deployers.StratosApplicationHandler.createAndDeployStratosApplication(StratosApplicationHandler.java:60) at org.wso2.carbon.appfactory.deployers.AbstractStratosDeployer.addToGitRepo(AbstractStratosDeployer.java:114) at org.wso2.carbon.appfactory.deployers.AbstractStratosDeployer.deploy(AbstractStratosDeployer.java:72) at org.wso2.carbon.appfactory.deployers.AbstractDeployer.deployLatestSuccessArtifact(AbstractDeployer.java:123) at org.wso2.carbon.appfactory.jenkins.deploy.JenkinsArtifactDeployer.deployLatestSuccessArtifact(JenkinsArtifactDeployer.java:84) at org.wso2.carbon.appfactory.jenkins.artifact.storage.AppfactoryArtifactStoragePlugin.doDynamic(AppfactoryArtifactStoragePlugin.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:391) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at
Re: [Dev] [Orbit] Upgrading Jackson libraries 2.6.1
Hi Madhawa, Will review and update. Regards, Aruna On Wed, Aug 19, 2015 at 10:03 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:12 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jackson-annotations, jackson-core , jackson-databind libraries. previously these libraries bundled as one bundle [2]. These libraries are needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/118 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/com/fasterxml/jackson/wso2/jackson-core/2.3.2.wso2v1/jackson-core-2.3.2.wso2v1.pom 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] Upgrading Jongo library 1.2
Hi Thusitha, Can you review this please? Regards, Aruna On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:20 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jongo library. previously this library bundled with mongodb-java-driver osgi bundle. This library is needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/120 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/org/mongodb/wso2/mongo-java-driver/2.11.4.wso2v1/mongo-java-driver-2.11.4.wso2v1.pom -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] Upgrading Jongo library 1.2
Will do On Wed, Aug 19, 2015 at 3:18 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Thusitha, Can you review this please? Regards, Aruna On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:20 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jongo library. previously this library bundled with mongodb-java-driver osgi bundle. This library is needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/120 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/org/mongodb/wso2/mongo-java-driver/2.11.4.wso2v1/mongo-java-driver-2.11.4.wso2v1.pom -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] Upgrading Mongodb-java-driver library 3.0.0
Hi, I'll look into this. thanks, On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:27 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade mongodb-java-driver library. This library is needed to support new MongoDB authentication mechanisms in DSS. [1] https://github.com/wso2/orbit/pull/119 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Orbit] Upgrading Jongo library 1.2
Hi Madhawa, It seems that in the bundle you are using Dynamic imports. Can you verify the use of dynamic imports for this bundle. I also put a comment on the PR can you check on that as well. Thanks /Thusitha On Wed, Aug 19, 2015 at 3:20 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Will do On Wed, Aug 19, 2015 at 3:18 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Thusitha, Can you review this please? Regards, Aruna On Wed, Aug 19, 2015 at 10:02 AM, Madhawa Gunasekara madha...@wso2.com wrote: kind reminder on this. On Fri, Aug 14, 2015 at 8:20 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Carbon team, Can you please review and merge this pull request [1] for upgrade jongo library. previously this library bundled with mongodb-java-driver osgi bundle. This library is needed for mongodb-java-driver upgrade. [1] https://github.com/wso2/orbit/pull/120 [2] http://maven.wso2.org/nexus/content/repositories/wso2maven2/org/mongodb/wso2/mongo-java-driver/2.11.4.wso2v1/mongo-java-driver-2.11.4.wso2v1.pom -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 Enterprise Store 2.0.0 Beta2 Released!
*WSO2 Enterprise Store 2.0.0 Beta2 Released !* This is the beta2 of the WSO2 Enterprise Store version 2.0.0, which will create a marketplace for your enterprise assets. You can download the beta2 at [1]. Beta2 specifically contains following bug fixes, improvements, features and tasks. Bug - [STORE-177 https://wso2.org/jira/browse/STORE-177] - Rating for comments should be displayed in store main page - [STORE-301 https://wso2.org/jira/browse/STORE-301] - Tag should only be visible only if that has one or more assets - [STORE-400 https://wso2.org/jira/browse/STORE-400] - Publisher tables broken in low resolutions - [STORE-473 https://wso2.org/jira/browse/STORE-473] - [Intermittent] Exception when server startup. - [STORE-516 https://wso2.org/jira/browse/STORE-516] - assets can still be accessed after unpublishing them from back-office - [STORE-517 https://wso2.org/jira/browse/STORE-517] - Enterprise Store H2 database growing repeatedly - [STORE-523 https://wso2.org/jira/browse/STORE-523] - The incorrect rating values are displayed for assets in the Store - [STORE-524 https://wso2.org/jira/browse/STORE-524] - Clicking on a tag does not list all assets that have the tag attached to it - [STORE-525 https://wso2.org/jira/browse/STORE-525] - Improve invokeLcAction method to include the next state - [STORE-526 https://wso2.org/jira/browse/STORE-526] - Serve assets from /assets instead of /asts - [STORE-527 https://wso2.org/jira/browse/STORE-527] - Fix No checklist item found error when rendering the lifecycle view - [STORE-545 https://wso2.org/jira/browse/STORE-545] - URL on View button of the top assets carousel is wrong - [STORE-563 https://wso2.org/jira/browse/STORE-563] - Enable role specific login for publisher and store - [STORE-586 https://wso2.org/jira/browse/STORE-586] - Change Hardcoded redirect paths for store and publisher apps - [STORE-598 https://wso2.org/jira/browse/STORE-598] - Stop server trying to create resource at each server startup - [STORE-610 https://wso2.org/jira/browse/STORE-610] - ES Publisher Statistics page date range picker does not work - [STORE-625 https://wso2.org/jira/browse/STORE-625] - [Publisher] Add list view to Publisher - [STORE-628 https://wso2.org/jira/browse/STORE-628] - [Publisher] Pagination support for the list view - [STORE-653 https://wso2.org/jira/browse/STORE-653] - Support for RXT lifecycle element - [STORE-662 https://wso2.org/jira/browse/STORE-662] - Same warning printed 3 times - [STORE-664 https://wso2.org/jira/browse/STORE-664] - Search is not working in greg publisher. - [STORE-665 https://wso2.org/jira/browse/STORE-665] - Delete artifact operation is not there in greg publisher - [STORE-671 https://wso2.org/jira/browse/STORE-671] - Provide a nice drop down menu for versiong support - [STORE-682 https://wso2.org/jira/browse/STORE-682] - Hard to find other versions in details pages (not user friendly) - [STORE-688 https://wso2.org/jira/browse/STORE-688] - Asset delete option - [STORE-696 https://wso2.org/jira/browse/STORE-696] - ES does not support for RXT field Tooltips - [STORE-698 https://wso2.org/jira/browse/STORE-698] - ES top menu is not properly render when RXT name is long - [STORE-704 https://wso2.org/jira/browse/STORE-704] - REST API breaks with non existing tenants - [STORE-710 https://wso2.org/jira/browse/STORE-710] - Store Back Office - Disabled Asset Types can be accessed via URL - [STORE-711 https://wso2.org/jira/browse/STORE-711] - Life Cycle History records are not updating - Internet Explorer - [STORE-712 https://wso2.org/jira/browse/STORE-712] - [Internet Explorer] Once a Life Cycle status is Updated and Page refreshed, user is naviaged to the older session details - [STORE-716 https://wso2.org/jira/browse/STORE-716] - Store Front - Disabled Asset Types can be accessed via URL - [STORE-718 https://wso2.org/jira/browse/STORE-718] - Store Front - Bookmarked assets are displayed as Non Bookmarked Items in Asset List view - [STORE-719 https://wso2.org/jira/browse/STORE-719] - UI Issue when Category dropdown list is expanded, in any asset List view which has the option - Internet Explorer - [STORE-720 https://wso2.org/jira/browse/STORE-720] - If the Promote/Demote actions for an asset done via Admin Console, History Life Cycle records are not displayed in the Publisher - [STORE-723 https://wso2.org/jira/browse/STORE-723] - Exception Thrown when creating account from Store Back-Office - [STORE-725 https://wso2.org/jira/browse/STORE-725] - Watermark of Search field is Search Gadgets for every asset type - [STORE-747 https://wso2.org/jira/browse/STORE-747] - Store - Clicking Register should direct to the Registration page - [STORE-749 https://wso2.org/jira/browse/STORE-749] - Error while registering a
[Dev] [Carbon][IS] Add permissions during build phase or first run of the product
Hi All, I need to add some custom permissions for roles in IoT server. Currently I'm adding those permissions to registry directly when product starting up. But I want to know is there any configuration xml or any specific way to do the same? Thanks Regards, /charithag -- *Charitha Goonetilleke* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 751 3669 %2B94777513669 Twitter:@CharithaWs https://twitter.com/CharithaWs, fb: charithag https://www.facebook.com/charithag, linkedin: charithag http://www.linkedin.com/in/charithag ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Status update] Adding single tenant cartridge support to appfactory
Hi, On Wed, Aug 19, 2015 at 5:36 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi All, I raised the issue in jenkins dev mailing list and still waiting for a response. Standalone jenkins use jetty servelet container [1]. However it's still using winstone[2] for java command line argument parsing which I couldn't find a way to configure SSL clientAuthentication. One workaround is to call stratos services using the stratos admin. The other option is to use a signedJWT token athenticator. Using stratos admin for application(stratos) creation might incur metering or appfactory wall related concerns in-future. IMO if the MutualAuth doesn't work with current jenkins deployment it's better to go for SignedJWT Authenticator. +1 for SignedJWTAuthenticator and invoking the service as the tenant admin (and this means -1 doing it as super tenant admin). On the side(not related to this conversation) Is SignedJWTAuthenticator operating without Mutual SSL now? thanks, dimuthu Appreciate your feedback on this regard. [1] https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins [2] http://winstone.sourceforge.net/#configFile On Wed, Aug 19, 2015 at 12:20 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi All, I've completed the following flow for single tenant cartridge. * Creating S2 git repo for app creation. * Creating and deploying the app in stratos and bringing up the cartridge. * Preparing the tomcat cartridge. * Creating s2 repo for app versioning * Cleaning application resources(stratos s2 repos) on deletion. There's an issue in talking to stratos on application versioning. On versioning stratos rest calls(to create app) goes through jenkins, we are using MutualSSL for communication between stratos and deployers bundle. For this to work stratos expect javax.servlet.request.X509Certificate attribute to be set with the certificate object, this attribute is not getting set when the call goes through jenkins. Because of this stratos is unable to authenticate the application creation request. Also there's an error log[1] in jenkins before sending the rest call. This might be the reason for the failure of setting certificate object. FYI client truststore and the keystores are identical in jenkins and stratos side. has anyone encountered a similar issue before? [1] org.apache.commons.httpclient.HttpMethodDirector processAuthenticationResponse SEVERE: Invalid challenge: Basic org.apache.commons.httpclient.auth.MalformedChallengeException: Invalid challenge: Basic at org.apache.commons.httpclient.auth.AuthChallengeParser.extractParams(AuthChallengeParser.java:98) at org.apache.commons.httpclient.auth.RFC2617Scheme.processChallenge(RFC2617Scheme.java:94) at org.apache.commons.httpclient.auth.BasicScheme.processChallenge(BasicScheme.java:112) at org.apache.commons.httpclient.auth.AuthChallengeProcessor.processChallenge(AuthChallengeProcessor.java:162) at org.apache.commons.httpclient.HttpMethodDirector.processWWWAuthChallenge(HttpMethodDirector.java:694) at org.apache.commons.httpclient.HttpMethodDirector.processAuthenticationResponse(HttpMethodDirector.java:668) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:193) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.wso2.carbon.appfactory.s4.integration.StratosRestService.doPost(StratosRestService.java:301) at org.wso2.carbon.appfactory.s4.integration.StratosRestService.deployApplication(StratosRestService.java:134) at org.wso2.carbon.appfactory.deployers.StratosApplicationHandler.createAndDeployStratosApplication(StratosApplicationHandler.java:60) at org.wso2.carbon.appfactory.deployers.AbstractStratosDeployer.addToGitRepo(AbstractStratosDeployer.java:114) at org.wso2.carbon.appfactory.deployers.AbstractStratosDeployer.deploy(AbstractStratosDeployer.java:72) at org.wso2.carbon.appfactory.deployers.AbstractDeployer.deployLatestSuccessArtifact(AbstractDeployer.java:123) at org.wso2.carbon.appfactory.jenkins.deploy.JenkinsArtifactDeployer.deployLatestSuccessArtifact(JenkinsArtifactDeployer.java:84) at org.wso2.carbon.appfactory.jenkins.artifact.storage.AppfactoryArtifactStoragePlugin.doDynamic(AppfactoryArtifactStoragePlugin.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at
Re: [Dev] [Status update] Adding single tenant cartridge support to appfactory
Yup that's the idea. Because with aws lb we can't do mutual ssl. Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Aug 20, 2015 8:54 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, On Wed, Aug 19, 2015 at 5:36 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi All, I raised the issue in jenkins dev mailing list and still waiting for a response. Standalone jenkins use jetty servelet container [1]. However it's still using winstone[2] for java command line argument parsing which I couldn't find a way to configure SSL clientAuthentication. One workaround is to call stratos services using the stratos admin. The other option is to use a signedJWT token athenticator. Using stratos admin for application(stratos) creation might incur metering or appfactory wall related concerns in-future. IMO if the MutualAuth doesn't work with current jenkins deployment it's better to go for SignedJWT Authenticator. +1 for SignedJWTAuthenticator and invoking the service as the tenant admin (and this means -1 doing it as super tenant admin). On the side(not related to this conversation) Is SignedJWTAuthenticator operating without Mutual SSL now? thanks, dimuthu Appreciate your feedback on this regard. [1] https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins [2] http://winstone.sourceforge.net/#configFile On Wed, Aug 19, 2015 at 12:20 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi All, I've completed the following flow for single tenant cartridge. * Creating S2 git repo for app creation. * Creating and deploying the app in stratos and bringing up the cartridge. * Preparing the tomcat cartridge. * Creating s2 repo for app versioning * Cleaning application resources(stratos s2 repos) on deletion. There's an issue in talking to stratos on application versioning. On versioning stratos rest calls(to create app) goes through jenkins, we are using MutualSSL for communication between stratos and deployers bundle. For this to work stratos expect javax.servlet.request.X509Certificate attribute to be set with the certificate object, this attribute is not getting set when the call goes through jenkins. Because of this stratos is unable to authenticate the application creation request. Also there's an error log[1] in jenkins before sending the rest call. This might be the reason for the failure of setting certificate object. FYI client truststore and the keystores are identical in jenkins and stratos side. has anyone encountered a similar issue before? [1] org.apache.commons.httpclient.HttpMethodDirector processAuthenticationResponse SEVERE: Invalid challenge: Basic org.apache.commons.httpclient.auth.MalformedChallengeException: Invalid challenge: Basic at org.apache.commons.httpclient.auth.AuthChallengeParser.extractParams(AuthChallengeParser.java:98) at org.apache.commons.httpclient.auth.RFC2617Scheme.processChallenge(RFC2617Scheme.java:94) at org.apache.commons.httpclient.auth.BasicScheme.processChallenge(BasicScheme.java:112) at org.apache.commons.httpclient.auth.AuthChallengeProcessor.processChallenge(AuthChallengeProcessor.java:162) at org.apache.commons.httpclient.HttpMethodDirector.processWWWAuthChallenge(HttpMethodDirector.java:694) at org.apache.commons.httpclient.HttpMethodDirector.processAuthenticationResponse(HttpMethodDirector.java:668) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:193) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.wso2.carbon.appfactory.s4.integration.StratosRestService.doPost(StratosRestService.java:301) at org.wso2.carbon.appfactory.s4.integration.StratosRestService.deployApplication(StratosRestService.java:134) at org.wso2.carbon.appfactory.deployers.StratosApplicationHandler.createAndDeployStratosApplication(StratosApplicationHandler.java:60) at org.wso2.carbon.appfactory.deployers.AbstractStratosDeployer.addToGitRepo(AbstractStratosDeployer.java:114) at org.wso2.carbon.appfactory.deployers.AbstractStratosDeployer.deploy(AbstractStratosDeployer.java:72) at org.wso2.carbon.appfactory.deployers.AbstractDeployer.deployLatestSuccessArtifact(AbstractDeployer.java:123) at org.wso2.carbon.appfactory.jenkins.deploy.JenkinsArtifactDeployer.deployLatestSuccessArtifact(JenkinsArtifactDeployer.java:84) at org.wso2.carbon.appfactory.jenkins.artifact.storage.AppfactoryArtifactStoragePlugin.doDynamic(AppfactoryArtifactStoragePlugin.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at
Re: [Dev] [ML] Completed DL Visualization component
Hi, This was put in parameters page, as it was how it was decided during the discussion. The argument was that, the user will get a better insight to changing layers sizes as necessary. However, there wasn't a strong view on which page we should have it. The reason I put it on the parameter page is that, user can visualize the network and change the layers sizes without navigating between pages (as opposed to having it in the models page) But I'm open to suggestions On Thu, Aug 20, 2015 at 1:56 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Thushan, Thanks for the update. Any special reason for having it in parameters page? I'd prefer to have it in the model summary page. On Thu, Aug 20, 2015 at 5:28 AM, Thushan Ganegedara thu...@gmail.com wrote: Hello, Please find an attached screen capture of the completed DL visualization component -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Carbon] [Kernel] Membership Scheme Extension Support for Carbon 4.2.0
Hi Kishanthan, I have now sent two pull requests for Carbon 4.4.x and 4.5 branches: https://github.com/wso2/carbon4-kernel/pull/391 https://github.com/wso2/carbon4-kernel/pull/355 Appreciate if you can review and merge. Thanks On Fri, Aug 14, 2015 at 10:30 AM, Imesh Gunaratne im...@wso2.com wrote: Thanks Kishanthan! Appreciate it! I will send a pull request for the 4.4.x git branch and update the current pull request on master branch. Thanks On Fri, Aug 14, 2015 at 10:20 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Applied the fix to patch0012 with r213437. You have to send the same fix to kernel 4.4.x git branch and the proper fix to master. On Thu, Aug 13, 2015 at 5:25 PM, Imesh Gunaratne im...@wso2.com wrote: Hi Kishanthan, I have now updated it and re-attached the diff to the JIRA issue. Please review. Thanks On Thu, Aug 13, 2015 at 3:18 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: So can we just change this to Class.forName ? On Thu, Aug 13, 2015 at 1:26 PM, Imesh Gunaratne im...@wso2.com wrote: On Thu, Aug 13, 2015 at 11:57 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi Imesh, Any specific reason for loading classes using bundleContext.getClass().forName(className) approach? No there is no specific reason for this. On Thu, Aug 13, 2015 at 11:57 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi Imesh, Any specific reason for loading classes using bundleContext.getClass().forName(className) approach? On Wed, Aug 12, 2015 at 5:31 PM, Imesh Gunaratne im...@wso2.com wrote: Hi Devs, Currently in Carbon 4.2.0 we do not have $subject. This is needed for Private PaaS for automating cluster discovery for WSO2 products when running on a cloud environment. According to an offline discussion had with the Carbon team I have now implemented this and provided a diff here [1]. Appreciate if this can be merged to Kernel patch0012. [1] https://wso2.org/jira/browse/CARBON-15340 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 -- *Kishanthan Thangarajah* Associate Technical Lead, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- *Kishanthan Thangarajah* Associate Technical Lead, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- *Kishanthan Thangarajah* Associate Technical Lead, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- *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] [ML] Completed DL Visualization component
On Thu, Aug 20, 2015 at 9:39 AM, Thushan Ganegedara thu...@gmail.com wrote: Hi, This was put in parameters page, as it was how it was decided during the discussion. The argument was that, the user will get a better insight to changing layers sizes as necessary. However, there wasn't a strong view on which page we should have it. I think we should place this diagram within the workflow exactly because of above reason. Unlike other algorithms, multi-layered networks can be visualized and I think we should get the advantage of that by providing some insight about the network when user is specifying it. We can show the utilized network architecture in model summery too. The reason I put it on the parameter page is that, user can visualize the network and change the layers sizes without navigating between pages (as opposed to having it in the models page) But I'm open to suggestions On Thu, Aug 20, 2015 at 1:56 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Thushan, Thanks for the update. Any special reason for having it in parameters page? I'd prefer to have it in the model summary page. On Thu, Aug 20, 2015 at 5:28 AM, Thushan Ganegedara thu...@gmail.com wrote: Hello, Please find an attached screen capture of the completed DL visualization component -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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 -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ML] Completed DL Visualization component
May be we need it in both places. On Thu, Aug 20, 2015 at 9:39 AM, Thushan Ganegedara thu...@gmail.com wrote: Hi, This was put in parameters page, as it was how it was decided during the discussion. The argument was that, the user will get a better insight to changing layers sizes as necessary. However, there wasn't a strong view on which page we should have it. The reason I put it on the parameter page is that, user can visualize the network and change the layers sizes without navigating between pages (as opposed to having it in the models page) But I'm open to suggestions On Thu, Aug 20, 2015 at 1:56 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Thushan, Thanks for the update. Any special reason for having it in parameters page? I'd prefer to have it in the model summary page. On Thu, Aug 20, 2015 at 5:28 AM, Thushan Ganegedara thu...@gmail.com wrote: Hello, Please find an attached screen capture of the completed DL visualization component -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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 -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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] How to use classes in container classpath in a webapp
If that instance is already created within OSGi bundle then you have to expose it as OSGi service to access from web application. Otherwise you have to expose its operation as web service and access from web application. And you have an another option that create servlet within OSGi bundle. I am not sure whether this is recomended to do. We need to check this with kernal team. On Aug 19, 2015 8:38 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi All, I have a requirement to process some HTTP requests, therefore I have used a webapp. but I need to access some class instances in dss core, but servlet cannot find those class instances in runtime classpath. hence I found ClassNotFound Exceptions. I have registered osgi service to get that class instance. then it worked fine. Is it the best approach to fix this issue. Any help on this matter is highly appreciated. 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 http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ 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] [Architecture] Arduino Agent for IoT
It might be better to use a message broker with MQTT to receive messages instead of running a HTTP server. Since Arduino is single threaded running a HTTP server in it might cause problems. On Tue, Aug 4, 2015 at 6:19 PM, Shabir Mohamed sha...@wso2.com wrote: Hi, I've written an Arduino Agent to connect and push device data (Temperature, Bulb Stats and etc) to our IoT platform. You can find the code at [1] The Agent connects to the internet via a wifi-shield mounted on top of it. A similar version of the same has been written for ethernet-sheilds as well [2]. The agent basically has two components: * 1. PushClient* * 2. HttpServer* The *PushClient* connects to our IoTPlatform and pushes device data at pre-set time intervals. The *HttpServer* is initialised at startup and is continuously checked for any incoming messages in the loop() method of the arduino. The purpose of the HttpServer is allow control signals (ex: switching a bulb or buzzer) to be sent to the Arduino. Your comments as to how we could improve this implementation is highly appreciated. [1] https://github.com/wso2-dev/device-cloud-agents/tree/master/FireAlarmWifiAgent [2] https://github.com/wso2-dev/device-cloud-agents/tree/master/FireAlarmEthernetAgent - *Shabir Mohamed* *Software Engineer* WSO2 Inc.; http://wso2.com Email: sha...@wso2.com ayy...@wso2.com Mobile: +94 77 3516019 | +94 71 6583393 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *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] [ML] Completed DL Visualization component
Hi Thushan, Thanks for the update. Any special reason for having it in parameters page? I'd prefer to have it in the model summary page. On Thu, Aug 20, 2015 at 5:28 AM, Thushan Ganegedara thu...@gmail.com wrote: Hello, Please find an attached screen capture of the completed DL visualization component -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia -- Thanks regards, Nirmal Team Lead - WSO2 Machine Learner 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] Load Test Issue On Greg 5.0.0-Alpha
Hi Chandana, We have reproduced this with clean databases as well. server start-up seems like several registry artifacts trying to establish db connection and connection pool exhausted and getting the issue reported in [1]. It's continuously growing the active connections.In order to recover database server needed to be restart. [1] https://wso2.org/jira/browse/REGISTRY-2762 On Fri, Aug 14, 2015 at 12:26 PM, Chalitha Waldeniyage chali...@wso2.com wrote: As per the load test on Greg 5.0.0 alpha,we have run a Jmeter script on the QA two instances. This jmeter script initially copying a text file on the registry root location . This works fine and we have worked with the setup after the load test. But again we have put a load on the /_system/governance/publisher_notes/ location copying 7000 artifacts. After this load test while restarting the server we observed that the startup hangs at org.wso2.carbon.core.init.CarbonServerManager, repository/deployment/server/ We enabled the log4j.logger.org.wso2 DEBUG logs and noticed that it's running a CacheCleanupTask and indexing the connection. According to the offline chat with the team, our first approach was strategically wrong which was coping the 10,000 artifacts to the root location. Therefore we have worked on following two workarounds [1] In order to clear the registry H2 space, remove H2 database from repository/databases. [2] Start with the fresh pack but pointing to the same old gov and conf dabases. But any of these workarounds suggested did not solve the original issue we are facing (server hanging when starting the server) Right now we are trying to reproduce the scenario again by dropping the gov/confg dbs running the load test again under _system/governance/. We will update the threads with the findings. Thank you, Chalitha. -- *Chalitha Maheshwari* Software Engineer-QA, WSO2 Inc. *E-mail:* chali...@wso2.com *Mobile: *+94710 411 112 -- *Chalitha Maheshwari* Software Engineer-QA, WSO2 Inc. *E-mail:* chali...@wso2.com *Mobile: *+94710 411 112 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Releasing Carbon Multitenancy
Hi KasunG. I have tested basic tenant related service dispatching scenarios for ESB and that was working as expected. Thanks. On Wed, Aug 19, 2015 at 11:26 PM, KasunG Gajasinghe kas...@wso2.com wrote: Closed the repo. Please verify - http://maven.wso2.org/nexus/content/repositories/orgwso2carbonmultitenancy-033/ On Wed, Aug 19, 2015 at 7:46 PM, Niranjan Karunanandham niran...@wso2.com wrote: Hi KasunG / Builder Team, Please close the repo and push to staging, so that it can be tested and verified. Regards, Nira On Wed, Aug 19, 2015 at 4:43 PM, KasunG Gajasinghe kas...@wso2.com wrote: Niranjan will do the release. Thanks. On Tue, Aug 18, 2015 at 5:15 PM, Prabath Ariyarathna prabat...@wso2.com wrote: + KasunG On Tue, Aug 18, 2015 at 5:13 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. Can you please revert the previous merged PR for URL validation since it is breaking the existing API URL validations because API doesn't have service context path and newly added validation checking that path as a mandatory element. Still we couldn't find the way to differentiate proxy services and APIs inside the MultitenentDispatcher. So we decided to revert this and find the proper solution. Please use following PR. https://github.com/wso2/carbon-multitenancy/pull/49 Thanks. On Fri, Aug 7, 2015 at 12:21 PM, Supun Malinga sup...@wso2.com wrote: On Wed, Aug 5, 2015 at 9:14 PM, Supun Malinga sup...@wso2.com wrote: Hi, On Wed, Aug 5, 2015 at 12:59 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. I did small changes on PR to fix the few issues existing in the URL validation. Please check the new changes. Eg:- http://wso2s-MacBook-Pro-2.local:8280//services/t/ wso1.com/Proxy1 http://wso2s-MacBook-Pro-2.local:8280/services//t/ wso1.com/Proxy1 I checked basic scenarios like proxy service valid and invalid URLs with super tenant and tenant modes and ran available test cases which are related to the proxyServices/APIs in the ESB found no issues but unfortunately at the moment we don't have enough automated test cases to cover the multitenant edge cases. OK this is good. I'll merge the PR then. We should add test cases if they are not there. Please create a jira for that. Merged. thanks, Thanks. On Wed, Aug 5, 2015 at 12:06 PM, Supun Malinga sup...@wso2.com wrote: Hi, We need to release carbon-identity and carbon-registry once the commons is released. This is due to carbon-multitenancy being dependent on identity and registry. Greg and IS teams as we discussed shall we start on those once the commons is out ?. thanks, On Wed, Aug 5, 2015 at 9:14 AM, Supun Malinga sup...@wso2.com wrote: Hi All, We will be releasing carbon-multitenancy today.. Hi Prabath AR, I looked at the diff and fix looks ok. Have we also verified this with ESB team in terms of the approach to the fix ?. If yes I can go ahead and merge this. thanks, On Tue, Aug 4, 2015 at 12:39 PM, Prabath Ariyarathna prabat...@wso2.com wrote: Hi Supun. Please review and merge the PR[1] for this issue[2]. [1] = https://github.com/wso2/carbon-multitenancy/pull/46 [2] = https://wso2.org/jira/browse/ESBJAVA-3992 Thanks. On Tue, Aug 4, 2015 at 10:48 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Supun, We have come across several issues[1], [2], [3] related to tenancy when testing the ESB 490 beta release. We are currently looking into these issues. Did you guys face any issue related to dispatching when testing the AS in multitenant scenarios? [1] https://wso2.org/jira/browse/ESBJAVA-3992 [2] https://wso2.org/jira/browse/ESBJAVA-3989 [3] https://wso2.org/jira/browse/ESBJAVA-3988 Thanks, Chanaka On Mon, Aug 3, 2015 at 10:13 PM, Supun Malinga sup...@wso2.com wrote: Hi Devs, We are going to do $subject soon after carbon commons release. Shout if you have any fixes to be added. thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn: http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- *Prabath Ariyarathna* *Associate Technical Lead* *WSO2, Inc. * *lean . enterprise . middleware * *Email: prabat...@wso2.com prabat...@wso2.com* *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com* *Flicker : https://www.flickr.com/photos/47759189@N08 https://www.flickr.com/photos/47759189@N08* *Mobile: +94 77 699 4730 * -- Supun Malinga, Senior