[Dev] Carbon component writing pom xml error

2014-10-03 Thread Buddhi Senarathna
Hi All, I wrote pom.xml file to build the stub to create my carbon component. When i build it, it builds the bundle without giving any error. but it indicates an error in *execution* tag and it says Plugin execution not covered by lifecycle configuration. to fix that i had put all the

[Dev] BPEL - Error deploying HumanTask package

2014-10-03 Thread Akila Nimantha [IT/EKO/LOITS]
Hi All, We are trying to create humantask based on sample in http://docs.oasis-open.org/bpel4people/ws-humantask-1.1-spec-cs-01.html ( I.sample 200 page ).This error coming while I'm trying to deploy this human task project to BPS server. What should we do ? TID: [0] [BPS] [2014-10-03

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Chamin Nalinda
Hi Tharindu, I tried it, but still it remains. I found the following link[1]. I suppose, this is because, I did *copy and pasting *the code (and did adjustments accordingly). It was quite all right when I follow this tutorial[2] before I started Order Processing example. [1]

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Roshan Deniyage
Hi Chamin, It seems your pom file contains non-unicode characters. Which IDE are you using? Make sure that you save your pom files and source files in UTF-8 format. Try that way. Thanks, Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter

Re: [Dev] BPEL - Error deploying HumanTask package

2014-10-03 Thread Hasitha Aravinda
According to the exception, you have a invalid humantask definition. Error occurs, when BPEL engine try to parse the .ht file. Can you validate your .ht file against [1]. Thanks, Hasitha. [1] -

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Amal Gunatilake
Hi Chamin, Did you copy paste any code from a web page? I think there are hidden characters placed in your pom file. Best practice is to generate the pom from your IDE (esclipse, Idea) and then do the updates. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.;

Re: [Dev] [Carbon] Cloud Tenant deletion-Carbon core patches

2014-10-03 Thread Sameera Jayasoma
Hi Amila, Can we get the necessary pull request for this feature? Please fork the wso2/carbon4-kernel repo and create pull requests? Thanks, Sameera. On Thu, Oct 2, 2014 at 11:09 PM, Amila Maha Arachchi ami...@wso2.com wrote: Sameera, We need this to be committed to 4.3.0 Kernel so that any

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Chamila De Alwis
On Fri, Oct 3, 2014 at 11:46 AM, Amal Gunatilake am...@wso2.com wrote: Best practice is to generate the pom from your IDE (esclipse, Idea) and then do the updates. +1 When displaying code online, the formatters usually insert HTML tags and other formatting characters. Create the projects and

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Roshan Deniyage
Hi, The problem seems with the pluginManager element. you don't need to put that element unless the pom is a parent pom which is inherited by other children poms. maven-bundle-plugin needs to come outside of the plubinManager tag. Just removing the pluginManager would solve the issue. Try it.

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Shashika Karunatilaka
Hi Buddhi, Try to use pluginManagement instead of pluginManager tag On Fri, Oct 3, 2014 at 12:11 PM, Roshan Deniyage rosh...@wso2.com wrote: Hi, The problem seems with the pluginManager element. you don't need to put that element unless the pom is a parent pom which is inherited by other

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Roshan Deniyage
yes. the element is pluginManagement not pluginManager (typo). but same rule applies. Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn :

Re: [Dev] NoHostAvailableException in MB when doing load testing

2014-10-03 Thread Sajini De Silva
Hi Prabath, This is the error we got while deleting messages. [2014-10-03 12:16:55,059] ERROR {org.wso2.andes.store.cassandra.CQLBasedMessageStoreImpl} - Error while deleting messages com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried:

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Chamin Nalinda
Hi to Chamila and Amal, Thanks Chamila for the explanation. Amal, do I have to code manually? What are the recommended options if I need to use a code that is available on web ? On Fri, Oct 3, 2014 at 12:09 PM, Chamila De Alwis chami...@wso2.com wrote: On Fri, Oct 3, 2014 at 11:46 AM, Amal

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Buddhi Senarathna
Hi all, Thanks for your support. I did remove pluginManager tag and tested with pluginManagement. but result was the same. then i tried as Roshan said. now it is working fine. but again eclipse indicates *Plugin execution not covered by lifecycle configuration* error in *execution* tag. i have no

Re: [Dev] siddhi v2.2.0-SNAPSHOT stop calling callbacks after few seconds

