Re: [Dev] Lucene and Solr bundles package conflicts

2015-02-04 Thread Danesh Kuruppu
Hi Gimantha, Sorry for the delay in responding. Problem seems to be when importing packages in registry-indexing, There we have imported lucene package as [1]. which will look for version 2.9.3 or upper. 1. org.apache.lucene.*;version=2.9.3

Re: [Dev] WSO2 Committers += Tharindu Edirisinghe

2015-02-04 Thread Tharindu Edirisinghe
Hi All, Thanks for the wishes... and all the support given with work. Cheers ! TharinduE On Wed, Feb 4, 2015 at 12:43 PM, Roshan Deniyage rosh...@wso2.com wrote: Congrats Tharindu!! Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter

[Dev] [ESB] trying to remove an empty xml tag from payload using script mediator

2015-02-04 Thread Awanthika Senarath
Hi, in trying to do $subject, i am using the script mediator as folows * script language=js* *var fullContent = mc.getPayloadXML(); * *var entity = mc.getPayloadXML()..*::entity;* *if (entity==null){* * fullContent.removeChild(entity);* * } * *mc.setPayloadXML(fullContent);*

Re: [Dev] [Jaggery] Getting session variables by session id.

2015-02-04 Thread Damith Wickramasinghe
Hi Asiri, Please see the documentation below.[1] you should be able to access the session values using the given session id. [1] : http://jaggeryjs.org/documentation.jag?api=session Regards, Damith. On Wed, Feb 4, 2015 at 2:48 PM, Asiri Liyana Arachchi asiriw...@gmail.com wrote: Hi all, In

[Dev] [Jaggery] Getting session variables by session id.

2015-02-04 Thread Asiri Liyana Arachchi
Hi all, In php there is a way to access session variables using session id. [1] How can that be done in jaggery. In jaggery session id can be retrieved (session.getId() ) but using that couldn't find a way to access session variables. Appreciate if anybody can help me on this. Thanks [1]:

[Dev] Server hangs with mssql

2015-02-04 Thread Vijayaratha Vijayasingam
Hi all; I configured mssql as DB. When starting the server (AM 1.8.0)it hangs at some point. There is no any error logs or other log infos.[1] Anyone faced such issue before? [1] [2015-02-05 08:12:08,679] INFO - CarbonCoreActivator User : Administrator, en-US, Asia/Singapore

[Dev] Issue on running wsdl2java.bat on Windows

2015-02-04 Thread Irham Iqbal
Hi, When running wsdl2java.bat on windows as shown below i am getting the following result. C:\Users\wso2\Desktop\wso2as-1\binwsdl2java.bat -uri http://192.168.1.3:9763/services/HelloService?wsdl BUILD SUCCESSFUL Total time: 7 seconds Using CARBON_HOME: C:\Users\wso2\Desktop\wso2as-1 Using

Re: [Dev] [ESB] trying to remove an empty xml tag from payload using script mediator

2015-02-04 Thread Malaka Silva
You can also try [1] [1] http://mrmalakasilva.blogspot.co.uk/2014/03/how-to-remove-xml-elements-using-script.html On Wed, Feb 4, 2015 at 6:01 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, Following script will do the job: script language=js var fullContent = mc.getPayloadXML();

[Dev] AM Social Feature

2015-02-04 Thread Malaka Silva
Hi, AM store provides the feature to share the api over social media. Is there a way to disable this for set of apis? Requirement is to disable this for internal apis. Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype :

Re: [Dev] How to resolve SVN errors of worker nodes at server startup

2015-02-04 Thread Colin Roy-Ehri
I will also add to osqa the issue with the Axis Module not found. I recently saw this same error [1] for a customer case, so it is not an isolated thing. A restart is an adequate workaround. -Colin [1] TID: [0] [AM] [2015-02-04 14:30:20,522] ERROR

Re: [Dev] WSO2 Committers += Tharindu Edirisinghe

