Re: [Dev] Hard coded Guava versions in features

2012-06-19 Thread Pradeep Fernando
Hi, IMHO, you can skip the unit tests. but you got to run the integration tests. + few manual developer level testing to, verify the basic functionality is not broken. --pradeep ___ Dev mailing list Dev@wso2.org

[Dev] Dangerous growth in Cassandra 1.1.0

2012-06-19 Thread Tharindu Mathew
I was running a BAM server for some time (not continuously, restarting all the time), and noticed the Cassandra data has grown to over 11 GB. I did not do any load test to get this kind of data growth. It seems the commit logs are the culprit. We need to figure out why this takes place. I have

Re: [Dev] Dangerous growth in Cassandra 1.1.0

2012-06-19 Thread Samisa Abeysinghe
Might want to check with Cassandra community On Tue, Jun 19, 2012 at 12:29 PM, Tharindu Mathew thari...@wso2.com wrote: I was running a BAM server for some time (not continuously, restarting all the time), and noticed the Cassandra data has grown to over 11 GB. I did not do any load test to

Re: [Dev] Build failure in core ndatasources

2012-06-19 Thread Lakmali Baminiwatta
hi, On Tue, Jun 19, 2012 at 12:53 PM, Tharindu Mathew thari...@wso2.com wrote: I took an up of the whole platform. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.ndatasource.core: Compilation failure

[Dev] What is the code coverage for AS integration tests?

2012-06-19 Thread Samisa Abeysinghe
What is $subject? Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Cassandra Explorer is available as a separate feature

2012-06-19 Thread Shelan Perera
Hi, I have completed moving Cassandra Explorer as a separate feature (Removed from Cassandra feature) , and following have been addressed mainly (Which include some minor bug fixes also). *Improvements.* - Complete full numbered pagination for Row view of explorer. - Search rows by their

Re: [Dev] NPE in PersistenceMetaDataDeployer at ESB starts up

2012-06-19 Thread Supun Malinga
Hi Rajika, I checked with esb pack in [1] and I didn't see this error. Is there anything specific that i need to do in order to reproduce the issue at startup? [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-239 thanks, On Fri, Jun 15, 2012 at 2:42 PM, Supun Malinga sup...@wso2.com

Re: [Dev] NPE in PersistenceMetaDataDeployer at ESB starts up

2012-06-19 Thread Supun Malinga
On Tue, Jun 19, 2012 at 2:44 PM, Rajika Kumarasiri raj...@wso2.com wrote: I started a today build of ESB and didn't see this error. It must be fixed now. Wonder what happened and how it got fixed. MetaData Deployer is designed not to run at start up. So most prob. a regression issue. Anyways

Re: [Dev] Build failure in governance component

2012-06-19 Thread Tharindu Mathew
Still getting this. I've updated the whole platform and built again. [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 45:50.154s [INFO] Finished

[Dev] Build fails in a clean-repo at WSF-Java