2014-10-03 Thread andresgomez92
Hi Lasantha, I have changed my storm topology. Now, all stream go to the same siddhiManager instance and all queries works fine. But now, I only have 1 instance of siddhiManager without distributed processing ... How can I get scalability??? Thanks, Andrés - -- Andres Gomez Developer

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Vimalanathan Rajeevan
Hi Buddhi, You have to remove *pluginManagement../pluginManagement* tag to successfully build it using maven. After removing that, even though the line is marked as error in Eclipse, It does not matter. This may be because of some bug with Eclipse. You can even successfully build the bundle and

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Amal Gunatilake
Hi Chamin, If you are badly need to copy pasting a code from web, you can convert the clipboard text using [1] to make it to the correct standard encoding. [1] http://coderstoolbox.net/string/#!encoding=xmlaction=decodecharset=utf_8 Thank you Best regards, *Amal Gunatilake* Software

[Dev] Error when running the Cassandra Docker

2014-10-03 Thread Vishanth Balasubramaniam
Hi, I'm currently working on creating a cassandra cartridge for apache stratos using docker. I was able to successfully build the cassandra cartridge in the virtual machine and the member is getting activated successfully. When i try to run the cassandra inside the instance, I am getting the

Re: [Dev] [DEV] WSDL error when writing the carbon component

2014-10-03 Thread Nishali Wijesinghe
Hi Shiva, This what I got when I copied the wsdl file directly from the web browser. wsdl:definitions targetNamespace=http://mgt.order.carbon.wso2.org wsdl:documentationOrderProcessor/wsdl:documentation wsdl:types xs:schema xmlns:ax299=http://data.mgt.order.carbon.wso2.org/xsd;

Re: [Dev] siddhi v2.2.0-SNAPSHOT stop calling callbacks after few seconds

2014-10-03 Thread Lasantha Fernando
Hi Andrés, In your earlier query, it seems that you have a sequence with two predicates running on different threads/nodes. In such a case, synching between the two threads can be non-trivial AFAIK. However, you can try to scale first for other usecases (other than patterns, sequences).

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Chamin Nalinda
Hi Amal, Thanks for heaps :) On Fri, Oct 3, 2014 at 1:21 PM, Amal Gunatilake am...@wso2.com wrote: Hi Chamin, If you are badly need to copy pasting a code from web, you can convert the clipboard text using [1] to make it to the correct standard encoding. [1]

Re: [Dev] [DEV] WSDL error when writing the carbon component

2014-10-03 Thread Shiva Balachandran
So this is resolved right? I'm guessing those attributes are hidden in the browser view, and are re-factored and added to the document when it is saved. On Fri, Oct 3, 2014 at 1:31 PM, Nishali Wijesinghe nisha...@wso2.com wrote: Hi Shiva, This what I got when I copied the wsdl file directly

[Dev] identity Server : SAMLSSOServiceProviderDO

2014-10-03 Thread Shiva Balachandran
HI, I am doing some development in IS. I came across a code block where a method named .getServiceProviders(), which returns an object of the class mention in the subject. but when i went through the class and its attributes i noticed the name of the service provider was not a part of the

Re: [Dev] [DEV] WSDL error when writing the carbon component

2014-10-03 Thread Nishali Wijesinghe
yes, it is resolved now, that must be the reason for it. Thanks a lot, Nishali On Fri, Oct 3, 2014 at 2:06 PM, Shiva Balachandran sh...@wso2.com wrote: So this is resolved right? I'm guessing those attributes are hidden in the browser view, and are re-factored and added to the document when

Re: [Dev] Error when running the Cassandra Docker

2014-10-03 Thread Manula Chathurika Thantriwatte
Hi Vishanth, Can you increase the JVM_OPTS values and try again. Thanks ! On Fri, Oct 3, 2014 at 1:29 PM, Vishanth Balasubramaniam vishan...@wso2.com wrote: Hi, I'm currently working on creating a cassandra cartridge for apache stratos using docker. I was able to successfully build the

Re: [Dev] Error when running the Cassandra Docker

2014-10-03 Thread Sajith Kariyawasam
On Fri, Oct 3, 2014 at 2:26 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Hi Vishanth, Can you increase the JVM_OPTS values and try again. Thanks ! On Fri, Oct 3, 2014 at 1:29 PM, Vishanth Balasubramaniam vishan...@wso2.com wrote: Hi, I'm currently working on creating a

Re: [Dev] siddhi v2.2.0-SNAPSHOT stop calling callbacks after few seconds

