[Dev] [DAS] MySQL Database and Table creation when using carbonJDBC option in spark environment

2015-09-30 Thread Thanuja Uruththirakodeeswaran
Hi All, When we create temporary tables in spark environment using carbonJDBC option as explained in [1], we are using a datasource and tableName from which spark environment temporary table will get data as follow: CREATE TEMPORARY TABLE using CarbonJDBC options (dataSource "", tableName "");

Re: [Dev] [IS] [DEV] Getting "localhost" as the saml2:Issuer in SAML authentication response

2015-09-30 Thread Rajith Vitharana
Hi Nadeesha, As I remember you need to change the issuer in ResidentIDP config for this to work. Thanks, On Wed, Sep 30, 2015 at 11:48 AM, Nadeesha Meegoda wrote: > Hi IS team, > > I have configured a SAML SSO service provider (travelocity.com) in tenant > mode (ymc.com).

Re: [Dev] [IS] [DEV] Getting "localhost" as the saml2:Issuer in SAML authentication response

2015-09-30 Thread Pushpalanka Jayawardhana
Hi Nadeesha, This issuer value implies which party issues the SAML request or the response. If you look at the SAML flow, Authentation request is issued by the service provider who is requesting the authentication of an entity from the IDP. SAML Response is issued by the IDP in response to this

Re: [Dev] [IS] [DEV] Getting "localhost" as the saml2:Issuer in SAML authentication response

2015-09-30 Thread Ishara Karunarathna
Hi Nadeesha, In you cluster nodes what are the MgtHostName and HostName values ? On Wed, Sep 30, 2015 at 11:53 AM, Rajith Vitharana wrote: > Hi Nadeesha, > > As I remember you need to change the issuer in ResidentIDP config for this > to work. > > Thanks, > > On Wed, Sep

Re: [Dev] [IS] [DEV] Getting "localhost" as the saml2:Issuer in SAML authentication response

2015-09-30 Thread Nadeesha Meegoda
Hi Ishara, These are the values. mgt.is.wso2.com mgt.is.wso2.com I changed the Resident Identity Provider "mgt.is.wso2.com" but still getting localhost in response On Wed, Sep 30, 2015 at 11:58 AM, Ishara Karunarathna wrote: > Hi Nadeesha, > > In you cluster nodes what

Re: [Dev] [DEV] DepSync url doesn't get updated after carbon.xml is updated

2015-09-30 Thread Chamila De Alwis
Hi Dinesh, Thanks for the tip on the .svn folder. I deleted it under the repository/deployment/server and the new value was successfully applied. Regards, Chamila de Alwis Committer and PMC Member - Apache Stratos Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Wed,

Re: [Dev] [ES][Doc] Adding a new sample Artifact of an Asset Type(RXT) in Enterprise Store

2015-09-30 Thread Shabir Mohamed
Hi, Looks Good :D. Cheers and Thanks to you too - *Shabir Mohamed* *Software Engineer* WSO2 Inc.; http://wso2.com Email: sha...@wso2.com Mobile: +94 77 3516019 | +94 71 6583393 On Wed, Sep 30, 2015 at 11:49 AM, Mariangela Hills

[Dev] [DEV][DevStudio][Connector] Correct place to read Connector Operation name from a imported connector file

2015-09-30 Thread Nuwan Pallewela
Current implementation in Developer Studio reads the connector operation names from component.xml files in the imported files. Is this the correct position to read it? Do we have to read it from specific component xml file? I found that in salesforce connector, getUserInformation component have

Re: [Dev] [BPS] Bulk BPEL event handler execution

2015-09-30 Thread Hasitha Aravinda
Hi Praminda, No, In your scenario, you have to send separate soap request for each value in the list. In ODE, correlation set is calculated per request. Thanks, Hasitha. On Wed, Sep 30, 2015 at 9:54 AM, Praminda Jayawardana wrote: > Hi, > > Is it possible to execute event

[Dev] UES - Changing Gadget/widget's UserPref settings from dashboard view page