2012-06-19 Thread Nirmal Fernando
Hi, $subject! [INFO] Building WSO2 WSF/Java - Distribution 1.0.0-SNAPSHOT [INFO] [DEBUG] Lifecycle default - [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile,

Re: [Dev] Build fails in a clean-repo at WSF-Java

2012-06-19 Thread Supun Malinga
Hi, This is due to maven-site-plugin-2.0-beta-5.jar being currupt. I can see following log while downloading the plugin in online build, Downloading: http://commons.ucalgary.ca/pub/m2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.pom [WARNING] Checksum

Re: [Dev] Build fails in a clean-repo at WSF-Java

2012-06-19 Thread Amila Maha Arachchi
Hi Nirmal, Yes, it is the reason. Actually it is not corrupted. Instead it was tried to downloaded from the University of Calgary repo and because that repo is not available a 404 html file was downloaded to your repo as the jar file. I commented this out from the WSF's pom.xml on Monday. But

Re: [Dev] Build fails in a clean-repo at WSF-Java

2012-06-19 Thread Nirmal Fernando
On Tue, Jun 19, 2012 at 3:44 PM, Amila Maha Arachchi ami...@wso2.comwrote: Hi Nirmal, Yes, it is the reason. Actually it is not corrupted. Instead it was tried to downloaded from the University of Calgary repo and because that repo is not available a 404 html file was downloaded to your repo

[Dev] REST invocation doesn't work in Stratos trunk

2012-06-19 Thread Rajika Kumarasiri
When I tried to invoke a passthru proxy deployed on a tenant which proxy a REST service the request is dispatched to local transport it seems. Following log can be seen for the curl request, curl -X GET http://localhost:8280/services/t/test1.org/MobileDirectoryService/mobile/bbb [2012-06-19

Re: [Dev] NPE in PersistenceMetaDataDeployer at ESB starts up

2012-06-19 Thread Rajika Kumarasiri
Doesn't the stack trace helps to figure if this happens at start up?. I will let you know if I see the error again. Rajika On Tue, Jun 19, 2012 at 3:08 PM, Supun Malinga sup...@wso2.com wrote: On Tue, Jun 19, 2012 at 2:44 PM, Rajika Kumarasiri raj...@wso2.comwrote: I started a today build

Re: [Dev] Stratos Usage and Summarizer to be migrated to use BAM2.

2012-06-19 Thread Kathiravelu Pradeeban
I initially did a test migration using DataStax, as discussed in the post [1], for my personal testing purposes. However, as suggested by Deep and Tharindu, I started using Sqoop instead. It is pretty simple to migrate such, with Sqoop/Hadoop. I had a few issues which I verified from #sqoop irc.

Re: [Dev] NPE in PersistenceMetaDataDeployer at ESB starts up

2012-06-19 Thread Supun Malinga
Hi, On Tue, Jun 19, 2012 at 4:18 PM, Rajika Kumarasiri raj...@wso2.com wrote: Doesn't the stack trace helps to figure if this happens at start up?. I will let you know if I see the error again. yes but it won't point where it has gone wrong. Here it has a check to prevent running the deployer

Re: [Dev] Build fails in a clean-repo at WSF-Java

2012-06-19 Thread Amila Maha Arachchi
On Tue, Jun 19, 2012 at 3:51 PM, Nirmal Fernando nir...@wso2.com wrote: On Tue, Jun 19, 2012 at 3:44 PM, Amila Maha Arachchi ami...@wso2.comwrote: Hi Nirmal, Yes, it is the reason. Actually it is not corrupted. Instead it was tried to downloaded from the University of Calgary repo and

[Dev] Building error in org.wso2.stratos.gadget.login.ui in a clean repo

2012-06-19 Thread Nirmal Fernando
Hi, I see $Subject! [ERROR] Failed to execute goal on project org.wso2.stratos.gadget.login.ui: Could not resolve dependencies for project org.wso2.gs:org.wso2.stratos.gadget.login.ui:bundle:2.0.0-SNAPSHOT: Could not find artifact org.wso2.gs:org.wso2.stratos.gadget.login.stub:jar:2.0.0-SNAPSHOT

Re: [Dev] Build fails in a clean-repo at WSF-Java

2012-06-19 Thread Supun Malinga
Hi, I tried changing maven-site plugin version to 3.0 and the previous error was resolved, but got another error parsing docs [2]. [2] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default) on project wso2wsfjava: SiteToolException: Error parsing site

Re: [Dev] Building error in org.wso2.stratos.gadget.login.ui in a clean repo

2012-06-19 Thread Nuwan Bandara
IMO, amila did a version change of this stub can you take and update and see On Tue, Jun 19, 2012 at 4:54 PM, Nirmal Fernando nir...@wso2.com wrote: Hi, I see $Subject! [ERROR] Failed to execute goal on project org.wso2.stratos.gadget.login.ui: Could not resolve dependencies for project

Re: [Dev] Building error in org.wso2.stratos.gadget.login.ui in a clean repo

2012-06-19 Thread Nirmal Fernando
On Tue, Jun 19, 2012 at 4:57 PM, Nuwan Bandara nu...@wso2.com wrote: IMO, amila did a version change of this stub can you take and update and see I did svn up in both the module and service-stub, and now it's a slightly different error, even though the version error is fixed. Note the bold

Re: [Dev] PersistenceExceptions in ESB