2014-10-03 Thread andresgomez92
Thanks for your help, Lasantha! --  Andres Gomez Developer at Eneo Tecnologia. Website: http://redborder.net LinkedIn: http://lnkd.in/sHnbJe En 3 de octubre de 2014 en 10:25:06, Lasantha Fernando [via WSO2 Oxygen Tank] (ml-node+s10903n104356...@n7.nabble.com) escrito: Hi Andrés, In your

Re: [Dev] Error when running the Cassandra Docker

2014-10-03 Thread Vishanth Balasubramaniam
Hi Manula, I did try increasing it to JVM_OPTS to Xss280 and Xss380, still I'm getting that issue. On Fri, Oct 3, 2014 at 2:32 PM, Sajith Kariyawasam saj...@wso2.com wrote: On Fri, Oct 3, 2014 at 2:26 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Hi Vishanth, Can you

[Dev] Error while creating database in NDB Mysql Cluster

2014-10-03 Thread Nuwan Silva
$(subject) give the following error; ERROR 1296 (HY000): Got error 708 'No more attribute metadata records (increase MaxNoOfAttributes)' from NDBCLUSTER While searching [1] suggests to increase *MaxNoOfAttributes=4G* and restart Management node and data nodes respectively. We did but, still the

[Dev] Build https://github.com/wso2-dev/carbon-registry repository before building AF components

2014-10-03 Thread Manjula Rathnayake
Hi all, Please do the $Subject because we have a new dependency for org.wso2.carbon.registry.metadata https://github.com/wso2-dev/carbon-registry/tree/master/components/registry/org.wso2.carbon.registry.metadata bundle. thank you. -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94

Re: [Dev] API manager - Error while getting Subscriber

2014-10-03 Thread Dinesh J Weerakkody
Akila, Do you get this error at each and every time when you starts nodes or just one time error? On Thu, Oct 2, 2014 at 3:11 PM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi Udara and Dinesh, I think I solved the problem.. problem was with my oracle ojdbc connector I

Re: [Dev] API manager - Error while getting Subscriber

2014-10-03 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Dinesh, I get this error each time start nodes. But after starting the node(after showing urls to login) it not shows again. And for now it not affected to my works AFAIK(but don’t know how will affect in future). Just wanted to clear from you guys. Regards, Akila From: Dinesh J

Re: [Dev] [DSS][3.2.1]Try this service function does not work in Firefox with HTTP endpoints

2014-10-03 Thread Asanka Abeyweera
Hi Sameera, We had a discussion on a similar issue in mail thread [1]. Please have a look. [1] Mail thread: Not getting response in try-it in FF browser On Fri, Oct 3, 2014 at 5:14 PM, Sameera Kannangara samee...@wso2.com wrote: Hi all, In DSS 3.2.1 fresh pack, Try this service function

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-03 Thread Asitha Nanayakkara
Hi everyone, Since the issue is a blocker for us we are making the versions consistent throughout the platform by using the existing cql-driver. Changes needed in carbon-storage-management is complete. @PrabathA: Please review and merge the pull request

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-03 Thread Asanka Abeyweera
Hi all, I created a pull request [1] in wso2/orbit removing the parent pom reference in cql-driver bundle. Can we release this as cql-driver-1.0.5.wso2v2 in wso2/orbit? [1] https://github.com/wso2/orbit/pull/26 On Fri, Oct 3, 2014 at 6:17 PM, Asitha Nanayakkara asi...@wso2.com wrote: Hi

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-03 Thread Harsha Kumara
Adding Maheshika. On Fri, Oct 3, 2014 at 6:23 PM, Asanka Abeyweera asank...@wso2.com wrote: Hi all, I created a pull request [1] in wso2/orbit removing the parent pom reference in cql-driver bundle. Can we release this as cql-driver-1.0.5.wso2v2 in wso2/orbit? [1]

[Dev] org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey()

2014-10-03 Thread Danushka Fernando
Hi All I noticed that if I call the method in $subject without calling KeyStoreManager.getDefaultPrimaryCertificate() its throwing a null pointer. Is this a bug or the expected behavior. AFAIU when we call $subject it should internally load the default primary cert. Correct me if I am wrong.

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-03 Thread Dhanuka Ranasinghe
Hi, I don't have permission to merge below pull request, I guess some one who has permission would need to attend this. https://github.com/wso2/orbit/pull/26 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94

Re: [Dev] org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey()

