Re: [Dev] DSS give a java.lang.OutOfMemoryError

2014-12-16 Thread Chamila De Alwis
Hi Shashika, I am also coming across this issue. When I change the message formatter I can execute the PUT operation successfully. It seems this is an issue related to the Gson message builder. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On

Re: [Dev] [AF] [Urgent] Update copy jars for the undeployer changes

2014-12-16 Thread Samith Dassanayake
Hi Mahesh, As Harsha has mentioned why did you moved those bundle into the dropings? If you move those jars then those jars will be installed as OSGI bundles and you may have to install other dependencies as well. Thanks, Samith On Tue, Dec 16, 2014 at 12:31 PM, Mahesh Chinthaka mahe...@wso2.com

Re: [Dev] DSS give a java.lang.OutOfMemoryError

2014-12-16 Thread Chamila De Alwis
Hi, Furthermore I also tried analyzing the JVM using Java Mission Control, but it also get stuck when the OOM occurs. The CPU usage is very high. ​ I took a brief look at the heap dump using jvisualvm. And as far as I understand, the following thread is the one producing the OOM error, when

Re: [Dev] [DEV] MB DLC Message Restore

2014-12-16 Thread Akalanka Pagoda Arachchi
Hi Pamod, Yes, that would be a better way to approach this. Asitha has also suggested some improvements to that method, where we do not have to maintain the reference, but rather use a handler to update the current message content while a new message is being routed. Thanks, Akalanka. On Tue,

[Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Elilmatha Sivanesan
Hi all, I need to convert the json string like the following {name: {is:john}} to {\name\: {\is\:\john\}} I wrote the javascript as follows which works well on the online java script editor. The script !DOCTYPE html html body h2Create Object from JSON String/h2 p id=demo/p script var p ='{name:

Re: [Dev] [AF] [Urgent] Update copy jars for the undeployer changes

2014-12-16 Thread Mahesh Chinthaka
Hi Samith, Harsha, On Tue, Dec 16, 2014 at 1:49 PM, Samith Dassanayake sam...@wso2.com wrote: Hi Mahesh, As Harsha has mentioned why did you moved those bundle into the dropings? If we keep those jars in runtime/jenkins each and every tenant will load those classes individually. In a

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Vanjikumaran Sivajothy
Hi elimatha, If this is blocker to you, Have you try to use custom class mediator to perform above job? Best regards, vanji On Tue, Dec 16, 2014 at 2:03 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: Hi all, I need to convert the json string like the following {name: {is:john}} to

Re: [Dev] Invitation: RDBMS Output Adapter Code Review @ Tue Dec 16, 2014 1pm - 1:30pm (Sachini Jayasekara)

2014-12-16 Thread Sachini Jayasekara
Please find code review notes below. Participants: Suho, Damith, Lasantha, Sachini, Ramindu 1. Update tool tip used for field 'composite key columns' specifying to use commas when multiple attributes are used (this is only needed for update or insert mode) 2. Move execution mode

Re: [Dev] [AF] [Urgent] Update copy jars for the undeployer changes

2014-12-16 Thread Harsha Thirimanna
Yes , That is why we are defining run-time. In that case, how we avoid loading jenkins classes (more than 20 jars in jenkins runtime) per tenant ? Then you have to remove jenkins jars also from run-time. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com *

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Vanjikumaran Sivajothy
Can you please run this with ESB 4.9.0 m1/m2 ? On Tue, Dec 16, 2014 at 2:14 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi elimatha, If this is blocker to you, Have you try to use custom class mediator to perform above job? Best regards, vanji On Tue, Dec 16, 2014 at 2:03 PM,

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Elilmatha Sivanesan
Yes now I'm running this with 4.9.0 m3 On Tue, Dec 16, 2014 at 3:19 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Can you please run this with ESB 4.9.0 m1/m2 ? On Tue, Dec 16, 2014 at 2:14 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi elimatha, If this is blocker to you, Have

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Elilmatha Sivanesan
It is not working with m2,m3 On Tue, Dec 16, 2014 at 3:26 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: Yes now I'm running this with 4.9.0 m3 On Tue, Dec 16, 2014 at 3:19 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Can you please run this with ESB 4.9.0 m1/m2 ? On Tue, Dec 16,

[Dev] tcpdump in mac OS to capture loopback interfaces

2014-12-16 Thread Sajith Abeywardhana
Hi, I need to capture loopback address in my Mac OS. When I used *-i lo* it gives message like this. tcpdump: Io: No such device exists How should I capture loopback address in Mac OS? *Command and output* sh-3.2# tcpdump -vv -w /Users/apple/Desktop/temp01.pcap -s5000 -i Io tcpdump: Io: No

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Vanjikumaran Sivajothy
Since there is a bug in the milestone pack, I would recommend you to write a class mediator and perform this task. On Tue, Dec 16, 2014 at 4:25 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: It is not working with m2,m3 On Tue, Dec 16, 2014 at 3:26 PM, Elilmatha Sivanesan

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Elilmatha Sivanesan
Ok , Thank you. On Tue, Dec 16, 2014 at 5:05 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Since there is a bug in the milestone pack, I would recommend you to write a class mediator and perform this task. On Tue, Dec 16, 2014 at 4:25 PM, Elilmatha Sivanesan elilma...@wso2.com wrote:

Re: [Dev] tcpdump in mac OS to capture loopback interfaces

2014-12-16 Thread Prabath Ariyarathna
Hi sajith. Please try lo0 instead of lo On Tue, Dec 16, 2014 at 4:59 PM, Sajith Abeywardhana saji...@wso2.com wrote: Hi, I need to capture loopback address in my Mac OS. When I used *-i lo* it gives message like this. tcpdump: Io: No such device exists How should I capture loopback

[Dev] Test artifacts that we can use for security manager tests

2014-12-16 Thread Sanjeewa Malalgoda
Hi All, I have created web application which we can use for security manager tests. With this rest service we can perform basic security tests like file copy, delete, system property read etc. Also added sample Jmeter test case to verify its functionality. You need to deploy this in tenant space

[Dev] Please merge pull request to DSS

2014-12-16 Thread Dimuthu De Lanerolle
Hi DSS Team, Please merge the pull request [1] to DSS which introduces a new test-ui-integration module together with sample ui tests. [1] https://github.com/wso2-dev/product-dss/pull/5 Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear.

Re: [Dev] [WSO2 CEP] Asking about HA in CEP 3.1.0

2014-12-16 Thread Sriskandarajah Suhothayan
Hi Kacper You are correct, in all cases the server level clustering configuration is the same, what changes it how we wire the events. In failover mode, its expected that client will only send messages to one CEP and when it fails it will send to the other. But this is not always possible, if

Re: [Dev] Test artifacts that we can use for security manager tests

2014-12-16 Thread Nuwan Wimalasekara
Hi Sanjeewa, Thanks for sharing the very useful web app which can use for testing security scenarios. I am in the process of implementing automated test case for security manager in AS. So I can use this web application. but Need to do some slight changes. I will implement test case for above

Re: [Dev] Test artifacts that we can use for security manager tests

2014-12-16 Thread Sanjeewa Malalgoda
On Tue, Dec 16, 2014 at 6:02 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi Sanjeewa, Thanks for sharing the very useful web app which can use for testing security scenarios. I am in the process of implementing automated test case for security manager in AS. So I can use this web

[Dev] Single Logout for OIDC Service Providers

2014-12-16 Thread Darshana Gunawardana
Hi folks, Do we support $subject in Identity Server? AFAIK, we can generate a (proprietary) logout request by calling commonauth as follows,

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.3.0 RC4

2014-12-16 Thread Niranjan Karunanandham
[X] Stable - go ahead and release The following were tested in both Linux and Windows environment: - Artifact Deployment with and without GD - Access axis2 services with http https endpoints - Access axis2 services with http https endpoints (Ghost enable) - Try to deploy a

Re: [Dev] Please merge pull request to DSS

2014-12-16 Thread Chanika Geeganage
Merged. On Tue, Dec 16, 2014 at 5:55 PM, Dimuthu De Lanerolle dimut...@wso2.com wrote: Hi DSS Team, Please merge the pull request [1] to DSS which introduces a new test-ui-integration module together with sample ui tests. [1] https://github.com/wso2-dev/product-dss/pull/5 Regards --

[Dev] Please merge pull request

2014-12-16 Thread Rajeevan Vimalanathan
Hi, Please merge pull request[1] for the following JIRA[2]. [1] https://github.com/wso2-dev/developer-studio/pull/119 https://github.com/wso2-dev/product-emm/pull/6 [2] https://wso2.org/jira/browse/TOOLS-2526 Thanks, Rajeevan -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc.

[Dev] Please review and commit : APPM-155

2014-12-16 Thread Lahiru Cooray
Hi, Please merge the PR https://github.com/wso2/app-manager/pull/92 -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.3.0 RC4

2014-12-16 Thread Nipuni Perera
Hi, [X] Stable - go ahead and release Following areas were tested in both Linux and Windows environment: - Virtual host support w/ and w/o GD (with AS packs based on 4.3.0) - Adding webapps to a virtual host in super tenant and invoking. - Invoking webapp with different host

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.3.0 RC4

2014-12-16 Thread Aruna Karunarathna
[X] Stable - go ahead and release The following areas were tested. *Java Security Manager Scenarios* - Sign all jars with JDK 7 and check the packs [1] - check deployment of webapps - check deployment of jaggery apps - check deployment of jsf apps - check deployment of spring

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Vanjikumaran Sivajothy
Hi, I have tried this scenario with wso2 esb 4.8.1 with below[1] proxy that simulate your scenario. ?xml version=1.0 encoding=UTF-8? proxy xmlns=http://ws.apache.org/ns/synapse; name=Scripting transports=https,http statistics=disable trace=disable

[Dev] WSO2 BAM 2.5.0 Released !!

2014-12-16 Thread Sinthuja Ragendran
WSO2 Business Activity Monitor 2.5.0 Release Notes *15th of December 2014* WSO2 Business Activity Monitor (WSO2 BAM) is a comprehensive framework designed to solve the problems in the wide area of business activity monitoring. WSO2 BAM comprises of many modules to give the best of performance,

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.3.0 RC4

2014-12-16 Thread Kalpa Welivitigoda
Hi, [X] Stable - go ahead and release The following areas were tested *Registry Core *(Both in linux and windows environments) - add, get and delete of Resources in super tenant - add, get and delete of Resources in tenant - add, get and delete of Collection in super tenant - add,

[Dev] [DEV][DSS][APIM] Exception Caught while trying to add api

2014-12-16 Thread Tharindu Dharmarathna
Hi all, I installed APIM 1.7.0 features on top of Data Service Server 3.2.2 . After successful installation When I try to publish api through my Carbon component that write to publish Data service as an api I got following exception . Is there any Wokaround to solve this issue? [2014-12-16

[Dev] Retrieving correlation Id of JMS message in ESB always return null

2014-12-16 Thread Amalka Subasinghe
Hi, $subject. Is there anything missing? proxy name=test transports=https http jms startOnLoad=true trace=disable description/ target inSequence log level=custom property name=corelationId

Re: [Dev] Please review and commit : APPM-155

2014-12-16 Thread Ruwan Yatawara
Hi Lahiru, Small suggestion. Noticed that a bunch of text such as Allows 5 request(s) per minute. are hard coded. Actually these tier value are subject to change once the tiers.xml is changed. Hence it would be best to load these values dynamically, else it would be reported as another bug

Re: [Dev] iOS mdm flow chart

2014-12-16 Thread Dilshan Edirisuriya
Hi Shan, Since we need to migrate our CA implementation into IS provided one only its matter of defining that there. It applies to both CA and RA. +1 for using the API rather than asking them to create it themselves. I think we were discussing this previously as well to have this functionlity in

Re: [Dev] Change user passwords from a jaggery app inside UES

2014-12-16 Thread Ruchira Wageesha
Hi Thiwanka, Above module comes as a Jaggery extension named 'carbon' module, which might not be there in your UES distribution. Hence, please check whether you have a directory as UES_HOME/modules/carbon. Else, you will have to create and copy the content of [1] into the above directory and

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.3.0 RC4

2014-12-16 Thread Kishanthan Thangarajah
[x] Stable - go ahead and release The following areas were covered with testing. 1. Carbon kernel samples (feature-management, p2-repo) i. Installing sample features using pom ii. Installing sample features using a p2-repo. 2. Usage of caching (with a sample webapp) i. Simple cache

Re: [Dev] Single Logout for OIDC Service Providers

2014-12-16 Thread Darshana Gunawardana
On Wed, Dec 17, 2014 at 1:46 AM, Dulanja Liyanage dula...@wso2.com wrote: Hi Darshana, Please find my comments inline. On Tue, Dec 16, 2014 at 6:24 PM, Darshana Gunawardana darsh...@wso2.com wrote: Hi folks, Do we support $subject in Identity Server? AFAIK, we can generate a

[Dev] Contributing to IS - where is the current development source

2014-12-16 Thread Dulitha Wijewantha
Hi guys, I would like to contribute some code I wrote to identity.mgt component. Where is the development source of this available? Is it in SVN [1] or in Github? [1] - https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/identity/org.wso2.carbon.identity.mgt/ Cheers~ -- Dulitha

Re: [Dev] Contributing to IS - where is the current development source

2014-12-16 Thread Akalanka Pagoda Arachchi
Hi Dulitha, It's a simple search on Github. [1] https://github.com/wso2-dev/carbon-identity/tree/master/components/identity/org.wso2.carbon.identity.mgt Thanks, Akalanka On Wed, Dec 17, 2014 at 6:23 AM, Dulitha Wijewantha duli...@wso2.com wrote: Hi guys, I would like to contribute some code

[Dev] Contributing to IS - where is the current development source

2014-12-16 Thread Darshana Gunawardana
Hi Dulitha, Thanks for the contribution. Development source is available at [1]. And there is ongoing processes on moving to GIT. Until these migration get complete we kept sync svn and git. So you need to send a PR to [2] as well.. [1]

Re: [Dev] Contributing to IS - where is the current development source

2014-12-16 Thread Dulanja Liyanage
And this new code should be reviewed. Also, better to discuss what it provides in a public list like @dev or @architecture. Thanks Dulanja On Wed, Dec 17, 2014 at 8:51 AM, Darshana Gunawardana darsh...@wso2.com wrote: Hi Dulitha, Thanks for the contribution. Development source is available

[Dev] SOAP response generation

2014-12-16 Thread Asok Perera
Hi, I need to create a SOAP response for a particular request as given below. Request : 1. ?xml version=1.0? s:Envelope xmlns:a=http://www.w3.org/2005/08/addressing; xmlns:s=http://www.w3.org/2003/05/soap-envelope; s:Header a:Action s:mustUnderstand=1

Re: [Dev] Please review and commit : APPM-155

2014-12-16 Thread Lahiru Cooray
Hi Ruwan, Yes, there are many similar hard coded texts in the existing code base and I think we need to change all the occurrences.. Thanks.. On Tue, Dec 16, 2014 at 10:25 PM, Ruwan Yatawara ruw...@wso2.com wrote: Hi Lahiru, Small suggestion. Noticed that a bunch of text such as Allows 5

Re: [Dev] SOAP response generation

2014-12-16 Thread Inosh Perera
Hi Asok, You can use axis2 SOAPFactory to perform this. This might be helpful[1] [1] http://amilachinthaka.blogspot.com/2009/09/sending-arbitrary-soap-message-with.html Regards, Inosh On Wed, Dec 17, 2014 at 9:45 AM, Asok Perera as...@wso2.com wrote: Hi, I need to create a SOAP response for

Re: [Dev] DSS give a java.lang.OutOfMemoryError

2014-12-16 Thread Chamila De Alwis
Hi Shashika, Were you able to try with a different Data service definition? Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Tue, Dec 16, 2014 at 1:50 PM, Chamila De Alwis chami...@wso2.com wrote: Hi, Furthermore I also tried analyzing

Re: [Dev] DSS give a java.lang.OutOfMemoryError

2014-12-16 Thread Harsha Thirimanna
Hi Shashika, What about the heap dump and the observation ? Did you try with that ? *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 , +94 * *774617784twitter:

Re: [Dev] SOAP response generation

2014-12-16 Thread Harsha Thirimanna
Hi, Are you going to prepare this response by manually ? Can you explain what is the actual requirement of doing this ? *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 , +94 *

[Dev] [ES] input type 'file' not retrieved

2014-12-16 Thread Denuwanthi De Silva
Hi, In the custom asset extension I'm working on, I have a requirement to support file upload. Thus, in my overridden partial (create_form.hbs) I use input type='*file*' name='*wsdl_zip*' id='*wsdl_zip*' / to get the html view of the file uploader. Then, in my extension's asset.js inside

[Dev] Please review and commit APIMANAGER-3218

2014-12-16 Thread Kasun Gunasekara
Hi, Please review and commit [1] [1] https://wso2.org/jira/browse/APIMANAGER-3218 Thank you. Kasun Gunasekara Software Engineering Intern - WSO2 Mobile : +94 77 6986482 Twitter https://twitter.com/KaluMallii | Google+ https://plus.google.com/+KaZGunasekara/ | LinkedIn

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.3.0 RC4

2014-12-16 Thread Pubudu Dissanayake
[x] Stable - go ahead and release The following areas were covered with testing in both windows and Linux environments 1. Session Replication - Session replication with ELB (EC2 cluster) with and without Ghost Deployment - Session replication without ELB (directly accessing nodes) -

Re: [Dev] SOAP response generation

2014-12-16 Thread Prabath Ariyarathna
Hi Asok. If you need to build a mock SOAP service you can use the SOAP UI[1]. [1] = http://www.soapui.org/Getting-Started/mock-services.html http://www.soapui.org/Getting-Started/mock-services.html On Wed, Dec 17, 2014 at 10:24 AM, Harsha Thirimanna hars...@wso2.com wrote: Hi, Are you going

Re: [Dev] SOAP response generation

2014-12-16 Thread Asok Perera
Hi, Thanks all. What I needed was implementing a service for a windows mobile client who sends that SOAP request. I had a chat with the team regarding this and for the above requirement I will go with a JAX-WS service for processing the SOAP request by the client. BR *Asok Aravinda Perera*

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Keerthika Mahendralingam
Hi Elilmatha, try this one. script language=js var str='+mc.getProperty('uri.var.query1')+'; var qReplacedString = str.replace(new RegExp(//g),'\\'); var qReplacedStr = qReplacedString.replace(new RegExp(/'/g),''); mc.setProperty('uri.var.query1',qReplacedStr);

[Dev] Cassandra and RSS Manager RBAC Implementattion

2014-12-16 Thread Harsha Kumara
Hi All, I have added Role Base Permission model for Cassandra and RSS manager. This feature implemented using custom permissions define in the application management identity feature. With this feature, now it's possible to control the access permissions on performing operations in RSS or

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Keerthika Mahendralingam
Hi Elilmatha, When you get the value for query1 from mc.getProperty('uri.var.query1'), you will get json value for it. You can use replace() method to string values. So you need to convert the query json value to string. So you can change the query json value into string as follows: var

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Elilmatha Sivanesan
@Vanji , I tried as you suggested. * script language=jsvar Str = '{name: {is:john}}'; * * var qReplacedString = Str.replace(new RegExp(/\/g),'\\'); * * mc.setProperty('testingJS',qReplacedString);* * /script* This script is work on ESB.But when

[Dev] decompression error SVN IS checkout

2014-12-16 Thread Chamin Nalinda
Hi all, I got the following decompression error[1] after doing a svn checkout for WSO2 IS from[2]. Does any one know how to resolve this and the reason behind this ? [1] svn: E120104: ra_serf: An error occurred during decompression [2]

Re: [Dev] javascript.EvaluatorException in replace function

2014-12-16 Thread Vanjikumaran Sivajothy
@elimatha, You may have to apply the patch that given the jira [1] to solve the problem [1] https://wso2.org/jira/browse/ESBJAVA-3019 However, @keerthana's workaround will work for your case and good catch @keerthana On Wed, Dec 17, 2014 at 11:57 AM, Elilmatha Sivanesan elilma...@wso2.com

[Dev] Cannot install Key Manager feature from the given repo.

2014-12-16 Thread Ayesha Dissanayaka
Hi, When, I am trying to install key manager feature(APIM 1.7) from http://dist.wso2.org/p2/carbon/releases/turing/ [01] I am getting following error. Your original install request has been modified. org.wso2.carbon.event.server.feature.group-4.2.1 will be ignored because it is already

[Dev] WSO2 ESB 4.8.1 Management Console Exception

2014-12-16 Thread Anuruddha Liyanarachchi
Hi Team, I am trying to create a custom proxy in WSO2ESB version 4.8.1. But I am getting a blank page with following exception in the console. Can you please advice me what needs to be done in order to resolve this issue. I tried searching the web but couldn't find the answer. *[2014-12-17

Re: [Dev] WSO2 ESB 4.8.1 Management Console Exception

2014-12-16 Thread Godwin Amila Shrimal
Hi Anuruddha. What is the JDK version you are using ? AFAIK wso2 products fully functioning with JDK 1.6 Thanks Godwin On Wed, Dec 17, 2014 at 12:53 PM, Anuruddha Liyanarachchi anurudd...@wso2.com wrote: Hi Team, I am trying to create a custom proxy in WSO2ESB version 4.8.1. But I am

Re: [Dev] WSO2 ESB 4.8.1 Management Console Exception

2014-12-16 Thread Anuruddha Liyanarachchi
Hi Godwin, I am using JDK 1.8. I will switch to 1.6 and try. Thanks a lot ! Regards, Anuruddha On Wed, Dec 17, 2014 at 12:59 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi Anuruddha. What is the JDK version you are using ? AFAIK wso2 products fully functioning with JDK 1.6 Thanks