2015-02-04 Thread Jerad Rutnam
Congratulations Tharindu! :) On Wed, Feb 4, 2015 at 10:25 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi All, Thanks for the wishes... and all the support given with work. Cheers ! TharinduE On Wed, Feb 4, 2015 at 12:43 PM, Roshan Deniyage rosh...@wso2.com wrote: Congrats

Re: [Dev] WSO2 Committers += Gayan Gunawardana

2015-02-04 Thread Thanuja Jayasinghe
Congratz Gayan... On Thu, Feb 5, 2015 at 8:53 AM, Jerad Rutnam je...@wso2.com wrote: Congratulations Gayan! :) On Tue, Feb 3, 2015 at 8:32 AM, Jayanga Dissanayake jaya...@wso2.com wrote: Congratulations Gayan! *Jayanga Dissanayake* Senior Software Engineer WSO2 Inc. -

[Dev] ESB Sample for File inbound endpoint

2015-02-04 Thread Chanaka Cooray
Hi, I tried to run the sample[1] in ESB 4.9.0 M4 pack. When I update the source view in ESB Management Console , it shows the following error. But when I create a file inbound endpoint using the inbound UI it works fine. can someone point out what I am doing wrong? [1].

[Dev] Can we set per cache invalidation time in carbon 4.1.0

2015-02-04 Thread Danesh Kuruppu
Hi all, In carbon 4.1.0, can we set per cache invalidation time? I need to create a backup resource cache where we need different invalidation time from the global invalidation time(15 min) and need to make it configurable. What is best way I can do this. Please help Thanks -- Danesh Kuruppu

Re: [Dev] Converting JSON to SOAP and vise versa in ESB

2015-02-04 Thread Uvindra Dias Jayasinha
Thanks Sampath and Asanka, Tried both your suggestions and now Im getting different exception RelayUtils Error while building Passthrough stream org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,68] Message: DOCTYPE is not allowed at

Re: [Dev] AM Social Feature

2015-02-04 Thread Malaka Silva
Thx. So this involves some custom development with Jaggery? On Thu, Feb 5, 2015 at 8:46 AM, Sanjeewa Malalgoda sanje...@wso2.com wrote: We can do this by using sub themes. If you need to do this only for some set of APIs you may need to get some attribute in API(like tag) and decide

[Dev] [APPFAC] Error regarding org.wso2.carbon.governance.lcm.jar