2012-06-19 Thread Miyuru Wanninayaka
I can see policy files goes to registry when QoS is applied for proxy services. However when caching and throttling disabled, relevant policy files does not get deleted from registry hence policy does not get removed from proxy configuration. ESB needs that part also implemented to work QoS

Re: [Dev] Building error in org.wso2.stratos.gadget.login.ui in a clean repo

2012-06-19 Thread Nirmal Fernando
On Tue, Jun 19, 2012 at 5:10 PM, Nirmal Fernando nir...@wso2.com wrote: On Tue, Jun 19, 2012 at 4:57 PM, Nuwan Bandara nu...@wso2.com wrote: IMO, amila did a version change of this stub can you take and update and see I did svn up in both the module and service-stub, and now it's a

[Dev] Bad file descriptor

2012-06-19 Thread Dimuthu Leelarathne
Hi all, I am getting the below error while parsing the appfactory.xml [1] In this thread Shariq has reported the same problem - http://wso2.org/mailarchive/stratos-dev/2011-April/002484.html But there is no follow up of that thread. Any help or pointers are really appreciated. thanks, dimuthu

Re: [Dev] Building error in org.wso2.stratos.gadget.login.ui in a clean repo

2012-06-19 Thread Amila Maha Arachchi
I fixed this just now. I fixed another related issue today morning, but have missed this one. AmilaM. On Tue, Jun 19, 2012 at 5:22 PM, Nirmal Fernando nir...@wso2.com wrote: On Tue, Jun 19, 2012 at 5:10 PM, Nirmal Fernando nir...@wso2.com wrote: On Tue, Jun 19, 2012 at 4:57 PM, Nuwan

Re: [Dev] Bad file descriptor

2012-06-19 Thread Supun Malinga
Hi, [2] suggests it might be a concurrent access issue being not thread safe. [2] http://stackoverflow.com/questions/10286233/bad-file-descriptor-ioexception-in-java-using-javax-xml thanks, On Tue, Jun 19, 2012 at 5:34 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi all, I am getting

Re: [Dev] Bad file descriptor

2012-06-19 Thread Thilina Buddhika
This is because the inputstream is closed before it reads the child elements in loadAppFactoryConfiguration(). Thanks, Thilina On Tue, Jun 19, 2012 at 5:34 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi all, I am getting the below error while parsing the appfactory.xml [1] In this

[Dev] [Bamboo-Build] WSO2 Carbon Kernel #326 has FAILED. Change made by anjana.

2012-06-19 Thread Bamboo
--- WSO2 Carbon Kernel #326 failed. --- Code has been updated by anjana. No failed tests found, a possible compilation error.

Re: [Dev] [Bamboo-Build] WSO2 Carbon Kernel #326 has FAILED. Change made by anjana.

2012-06-19 Thread Amila Maha Arachchi
Somthing wrong with Bamboo machine?? [ERROR] Error executing Maven. 19-Jun-2012 05:01:00 [ERROR] 1 problem was encountered while building the effective settings 19-Jun-2012 05:01:00 [FATAL] Non-parseable settings /home/bamboo/software/apache-maven-3.0.3/conf/settings.xml: Duplicated tag:

[Dev] [Bamboo-Build] WSO2 Carbon platform #375 has FAILED. Change made by 21 authors.

2012-06-19 Thread Bamboo
--- WSO2 Carbon platform #375 failed. --- Code has been updated by miyuru, chamath, krishantha, rajika, sinthuja, ishan, ashansa, nuwanw, amilam, thilinab,

[Dev] Cannot build platform

