Re: [Dev] We are getting some class not found issues intermittently

2014-07-14 Thread Sameera Jayasoma
Hi Ratha, Can you try to reproduce by removing the following jar from patch0009? repository/components/patches/patch0009/spring.framework_3.1.0.wso2v1.jar Thanks, Sameera. On Wed, Jul 9, 2014 at 6:49 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Is there any recent change in the

Re: [Dev] Sugarcane release

2014-07-14 Thread Dimuthu De Lanerolle
In addition we experienced some longtime server hanging issues once a test failure been occurred - this is a blocker since it affects remaining tests to be run. And also it seems like server is causing continuous connection failure problems. Can we look into these issues promptly? Regards,

[Dev] Which Hadoop version should we support in SS 1.5.0 ?

2014-07-14 Thread Shani Ranasinghe
Hi, The latest release is 2.4.1. Which is a bug fix release for the 2.4.x line, released on the 30th of June 2014. This release has a fix for a security bug and they recommend users to move to this version immediately. Or we could also use the 2.2.0 which is the GA release of 2.x, released in

Re: [Dev] [Carbon] Reproducing Bug - Logging incorrect tenant ID in wso2carbon.log

2014-07-14 Thread Gayashan Amarasinghe
Hi Malintha, Thanks a lot for the help. I was able to reproduce the issue using a custom tenant aware log file appender. I am looking in to fixing the issue now. Thanks. ​/Gayashan​ On Fri, Jul 11, 2014 at 10:21 AM, Malintha Adikari malin...@wso2.com wrote: Hi Gayashan, You can observe

Re: [Dev] We are getting some class not found issues intermittently

2014-07-14 Thread Vijayaratha Vijayasingam
Hi sameera; Thanks ..looks like this solved the issue..I restarted the server several times, but haven't faced any issue.. May i know how do you find the root cause? so, we won't disturb core team to fix these type issues? thanks On 14 July 2014 11:53, Sameera Jayasoma same...@wso2.com wrote:

[Dev] AMIP 1.7.0 Invalid domain name exception on tenant with secondary storage.

2014-07-14 Thread Roshan Wijesena
Hi. I have configured JDBC secondary storage for a tenant in APIM 1.7.0, afterwards I created new API and published it. After that when i logged in to the store and click on that API I am getting following error. org.wso2.carbon.forum.ForumException: Failed to initialize GenericArtifactManager

Re: [Dev] We are getting some class not found issues intermittently

2014-07-14 Thread Nuwan Dias
Hi, Although removing the jar fixed this issue, it will break the cause it was originally added for right. Do we have a solution/workaround for that? Thanks, NuwanD. On Mon, Jul 14, 2014 at 12:31 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi sameera; Thanks ..looks like this solved

[Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Inosh Perera
Hi all, Using java code, I'm trying to retrieve an environment variable defined in the OS(Ubuntu). When I define a variable in bashrc / bash_profile and **echo $SOME_VARIABLE** in the terminal, it shows it properly. But when I'm accessing it with Java, using System.getenv() , this variable

Re: [Dev] [DSS][AXIS2][AXIS2-JSON] Writing a new XML to JSON conversion

2014-07-14 Thread Yasas Karunarathna
Thank you for the quick responses. I checked in sources from both the locations https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0007/dependencies/axis2/modules/json/ https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/dependencies/axis2/1.6.1-wso2v10/modules/json

Re: [Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Rajith Vitharana
Hi Inosh, Have you tried restarting the machine? Thanks, On Mon, Jul 14, 2014 at 1:35 PM, Inosh Perera ino...@wso2.com wrote: Hi all, Using java code, I'm trying to retrieve an environment variable defined in the OS(Ubuntu). When I define a variable in bashrc / bash_profile and **echo

Re: [Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Inosh Perera
Hi Rajitha, Yes, I also tried couple of other ways. Thanks, On Mon, Jul 14, 2014 at 1:40 PM, Rajith Vitharana raji...@wso2.com wrote: Hi Inosh, Have you tried restarting the machine? Thanks, On Mon, Jul 14, 2014 at 1:35 PM, Inosh Perera ino...@wso2.com wrote: Hi all, Using java

Re: [Dev] We are getting some class not found issues intermittently

2014-07-14 Thread Kasun Gajasinghe
Hi, Good catch Sameera. It seems that this issue has occurred since the spring framework bundle in patch0009 includes a Service-Provider-Interface for javax.servlet.ServletContainerInitializer. So, I have removed the META-INF/services/javax.servlet.ServletContainerInitializer from spring

Re: [Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Rajith Vitharana
Hi Inosh, Try putting it ~/.bashrc. I have done a similar thing. It worked when the variable is defined in ~/.bashrc and restarting the machine. Thanks, On Mon, Jul 14, 2014 at 1:43 PM, Inosh Perera ino...@wso2.com wrote: Hi Rajitha, Yes, I also tried couple of other ways. Thanks, On

Re: [Dev] [DSS][AXIS2][AXIS2-JSON] Writing a new XML to JSON conversion

2014-07-14 Thread Shameera Rathnayaka
Hi Yasas, For you ClassNotFoundException, check do your axis2-json jar has required classes, BTW as i mentioned in previous reply you don't need to do any code changes to axis2 jars in order to plug your custom builders. Thanks, Shameera. On Mon, Jul 14, 2014 at 1:36 PM, Yasas Karunarathna

Re: [Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Harsha Kumara
Hi Inosh. Did you export that variable in bashrc? Thanks, Harsha On Mon, Jul 14, 2014 at 1:50 PM, Rajith Vitharana raji...@wso2.com wrote: Hi Inosh, Try putting it ~/.bashrc. I have done a similar thing. It worked when the variable is defined in ~/.bashrc and restarting the machine.

Re: [Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Chamil Jeewantha
[1] may helps to you. BTW, the code you have written gives expected result within Command Line simple java program. [1] http://stackoverflow.com/questions/13748367/system-getenv-does-not-list-all-the-environment-variables On Mon, Jul 14, 2014 at 1:51 PM, Harsha Kumara hars...@wso2.com wrote:

Re: [Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Inosh Perera
Hi Rajitha, Putting it in bash_profile worked. It was not defined properly before. Thank you On Mon, Jul 14, 2014 at 1:51 PM, Harsha Kumara hars...@wso2.com wrote: Hi Inosh. Did you export that variable in bashrc? Thanks, Harsha On Mon, Jul 14, 2014 at 1:50 PM, Rajith Vitharana

Re: [Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Kasun Dissanayake
Hi Inosh, It works for me when you add it on root .bashrc like the following SYNAPSE_HOME=/home/user/Team/synapse-2.1.0 export SYNAPSE_HOME PATH=$PATH:$SYNAPSE_HOME/bin export PATH And you shouldn't restart it. It's working fine Cheers On Mon, Jul 14, 2014 at 1:51 PM, Harsha Kumara

Re: [Dev] We are getting some class not found issues intermittently

2014-07-14 Thread Sameera Jayasoma
Hi Ratha, Here is how I found the culprit. :) First I wanted to make sure that this issue occurs due to changes done to the platform or to the kernel. To verify this I installed all the patches from patch0001 to patch0009 to a Carbon kernel instance. But when I start the kernel I got a Spring

Re: [Dev] Which Hadoop version should we support in SS 1.5.0 ?

2014-07-14 Thread Prabath Abeysekera
Did we check with the community as to how stable v241 is? I don't quite see any issue in adapting the aforesaid version as a starting point, if it is considered stable and has adequate support for all the expected functionalities. If we come across any limitation while we're into further

Re: [Dev] We are getting some class not found issues intermittently

2014-07-14 Thread Vijayaratha Vijayasingam
thanks sameera.. On 14 July 2014 14:07, Sameera Jayasoma same...@wso2.com wrote: Hi Ratha, Here is how I found the culprit. :) First I wanted to make sure that this issue occurs due to changes done to the platform or to the kernel. To verify this I installed all the patches from

Re: [Dev] Jaggery post method doesn't modify the content type when header is passed

2014-07-14 Thread Dakshika Jayathilaka
Hi, I have checked code and seems its fixed on latest version. What's the pack that your using currently? *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Thu, Jul 10, 2014 at 12:13 PM, Amal Gunatilake am...@wso2.com wrote: Hi Team, As

Re: [Dev] [DSS][AXIS2][AXIS2-JSON] Writing a new XML to JSON conversion

2014-07-14 Thread Rajith Vitharana
Hi Yasas, Try out creating a simple jar and put it in lib folder as shameera mentioned in above reply. I have tried out the scenario I have explained to you, and it worked fine for me As I mentioned, have you build the whole patch from the pom.xml inside patch0007 folder? and have you created

[Dev] APIM 1.7.0 shows only the latest version of an api in store

2014-07-14 Thread Jenananthan Yogendran
I created new api version by copying the old version and published without deprecate the old version. In the store it only shows the latest version of that api .But when I search the api using name it shows the both versions of that api. is this feature of APIM ? -- Jenananthan Yogendran

Re: [Dev] APIM 1.7.0 shows only the latest version of an api in store

2014-07-14 Thread Nuwan Dias
Showing the latest version is the default behaviour. You can change this if you prefer by changing the value of DisplayMultipleVersions to 'true' in the api-manager.xml Thanks, NuwanD. On Mon, Jul 14, 2014 at 3:06 PM, Jenananthan Yogendran jenanant...@wso2.com wrote: I created new api

Re: [Dev] [DSS][AXIS2][AXIS2-JSON] Writing a new XML to JSON conversion

2014-07-14 Thread Shameera Rathnayaka
Hi Rajith, Why are you asking him to build the patches , can't he work on already released DSs pack, Here i am trying to understand which issue Yasas trying to address by implementing a new JSON builder and formatter, we have plenty of Builders and formatters for JSON :) . May i know the real use

Re: [Dev] APIM 1.7.0 shows only the latest version of an api in store

2014-07-14 Thread Jenananthan Yogendran
able to see all the published versions by changing the value to 'true'. Thanks On Mon, Jul 14, 2014 at 3:11 PM, Nuwan Dias nuw...@wso2.com wrote: Showing the latest version is the default behaviour. You can change this if you prefer by changing the value of DisplayMultipleVersions to 'true'

[Dev] Fwd: [jira] (ESBJAVA-3215) Sample 256 is not working - Mail Transport

2014-07-14 Thread Miyuru Wanninayaka
Seems someone changed google password which used in mail transport sample. I don't think that there is a permanent solution other than asking users to use their own mail account when trying this sample. -- Forwarded message -- From: Miyuru Daminda (JIRA) j...@wso2.org Date: Mon,

Re: [Dev] [jira] (ESBJAVA-3215) Sample 256 is not working - Mail Transport

2014-07-14 Thread Dushan Abeyruwan
+1, don't think we should fix this lets comment about this and close it down. On Mon, Jul 14, 2014 at 3:25 PM, Miyuru Wanninayaka miy...@wso2.com wrote: Seems someone changed google password which used in mail transport sample. I don't think that there is a permanent solution other than

Re: [Dev] Fwd: [jira] (ESBJAVA-3215) Sample 256 is not working - Mail Transport

2014-07-14 Thread Isuru Udana
Hi Miyuru, Shall we modify the documentation stating that user should use their own test account when trying out this sample ? On Mon, Jul 14, 2014 at 3:25 PM, Miyuru Wanninayaka miy...@wso2.com wrote: Seems someone changed google password which used in mail transport sample. I don't

[Dev] Cannot call BAM Mediator through Scheduled Task

2014-07-14 Thread Danesh Kuruppu
Hi all, I need to call BAM Mediator through Task. but when I call it through the Task sequence, BAM mediator never get invoked. I created an ESB sequence with BAM mediator. when I invoke it manually through a custom proxy or an API, it works fine and the BAM event is created. but when we call it

Re: [Dev] Fwd: [jira] (ESBJAVA-3215) Sample 256 is not working - Mail Transport

2014-07-14 Thread Malaka Silva
+1 Since over the time google will be block the account. Better to ask user to provide the account details. On Mon, Jul 14, 2014 at 3:25 PM, Miyuru Wanninayaka miy...@wso2.com wrote: Seems someone changed google password which used in mail transport sample. I don't think that there is a

Re: [Dev] Jaggery post method doesn't modify the content type when header is passed

2014-07-14 Thread Dakshika Jayathilaka
Need to use latest build ALPHA4. :) *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Mon, Jul 14, 2014 at 9:46 AM, Amal Gunatilake am...@wso2.com wrote: Hi Dakshika, I used the pack that is currently available to download @ http://jaggeryjs.org/.

Re: [Dev] Jaggery post method doesn't modify the content type when header is passed

2014-07-14 Thread Amal Gunatilake
Hi Dakshika, The new pack seems to work fine. Thank you for the support. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Mon, Jul 14, 2014 at 4:02 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Need to use latest

Re: [Dev] [DSS][AXIS2][AXIS2-JSON] Writing a new XML to JSON conversion

2014-07-14 Thread Rajith Vitharana
Hi, I have tried with putting a jar file as a library to the repository/conf/lib folder. But it throws an exception when initializing axis2.xml file with class not found exception. Maybe axis2.xml get loaded before loading the classes in lib folder. Below is the exception which was thrown.

Re: [Dev] [DSS][AXIS2][AXIS2-JSON] Writing a new XML to JSON conversion

2014-07-14 Thread Yasas Karunarathna
@Ragith I checked out whole patch0007, couldn't build from the root(created some dependency problems with dependencies/orbit/axis2-json module... some relative path dependency pom files... i'm working on it nw ). So build only dependencies/axis2/modules/json module, copy the generated jar to the

Re: [Dev] We are getting some class not found issues intermittently

2014-07-14 Thread Vijayaratha Vijayasingam
kasun , as you said i tried..after that i get some spring class loading issue..May be the way edited the jar is wrong.. please commit the fix..we need to build the pack 2014-07-14 16:50:42,213] INFO {org.wso2.carbon.server.util.PatchUtils.console} - Patch verification successfully completed

Re: [Dev] Cannot call BAM Mediator through Scheduled Task

2014-07-14 Thread Rajith Siriwardena
Hi Danesh, Issue is reported and waiting for the patch to get reviewed.[1] You can apply the patch and it will solve your issue. [1] https://wso2.org/jira/browse/ESBJAVA-3208 Cheers, Rajith On Mon, Jul 14, 2014 at 3:47 PM, Danesh Kuruppu dan...@wso2.com wrote: Hi all, I need to call BAM

[Dev] Merge the pull request

2014-07-14 Thread Dimuthu De Lanerolle
Hi Krishantha, Please merge the pull request [1] [1] https://github.com/wso2-dev/carbon-platform-integration-utils/pull/5 Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email :

Re: [Dev] Cannot call BAM Mediator through Scheduled Task

2014-07-14 Thread Rajith Siriwardena
On Mon, Jul 14, 2014 at 5:11 PM, Rajith Siriwardena raj...@wso2.com wrote: Hi Danesh, Issue is reported and waiting for the patch to get reviewed.[1] You can apply the patch and it will solve your issue. [1] https://wso2.org/jira/browse/ESBJAVA-3208 Cheers, Rajith On Mon, Jul 14, 2014

[Dev] [CEP] Multithreading support in Siddhi

2014-07-14 Thread Sachini Jayasekara
Hi all, We are in the process of rewriting Siddhi to support multi-threading. We are planning to use disruptor to improve performance. Siddhi API is also changed accordingly to facilitate new functionalities. Thanks -- *Thanks Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

Re: [Dev] [CEP] Multithreading support in Siddhi

2014-07-14 Thread Sriskandarajah Suhothayan
Please get the initial pref results with the disruptor, so we can plan more on how we are going to use that in Siddhi. Suho On Mon, Jul 14, 2014 at 5:25 PM, Sachini Jayasekara sachi...@wso2.com wrote: Hi all, We are in the process of rewriting Siddhi to support multi-threading. We are

Re: [Dev] Cannot call BAM Mediator through Scheduled Task

2014-07-14 Thread Danesh Kuruppu
Hi Rajith, Thanks for the solution. I will try it. On Mon, Jul 14, 2014 at 5:18 PM, Rajith Siriwardena raj...@wso2.com wrote: On Mon, Jul 14, 2014 at 5:11 PM, Rajith Siriwardena raj...@wso2.com wrote: Hi Danesh, Issue is reported and waiting for the patch to get reviewed.[1] You can

Re: [Dev] Cannot call BAM Mediator through Scheduled Task

2014-07-14 Thread Manoj Kumara
*Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 Hi Rajith, Till it get reviewed you can build the mediator with necessary changes pointed out in the patch and replace the jar in ESB_HOME/repository/components/plugins and it will

Re: [Dev] Which Hadoop version should we support in SS 1.5.0 ?

2014-07-14 Thread Shani Ranasinghe
Hi, On Mon, Jul 14, 2014 at 2:16 PM, Prabath Abeysekera praba...@wso2.com wrote: Did we check with the community as to how stable v241 is? I have asked the community. Will update when I get a reply. I don't quite see any issue in adapting the aforesaid version as a starting point, if it

Re: [Dev] [G-Reg][integration-testing] Interleaving test classes

2014-07-14 Thread Krishantha Samaraweera
We had a debug session to find the root cause. The issue with incorrect usage with depends on annotation in SchemaAddTestCase. Only one test case depends on another case and rest of the test case execution happened in random order. After putting depends on annotation and getting the tests to run

Re: [Dev] Cannot call BAM Mediator through Scheduled Task

2014-07-14 Thread Rajith Siriwardena
On Mon, Jul 14, 2014 at 5:48 PM, Manoj Kumara ma...@wso2.com wrote: *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 Hi Rajith, Till it get reviewed you can build the mediator with necessary changes pointed out in the

[Dev] How to add a new User member to a Group in SCIM

2014-07-14 Thread Gayan Gunawardana
Hi Ishara, While writing integration test for patch operation I wanted to modify user list of a group. I have tried following method setMember(String id) setUserMember(String id) setGroupMember(String id) but it gives org.apache.wink.client.ClientRuntimeException:

[Dev] The WSO2 Developer Studio 3.7.0 Released!

2014-07-14 Thread Susankha Nirmala
*The WSO2 Developer Studio 3.7.0 Released!* WSO2 Developer Studio team is pleased to announce the release of version 3.7.0 of the WSO2 Developer Studio. WSO2 Developer Studio IDE provides a Complete Composite Application Development Tooling Platform for award winning WSO2 Carbon Middleware

Re: [Dev] Custom federated authenticator (For Linked In)

2014-07-14 Thread Ishara Karunarathna
Hi, On Sun, Jul 13, 2014 at 9:50 PM, Dulanja Liyanage dula...@wso2.com wrote: Shall we add this to Chunk-13? WDYT? I asked to add this an example how to add a custom federated authenticator. +1 for adding an federated authenticator to the server by efault. Thanks, -Ishara On Fri, Jul

Re: [Dev] [G-Reg][integration-testing] Interleaving test classes

2014-07-14 Thread Tania Mahanama
Noted. Thanks, Tania On Mon, Jul 14, 2014 at 6:44 PM, Krishantha Samaraweera krishan...@wso2.com wrote: We had a debug session to find the root cause. The issue with incorrect usage with depends on annotation in SchemaAddTestCase. Only one test case depends on another case and rest of

[Dev] chunk13-build error

2014-07-14 Thread Vijayaratha Vijayasingam
IS team; Please check.. IDP component/feature build fails.. INFO] BUILD FAILURE [INFO] [INFO] Total time: 29.527s [INFO] Finished at: Mon Jul 14 11:38:52 PDT 2014 [INFO] Final Memory: 57M/638M [INFO]

[Dev] How to get AS tenant life-cycle state

2014-07-14 Thread Anuruddha Premalal
Hi, I need to perform a filtering based on following App server tenant states, * loading * loaded * unloading * unloaded Can I use lastAccessedTime[1] to do it?. Or is there a better way to listen to tenant life-cycle events? [1] long lastAccessedTime

Re: [Dev] Which Hadoop version should we support in SS 1.5.0 ?

2014-07-14 Thread Anjana Fernando
Hi, Basically yeah, we won't have any issues in going with the latest Hadoop version, since Hive will anyway support it. For our current BAM 2.4.x patch releases, we won't be upgrading Hadoop. But for next major releases, we can use the new one. Cheers, Anjana. On Mon, Jul 14, 2014 at 6:42 PM,

[Dev] svn commits will be restricted

2014-07-14 Thread Vijayaratha Vijayasingam
Hi all; We will restrict the commits to svn today onwards due to continuous build breaks.. Thanks. -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] chunk13-build error

2014-07-14 Thread Prasad Tissera
Fixed. Please take a svn up in chunk-13/components. Regards, Prasad. On Tue, Jul 15, 2014 at 12:14 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team; Please check.. IDP component/feature build fails.. INFO] BUILD FAILURE [INFO]