2015-02-04 Thread Kasun De Silva
Hi All, Observed following in the AF log, This happens when login into tenant admin for the first time right after creating the tenant. we are using org.wso2.carbon.governance.lcm_4.2.1.jar in this pack. Any clue why is this happening ? TID: [0] [AF] [2015-02-05 10:22:21,890] ERROR {

Re: [Dev] [APPFAC] Error regarding org.wso2.carbon.governance.lcm.jar

2015-02-04 Thread Janaka Ranabahu
Hi Kasun, On Thu, Feb 5, 2015 at 11:49 AM, Kasun De Silva kas...@wso2.com wrote: Hi All, Observed following in the AF log, This happens when login into tenant admin for the first time right after creating the tenant. we are using org.wso2.carbon.governance.lcm_4.2.1.jar in this pack.

[Dev] Converting JSON to SOAP and vise versa in ESB

2015-02-04 Thread Uvindra Dias Jayasinha
Im trying out Payload and Script mediator functionality to call this SOAP service, http://www.w3schools.com/webservices/tempconvert.asmx?op=CelsiusToFahrenheit by simulating a REST API using ESB 4.8.1, here is the synapse configuration I have defined api xmlns=http://ws.apache.org/ns/synapse;

[Dev] [ESB] Update xml input with xslt transformation

2015-02-04 Thread Himasha Guruge
Hi All, I need to create sample where I read a xml file with following attributes. TransactionID0A1R01/TransactionID TravelerID12345678926203/TravelerID DocumentCodetest/DocumentCode DocumentNumberPVCH43854/DocumentNumber DocumentStatusPAID/DocumentStatus If the DocumentNumber contains value'

Re: [Dev] [ESB] trying to remove an empty xml tag from payload using script mediator

2015-02-04 Thread Awanthika Senarath
Thanks Buddhima, your solution worked! regards Awanthika On Thu, Feb 5, 2015 at 12:56 AM, Malaka Silva mal...@wso2.com wrote: You can also try [1] [1] http://mrmalakasilva.blogspot.co.uk/2014/03/how-to-remove-xml-elements-using-script.html On Wed, Feb 4, 2015 at 6:01 PM, Buddhima

Re: [Dev] Converting JSON to SOAP and vise versa in ESB

2015-02-04 Thread Indika Sampath
Hi Uvindra, Try like below. payloadFactory media-type=xml format web:CelsiusToFahrenheit xmlns:web= http://www.w3schools.com/webservices/; web:Celsius$1/web:Celsius /web:CelsiusToFahrenheit /format

Re: [Dev] Converting JSON to SOAP and vise versa in ESB

2015-02-04 Thread Asanka Dissanayake
Hi Uvindra, Seems message failing during the building. And it picks the wrong formatter it seems. Set the content header in the curl as follows. curl -i -POST -H 'Accept: application/json' -H 'Content-Type:application/json' -d '{celsius:12}' http://IP Address:8280/api context Thanks, Asanka D

Re: [Dev] Regarding CEP

2015-02-04 Thread Damith Wickramasinghe
Hi Demini, its good that fixed your issue. :) I think the issue in CEP 3.1.0 is fixed in CEP 4.0.0. Feel free to direct us with your issues. Thanks, Damith. On Wed, Feb 4, 2015 at 10:00 PM, Demini Indrachapa demini.chat...@gmail.com wrote: thank you very much sir. it works [?][?]

Re: [Dev] WSO2 ESB 4.9.0 M5 Released..!

2015-02-04 Thread Malaka Silva
Can we get local copy to repo and continue from that? On Thu, Feb 5, 2015 at 1:06 PM, Sachini Jayasekara sachi...@wso2.com wrote: Hi, I created a repo locally for the issue I worked. git repository for building p2-repo for 4.3.0 can be found at [1]. [1]

Re: [Dev] SVG to PDF Converter?

2015-02-04 Thread Jerad Rutnam
Hi Dakshika, I tried *canvg.js* purely, and still no luck. I even tried some other methods and libraries for this, ex:- https://github.com/exupero/saveSvgAsPng But nothing worked so far. I just need to find a method to insert computed css styles to inline. Sometimes it might work. Found few other

Re: [Dev] WSO2 ESB 4.9.0 M5 Released..!

2015-02-04 Thread Sachini Jayasekara
Hi, I created a repo locally for the issue I worked. git repository for building p2-repo for 4.3.0 can be found at [1]. [1] https://github.com/wso2/carbon-feature-repository Thanks, Sachini On Thu, Feb 5, 2015 at 12:26 PM, Malaka Silva mal...@wso2.com wrote: Hi, I think Sachini has

Re: [Dev] [ESB] Eror Setting up Deployment Synchronizer for Manager Node

2015-02-04 Thread Aruna Karunarathna
Hi Maheeka, Is this for ESB 4.9.0 version?.. Then I think it's better to use the updated svn-client-adapter for carbon 4.3.0 version and test against newer svn server version (1.8) Regards, Aruna On Thu, Feb 5, 2015 at 11:20 AM, Maheeka Jayasuriya mahe...@wso2.com wrote: Hi all, Updated

Re: [Dev] SVG to PDF Converter?

2015-02-04 Thread Dakshika Jayathilaka
Can you share your code. then i can have a look.. Regards, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Thu, Feb 5, 2015 at 12:11 PM, Jerad Rutnam je...@wso2.com wrote: Hi Dakshika, I tried *canvg.js* purely, and still no luck. I even tried