2015-09-30 Thread Ayesha Dissanayaka
Hi all, The $Subject is available in *WSO2 UES 2.0.0 Milestone 3 *onwards. Users can change user-preps of a gadget by clicking the settings toggle button next each gadget. ​ Once the toggle button is clicked for the second time changes will be saved to the registry and gadget will be updated

Re: [Dev] [DEV][DevStudio][Connector] Correct place to read Connector Operation name from a imported connector file

2015-09-30 Thread Rajjaz Mohammed
Hi Nuwan, it's ok for salesforce connector because all available methods are in one component xml file but like Gmail Connector you need to read every components xml file added as dependency in Connector xml File. [image: Inline image 1] On Wed, Sep 30, 2015 at 12:58 PM, Nuwan Pallewela

Re: [Dev] [DEV] DepSync url doesn't get updated after carbon.xml is updated

2015-09-30 Thread Chamila De Alwis
Hi Dinesh, The SVN server is accessible without any issue, as I can browse it through HTTP. Before using SVNKit the error message also showed the URL it was trying to reach, and it was the older URL. So the issue is with the DeploymentSynchronization as it doesn't seem to pickup the updated URL.

[Dev] [IS] [DEV] Getting "localhost" as the saml2:Issuer in SAML authentication response

2015-09-30 Thread Nadeesha Meegoda
Hi IS team, I have configured a SAML SSO service provider (travelocity.com) in tenant mode (ymc.com). My IS is running in cluster environment it's https://mgt.is.wso2.com. When I was signing in to travelocity.com in the SAML AuthnRequest the samlp:issuer is as follows : travelocity@ymc.com

Re: [Dev] [ES][Doc] Adding a new sample Artifact of an Asset Type(RXT) in Enterprise Store

2015-09-30 Thread Mariangela Hills
Hi Shabir, Please note that I have updated [1] based on the feedback in this thread and also based on the points we came up with after testing this tutorial in-depth. Thanks, for all the help! [1] https://docs.wso2.com/display/ES200/Adding+a+Sample+Asset+for+a+New+Asset+Type+at+Server+Startup

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-30 Thread Bhanuka Dissanayake
Hi, sorry about that , I managed to apply the fix correctly and got it working. the stop command is now working properly. Thanks to Aruna. On Tue, Sep 29, 2015 at 10:36 PM, Bhanuka Dissanayake wrote: > I started the server with "sh wso2server.sh start" or "./wso2server.sh >

Re: [Dev] Identity "application-mgt" related database scripts are not available

2015-09-30 Thread Prasad Tissera
Hi Prabath, All the identity related scripts have been moved to dbscripts/identity and merged into a single script. Those are comming with identity.core.server.feature. Thanks. Regards, Prasad. On Wed, Sep 30, 2015 at 3:47 PM, Prabath Abeysekera wrote: > Hi Johann/IS team,

Re: [Dev] RXT clarification

2015-09-30 Thread Rajith Roshan
Hi Chalitha, This is a known issue and reported in jira [1]. This will be fixed in 5.0.1 patch release. [1] - https://wso2.org/jira/browse/REGISTRY-2956 Thanks! Rajith On Wed, Sep 30, 2015 at 5:03 PM, Chalitha Waldeniyage wrote: > Hi Team, > > I have created a rxt file

[Dev] Identity "application-mgt" related database scripts are not available

2015-09-30 Thread Prabath Abeysekera
Hi Johann/IS team, I can't locate any of the identity application-mgt related database scripts as part of the corresponding feature definitions. Have we removed/re-located them for some reason? If so, from where can I find those? Cheers, Prabath -- Prabath Abeysekara Technical Lead WSO2 Inc.

[Dev] Get Absolute Path Of File In App Cloud

2015-09-30 Thread Lasantha Dharmakeerthi
Hi Devs I have created jaggery app and deployed it in wso2 app cloud. I have method to read a certificate file and certificate is in the jaggery app. In local Aplication Server I used file path like wise “ repository/deployment/server/jaggeryapps/Parkingapp /resources/wso2defaultpub.cer” So how

Re: [Dev] Get Absolute Path Of File In App Cloud

