[Dev] Multi-tenancy based dispatching doesn't add too much overhead

2012-09-06 Thread Afkham Azeez
I profiled AppServer while sending requests to an echo service hosted in a tenant. There is not much difference in the throughput between ST level invocation & tenant level invocation, and the profiles are also similar. So we can conclude that for AppServer, MT does not add any significant overhead

Re: [Dev] Latest G-Reg test failures.

2012-09-06 Thread Ajith Vitharana
On Thu, Sep 6, 2012 at 11:49 AM, Ajith Vitharana wrote: > > Results : > > Failed tests: > testAllowCreateAndListServices(org.wso2.carbon.registry.permission.test.LifeCyclePermissionTestCase): > Failed to add artifact: artifact id: 4760426a-985d-4a05-a6e0-1e7ef1f0909b. > Failed to add new resource

Re: [Dev] Latest G-Reg test failures.

2012-09-06 Thread Krishantha Samaraweera
Did a possible fix to CustomPermissionTestCase. Now all permission tests are passing. Need to do full test run again. Thanks, Krishantha. On Thu, Sep 6, 2012 at 1:11 PM, Ajith Vitharana wrote: > > > On Thu, Sep 6, 2012 at 11:49 AM, Ajith Vitharana wrote: > >> >> Results : >> >> Failed tests: >

[Dev] Mail transport test faliure

2012-09-06 Thread Miyuru Wanninayaka
--- T E S T S --- Running org.apache.axis2.transport.mail.MailTransportTest [IsolatedClassLoader@70535b58] weaveinfo Join point 'method-call(javax.activation.DataSource org.apache.axis2.format.M

Re: [Dev] BUILD FAILURE

2012-09-06 Thread Prabath Siriwardena
Did yo get an up of patch-release/4.0.1/service-stubs.. ? Both the missing jars are in the pom. ../../../service-stubs/org.wso2.carbon.identity.authenticator.saml2.sso.stub/4.0.1 ../../../service-stubs/org.wso2.carbon.identity.authenticator.iwa.stub/4.0.1 Thanks & regards, -Prabath On Thu, S

Re: [Dev] BUILD FAILURE

2012-09-06 Thread Ajith Vitharana
On Thu, Sep 6, 2012 at 4:21 PM, Prabath Siriwardena wrote: > Did yo get an up of patch-release/4.0.1/service-stubs.. ? Both the missing > jars are in the pom. > > > > ../../../service-stubs/org.wso2.carbon.identity.authenticator.saml2.sso.stub/4.0.1 > > > ../../../service-stubs/org.wso2.carbon

Re: [Dev] Updated Invitation: App Factory Repository Management Component Code review @ Thu Sep 6 2:30pm - 3:30pm (asha...@wso2.com)

2012-09-06 Thread Ashansa Perera
Review notes Avoid using "ui.execute", use repository url and read/write permission Use https when using basic auth Change the hardcoded repo version '0' to HEAD Use constants than String literals Define a ENUM for repository types When creating the working directory, use UUID than using the curre

[Dev] NPE from Carbon Authenticator at startup

2012-09-06 Thread Tharindu Mathew
I don't know whether this is intermittent. Sep 6, 2012 5:08:57 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [bridgeservlet] in context with path [/] threw exception java.lang.NullPointerException at org.wso2.carbon.ui.tracker.AuthenticatorRegistry.g

Re: [Dev] NPE from Carbon Authenticator at startup

2012-09-06 Thread Prabath Siriwardena
This could only happen when authTracker is set to null in AuthenticatorRegistry - that is only when AuthenticatorRegistry.init() is not called.. AuthenticatorRegistry.init() is invoked through the activate() method of CarbonUIServiceComponent. Can you consistently reproduce this..? Thanks & reg

Re: [Dev] NPE from Carbon Authenticator at startup

2012-09-06 Thread Tharindu Mathew
I have browsers open... This is constantly reproducible at startup... On Thu, Sep 6, 2012 at 5:24 PM, Prabath Siriwardena wrote: > This could only happen when authTracker is set to null > in AuthenticatorRegistry - that is only when AuthenticatorRegistry.init() > is not called.. > > Authenticator

Re: [Dev] NPE from Carbon Authenticator at startup

2012-09-06 Thread Prabath Siriwardena
Since you can reproduce it, would it possible for you to put a debug point at CarbonUIServiceComponent.activate() method and see whether the following line gets executed... AuthenticatorRegistry.init(ctxt.getBundleContext()); Thanks & regards, -Prabath On Thu, Sep 6, 2012 at 5:36 PM, Tharindu M

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #265 has FAILED. Change made by 12 authors.

2012-09-06 Thread Bamboo
--- WSO2 Carbon BRANCH > Platform_4.0.0 > #265 failed. --- This build occurred because it is a dependant of WCB001-KER000-177. No failed tests found, a possible c

Re: [Dev] Updated Invitation: App Factory Repository Management Component Code review @ Thu Sep 6 2:30pm - 3:30pm (asha...@wso2.com)

2012-09-06 Thread Rajika Kumarasiri
On Thu, Sep 6, 2012 at 5:07 PM, Ashansa Perera wrote: > Review notes > > Avoid using "ui.execute", use repository url and read/write permission > Use https when using basic auth > Change the hardcoded repo version '0' to HEAD > Use constants than String literals > Define a ENUM for repository typ

Re: [Dev] Adding HeapDumpOnOutOfMemoryError to wso2server.sh