[Dev] [DevStudio] Please review and merge the pull request : TOOLS-2378

2015-02-04 Thread Rajeevan Vimalanathan
Hi, Please merge the pull request[1] that includes fix for JIRA[2]. [1] https://github.com/wso2/developer-studio/pull/38 [2] https://wso2.org/jira/browse/TOOLS-2378 Thanks, Rajeevan -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email :

[Dev] Explanation on carbon-p2-plugin tags...

2015-02-04 Thread Niranda Perera
Hi all, Are there any documentation regarding the carbon p2 plugin tags and their uses? Rgds -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___ Dev mailing list Dev@wso2.org

Re: [Dev] WSO2 ESB 4.9.0 M5 Released..!

2015-02-04 Thread Malaka Silva
Hi, I think Sachini has created this. @Sachini - Can you provide the details pls? On Thu, Feb 5, 2015 at 10:38 AM, Isuru Ranawaka isu...@wso2.com wrote: Hi Shaventha , Currently there is no P2 repo On Thu, Feb 5, 2015 at 9:05 AM, Shavantha Weerasinghe shavan...@wso2.com wrote: Hi

Re: [Dev] Regarding CEP

2015-02-04 Thread Damith Wickramasinghe
Hi Demini, Did you set the Composite Key columns value correctly in the formatter ? It's the value which acts as the primary key for your table. Regards, Damith. On Wed, Feb 4, 2015 at 6:14 PM, Demini Indrachapa demini.chat...@gmail.com wrote: dear sir, I have connected a database to CEP

[Dev] Regarding CEP

2015-02-04 Thread Demini Indrachapa
dear sir, I have connected a database to CEP through phpMyAdmin. But i was unable to update the data. When i was trying to update data it created a new tuple in the table with the updated value. I selected insert or update mode as the execution mode when creating the event formatter. But it

Re: [Dev] [DEV][APIM] starting multiple APIM server instances

2015-02-04 Thread Irham Iqbal
Hi Tharindu, You can use MultipleServersManager to start multiple servers and ServerConfigurationManager to load configurations using test framework as shown in example[1] [1]

Re: [Dev] [ESB] trying to remove an empty xml tag from payload using script mediator