2015-09-30 Thread Sajith Ariyarathna
Hi Lasantha, Assuming, You are reading the certificate file using Jaggery. In your Jaggery app, certificate file is in '*resources/wso2defaultpub.cer*' path You can read your file using Jaggery File [1] object. Refer following code snippet. var certFile = new

Re: [Dev] [VOTE] Release WSO2 BPS 3.5.0 RC2

2015-09-30 Thread Vinod Kavinda
Hi, I tested the HumanTask and BPEL functionalities. [x] Stable - go ahead and release Regards, Vinod On Wed, Sep 30, 2015 at 11:03 AM, Firzhan Naqash wrote: > > Hi Devs, > > *WSO2 BPS 3.5.0 RC2 Release Vote* > > This release fixes the following issues: >

Re: [Dev] Get Absolute Path Of File In App Cloud

2015-09-30 Thread Dimuthu Leelarathne
Hi, Use getResourceAsStream method. thanks, dimuthu On Wed, Sep 30, 2015 at 3:11 PM, Lasantha Dharmakeerthi wrote: > Hi > Devs > > I have created jaggery app and deployed it in wso2 app cloud. I have > method to read a certificate file and certificate is in the jaggery

[Dev] RXT clarification

2015-09-30 Thread Chalitha Waldeniyage
Hi Team, I have created a rxt file (attached with the mail) and deployed in Greg 5.0.0. I was able to work with this rxt via management console without a problem. But when i'm accessing this via Greg publisher, It doesn't allow to add data and backend says following error in [1]. When it comes

[Dev] [DEV][DAS][ESB] Failed to initialise synapse after installing DAS features

2015-09-30 Thread Ayyoob Hamza
Hi All, When we install DAS features to CDMF(This already have the APIM features), found a weird fatal exception which failed to start the synapse. [2015-09-30 18:23:51,439] INFO {org.wso2.carbon.mediation.initializer.ServiceBusInitializer} - Starting ESB... [2015-09-30 18:23:51,459] INFO

Re: [Dev] [Private PaaS] Moving cartridges to a new Git repository

2015-09-30 Thread Imesh Gunaratne
Hi Gayan, Great work on moving the cartridges to the new repository. Shall we bring them to the root folder. IMO since the git repository name contains the word "cartridges" may be we do not need a folder called "cartridges" inside. WDYT? Thanks On Tue, Sep 29, 2015 at 3:27 PM, Imesh Gunaratne

Re: [Dev] Pull request has not merged into the current development branch of APIM

2015-09-30 Thread Nuwan Dias
Hi Harshan, The PR [1] has been sent to the master branch and it has been merged. I don't see any pending PRs related to this on the release_1.10.x branch. [1] - https://github.com/wso2/carbon-apimgt/pull/10 Thanks, NuwanD. On Wed, Sep 30, 2015 at 6:28 PM, Harshan Liyanage

[Dev] Pull request has not merged into the current development branch of APIM

2015-09-30 Thread Harshan Liyanage
Hi, It seems like the following pull request [1] is not merged into the latest master branch & 1.10.x branches of carbon-apimgt repo. But it is available in release-1.4.0 branch [2]. Is there any specific reason to not to merge this into the latest branches? [1].

Re: [Dev] [Private PaaS] Moving cartridges to a new Git repository

2015-09-30 Thread Gayan Gunarathne
Hi Imesh, I think we need to refine the structure of the ppaas-cartridges repository.We can have a separate folder for each cartridges.Then we can release the each cartridge separately.We can have the samples for each product itself. Thanks, Gayan On Wed, Sep 30, 2015 at 6:01 PM, Imesh

[Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-09-30 Thread Nuwan Dias
Hi, I have a scenario on the ESB where I have created two APIs with the same context in the tenant space. The first API doesn't have a version and the second API has a version. The first API receives the request and forwards to the second API. See illustration below. Client (/twitter) -->

Re: [Dev] Get Absolute Path Of File In App Cloud

2015-09-30 Thread Lasantha Dharmakeerthi
Hi All I use java inside my jaggery app to read certificate file and get public key. *code* inputStream = new Packages.java.io.FileInputStream(certificatePath); var key = Packages.java.security.cert.CertificateFactory.getInstance("X.509").generateCertificate(inputStream).getPublicKey(); As

Re: [Dev] [DEV][DAS][ESB] Failed to initialise synapse after installing DAS features

2015-09-30 Thread Ruwan Abeykoon
Hi Ruwan see [1] "A wrong argument is passed to a method". [1] http://examples.javacodegeeks.com/java-basics/exceptions/java-lang-verifyerror-how-to-solve-verifyerror/ Cheers, Ruwan On Thu, Oct 1, 2015 at 9:28 AM, Ruwan Abeykoon wrote: > Hi Ruwan, > > "Bad type on operand

Re: [Dev] [Patch Automation] Can we deploy a war file programmatically?

2015-09-30 Thread Abimaran Kugathasan
Thanks a lot NuwanW and Thusitha! I will use it. On Thu, Oct 1, 2015 at 10:25 AM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Abimaran, > In product-as we are using WebappAdminClient[1] to deploy war files. I > think you can refer to the same > [1] - >

Re: [Dev] [DAS] MySQL Database and Table creation when using carbonJDBC option in spark environment

2015-09-30 Thread Imesh Gunaratne
Hi Thanuja, Can you please explain the purpose of these temporary tables? Thanks On Wed, Sep 30, 2015 at 11:53 PM, Thanuja Uruththirakodeeswaran < thanu...@wso2.com> wrote: > Hi All, > > When we create temporary tables in spark environment using carbonJDBC > option as explained in [1], we are

Re: [Dev] [Patch Automation] Can we deploy a war file programmatically?

2015-09-30 Thread Nuwan Wimalasekara
Hi Abimaran, WebappAdmin service can be used deploy a war file. WebAppAdminClient is already implemented and you can reuse the client. Thanks, Nuwanw On Thu, Oct 1, 2015 at 10:11 AM, Abimaran Kugathasan wrote: > Hi, > > > We can deploy aar files using ServiceAdminClient

[Dev] Failing test after business process version upgrade

2015-09-30 Thread Shazni Nazeer
Hi, We have a test case failure [1] which was passing with previous versions of business process. We updated the business process version to 4.4.3 as we needed to move to latest versions of some other repos for our release. This seems to be a permission issue. Any idea why could this happen?

Re: [Dev] [DAS] MySQL Database and Table creation when using carbonJDBC option in spark environment

2015-09-30 Thread Thanuja Uruththirakodeeswaran
Hi Imesh, If we take the above scenario, I need to insert the analyzed/aggregated data which is obtained as result after spark sql processing, to my mysql table (sample_table). In order to do that, first we need to create a temporary table using the corresponding mysql database

Re: [Dev] Identity "application-mgt" related database scripts are not available

2015-09-30 Thread Prasad Tissera
Yes it has the above mentioned drawback. But now application-mgt feature and also almost all the identity features depends on identity.core.server feature. We added this dependency because otherwise we will have to bundle identity.core component with all the identity features. Regards, Prasad.

Re: [Dev] [DAS] MySQL Database and Table creation when using carbonJDBC option in spark environment

2015-09-30 Thread Imesh Gunaratne
On Thu, Oct 1, 2015 at 9:53 AM, Thanuja Uruththirakodeeswaran < thanu...@wso2.com> wrote: > > > In DAS spark environment, we can't directly insert the analyzed data to > our mysql table. We should create a temporary table using our datasources > to manipulate them. > Yes, can you please explain

[Dev] [Patch Automation] Can we deploy a war file programmatically?

2015-09-30 Thread Abimaran Kugathasan
Hi, We can deploy aar files using ServiceAdminClient into a product. Can we do the same for war file. Does our automation framework support it? If so, can anybody please point me the Class or module name? -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data & APIs Technologies

Re: [Dev] [Patch Automation] Can we deploy a war file programmatically?

2015-09-30 Thread Thusitha Thilina Dayaratne
Hi Abimaran, In product-as we are using WebappAdminClient[1] to deploy war files. I think you can refer to the same [1] - https://github.com/wso2/product-as/blob/master/modules/integration/tests-common/admin-clients/src/main/java/org/wso2/appserver/integration/common/clients/WebAppAdminClient.java

Re: [Dev] About Edge Analytics Service-Mobile IOT

2015-09-30 Thread Srinath Perera
Can we have an update today 1.30pm @Trace? --Srinath On Sat, Aug 29, 2015 at 12:26 AM, Lasantha Fernando wrote: > That's great!... > > On 28 August 2015 at 18:25, Lakini Senanayaka wrote: > >> Hi Lasantha, >> >> I have corrected the issue you mentioned

Re: [Dev] [DEV][DAS][ESB] Failed to initialise synapse after installing DAS features

2015-09-30 Thread Ruwan Yatawara
The error "java.lang.VerifyError: Bad type on operand stack" can pop up, when all jars are not compiled from a one particular major version of the language. As seen below, the released version of ASM has been compiled with java 6. I am not sure as to how this is the case, as the bundle seems to

Re: [Dev] [DEV][DAS][ESB] Failed to initialise synapse after installing DAS features

2015-09-30 Thread Ruwan Abeykoon
Hi Ruwan, "Bad type on operand stack" typically means a jar which has super type (interface or super class) has been incompatible due to method/class signature change. see [1] "A wrong argument is passed to a method". Cheers, Ruwan On Thu, Oct 1, 2015 at 8:28 AM, Ruwan Yatawara

Re: [Dev] [DEV][DAS][ESB] Failed to initialise synapse after installing DAS features

2015-09-30 Thread Ruwan Yatawara
Yes Ruwan, thanks for the clarification, I guess what is happening here is that. Somewhere there is an interface mismatch, due to all dependencies concerned not being compiled in one go. So, we need to figure out which jar with the mis-aligned interface is the culprit then. Thanks and Regards,

[Dev] Private PaaS 4.1.0 Beta Release Preparation

2015-09-30 Thread Imesh Gunaratne
Hi Devs, I think we are now few steps away from doing $subject. Apache Stratos 4.1.3 was released few days back. The idea is to release Private PaaS 4.1.0-Beta with Stratos 4.1.3. We now have a separate git repository for cartridges. Once we move ESB, API-M, IS and AS cartridges there and update

Re: [Dev] [PPaaS] private-paas-cartridges repository structure

2015-09-30 Thread Gayan Gunarathne
Adding to the Dev list On Thu, Oct 1, 2015 at 7:05 AM, Imesh Gunaratne wrote: > Shall we move this discussion to Dev? > > Thanks > > On Wed, Sep 30, 2015 at 11:02 PM, Gayan Gunarathne > wrote: > >> As puppet,init-scripts,base image are common for all the

Re: [Dev] UES build failure after updating to identity 4.6.0.alpha

2015-09-30 Thread Udara Rathnayake
Thanks for the quick update. Will do the UES m4 release with this. On Wed, Sep 30, 2015 at 7:43 PM, Maduranga Siriwardena wrote: > Hi Udara, > > We now pack slf4j-api and slf4j-log4j12 with the features that pack oltu. > And we have removed the dependency to >

[Dev] Getting PKIX path building failed

2015-09-30 Thread Sriashalya Srivathsan
Hi Getting the following error while adding the keystore to IS which is provided by the API. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-09-30 Thread Chanaka Fernando
Hi All, We are looking into this issue. On Thu, Oct 1, 2015 at 10:37 AM, Sandapa Handakumbura wrote: > Hi Nuwan, > > I faced a similar issue during ESB 4.9.0 release testing. First request > for proxy services (after tenant unloading/ server restart) failed in > tenant mode

Re: [Dev] Getting PKIX path building failed

2015-09-30 Thread Malintha Adikari
Hi Sriashalya, Are you getting this error while sending requests to IS ? When you install new keystore to wso2 product you have to configure it in carbon.xml also. ${carbon.home}/repository/resources/security/wso2carbon.jks JKS

Re: [Dev] [DEV] [CEP] Integrating ML extension in CEP distributed mode setup

2015-09-30 Thread Sashika Wijesinghe
Hi All, I have setup the environment according to the instructions given in Doc [1]. To test the scenario I have setup the CEP cluster in local machine and connected to the storm cluster setup in QA cloud and installed ml features in both manager node and worker node. When I started worker node

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-09-30 Thread Sandapa Handakumbura
Hi Nuwan, I faced a similar issue during ESB 4.9.0 release testing. First request for proxy services (after tenant unloading/ server restart) failed in tenant mode [1]. Unfortunately ESB team could not reproduce it and I could not identify the exact steps to reproduce it either. Hope the team

Re: [Dev] Get Absolute Path Of File In App Cloud

2015-09-30 Thread Sajith Ariyarathna
Hi Lasantha, Please find my comments inline. > As sajith said can read certificate file using Jaggery File object. But > is there a way to get public key from that way?? > You cannot get the public key using Jaggery File object since File object represent a file, not a security certificate.

Re: [Dev] Getting PKIX path building failed

2015-09-30 Thread Sriashalya Srivathsan
Thanx Malintha, I'll check on that On Thu, Oct 1, 2015 at 10:49 AM, Malintha Adikari wrote: > Hi Sriashalya, > > Are you getting this error while sending requests to IS ? When you install > new keystore to wso2 product you have to configure it in carbon.xml also. > > >

[Dev] [Registry] Registry java.sql.SQLException: Lock wait timeout exceeded

2015-09-30 Thread Malith Munasinghe
Hi All, Recently on app cloud we faced an locked timeout exceeded issue on registry. This kept application creation down for a while. Is there any suggestions on how to keep these kind of issues from occurring. Attached is the error log that was observed. Regards, Malith. -- Malith Munasinghe

Re: [Dev] Get Absolute Path Of File In App Cloud

2015-09-30 Thread Sajith Ariyarathna
Hi Lasantha, For Jaggery, working directory is your app directory which is in /repository/deployment/server/jaggeryapps/ . However if you are using Java inside Jaggery, for those Java codes working directory is carbon product directory . Hence variable certificatePath should be

Re: [Dev] Suppression file not found - carbon-transports

2015-09-30 Thread Afkham Azeez
The location has been changed to https://github.com/wso2/code-quality-tools/tree/master/checkstyle I have updated the carbon-kernel 5.0.x branch, carbon-transports & product-gw On Mon, Sep 28, 2015 at 12:02 PM, Afkham Azeez wrote: > We need to create a GitHub repo called

Re: [Dev] UES build failure after updating to identity 4.6.0.alpha

2015-09-30 Thread Maduranga Siriwardena
Hi Udara, We now pack slf4j-api and slf4j-log4j12 with the features that pack oltu. And we have removed the dependency to org.wso2.carbon.identity.provider.server.feature from org.wso2.carbon.identity.oauth.feature. So there is no need for net.sf.ehcache package. Changes will be available in

Re: [Dev] Identity "application-mgt" related database scripts are not available

2015-09-30 Thread Prabath Abeysekera
Thanks for the info Prasad. So, I believe, what that means is, we can't selectively grab and install only the most relevant schemas anymore. Is that the right thing to do? For example, say I only need "application-mgt" bits in my product. There, I wouldn't want to ship anything outside the scope

Re: [Dev] Get Absolute Path Of File In App Cloud

2015-09-30 Thread Sajith Ariyarathna
Hi Lasantha, Jaggery server runs on top of Carbon. So Java libraries which are added to Carbon are also available in Jaggery. External Java libraries can be added to Carbon by dropping them into /repository/components/lib directory (more details [1]). Don't forget to restart the server. [1]

Re: [Dev] Pull request has not merged into the current development branch of APIM

2015-09-30 Thread Nuwan Dias
Hi Harshan, I think this is due to the fact that the 1.10.x branch was branched out from the 1.9.x branches and not from master. The master branch was used for parallel development work related to API Manager 2.0.0. Thanks, NuwanD. On Wed, Sep 30, 2015 at 7:16 PM, Harshan Liyanage

[Dev] Should mysql database scripts work with old mysql versions.

2015-09-30 Thread Ishara Karunarathna
Hi all, For example In mysql version 5.6.4 (released on February 5, 2013 ) onwards [1] it support for fractional seconds for TIMESTAMP values, with up to microseconds (6 digits) But if we write scripts to get that features it won't work with older versions. So can we write scripts to work only