Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread Bhathiya Jayasekara
On Wed, Aug 26, 2015 at 2:44 PM, John Hawkins jo...@wso2.com wrote: I did just clear svn and restart mgr and it created -1234 in svn again. -1234 should be created. But only the directory is created? Nothing inside? John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at

Re: [Dev] [Connectors] Storing connector endpoint in registry

2015-08-26 Thread Malaka Silva
Login only happens only once in both cases. On Wed, Aug 26, 2015 at 8:03 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Malaka, I have one question regarding above. Assume we have several query blocks in a single sequence. If we put init block above all of them, all the queries can use

Re: [Dev] Please release the app-manager branch of carbon-store

2015-08-26 Thread Rushmin Fernando
Had an offline chat with KasunG and Udara. This happened due to a version conflict. Bumped the version to 1.4.0. @KasunG, I did a test with stated artifacts [1]. We are good to go. Please release. Thanks Rushmin [1] - http://maven.wso2.org/nexus/content/repositories/orgwso2carbonstore-054/

Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005

2015-08-26 Thread Viraj Rajaguru
Hi John, Please find attached patched jars in https://wso2.org/jira/browse/TOOLS-3005 Jira ticket. org.wso2.developerstudio.eclipse.gmf.esb.diagram_2.0.1.jar org.wso2.developerstudio.eclipse.gmf.esb.edit_2.0.1.jar org.wso2.developerstudio.eclipse.gmf.esb.persistence_2.0.1.jar

Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread John Hawkins
It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote:

Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread John Hawkins
I did just clear svn and restart mgr and it created -1234 in svn again. John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 7:38 PM, John Hawkins jo...@wso2.com wrote: It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme

[Dev] [UES] Connecting a database to dashboard

2015-08-26 Thread Chanuka Dissanayake
Hi, We are going to implement new gadgets(charts) in UES, for that data has to be retrieved by joining mysql database tables (at the moments which is relying on streams). I would like to know if there's a way of directly querying a database in order to get the required data for the gadgets.

Re: [Dev] Append escape character in json payload -ESB RC1 pack

2015-08-26 Thread Kesavan Yogarajah
Yes Malaka. Kesavan Yogarajah Associate Software Engineer Mobile :+94 (0) 779 758021 kesav...@wso2.com WSO2, Inc. lean . enterprise . middleware On Tue, Aug 25, 2015 at 3:42 PM, Malaka Silva mal...@wso2.com wrote: Hi Senduran, Can this be due to [1]? @Keerthika/Kesavan - I guess we are

Re: [Dev] Append escape character in json payload -ESB RC1 pack

2015-08-26 Thread Kesavan Yogarajah
please find the configurations below. *template* template xmlns=http://ws.apache.org/ns/synapse; name=updateIssue parameter name=issueIdOrKey description=a String containing the issue id./ parameter name=issueFields description=The fields of the issue ./ sequence property

Re: [Dev] [UES] Connecting a database to dashboard

2015-08-26 Thread Tanya Madurapperuma
On Wed, Aug 26, 2015 at 12:25 PM, Chanuka Dissanayake chan...@wso2.com wrote: Hi, We are going to implement new gadgets(charts) in UES, for that data has to be retrieved by joining mysql database tables (at the moments which is relying on streams). I would like to know if there's a way of

[Dev] [ES]ES tag cloud support

2015-08-26 Thread Lalaji Sureshika
Hi, Is the $subject available from ES 2.0.0 features or is it disable by default..? This is regarding [1] and problem in [1] is not tags saving problem rather there's no UI option in Enterprise Store to view tags cloud.. [1] https://wso2.org/jira/browse/REGISTRY-2795 Thanks; -- Lalaji

[Dev] Error in publisher and store URL in console.

2015-08-26 Thread Prasanna Dangalla
Hi Manu, I build the G-Reg 5.0.0-SNAPSHOT using carbon-store 2.3.2-SNAPSHOT. In carbon console the publisher and store URL's are broken. [1]. This issue was not there yesterday morning when I build the pack. This commit might be the issue [3]. JIRA created to track this [2] [1] [2015-08-26

Re: [Dev] Install ES features into IoTServer

2015-08-26 Thread Ruwan Yatawara
Hi All, We had a offline chat with Nuwan, since the the AM 1.4.0 feature is already released, to resolve the carbon.commons dependency range issue, we shall create a new branch based on the 1.4.0 release and call it 1.4.1. Thanks and Regards, Ruwan Yatawara Senior Software Engineer, WSO2 Inc.