2015-02-04 Thread Buddhima Wijeweera
Hi, Following script will do the job: script language=js var fullContent = mc.getPayloadXML(); for(var index in fullContent..*::advancedImageSearchVO.children()){ var b = fullContent..*::advancedImageSearchVO.children()[index]; if(b.toString() ==''){ delete

Re: [Dev] [DEV][APIM] starting multiple APIM server instances

2015-02-04 Thread Dimuthu De Lanerolle
Hi Tharindu, You can follow [1] as a guide. [1] https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-scenario/src/test/java/org/wso2/carbon/am/tests/sample/RefreshTokenTestCase.java Regards On Wed, Feb 4, 2015 at 12:30 PM, Tharindu Dharmarathna

Re: [Dev] [Jaggery] Getting session variables by session id.

2015-02-04 Thread Asiri Liyana Arachchi
Hi Damith, Thanks for the reply. I've already read it. Using methods mention there it's possible to get the current session's values. Let's say for an example somehow I have two session ID's of two currently logged in users. I want to know if it's possible to access those users session data

Re: [Dev] [DEV][APIM] starting multiple APIM server instances

2015-02-04 Thread Tharindu Dharmarathna
Hi dimuthu,iqbal, Thanks for examples I'll look into this. Regards On Feb 4, 2015 4:20 PM, Irham Iqbal iq...@wso2.com wrote: Hi Tharindu, You can use MultipleServersManager to start multiple servers and ServerConfigurationManager to load configurations using test framework as shown in

Re: [Dev] Custom Mediator for JSON Payload Mediation

2015-02-04 Thread Ishan Jayawardena
You can add a dependency to synapse-commons module and use the org.apache.synapse.commons.json.JsonUtil class to access the JSON payload within the mediate method (assuming that you are using ESB v4.8.*). The utility class methods depend on the axis2 message context which you can obtain from the

[Dev] [DEV] Registry Core 4.2.0 Build with Tests Failure

2015-02-04 Thread Akalanka Pagoda Arachchi
Hi all, I am trying to build carbon registry core 4.2.0 [1] with tests. However, the tests fail with following error. Results : Failed tests: testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest): Query result count should be 1 expected:2 but was:1 Tests run:

Re: [Dev] [DEV] Registry Core 4.2.0 Build with Tests Failure

2015-02-04 Thread Chandana Napagoda
Hi, I think you are using JDK7. We do not recommend JDK 7 for building the code yet. Please use JDK 6. Thanks, Chandana On Wed, Feb 4, 2015 at 8:50 PM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Hi all, I am trying to build carbon registry core 4.2.0 [1] with tests. However, the

Re: [Dev] [ESB] Eror Setting up Deployment Synchronizer for Manager Node

2015-02-04 Thread Maheeka Jayasuriya
Hi all, Updated the svn-toolkit shared by Harsha and did the config changes as mentioned by Jeewantha, and the setup is working now with M5. Thanks. Thanks, Maheeka Jayasuriya Software Engineer Mobile : +9450661 On Mon, Feb 2, 2015 at 2:57 PM, Priyadarssini Kishokumar

Re: [Dev] SSO Jaggery feature usage

2015-02-04 Thread Ruchira Wageesha
Hi Prabath, It has been released now can can be found in at [1]. /Ruchira [1] http://maven.wso2.org/nexus/service/local/repositories/releases/content/org/jaggeryjs/modules/sso.feature/1.2.0/sso.feature-1.2.0.zip On Thu, Feb 5, 2015 at 9:43 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi

Re: [Dev] SSO Jaggery feature usage

2015-02-04 Thread Prabath Abeysekera
Thanks Ruchira. On Thu, Feb 5, 2015 at 11:23 AM, Ruchira Wageesha ruch...@wso2.com wrote: Hi Prabath, It has been released now can can be found in at [1]. /Ruchira [1]

[Dev] Automation dependencies to be updated in all products moving with git

2015-02-04 Thread Dharshana Warusavitharana
Since new git restructuring comes up with some guidelines we have to change dependencies in order to make them work dependency groupIdorg.wso2.carbon.automation/groupId artifactIdorg.wso2.carbon.automation.test.utils/artifactId version${carbon.automation.version}/version /dependency

Re: [Dev] WSO2 Committers += Gayan Gunawardana

2015-02-04 Thread Jerad Rutnam
Congratulations Gayan! :) On Tue, Feb 3, 2015 at 8:32 AM, Jayanga Dissanayake jaya...@wso2.com wrote: Congratulations Gayan! *Jayanga Dissanayake* Senior Software Engineer WSO2 Inc. - http://wso2.com/ lean . enterprise . middleware email: jaya...@wso2.com mobile: +94772207259 On Mon,

Re: [Dev] WSO2 ESB 4.9.0 M5 Released..!

2015-02-04 Thread Shavantha Weerasinghe
Hi Isuru Is there a P2 Repo for ESB 490 Regards, Shavantha Weerasinghe Senior Software Engineer QA WSO2, Inc. lean.enterprise.middleware. http://wso2.com http://wso2.org Tel : 94 11 214 5345 Fax :94 11 2145300 On Mon, Jan 26, 2015 at 6:03 PM, Isuru Ranawaka isu...@wso2.com wrote: Hi all,

Re: [Dev] SSO Jaggery feature usage

2015-02-04 Thread Prabath Abeysekera
Hi Ruchira, Just checking if this was released. Couldn't find the required released artifacts in any of the online repos WRT Jaggery SSO features. Cheers, Prabath On Mon, Feb 2, 2015 at 9:48 AM, Ruchira Wageesha ruch...@wso2.com wrote: Hi Prabath, It has already been merged into

Re: [Dev] ESB Sample for File inbound endpoint