Re: [Dev] chunk13-build error

2014-07-14 Thread Prasad Tissera
Fixed. Please take a svn up in chunk-13/components. Regards, Prasad. On Tue, Jul 15, 2014 at 12:14 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team; Please check.. IDP component/feature build fails.. INFO] BUILD FAILURE [INFO]

Re: [Dev] chunk13-build error

2014-07-14 Thread Vijayaratha Vijayasingam
No still not Features are broken..Please check ASAP NFO] Generating MANIFEST.MF [INFO] Updating Advice file (p2.inf) [INFO] Copying bundle dependencies [INFO]org.wso2.carbon.identity.application.common:4.2.1 [INFO]org.wso2.carbon.idp.mgt:4.2.3 [INFO] Generating feature archive:

[Dev] ESB sample 363 giving eoor

2014-07-14 Thread Waruna Perera
Hi, I tried to run ESB sample 363 with mysql configuration. It gives following exception. Any idea on it? ERROR - DataSourceFinder Error looking up DataSource : lookupdb using JNDI properties : javax.naming.InitialContext@4ec44deb javax.naming.ServiceUnavailableException [Root exception is

Re: [Dev] Plug Jaggery test framework to automation framework - Executing jaggery test cases during the build time and bridging it with test framework

2014-07-14 Thread Dimuthu De Lanerolle
Hi, We have completed implementing this common class and we will commit this to GIT soon. Instead writing any java test class extending this common class we can simply add the test class to the testng.xml inside the [PRODUCT_HOME]/modules/integration/tests-integration/xxx/src/test/resources

Re: [Dev] EMM Unit test reviewing

2014-07-14 Thread Krishantha Samaraweera
Hi all, On Tue, Jun 24, 2014 at 6:42 PM, Chan duli...@wso2.com wrote: Attendee:- Manuranga, Dulitha, Dilan, Krishantha, Kasun, Inosh, Krishanthi, Harshan, Dilshan - Improve the tier up, tier down functions per test case in jaggery test - Integrate to the build (jaggery-test) and