2012-06-19 Thread Afkham Azeez
[ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.carbon:org.wso2.carbon.humantask:4.0.0-SNAPSHOT (/Users/azeez/projects/wso2/org/carbon/platform/trunk/components/business-processes/humantask/org.wso2.carbon.humantask/pom.xml) has 3 errors [ERROR]

Re: [Dev] Cannot build platform

2012-06-19 Thread Kasun Gajasinghe
Hi Azeez, I think you need to take an update in platform/parent/pom.xml, and build it. The said versions are specified there. Regards, --KasunG On Tue, Jun 19, 2012 at 6:44 PM, Afkham Azeez az...@wso2.com wrote: [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The

Re: [Dev] Cannot build platform

2012-06-19 Thread Dharshana Warusavitharana
I experienced same issue too :( and in org.wso2.carbon.identity.entitlement pops [ERROR] COMPILATION ERROR : [INFO] - [ERROR]

Re: [Dev] Cannot build platform

2012-06-19 Thread Subash Chaturanga
On Tue, Jun 19, 2012 at 7:35 PM, Afkham Azeez az...@wso2.com wrote: Yeah, looks like something has failed during my update. I will retry. On Tue, Jun 19, 2012 at 7:25 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Azeez, I think you need to take an update in platform/parent/pom.xml, and

[Dev] b4p compilation error

2012-06-19 Thread Afkham Azeez
[INFO] BUILD FAILURE [INFO] [INFO] Total time: 46:32.114s [INFO] Finished at: Tue Jun 19 20:26:10 IST 2012 [INFO] Final Memory: 601M/1184M [INFO]

[Dev] CPU time measurement per tenant in Slive.

2012-06-19 Thread Lasindu Vidana Pathiranage
I tried testing my code inside CarbonStuckThreadDetectionValve in org.wso2.carbon.tomcat.ext in carbon core inside invoke() method. What I did was when a thread passes through the valve to inside (Request) I measured the CPU time associated with it. When the thread passes again through the valve

[Dev] [Bamboo-Build] WSO2 Carbon platform #376 was SUCCESSFUL (with 1922 tests). Change made by lahirus and lakmali.

2012-06-19 Thread Bamboo
--- WSO2 Carbon platform #376 was successful. --- Code has been updated by lahirus, lakmali. 1922 tests in total.

Re: [Dev] Building error in org.wso2.stratos.gadget.login.ui in a clean repo

2012-06-19 Thread Nirmal Fernando
On Tue, Jun 19, 2012 at 5:35 PM, Amila Maha Arachchi ami...@wso2.comwrote: I fixed this just now. Verified the fix! Thanks. I fixed another related issue today morning, but have missed this one. AmilaM. On Tue, Jun 19, 2012 at 5:22 PM, Nirmal Fernando nir...@wso2.com wrote: On Tue,

[Dev] [Bamboo-Build] WSO2 Carbon Kernel #327 was SUCCESSFUL (with 2801 tests). Change made by supunm.

2012-06-19 Thread Bamboo
--- WSO2 Carbon Kernel #327 was successful. --- Code has been updated by supunm. 2801 tests in total.

Re: [Dev] b4p compilation error

2012-06-19 Thread Waruna Ranasinghe
You need to build dependency/ode and dependency/orbit/ode first. Thanks, Waruna sent from my mobile. On Jun 19, 2012 8:31 PM, Afkham Azeez az...@wso2.com wrote: [INFO] BUILD FAILURE [INFO] [INFO] Total time: 46:32.114s

[Dev] Using DBReport mediator with a stored procedure

2012-06-19 Thread Buddhika Chamith
Hi, Is it possible to use DBReport mediator to call a stored procedure having both IN and OUT parameters? So basically we want to get some return value from the procedure by invoking it with a set of parameters. Regards Buddhika ___ Dev mailing list

Re: [Dev] Removing Feature Manager from Standalone Jaggery Server

2012-06-19 Thread Sameera Jayasoma
Hi Ruchira, At the moment, the only way to do this is by excluding these libraries from the Jaggery distribution. Because these features comes with Carbon core. But once we do the proper minimization of Carbon core, we should be able to remove these libraries using a better way. Thanks, Sameera.

Re: [Dev] Upgrading Guava bundle to 12.0

2012-06-19 Thread Nuwan Bandara
+1, go ahead with your commit. thanks for putting the effort in testing all cases. Regards, /Nuwan On Tue, Jun 19, 2012 at 10:44 PM, Nirmal Fernando nir...@wso2.com wrote: Hi, I'm attaching screen shots of GS, GREG and BAM dashboards. They've loaded successfully after the version change.

Re: [Dev] [Architecture] Removing Feature Manager from Standalone Jaggery Server

2012-06-19 Thread Pradeep Fernando
Hi, It is possible to pack a jaggery distribution without feature manager (even now). But then again it wont be based on standard carbon-core distribution. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Using DBReport mediator with a stored procedure

2012-06-19 Thread Prabath Abeysekera
Hi Buddhika, On Wed, Jun 20, 2012 at 5:12 AM, Buddhika Chamith buddhi...@wso2.comwrote: Hi, Is it possible to use DBReport mediator to call a stored procedure having both IN and OUT parameters? So basically we want to get some return value from the procedure by invoking it with a set of

Re: [Dev] Using DBReport mediator with a stored procedure

2012-06-19 Thread Hiranya Jayathilaka
Dblookup will probably work. There was a sample. Sent from my iPhone On Jun 20, 2012, at 7:36 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Buddhika, On Wed, Jun 20, 2012 at 5:12 AM, Buddhika Chamith buddhi...@wso2.com wrote: Hi, Is it possible to use DBReport mediator to call a

Re: [Dev] PersistenceExceptions in ESB

2012-06-19 Thread Miyuru Wanninayaka
In current AxisObserver API, there is no easy way to pass list of engaged/disengaged policies and I don't think we can touch axisobserver to implement support for it. So only solution is, persistence manager needs to delete policies stored in registry when QoS is removed from Proxy service.

[Dev] Build Failure at trunk platform features event-bridge : pom.xml has an Error

2012-06-19 Thread Andun Gunawardena
Hi All, I have taken a SVN up today morning and now in the process of building platform, When I tried to build the platform/features it shows the following error, [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project

Re: [Dev] Build Failure at trunk platform features event-bridge : pom.xml has an Error

2012-06-19 Thread Denis Weerasiri
On Wed, Jun 20, 2012 at 9:59 AM, Andun Gunawardena an...@wso2.com wrote: Hi All, I have taken a SVN up today morning and now in the process of building platform, When I tried to build the platform/features it shows the following error, [ERROR] The build could not read 1 project - [Help 1]

Re: [Dev] Upgrading Guava bundle to 12.0

2012-06-19 Thread Nirmal Fernando
Hi All, I've tested the Cassandra feature, using org.wso2.carbon.cassandra.examples-4.0.0-SNAPSHOT-jar-with-dependencies client. Data got added successfully. Thanks Harsha for the helping hand! Next, I'm going to test hadoop, hive (BAM2) ! On Wed, Jun 20, 2012 at 6:25 AM, Nuwan Bandara

[Dev] [Bamboo-Build] WSO2 Carbon platform #379 has FAILED. Change made by tharindu.

2012-06-19 Thread Bamboo
--- WSO2 Carbon platform #379 failed. --- Code has been updated by tharindu. No failed tests found, a possible compilation error.

Re: [Dev] Building a product

2012-06-19 Thread Maheshika Goonetilleke
On Mon, Jun 18, 2012 at 3:26 PM, Maheshika Goonetilleke mahesh...@wso2.comwrote: On Mon, Jun 18, 2012 at 3:06 PM, Charith Wickramarachchi char...@wso2.com wrote: Myself and Dhanushka setup the SHAPSHOT repo artifact uploader (before end of Q1). It was successfully uploading artifacts. Not

Re: [Dev] Bad file descriptor

2012-06-19 Thread Dimuthu Leelarathne
Hi all, Deleting most of the spaces did the trick but I agree it is not the proper solution. Will update the thread once I get to the bottom of it. thanks, dimuthu On Tue, Jun 19, 2012 at 5:40 PM, Thilina Buddhika thili...@wso2.com wrote: This is because the inputstream is closed before it

Re: [Dev] Bad file descriptor

2012-06-19 Thread Thilina Buddhika
We encountered the same issue when parsing the identity.xml sometime back and that code segment had the same flaw I mentioned in my previous reply. :) Closing the input stream after reading the child elements and building the entire configuration fixed it. Thanks, Thilina On Wed, Jun 20, 2012

Re: [Dev] Using DBReport mediator with a stored procedure

2012-06-19 Thread Prabath Abeysekera
Hi, On Wed, Jun 20, 2012 at 8:13 AM, Hiranya Jayathilaka hira...@wso2.comwrote: Dblookup will probably work. There was a sample. If I;m not mistaken, DBLookup doesn't handle processing of OUT parameters either. Therefore, I believe if it is possible, the best option would be to use DSS.