2014-10-03 Thread Prabath Siriwardena
Yes... need to fix that.. return (PublicKey) primaryKeyStore.getCertificate(alias).getPublicKey(); should be replaced as, return (PublicKey) getPrimaryKeyStore().getCertificate(alias).getPublicKey(); Thanks regards, -Prabath On Fri, Oct 3, 2014 at 9:33 PM, Danushka Fernando danush...@wso2.com

[Dev] Signature verification error - Signature length not correct: got 203 but was expecting 128

2014-10-03 Thread Danushka Fernando
Hi All I am trying to send some singed string from client to the server and in server side I am trying to verify it. My code is as per below. *Client Side* //Get the filesystem keystore default primary certificate KeyStoreManager keyStoreManager; keyStoreManager =

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-03 Thread Sameera Jayasoma
Hi Dhanuka, I noticed few issues in pom.xml of this orbit bundle. 1) Import package section is empty. Please the put correct import package list. 2) Optional=true is missing from some of the dependencies. 3) Following third-party libraries have been embedded inside this orbit bundle netty

Re: [Dev] Signature verification error - Signature length not correct: got 203 but was expecting 128

2014-10-03 Thread Prabath Siriwardena
I thought we agreed to go ahead with self-issued access tokens? Thanks regards, -Prabath On Fri, Oct 3, 2014 at 10:04 PM, Danushka Fernando danush...@wso2.com wrote: Hi All I am trying to send some singed string from client to the server and in server side I am trying to verify it. My code

Re: [Dev] Integrating WSO2 IS with Microsoft Assure AD

2014-10-03 Thread Darshana Gunawardana
Can you please share the metadata file you used here.. On Fri, Oct 3, 2014 at 5:33 PM, Poshitha Dabare poshi...@wso2.com wrote: Hi I was trying to integrate WSO2 IS with Microsoft Azure AD by adding it as an identity provider. It required the fedreation metadata file and i created one as

Re: [Dev] Integrating WSO2 IS with Microsoft Assure AD

2014-10-03 Thread Darshana Gunawardana
According to [1], make sure that your XML document is formatted *without* newlines [1] http://social.technet.microsoft.com/Forums/it-IT/4f3eeb5f-44ba-4873-91ff-27b3c3bc50fe/acs-20009-while-uploading-wsfederation-meta-data-document-to-acs?forum=WindowsAzureAD On Fri, Oct 3, 2014 at 10:37 PM,

[Dev] How to put a file to Carbon Registry from a Java client.

2014-10-03 Thread Supun Sethunga
Hi, What is the best way to put a file (i.e. text file) to the carbon registry via a java client? Is there any article/sample-code I can refer to? Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-03 Thread Dhanuka Ranasinghe
Hi Sameera, The reason for embed third party libraries is osgi cyclic dependency issue. This has been discussed long time back with Kishanthan and you. Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94

Re: [Dev] How to put a file to Carbon Registry from a Java client.

2014-10-03 Thread Sajith Kariyawasam
Hi Supun, You can find a sample in GREG distribution. In G-Reg-home/samples/ws-client Thanks, Sajith On Fri, Oct 3, 2014 at 10:49 PM, Supun Sethunga sup...@wso2.com wrote: Hi, What is the best way to put a file (i.e. text file) to the carbon registry via a java client? Is there any

Re: [Dev] Integrating WSO2 IS with Microsoft Assure AD

2014-10-03 Thread Darshana Gunawardana
In the same link i given, mentioning a utility program.. Have you tried that? On Fri, Oct 3, 2014 at 11:02 PM, Poshitha Dabare poshi...@wso2.com wrote: Hi Darshana. I directly coppied the xml from [1] . It is like this md:entitydescriptor entityid=https://localhost:9443/samlsso;

Re: [Dev] How to put a file to Carbon Registry from a Java client.

2014-10-03 Thread Supun Sethunga
Hi Sajith, Thanks! On Fri, Oct 3, 2014 at 11:04 PM, Sajith Kariyawasam saj...@wso2.com wrote: Hi Supun, You can find a sample in GREG distribution. In G-Reg-home/samples/ws-client Thanks, Sajith On Fri, Oct 3, 2014 at 10:49 PM, Supun Sethunga sup...@wso2.com wrote: Hi, What is the

Re: [Dev] Signature verification error - Signature length not correct: got 203 but was expecting 128

2014-10-03 Thread Danushka Fernando
Hi Prabath. I guess you missed the last line of my mail. ;) We are going to do what you suggested in M7. For just M6 we are trying to go with this solution. Any way even for that solution we need this to work right? So any idea what's going wrong here? Thanks Regards Danushka Fernando Software