Re: [Dev] [ES] UX team feedback on following JIRAs

2015-08-26 Thread Chankami Maddumage
Hi Udara, Please check the attached Image. My suggestion is to either use dark shades or lighter shades throughout ES . In the registration page ES use darker shades and after login it use lighter shades .And also its better to add same validation colours for asset creation form (like in

Re: [Dev] [Private PaaS] A Class Not Found Error

2015-08-26 Thread Akila Ravihansa Perera
Hi, We had to revert Imesh's commit due to an issue in ppaas p2 profile. It is now fixed and I've changed Stratos version to 4.1.2-SNAPSHOT in ppaas. I've included kernel patches up to patch0012 in ppaas and uplifted webapp mgt feature versions as well. It now reflects the p2 profile of Stratos.

Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread Chanaka Fernando
Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will

[Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread John Hawkins
Hi Folks, I've deployed a small cluster of ESBs - one manager, two workers. And connected to SVN. However, when I deploy my .car file the only system that looks like it's doing anything is the manager (tells me it's deploying the .car file). I don't see anything in SVN. But I do see the .car

Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005

2015-08-26 Thread John Hawkins
Hi all, Has anyone created this patch at all? If so - where would it be please ? many thanks ! John. John Hawkins Director: Solutions Architecture On Wed, Aug 19, 2015 at 4:43 PM, John Hawkins jo...@wso2.com wrote: Awesome response guys ! Will this patch be available to

Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread Bhathiya Jayasekara
Hi John, Can you please attach 2 carbon.xml files? There must be an issue with dep sync configurations. Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:08 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've deployed a small cluster of ESBs - one manager, two workers. And connected to SVN.

[Dev] [ES][IS] APP Level Authorization permissions are not getting updated instantly

2015-08-26 Thread Ayesha Dissanayaka
Hi all, As I was looking into [1], I observed $subject as the cause to this Tenant Users cannot login to Publisher and Store if they have tried to login without role permission for the first time issue. When I remove AuthorizationCacheEnabled property from user-mgt.xml above issue[1] is no longer

Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread Bhathiya Jayasekara
Hi John, Dep-sync configs look good. If your svn server is functioning fine, this should work. Are you sure you don't see any logs related to svn, in manager node? Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:21 PM, John Hawkins jo...@wso2.com wrote: Sure - there you go - thanks ! John

Re: [Dev] [C5] Jacoco reports are not generating for Pax-Exam Test cases

2015-08-26 Thread Aruna Karunarathna
Krishantha and I were able to resolve this issue. The problem here was, since osgi-tests is a separate module, the jacoco plugin was unable to find the class files in core bundle for the report generation. Thanks Krishantha for the support given to resolve the issue. Regards, Aruna On Wed, Aug

Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread John Hawkins
I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster

Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread Bhathiya Jayasekara
Hi John, On Wed, Aug 26, 2015 at 1:25 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn I also have experienced such strange behaviors when I had

Re: [Dev] clustering ESB: deployment of artifacts?

2015-08-26 Thread John Hawkins
Sure - there you go - thanks ! John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 5:17 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi John, Can you please attach 2 carbon.xml files? There must be an issue with dep sync configurations. Thanks, Bhathiya On Wed,

Re: [Dev] [ML] Wrangler Integration

2015-08-26 Thread Danula Eranjith
Hi, I added the component at [1] https://github.com/danula/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.wrangler Please have a look. [1] - https://github.com/danula/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.wrangler Danula On Tue, Aug 25, 2015 at 8:35 PM, Danula Eranjith

Re: [Dev] [ML] Wrangler Integration

2015-08-26 Thread Supun Sethunga
Hi Danula, Few comments: - You might have to register the component in the OSGI environment, to be able to call the services from a another component. Refer [1] on how to do this. - Better to introduce an interface for WranglerOperation class. - Add class level/ method level

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-26 Thread Chanaka Fernando
Hi Nirmal, I tried to switch to analytics-commons datapublisher snapshot version. I could install the ML features without any issue. But now I am getting the following exception[1] at the ESB startup. Looks like this class is not available in the datapublisher component. @Sinthuja, Lasantha: How

Re: [Dev] [UES] Connecting a database to dashboard

2015-08-26 Thread Chanuka Dissanayake
Hi Tanya, Thanks for the information. What I meant is, at the moment gadgets are retrieving the data via streams right? So if we want to query the data by joining few tables how can we do that, and it's not one time retrieval we need to poll the data. Regards, Chanuka. On Wed, Aug 26, 2015 at

[Dev] [C5] Jacoco reports are not generating for Pax-Exam Test cases

2015-08-26 Thread Aruna Karunarathna
Hi all, After integrating the pax-exam plugin to the kernel. Jacoco reports are not generated for the OSGi based tests. Following is the output I'm getting. --- jacoco-maven-plugin:0.7.5.201505241946:restore-instrumented-classes (default-restore-instrumented-classes) @ osgi-tests --- [INFO]

Re: [Dev] [PPaaS] WSO2 Private PaaS build failure

2015-08-26 Thread Thanuja Uruththirakodeeswaran
Hi devs, This occurred because the feature *org.apache.stratos.tenant.activity.* *server.feature* is removed from Stratos 4.1.2. If we remove features which are not used in Stratos 4.1.2 and build Private PaaS using Stratos 4.1.2, then it gets build successfully. The changes needed for this can

Re: [Dev] Error in publisher and store URL in console.

2015-08-26 Thread Manuranga Perera
got it, will fix soon. On Wed, Aug 26, 2015 at 12:32 PM, Prasanna Dangalla prasa...@wso2.com wrote: Hi Manu, I build the G-Reg 5.0.0-SNAPSHOT using carbon-store 2.3.2-SNAPSHOT. In carbon console the publisher and store URL's are broken. [1]. This issue was not there yesterday morning when I

Re: [Dev] XMLStreamException cannot be resolved. 'event' component UI.

2015-08-26 Thread Hemika Kodikara
Hi All, I have resolved the error by adding a new method which takes an String instead of the OMElement and then converting it to an OMElement inside the method. See PR : https://github.com/wso2/carbon-commons/pull/138 Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean .

[Dev] [Private PaaS] Only One Tenant can Sign Up for an Application via the UI

2015-08-26 Thread Imesh Gunaratne
Hi Devs, I see $subject, steps to re-create: 1. Deploy a Multi-Tenant application 2. Sign up for the above application using Super Tenant 3. Create a new tenant and login using tenant admin 4. Go to the applications page, the Sign Up button is not visible. It looks like there is an

[Dev] Please release the app-manager branch of carbon-store

2015-08-26 Thread Rushmin Fernando
Hi Manu, Udara $subject. Please merge [1] before you initiate the release process. Thanks Rushmin [1] - https://github.com/wso2/carbon-store/pull/169 -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile :

[Dev] Removing org.wso2.stratos.appserver.sample.installer.ui.feature source

2015-08-26 Thread Kalpa Welivitigoda
Hi all, During the process of AS-5.3.0-beta1 release we found [1] to have no usages. Hence though to remove it from the code base. If there are any concerns, please raise. [1]

[Dev] API Call Rate

2015-08-26 Thread Gelareh Abooghadareh
Hi everyone, I want to use the calling rate of an API which is managed in the API manager. Is there any possibility to get to this rate without installing Bam? As I don't need the graphical statistics, but only the rate as a number. Thanks and regards Gelareh

Re: [Dev] Removing org.wso2.stratos.appserver.sample.installer.ui.feature source

2015-08-26 Thread KasunG Gajasinghe
+1 to remove. On Wed, Aug 26, 2015 at 2:52 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Hi all, During the process of AS-5.3.0-beta1 release we found [1] to have no usages. Hence though to remove it from the code base. If there are any concerns, please raise. [1]

[Dev] [Private PaaS] Artifact Checkout Path is Not Correct for Super Tenant

2015-08-26 Thread Imesh Gunaratne
Hi Devs, I see $subject, have a look at the below log: [2015-08-26 08:18:20,980] DEBUG {subscriber.py:on_message} - Message received: instance/notifier/ArtifactUpdatedEvent: {clusterId:wso2esb-481-application.wso2esb-481-manager.wso2esb-481-manager.domain,repoUserName:,repoPassword:,repoURL:

[Dev] [ES] Registry subscription broken after enabling email username

2015-08-26 Thread Udara Rathnayake
Hi Chandana, We are getting following[1] after enabling email username. Any idea about this? [1] [2015-08-26 15:10:32,218] ERROR {org.wso2.carbon.registry.eventing.services.EventingServiceImpl} - Unable to add subscription org.wso2.carbon.event.core.exception.EventBrokerException: User

Re: [Dev] [ES] Registry subscription broken after enabling email username

2015-08-26 Thread Hemika Kodikara
Hi All, From MB side also we are getting an error because the username is coming as ad...@wso2.com. If email username is enabled, what is the correct way to get username(i.e as admin) ? Once we make enable this, everyplace we have used the username have to be modified to check whether email

[Dev] RelayUtils Error while building Passthrough stream in ESB_RC1 pack

2015-08-26 Thread Keerthika Mahendralingam
Hi All, When we receive invalid json format response with the content-type application/json header we are getting following builder formatting error in ESB-RC1 pack but it works with ESB-Beta-Snapshot. Is this expected behaviour? If so, how to resolve this? [2015-08-26 17:15:15,044] DEBUG - wire

[Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Mushthaq Rumy
Hi, I created my stub using axis2 and when I run my client I get the following error in the stub. Unexpected subelement {http://schemas.xmlsoap.org/soap/envelope/}Body; I checked the request and responses using TcpMon. *Requests* 1. This request is to add the order (This works fine as it is

[Dev] Error in console when adding a WSDL

2015-08-26 Thread Prasanna Dangalla
Hi Manu, We are getting an error when adding WSDL in publisher[1]. I went through the code and noticed that its happening from this method[2]. I have created the JIRA[3] and attached the fix[PR, 4] as well. Review and merge it. You might have to change in your side tag.length validations (if

Re: [Dev] [IS] BPEL and HumanTask packages for Workflow support in IS

2015-08-26 Thread Vinod Kavinda
Hi Harsha, Please find the updated bpel package [1] for the request parameter issue as per our offline discussion. [1] - https://svn.wso2.org/repos/wso2/people/vinod/workflow-support/ApprovalProcess_3.0.1.zip Regards, Vinod On Mon, Aug 3, 2015 at 10:20 PM, Vinod Kavinda vi...@wso2.com wrote:

Re: [Dev] [ES] Registry subscription broken after enabling email username

2015-08-26 Thread Hemika Kodikara
Hi All, The InMemoryDeliveryManager.subscribe() method is not invoked by MB side. We use JMSDeliveryManager instead. I have a doubt, even if set email as the username, shouldn't this be properly configured with an LDAP as per [1] to make this scenario work ? [1] -

Re: [Dev] [BPS][IS] Admin console stuck with bpel/human task deployment

2015-08-26 Thread Harsha Thirimanna
Hi Nandika, As We discussed, I have created a Jira [1] for this. It is better if we can get fix for this before our release on next month :). And thanks for your help to solve other issues and everything are working fine now except the above issue. [1] https://wso2.org/jira/browse/BPS-818

[Dev] Do we have Load Balancing Data Publisher sample?

2015-08-26 Thread Chanaka Fernando
Hi Sinthuja, We have decided to use the datapublisher agent code in the carbon-analytics-common repo for the ESB data publishing use cases. In the previous implementation, we had a separate Data Publisher for Load Balancing scenario. But with the new API, I couldn't find a sample to achieve the

Re: [Dev] API Call Rate

2015-08-26 Thread Chanuka Dissanayake
Hi Gelareh, You can see the throttling limit as a number when you are going to subscribe to the api in store. See it below the tiers drop downbox in grey color. Version: API Manager 1.9.0 Regards, Chanuka. On Wed, Aug 26, 2015 at 3:48 PM, Gelareh Abooghadareh abooghada...@m-creations.com

Re: [Dev] Need to improt javax.naming and javax.sql.* inside maven imports for OSGi

2015-08-26 Thread Charitha Goonetilleke
Hi, After going through sources, I figured out carbon kernel has configuration file[1] to export several packages to OSGi runtime including javax.*. So it is required to import packages specified in launch.ini[1] file as OSGi imports. [1]

Re: [Dev] API Call Rate

2015-08-26 Thread Gelareh Abooghadareh
Hi, thanks for your reply. What I'm looking for is the number of How often an API has been called till now the number you pointed to is how often a user is allowed to call an API. Do you have any ideas about the other number? Thanks, Gelareh On 08/26/2015 01:36 PM, Chanuka Dissanayake

Re: [Dev] [C5] Jacoco reports are not generating for Pax-Exam Test cases

2015-08-26 Thread Krishantha Samaraweera
Hi Aruna, Can you use Jacoco ReportGenerator class at [1] and parse your jacoco.exec file into it. By doing it we will be able to analyse what has been captured in data dump file. You better escalate the issue to Jacoco community in same time. Thanks, Krishantha. [1]

Re: [Dev] [IS] BPEL and HumanTask packages for Workflow support in IS

2015-08-26 Thread Harsha Thirimanna
Thanks Vinod, *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:

Re: [Dev] Please release the app-manager branch of carbon-store

2015-08-26 Thread Rushmin Fernando
Hi Udara, Kasun pointed out that the release.properties file is missing in the features. I sent a pull request with relevant changes. We will have to revert the release commits and re-do :-( Sorry Thanks Rushmin On Wed, Aug 26, 2015 at 3:23 PM, Udara Rathnayake uda...@wso2.com wrote: Hi

Re: [Dev] Please release the app-manager branch of carbon-store

2015-08-26 Thread Udara Rathnayake
Hi Rushmin/Kasun, I have re-staged with this modification. On Wed, Aug 26, 2015 at 4:24 PM, Rushmin Fernando rush...@wso2.com wrote: Hi Udara, Kasun pointed out that the release.properties file is missing in the features. I sent a pull request with relevant changes. We will have to

Re: [Dev] Please release the app-manager branch of carbon-store

2015-08-26 Thread KasunG Gajasinghe
Hi, I'm getting the following error. When trying to close the repo. We have not faced such issue before, so we need to see why it does not allow us to close it. May be the reason is that 2.0.0 versions of the same artifacts are already in the nexus. I need to check more on this. -*Artifact

Re: [Dev] [Connectors] Storing connector endpoint in registry

2015-08-26 Thread Bhathiya Jayasekara
Hi Malaka, I have one question regarding above. Assume we have several query blocks in a single sequence. If we put init block above all of them, all the queries can use the session created by that init block. (i.e. one time login.) If we refer init block with *configKey *in every query, can I

Re: [Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Harsha Thirimanna
On Wed, Aug 26, 2015 at 6:02 PM, Mushthaq Rumy musht...@wso2.com wrote: / It is better if you can attach full stack trace . *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 *

Re: [Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Harsha Thirimanna
On Wed, Aug 26, 2015 at 6:37 PM, Mushthaq Rumy musht...@wso2.com wrote: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://schemas.xmlsoap.org/soap/envelope/}Body ​Can you try out this with building stub that is pointing jaxbri ?​ *Harsha Thirimanna* Senior Software

Re: [Dev] Can't upload carbon app in cluster mode

2015-08-26 Thread John Hawkins
Thanks for that. I realised what my problem was eventually after triple checking my nginx file again. In one of the blogs about this stuff someone had set a server location to be /carbon - which I had blindly followed. Of course - that doesn't work when the url is /fileupload ! thanks for your

Re: [Dev] [ESB 490-Beta]Exception when adding topic from the management console

2015-08-26 Thread Hemika Kodikara
Hi Chanaka, This has been merged now. Very sorry for the delay. Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Mon, Aug 10, 2015 at 3:45 PM, Hemika Kodikara hem...@wso2.com wrote: Hi All, Please merge the

Re: [Dev] Updated Invitation: [Code review]Developer Studio plug-in for Analytics Proje... @ Wed Aug 26, 2015 11am - 12pm (saji...@wso2.com)

2015-08-26 Thread Sajith Dimal
Hi all, Please find the notes of this functional review. Attendees: Jasintha Dasanayake, Gayan Yalpathwala, Tishan Dahanayakage, Rajeev Sampath, Sajith Dimal. *Suggestions:* - Dependency artifacts must not be validated during deploy time. If there is going to be such validation, then

Re: [Dev] Please release the app-manager branch of carbon-store

2015-08-26 Thread Udara Rathnayake
Hi Kasun, Store 1.3.0 for AppManager released to the staging.Please close the repo and provide the URL so Rushmin can test the product build. Regards, UdaraR On Wed, Aug 26, 2015 at 2:52 PM, Rushmin Fernando rush...@wso2.com wrote: Hi Manu, Udara $subject. Please merge [1] before you

Re: [Dev] [ES] Registry subscription broken after enabling email username

2015-08-26 Thread Chandana Napagoda
Hi Udara, We need to check this with MB team. @Hemika/Ramith Do you have any idea about this ? Regards, Chandana On Wed, Aug 26, 2015 at 3:30 PM, Udara Rathnayake uda...@wso2.com wrote: Hi Chandana, We are getting following[1] after enabling email username. Any idea about this? [1]

Re: [Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Mushthaq Rumy
Hi, The stack trace is a follows, org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement {http://schemas.xmlsoap.org/soap/envelope/}Body at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at

Re: [Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Dinusha Boteju
Hi Mushthaq, From the little info you have given, I did a bit of a research. One possible reason for this could be incompatible response type. Have a look at [1]. [1] -

Re: [Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Mushthaq Rumy
Thanks Dinusha, I'll check and see. Thanks, On Wed, Aug 26, 2015 at 6:59 PM, Dinusha Boteju dinus...@wso2.com wrote: Hi Mushthaq, From the little info you have given, I did a bit of a research. One possible reason for this could be incompatible response type. Have a look at [1]. [1] -

Re: [Dev] Sample Execution Summary -ML

2015-08-26 Thread Nirmal Fernando
Thanks a lot Fazlan! @Mano please fix these issues on samples asap. On Wed, Aug 26, 2015 at 7:13 PM, Fazlan Nazeem fazl...@wso2.com wrote: Hi Nirmal, I have run the samples with the latest build and some of the samples cannot be successfully executed. Error messages for each failed sample is

Re: [Dev] Do we have Load Balancing Data Publisher sample?

2015-08-26 Thread Chanaka Fernando
Hi Sinthuja, Thanks for the quick response. We'll have a look into the sample. Regards, Chanaka On Wed, Aug 26, 2015 at 8:48 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Hi Chanaka, Now there are no different APIs exist for loadbalancing endpoint and single endpoint, and same

Re: [Dev] [ESB] JMS Transport Performance Testing

2015-08-26 Thread Shafreen Anfar
Hi Eranda, Have you completed the perf test ? will you be able to share the performance numbers. And also please do a long running test and make sure that there is no memory leak. On Sat, Aug 15, 2015 at 2:16 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi Eranda, You can use the regular

[Dev] WSO2 AppFactory 2.2.0 Milestone 3 Released!

2015-08-26 Thread Amalka Subasinghe
*WSO2 AppFactory 2.2.0 Milestone 3 Released!* WSO2 AppFactory team is pleased to announce the release of version 2.2.0-M3 of the WSO2 App Factory. WSO2 App Factory is a multi-tenant, elastic and self-service enterprise platform that enables multiple project teams to collaboratively create, run

Re: [Dev] Do we have Load Balancing Data Publisher sample?

2015-08-26 Thread Sinthuja Ragendran
Hi Chanaka, Now there are no different APIs exist for loadbalancing endpoint and single endpoint, and same DataPublisher API will be used to both. For example, if you need loadbalancing endpoints, then you can pass the URL as comma separated as before to the DataPublisher API, then it will

Re: [Dev] API Call Rate

2015-08-26 Thread Bhathiya Jayasekara
Hi, Without BAM/DAS, you can't achieve this out of the box. But you can write a custom handler[1] to count API calls. [1] https://docs.wso2.com/display/AM190/Writing+Custom+Handlers Thanks, Bhathiya On Wed, Aug 26, 2015 at 8:48 AM, Gelareh Abooghadareh abooghada...@m-creations.com wrote:

[Dev] Optimizing the log.isDebugEnabled()

2015-08-26 Thread Vanjikumaran Sivajothy
Hi Devs, I have seen most of the code in the WSO2 code repo is making use of log.isDebugEnabled() [1] every time before it debug log. Why do not we introduce a instance variable and make use of that variable to check the debug flag? [1] if (*log.isDebugEnabled()*) { log.debug(Log XX);

Re: [Dev] [ES][IS] APP Level Authorization permissions are not getting updated instantly

2015-08-26 Thread Manuranga Perera
As far as I know, GetAllRolesOfUserEnabled is ok to remove but AuthorizationCacheEnabled has a significant performance hit if we remove. please check if there is any other work-around. On Wed, Aug 26, 2015 at 9:53 PM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, As I was looking into

Re: [Dev] Sample Execution Summary -ML

2015-08-26 Thread Manorama Perera
Thanks Fazlan for reporting this issue. This issue is due to the improvements done in feature type (categorical/numerical) identification algorithm. In the above mentioned samples, wine-quality dataset [1] has been used. According to the new algorithm, the response variable quality, is identified

Re: [Dev] [ML] Wrangler Integration

2015-08-26 Thread Nirmal Fernando
Also, avoid static methods in transformations. On Thu, Aug 27, 2015 at 2:48 AM, Supun Sethunga sup...@wso2.com wrote: Hi Danula, Few comments: - You might have to register the component in the OSGI environment, to be able to call the services from a another component. Refer [1] on

Re: [Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-26 Thread Sajith Abeywardhana
Hi Azeez, How should I define security group when we are having a more than one security group? *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com | Web: www.wso2.com On Sat,

Re: [Dev] [Architecture] [Connector + Inbound] RSS/Atom feed Connector + Inbound for WSO2 ESB

2015-08-26 Thread Rajjaz Mohammed
Hi All, In My case Atom/RSS feed Connector mandatory parameters *Element**Description* *title*The title of the item. *link*The URL of the item. *description*The item synopsis. authorEmail address of the author of the item pubDateIndicates when the item was published On Thu, Aug 27, 2015 at

Re: [Dev] [Architecture] [Connector + Inbound] RSS/Atom feed Connector + Inbound for WSO2 ESB

2015-08-26 Thread Rajjaz Mohammed
*sorry to all above mails are sent because of short key press On Thu, Aug 27, 2015 at 10:37 AM, Rajjaz Mohammed raj...@wso2.com wrote: Hi All, In My case Atom/RSS feed Connector mandatory parameters *Element**Description* *title*The title of the item. *link*The URL of the item.

Re: [Dev] [Architecture] [Connector + Inbound] RSS/Atom feed Connector + Inbound for WSO2 ESB

2015-08-26 Thread Rajjaz Mohammed
Hi All, In My case Atom/RSS feed Inbound + Connector I’m working with these parameters so is there any Suggestions on it? because we can expand the feed elements[1] more but it may create errors . below one is the standard Structure and common for all feeds(Atom/RSS) . mandatory parameters title

[Dev] [C5] What is the usage of package-info.java file?

2015-08-26 Thread Aruna Karunarathna
Hi all, Any idea regarding the usage of file [1]. [1]. https://github.com/wso2/carbon-kernel/blob/master/core/src/main/java/org/wso2/carbon/clustering/config/package-info.java Regards, Aruna -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20,

Re: [Dev] [C5] What is the usage of package-info.java file?

2015-08-26 Thread Kavith Lokuhewage
Seems it is also the recommended file to include package level annotations[1]. JSR 175 recommends package-info.java for package level annotations [1] http://docs.oracle.com/javase/7/docs/api/javax/xml/bind/annotation/XmlSchema.html On Thu, Aug 27, 2015 at 11:00 AM, Kavith Lokuhewage

Re: [Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Kasun Bandara
Hi Mushthaq, According to [1] , aforementioned error mostly occur in Axis2 in ADB databinding type, when the sequence of tags coming in SOAP response is not same as that of attributes in java class formed from wsdl. You can resolved this by changing the sequence of tags in wsdl. [1]

Re: [Dev] [Architecture] [Connector + Inbound] RSS/Atom feed Connector + Inbound for WSO2 ESB

2015-08-26 Thread Rajjaz Mohammed
Hi All, In My case Atom/RSS feed Connector mandatory parameters *Element**Description* *title*The title of the item. *link*The URL of the item. *description*The item synopsis. authorEmail address of the author of the item On Thu, Aug 13, 2015 at 12:38 PM, Rajjaz Mohammed raj...@wso2.com

[Dev] WSDL, Swagger and Policies upload failed in G-Reg-5.0.0-SNAPSHOT

2015-08-26 Thread Prasanna Dangalla
Hi Manu, We can not upload WSDL,Swagger and Policies in G-Reg-5.0.0-SNAPSHOT. This was working in the pack which I build yesterday. I think this is happening because of a PR[2] which has merged yesterday. JIRA created to track this. Error in carbon console is [3]. This is a L1 in our side. [1]

Re: [Dev] [C5] What is the usage of package-info.java file?

2015-08-26 Thread Kavith Lokuhewage
Hi Aruna, Normally package-info.java files are used to add package level doc comments[1]. But the file that you have pointed out, doesn't seems to include any package level doc comment. [1] http://www.intertech.com/Blog/whats-package-info-java-for/ Thanks, On Thu, Aug 27, 2015 at 10:53 AM,

Re: [Dev] [Architecture] [Connector + Inbound] RSS/Atom feed Connector + Inbound for WSO2 ESB

2015-08-26 Thread Malaka Silva
Hi Rajjaz, Can we do this according to the spec. https://validator.w3.org/feed/docs/rss2.html On Thu, Aug 27, 2015 at 10:43 AM, Rajjaz Mohammed raj...@wso2.com wrote: Hi All, In My case Atom/RSS feed Inbound + Connector I’m working with these parameters so is there any Suggestions on it?

Re: [Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Hasunie Adikari
Hi Mushthaq, In general, Unexpected subelement means that the message being processed doesn't conform to the WSDL that was used to generate the ADB code.you are getting this exception on the client side, it means that the response from the server is invalid. check if your mandatory elements are

Re: [Dev] Getting an Error in the Stub created using Axis2

2015-08-26 Thread Mushthaq Rumy
Hi Hasunie, I think the error says the body is the Unexpected element. So I think there is something wrong with the SOAP body element. But when I checked the response in TcpMon it was fine. Thanks, On Thu, Aug 27, 2015 at 11:16 AM, Hasunie Adikari hasu...@wso2.com wrote: Hi Mushthaq, In

Re: [Dev] [Greg 5.0.0] Description text of Governance Center Store is not aligned.

2015-08-26 Thread Shafreen Anfar
Hi All, As Jerad mentioned, using one table solved the problem. On Mon, Aug 24, 2015 at 11:55 PM, Jerad Rutnam je...@wso2.com wrote: Hi Isuruwan, This happens because of using multiple tables for different sections. Basically columns don't have a relationship between multiple tables.

Re: [Dev] Do we have Load Balancing Data Publisher sample?

2015-08-26 Thread Sinthuja Ragendran
Hi Chanaka, Further more, you may need to let the user to select which mode of the publishing he/she requires based on his/her usecase. There are blocking - publish() and non-blocking - tryPublish() methods provided in the DataPublisher to publish an event. Depending on the importance of the data

Re: [Dev] [ML] Wrangler Integration

2015-08-26 Thread Nirmal Fernando
/s/SparkOpration/SparkOperation May be as Supun said, I too think we should call them as 'WranglerOperation'. On Thu, Aug 27, 2015 at 7:02 AM, Nirmal Fernando nir...@wso2.com wrote: Also, avoid static methods in transformations. On Thu, Aug 27, 2015 at 2:48 AM, Supun Sethunga sup...@wso2.com

Re: [Dev] [ML] Wrangler Integration

2015-08-26 Thread Nirmal Fernando
What does WranglerOperation class do? On Thu, Aug 27, 2015 at 9:24 AM, Danula Eranjith hmdanu...@gmail.com wrote: Currently Wrangler Operation is the class that holds details related to wrangler and SparkOperation contains the relevant Spark transformation. If we are changing SparkOperation

Re: [Dev] [ML] Wrangler Integration

2015-08-26 Thread Danula Eranjith
Basically script exported from Wrangler tool has list of operations. Wrangler class parse that script and create WranglerOperation object for each operation with its parameters. Then when WranglerOperation.executeOperation() is invoked, it creates the respective SparkOperation object and then

Re: [Dev] Optimizing the log.isDebugEnabled()

2015-08-26 Thread Afkham Azeez
Yes, but it won't improve the performance a great deal On Aug 27, 2015 5:21 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi Devs, I have seen most of the code in the WSO2 code repo is making use of log.isDebugEnabled() [1] every time before it debug log. Why do not we introduce a

Re: [Dev] Retrying faulty CApps

2015-08-26 Thread Afkham Azeez
Yes this can be done. What should happen perhaps is if deploying even one artifact in the capp fails, we need to undeploy all other artifacts in the capp that got successfully deployed then try redeployment periodically. On Aug 24, 2015 11:41 AM, Kasun Indrasiri ka...@wso2.com wrote: Hi, Is

Re: [Dev] [ML] Wrangler Integration

2015-08-26 Thread Danula Eranjith
Currently Wrangler Operation is the class that holds details related to wrangler and SparkOperation contains the relevant Spark transformation. If we are changing SparkOperation as WranglerOperation, we need to rename the current WranglerOperation into something else. On Thu, Aug 27, 2015 at

Re: [Dev] RelayUtils Error while building Passthrough stream in ESB_RC1 pack

2015-08-26 Thread Prabath Ariyarathna
Hi Keerthika I have tried several time with given configurations, but I didn't get exception you mentioned. Could you please recheck you have configured any custom builder of formatter? Thanks. On Wed, Aug 26, 2015 at 6:31 PM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi Prabath,

Re: [Dev] RelayUtils Error while building Passthrough stream in ESB_RC1 pack

2015-08-26 Thread Prabath Ariyarathna
Hi Keerthika. Could please provide artifacts to reproduce this issue? Thanks. On Wed, Aug 26, 2015 at 5:23 PM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi All, When we receive invalid json format response with the content-type application/json header we are getting following

  1   2   >