2015-02-04 Thread Isuru Ranawaka
HI Chanaka, This is a bug and will be fixed in M6 . thanks On Thu, Feb 5, 2015 at 9:52 AM, Chanaka Cooray chana...@wso2.com wrote: Hi, I tried to run the sample[1] in ESB 4.9.0 M4 pack. When I update the source view in ESB Management Console , it shows the following error. But when I

Re: [Dev] ESB Sample for File inbound endpoint

2015-02-04 Thread Chanaka Cooray
All right then. Thank you. On Thu, Feb 5, 2015 at 9:57 AM, Isuru Ranawaka isu...@wso2.com wrote: HI Chanaka, This is a bug and will be fixed in M6 . thanks On Thu, Feb 5, 2015 at 9:52 AM, Chanaka Cooray chana...@wso2.com wrote: Hi, I tried to run the sample[1] in ESB 4.9.0 M4 pack.

Re: [Dev] [AF] Status Update - Nodejs Apptype

2015-02-04 Thread Hasitha Weerasinghe
Hi All, I have completed the following tasks in Nodejs apptype. * Create runtime.xml * Deployment to S2gitblit * Cartridge subscription. I have tested the above task by creating , building and deploying a Nodejs application. The cartridge was successfully subscribed and Nodejs cartridge

Re: [Dev] (no subject)

2015-02-04 Thread Shavantha Weerasinghe
Hi Chalitha I got the similar error on https://wso2.org/jira/browse/BAM-1689. The answer will be on this jira regards Shavantha Weerasinghe Senior Software Engineer QA WSO2, Inc. lean.enterprise.middleware. http://wso2.com http://wso2.org Tel : 94 11 214 5345 Fax :94 11 2145300 On Wed, Sep

Re: [Dev] [DEV] Registry Core 4.2.0 Build with Tests Failure

2015-02-04 Thread Akalanka Pagoda Arachchi
Hi Chandana, Yes, that was the issue. Thanks a lot. Akalanka. On Wed, Feb 4, 2015 at 9:04 PM, Chandana Napagoda chand...@wso2.com wrote: Hi, I think you are using JDK7. We do not recommend JDK 7 for building the code yet. Please use JDK 6. Thanks, Chandana On Wed, Feb 4, 2015 at 8:50

Re: [Dev] AM Social Feature

2015-02-04 Thread Sanjeewa Malalgoda
We can do this by using sub themes. If you need to do this only for some set of APIs you may need to get some attribute in API(like tag) and decide visibility. Thanks, sanjeewa, On Thu, Feb 5, 2015 at 12:49 AM, Malaka Silva mal...@wso2.com wrote: Hi, AM store provides the feature to share

Re: [Dev] [ESB] trying to remove an empty xml tag from payload using script mediator

2015-02-04 Thread Awanthika Senarath
Hi Buddhima, one more concern, your solutoin fails when an xml tag in the middle (not the last) is empty, it works fine only when the last xml tag is emty. the tostring method call fails Cannot call method toString of undefined (Unknown Source#5) when an xml tag which is not the last one is

Re: [Dev] [ESB] trying to remove an empty xml tag from payload using script mediator

2015-02-04 Thread Awanthika Senarath
Hi Buddhima it works fine when the tostring is removed from the script, so the correct script would be: script language=js var fullContent = mc.getPayloadXML(); for(var index in fullContent..*::advancedImageSearchVO.children()){ var b =

Re: [Dev] WSO2 ESB 4.9.0 M5 Released..!

2015-02-04 Thread Isuru Ranawaka
Hi Shaventha , Currently there is no P2 repo On Thu, Feb 5, 2015 at 9:05 AM, Shavantha Weerasinghe shavan...@wso2.com wrote: Hi Isuru Is there a P2 Repo for ESB 490 Regards, Shavantha Weerasinghe Senior Software Engineer QA WSO2, Inc. lean.enterprise.middleware. http://wso2.com