2012-09-06 Thread Kasun Weranga
On Wed, Sep 5, 2012 at 2:51 PM, Nirmal Fernando wrote: > > > On Wed, Sep 5, 2012 at 2:42 PM, Kasun Indrasiri wrote: > >> Can we do the $subject? >> -XX:+HeapDumpOnOutOfMemoryError \ >> -XX:HeapDumpPath="$CARBON_HOME/repository/logs/heap-dump.hprof" \ >> > +1 > > +1 > >> >> >> -- >> Kas

[Dev] Compilation failure in clean repo

2012-09-06 Thread Ajith Vitharana
[INFO] BUILD FAILURE [INFO] [INFO] Total time: 1:42:10.679s [INFO] Finished at: Thu Sep 06 21:41:18 IST 2012 [INFO] Final Memory: 1185M/1821M [INFO] [ERR

[Dev] conflicting features for ntasks.core under App Server Feature Category: cannot install both versions of the same feature at once

2012-09-06 Thread Dileepa Jayakody
Hi All, I tried installing Application Server category to carbon 4.0.1 and ended up in below state; There's conflicting features scheduled for installation and p2 cannot install 2 versions of the same feature at the same time. Under AS category there is 1. Tasks : has a dependency to org.wso2.ca

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #266 has FAILED. Change made by 10 authors.

2012-09-06 Thread Bamboo
--- WSO2 Carbon BRANCH > Platform_4.0.0 > #266 failed. --- This build occurred because it is a dependant of WCB001-KER000-178. No failed tests found, a possible c

Re: [Dev] Compilation failure in clean repo

2012-09-06 Thread Shelan Perera
Hi, This is fixed now. Please take a svn up. THanks On Thu, Sep 6, 2012 at 9:45 PM, Ajith Vitharana wrote: > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1:42:10.679s > [INFO] Finished at: Thu Sep 06 21:41:18 IS

Re: [Dev] conflicting features for ntasks.core under App Server Feature Category: cannot install both versions of the same feature at once

2012-09-06 Thread Anjana Fernando
Hi Dileepa, This Maven error message is very confusing :) .. anyways what they mean by "Tasks Core Feature" itself is just the feature that have the ntask-core module. So tasks core feature is a required feature for data services tasks. And somehow, AS also includes the Tasks Core Feature separate

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #267 has FAILED. Change made by 4 authors.

2012-09-06 Thread Bamboo
--- WSO2 Carbon BRANCH > Platform_4.0.0 > #267 failed. --- This build occurred because it is a dependant of WCB001-KER000-179. No failed tests found, a possible c

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #180 has FAILED. Change made by pradeep and senaka.

2012-09-06 Thread Bamboo
--- WSO2 Carbon BRANCH > Kernel_4.0.0 > #180 failed. --- Code has been updated by pradeep, senaka. No failed tests found, a possible compilation error. http://ws

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #268 was SUCCESSFUL (with 1724 tests). Change made by pradeep.

2012-09-06 Thread Bamboo
--- WSO2 Carbon BRANCH > Platform_4.0.0 > #268 was successful. --- Code has been updated by pradeep. 1724 tests in total. http://wso2.org/bamboo/browse/WCB001-PL

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #181 was SUCCESSFUL. Change made by azeez.

2012-09-06 Thread Bamboo
--- WSO2 Carbon BRANCH > Kernel_4.0.0 > #181 was successful. --- Code has been updated by azeez. http://wso2.org/bamboo/browse/WCB001-KER000-181/ ---

Re: [Dev] conflicting features for ntasks.core under App Server Feature Category: cannot install both versions of the same feature at once

2012-09-06 Thread Dileepa Jayakody
Thanks Anjana. So the solution is to upgrade the Task Core feature's version to 4.0.1 and include it in AS and remove the data services tasks feature? @Kishanthan please do the needful in the AS category. Thanks, Dileepa On Fri, Sep 7, 2012 at 3:48 AM, Anjana Fernando wrote: > Hi Dileepa, > >

Re: [Dev] conflicting features for ntasks.core under App Server Feature Category: cannot install both versions of the same feature at once

2012-09-06 Thread Anjana Fernando
On Fri, Sep 7, 2012 at 3:01 PM, Dileepa Jayakody wrote: > Thanks Anjana. > So the solution is to upgrade the Task Core feature's version to 4.0.1 and > include it in AS and remove the data services tasks feature? > Yep. Cheers, Anjana. > > @Kishanthan please do the needful in the AS category.

[Dev] i have one issue ,can u please explain me

2012-09-06 Thread Anil Kancheti
Hi , If it possible can you explain me the following issue how to solve it. Issue:- 1.I created the one service on data service sever which connecting the mysql. 2.I have to display the mysql data on jsp page(Eclipse platform). 3.Can you explain me the step by step process how to do it. Thanks

[Dev] Providing KeyStore files with CLI Tool of Cartridges?

2012-09-06 Thread Lahiru Sandaruwan
Hi all, We have developed a CLI Tool for managing artifacts and instances for Cartridges. (Stratos tenants are the users of this CLI Tool) So before any operation, client will be authenticated against ADS (Artifact Deployment Server). ADS will be a part of Stratos server stack in the future. CLI

[Dev] Startup error after installing API Manager Category from p2-repo to carbon-4.0.1 (problem with org.apache.axis2.json package imports )

2012-09-06 Thread Dileepa Jayakody
Hi All, I installed API-Manager features from p2-repo to carbon-4.0.1 and restarted the server and got below startup error. [2012-09-07 12:00:08,299] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 56ms [2012-09-07 12:00:08,400] INFO {org.wso2.carbon.