Re: [Dev] Merging of products services?
Hi all, I'm going to remove ( /comment out) following in kernel's user-mgt.xml. Since having them will results in errors when trying to add tenant merged CSG pack. Property name=PasswordJavaRegEx[\S]{5,30}$/Property Property name=UsernameJavaRegEx^[^~!@#$;%^*+={}\\|lt;gt;,\'\]{3,30}$/Property Regards, Ramith. On Tue, May 22, 2012 at 11:27 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi Ramith, Nice work! Yes we need to add Property name=MultiTenantRealmConfigBuilderorg.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder/Property to user-mgt.xml by default now. thanks, dimuthu On Tue, May 22, 2012 at 11:15 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi, I got the multi-tenancy features in to CSG by modifying stratos common features. However, when I try to add a tenant (as admin) I get following error. [2012-05-22 11:04:54,913] ERROR - RPCMessageReceiver Exception occurred while trying to invoke service method addTenant java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:143) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException at org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.persistTenant(DefaultTenantPersistor.java:83) at org.wso2.carbon.tenant.mgt.services.TenantMgtAdminService.addTenant(TenantMgtAdminService.java:79) As per the chat with Shankar this can be avoid by adding, Property
Re: [Dev] Merging of products services?
Hi, I got the multi-tenancy features in to CSG by modifying stratos common features. However, when I try to add a tenant (as admin) I get following error. [2012-05-22 11:04:54,913] ERROR - RPCMessageReceiver Exception occurred while trying to invoke service method addTenant java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:143) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException at org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.persistTenant(DefaultTenantPersistor.java:83) at org.wso2.carbon.tenant.mgt.services.TenantMgtAdminService.addTenant(TenantMgtAdminService.java:79) As per the chat with Shankar this can be avoid by adding, Property name=MultiTenantRealmConfigBuilderorg.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder/Property to user-mgt.xml. So I presume that this configuration will appear in user-mgt.xml from carbon pack by default? On Mon, May 21, 2012 at 12:05 PM, Thilina Buddhika thili...@wso2.com wrote: I fixed it. Need to test it further before committing. I can share the fixed bundle, so that you are not blocked on this. Thanks, Thilina On Mon, May 21, 2012 at 11:55 AM, Afkham Azeez az...@wso2.com wrote: I think Thilina has already fixed it. On Mon, May 21, 2012 at 10:28 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi Dimuthu, For now I will exclude the 'org.wso2.carbon.redirector.servlet.ui' from final pack (we can change this after
Re: [Dev] Merging of products services?
Hi Dimuthu, For now I will exclude the 'org.wso2.carbon.redirector.servlet.ui' from final pack (we can change this after thilina make the fix). regards ramith On Fri, May 18, 2012 at 2:40 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi Ramith, On Fri, May 18, 2012 at 2:11 PM, Ramith Jayasinghe ram...@wso2.com wrote: Hi, We are in the process of merging CSG (product and service) and came to realize that Login page of each products might need some change? Specifically, 1. Are going to use login page shipped with Service (or product) pack? 2. If we are to use the login page in service pack then do we need to keep 'login using Google Apps Account' section as well ? We are going to use Product's login page. Until Thilina's fix come please remove servlet.redirector.ui jar as well. thanks, dimuthul BTW, we are going to complete the merge (for CSG) before its alpha release ( planed for 23th May). Regards Ramith. On Fri, May 18, 2012 at 2:05 PM, Afkham Azeez az...@wso2.com wrote: You have to first profile without the merging, and then profile a pack which contains the merging. Only then we can compare see what additional overheads have been introduced. On Fri, May 18, 2012 at 1:44 PM, Ajith Vitharana aji...@wso2.com wrote: On Thu, May 17, 2012 at 6:08 PM, Ajith Vitharana aji...@wso2.com wrote: On Thu, May 17, 2012 at 4:36 PM, Afkham Azeez az...@wso2.com wrote: Hi, Was the profiling done? 80% of the startup time has consumed by the framework. Thanks Ajith Hi Azeez. I'll do it . Thanks Ajith On Wed, May 16, 2012 at 1:52 AM, Afkham Azeez az...@wso2.com wrote: Great work Ajith! Can you run this through jprofiler see what contributes to the increase in start up time? -- Afkham Azeez Sent from my phone On May 16, 2012 12:11 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, May 15, 2012 at 11:34 PM, Thilina Buddhika thili...@wso2.com wrote: Do you have the tenant creation support for super tenant in the merged product ? So far , all the integration and unit tests are passed against the merged product but server startup time has doubled. Theme management and tenant creation part should be there globally and not specific to G-reg . So, we can refrain of commits until those things are complete . :) Thanks Ajith Thanks, Thilina On Tue, May 15, 2012 at 11:33 PM, Ajith Vitharana aji...@wso2.com wrote: On Tue, May 15, 2012 at 11:26 PM, Ajith Vitharana aji...@wso2.com wrote: Hi All, We have fixed all the G-Reg server related issues, which are raised after merging G-Reg product with service. Shall we commit the G-reg server(merged) to trunk ? Thanks Ajith Thanks Ajith On Tue, May 15, 2012 at 10:05 AM, Thilina Buddhika thili...@wso2.com wrote: Also we have an OSGi level dependency for org.wso2.carbon.email.verification.util.EmailVerifcationSubscriber. IMO this should again be an optional dependency. Thanks, Thilina On Tue, May 15, 2012 at 8:46 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi Amila and Azeez, I have done all the work except make the billing optional by making the cardinality=0..1 in TenantMgtServiceComponent.java. Once done tenant-mgt it is independent. thanks, dimuthu On Mon, May 14, 2012 at 10:52 PM, Amila Maha Arachchi ami...@wso2.com wrote: Hi Azeez, Will work on this. We have done some work to separate the tenant-mgt and billing dependencies. I'll see what more needs to be done. Regards, AmilaM. On Mon, May 14, 2012 at 6:14 PM, Afkham Azeez az...@wso2.com wrote: AmilaM, Please look into this ASAP. This is very urgent for the merging work. Thanks Azeez On Mon, May 14, 2012 at 9:25 PM, Thilina Buddhika thili...@wso2.com wrote: Still there is no clear separation between tenant management and billing. When the tenant management feature is installed, it is required to install the bundles related to billing as well. Also there are dependencies for email verification OSGi service from tenant management feature. Before moving ahead with merging products and services, we need to remove the optional dependencies from the Stratos components. Thanks, Thilina On Mon, May 14, 2012 at 2:03 PM, Ajith Vitharana aji...@wso2.com wrote: On Sun, May 13, 2012 at 12:44 AM, Senaka Fernando sen...@wso2.com wrote: Hi Ajith, On Sun, May 13, 2012 at 12:38 AM, Ajith Vitharana aji...@wso2.com wrote: On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. I
Re: [Dev] Merging of products services?
Hi, We are in the process of merging CSG (product and service) and came to realize that Login page of each products might need some change? Specifically, 1. Are going to use login page shipped with Service (or product) pack? 2. If we are to use the login page in service pack then do we need to keep 'login using Google Apps Account' section as well ? BTW, we are going to complete the merge (for CSG) before its alpha release ( planed for 23th May). Regards Ramith. On Fri, May 18, 2012 at 2:05 PM, Afkham Azeez az...@wso2.com wrote: You have to first profile without the merging, and then profile a pack which contains the merging. Only then we can compare see what additional overheads have been introduced. On Fri, May 18, 2012 at 1:44 PM, Ajith Vitharana aji...@wso2.com wrote: On Thu, May 17, 2012 at 6:08 PM, Ajith Vitharana aji...@wso2.com wrote: On Thu, May 17, 2012 at 4:36 PM, Afkham Azeez az...@wso2.com wrote: Hi, Was the profiling done? 80% of the startup time has consumed by the framework. Thanks Ajith Hi Azeez. I'll do it . Thanks Ajith On Wed, May 16, 2012 at 1:52 AM, Afkham Azeez az...@wso2.com wrote: Great work Ajith! Can you run this through jprofiler see what contributes to the increase in start up time? -- Afkham Azeez Sent from my phone On May 16, 2012 12:11 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, May 15, 2012 at 11:34 PM, Thilina Buddhika thili...@wso2.com wrote: Do you have the tenant creation support for super tenant in the merged product ? So far , all the integration and unit tests are passed against the merged product but server startup time has doubled. Theme management and tenant creation part should be there globally and not specific to G-reg . So, we can refrain of commits until those things are complete . :) Thanks Ajith Thanks, Thilina On Tue, May 15, 2012 at 11:33 PM, Ajith Vitharana aji...@wso2.com wrote: On Tue, May 15, 2012 at 11:26 PM, Ajith Vitharana aji...@wso2.com wrote: Hi All, We have fixed all the G-Reg server related issues, which are raised after merging G-Reg product with service. Shall we commit the G-reg server(merged) to trunk ? Thanks Ajith Thanks Ajith On Tue, May 15, 2012 at 10:05 AM, Thilina Buddhika thili...@wso2.com wrote: Also we have an OSGi level dependency for org.wso2.carbon.email.verification.util.EmailVerifcationSubscriber. IMO this should again be an optional dependency. Thanks, Thilina On Tue, May 15, 2012 at 8:46 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi Amila and Azeez, I have done all the work except make the billing optional by making the cardinality=0..1 in TenantMgtServiceComponent.java. Once done tenant-mgt it is independent. thanks, dimuthu On Mon, May 14, 2012 at 10:52 PM, Amila Maha Arachchi ami...@wso2.com wrote: Hi Azeez, Will work on this. We have done some work to separate the tenant-mgt and billing dependencies. I'll see what more needs to be done. Regards, AmilaM. On Mon, May 14, 2012 at 6:14 PM, Afkham Azeez az...@wso2.com wrote: AmilaM, Please look into this ASAP. This is very urgent for the merging work. Thanks Azeez On Mon, May 14, 2012 at 9:25 PM, Thilina Buddhika thili...@wso2.com wrote: Still there is no clear separation between tenant management and billing. When the tenant management feature is installed, it is required to install the bundles related to billing as well. Also there are dependencies for email verification OSGi service from tenant management feature. Before moving ahead with merging products and services, we need to remove the optional dependencies from the Stratos components. Thanks, Thilina On Mon, May 14, 2012 at 2:03 PM, Ajith Vitharana aji...@wso2.com wrote: On Sun, May 13, 2012 at 12:44 AM, Senaka Fernando sen...@wso2.com wrote: Hi Ajith, On Sun, May 13, 2012 at 12:38 AM, Ajith Vitharana aji...@wso2.com wrote: On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. I have built the IS product with dashboard feature , Now plugin directory contains guice2_2.0.0.wso2v2.jar and guice_3.0.0.wso2v1.jar , However IS server stats without any issue . But G-reg server didn't start. :( Ok, so can you isolate all differences between IS and G-Reg that caused this? We need to get this sorted asap. This is an absolute blocker for us to get moving with the API-* additions to G-Reg, since the plan is that this gets completed before starting that. Hi Senaka, We were able to start G-Reg server after removing the registry content search feature. The server startup time has doubled and all the integration tests are passed with the merged
Re: [Dev] Merging of products services?
On Sun, May 13, 2012 at 12:44 AM, Senaka Fernando sen...@wso2.com wrote: Hi Ajith, On Sun, May 13, 2012 at 12:38 AM, Ajith Vitharana aji...@wso2.com wrote: On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. I have built the IS product with dashboard feature , Now plugin directory contains guice2_2.0.0.wso2v2.jar and guice_3.0.0.wso2v1.jar , However IS server stats without any issue . But G-reg server didn't start. :( Ok, so can you isolate all differences between IS and G-Reg that caused this? We need to get this sorted asap. This is an absolute blocker for us to get moving with the API-* additions to G-Reg, since the plan is that this gets completed before starting that. Hi Senaka, We were able to start G-Reg server after removing the registry content search feature. The server startup time has doubled and all the integration tests are passed with the merged product. TODOs: 1) We are getting identity.xml not found issue (Thilina working on this) 2) Theme migration . (DimuthuL and Thilina) Thanks Ajithn Thanks, Senaka. 2. Stratos Common feature imports Quartz1, which should be upgraded to Quartz2. AmilaM and Nuwan, can you guys check into this? Thanks, Senaka. On Fri, May 11, 2012 at 1:36 PM, Senaka Fernando sen...@wso2.comwrote: On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.comwrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and * guice*) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.com wrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.comwrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial
Re: [Dev] Merging of products services?
Still there is no clear separation between tenant management and billing. When the tenant management feature is installed, it is required to install the bundles related to billing as well. Also there are dependencies for email verification OSGi service from tenant management feature. Before moving ahead with merging products and services, we need to remove the optional dependencies from the Stratos components. Thanks, Thilina On Mon, May 14, 2012 at 2:03 PM, Ajith Vitharana aji...@wso2.com wrote: On Sun, May 13, 2012 at 12:44 AM, Senaka Fernando sen...@wso2.com wrote: Hi Ajith, On Sun, May 13, 2012 at 12:38 AM, Ajith Vitharana aji...@wso2.comwrote: On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.comwrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. I have built the IS product with dashboard feature , Now plugin directory contains guice2_2.0.0.wso2v2.jar and guice_3.0.0.wso2v1.jar , However IS server stats without any issue . But G-reg server didn't start. :( Ok, so can you isolate all differences between IS and G-Reg that caused this? We need to get this sorted asap. This is an absolute blocker for us to get moving with the API-* additions to G-Reg, since the plan is that this gets completed before starting that. Hi Senaka, We were able to start G-Reg server after removing the registry content search feature. The server startup time has doubled and all the integration tests are passed with the merged product. TODOs: 1) We are getting identity.xml not found issue (Thilina working on this) 2) Theme migration . (DimuthuL and Thilina) Thanks Ajithn Thanks, Senaka. 2. Stratos Common feature imports Quartz1, which should be upgraded to Quartz2. AmilaM and Nuwan, can you guys check into this? Thanks, Senaka. On Fri, May 11, 2012 at 1:36 PM, Senaka Fernando sen...@wso2.comwrote: On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.comwrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and * guice*) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.comwrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.comwrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop.
Re: [Dev] Merging of products services?
On Mon, May 14, 2012 at 9:25 PM, Thilina Buddhika thili...@wso2.com wrote: Still there is no clear separation between tenant management and billing. When the tenant management feature is installed, it is required to install the bundles related to billing as well. Also there are dependencies for email verification OSGi service from tenant management feature. Before moving ahead with merging products and services, we need to remove the optional dependencies from the Stratos components. I meant Stratos Core components. Thanks, Thilina Thanks, Thilina On Mon, May 14, 2012 at 2:03 PM, Ajith Vitharana aji...@wso2.com wrote: On Sun, May 13, 2012 at 12:44 AM, Senaka Fernando sen...@wso2.comwrote: Hi Ajith, On Sun, May 13, 2012 at 12:38 AM, Ajith Vitharana aji...@wso2.comwrote: On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.comwrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. I have built the IS product with dashboard feature , Now plugin directory contains guice2_2.0.0.wso2v2.jar and guice_3.0.0.wso2v1.jar , However IS server stats without any issue . But G-reg server didn't start. :( Ok, so can you isolate all differences between IS and G-Reg that caused this? We need to get this sorted asap. This is an absolute blocker for us to get moving with the API-* additions to G-Reg, since the plan is that this gets completed before starting that. Hi Senaka, We were able to start G-Reg server after removing the registry content search feature. The server startup time has doubled and all the integration tests are passed with the merged product. TODOs: 1) We are getting identity.xml not found issue (Thilina working on this) 2) Theme migration . (DimuthuL and Thilina) Thanks Ajithn Thanks, Senaka. 2. Stratos Common feature imports Quartz1, which should be upgraded to Quartz2. AmilaM and Nuwan, can you guys check into this? Thanks, Senaka. On Fri, May 11, 2012 at 1:36 PM, Senaka Fernando sen...@wso2.comwrote: On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.comwrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and * guice*) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.comwrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.comwrote: Any impact you see in startup time or performance? Can you do a quick comparison of
Re: [Dev] Merging of products services?
AmilaM, Please look into this ASAP. This is very urgent for the merging work. Thanks Azeez On Mon, May 14, 2012 at 9:25 PM, Thilina Buddhika thili...@wso2.com wrote: Still there is no clear separation between tenant management and billing. When the tenant management feature is installed, it is required to install the bundles related to billing as well. Also there are dependencies for email verification OSGi service from tenant management feature. Before moving ahead with merging products and services, we need to remove the optional dependencies from the Stratos components. Thanks, Thilina On Mon, May 14, 2012 at 2:03 PM, Ajith Vitharana aji...@wso2.com wrote: On Sun, May 13, 2012 at 12:44 AM, Senaka Fernando sen...@wso2.comwrote: Hi Ajith, On Sun, May 13, 2012 at 12:38 AM, Ajith Vitharana aji...@wso2.comwrote: On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.comwrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. I have built the IS product with dashboard feature , Now plugin directory contains guice2_2.0.0.wso2v2.jar and guice_3.0.0.wso2v1.jar , However IS server stats without any issue . But G-reg server didn't start. :( Ok, so can you isolate all differences between IS and G-Reg that caused this? We need to get this sorted asap. This is an absolute blocker for us to get moving with the API-* additions to G-Reg, since the plan is that this gets completed before starting that. Hi Senaka, We were able to start G-Reg server after removing the registry content search feature. The server startup time has doubled and all the integration tests are passed with the merged product. TODOs: 1) We are getting identity.xml not found issue (Thilina working on this) 2) Theme migration . (DimuthuL and Thilina) Thanks Ajithn Thanks, Senaka. 2. Stratos Common feature imports Quartz1, which should be upgraded to Quartz2. AmilaM and Nuwan, can you guys check into this? Thanks, Senaka. On Fri, May 11, 2012 at 1:36 PM, Senaka Fernando sen...@wso2.comwrote: On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.comwrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and * guice*) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.comwrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.comwrote: Any impact you see in startup time or performance?
Re: [Dev] Merging of products services?
Hi Azeez, Will work on this. We have done some work to separate the tenant-mgt and billing dependencies. I'll see what more needs to be done. Regards, AmilaM. On Mon, May 14, 2012 at 6:14 PM, Afkham Azeez az...@wso2.com wrote: AmilaM, Please look into this ASAP. This is very urgent for the merging work. Thanks Azeez On Mon, May 14, 2012 at 9:25 PM, Thilina Buddhika thili...@wso2.comwrote: Still there is no clear separation between tenant management and billing. When the tenant management feature is installed, it is required to install the bundles related to billing as well. Also there are dependencies for email verification OSGi service from tenant management feature. Before moving ahead with merging products and services, we need to remove the optional dependencies from the Stratos components. Thanks, Thilina On Mon, May 14, 2012 at 2:03 PM, Ajith Vitharana aji...@wso2.com wrote: On Sun, May 13, 2012 at 12:44 AM, Senaka Fernando sen...@wso2.comwrote: Hi Ajith, On Sun, May 13, 2012 at 12:38 AM, Ajith Vitharana aji...@wso2.comwrote: On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.comwrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. I have built the IS product with dashboard feature , Now plugin directory contains guice2_2.0.0.wso2v2.jar and guice_3.0.0.wso2v1.jar , However IS server stats without any issue . But G-reg server didn't start. :( Ok, so can you isolate all differences between IS and G-Reg that caused this? We need to get this sorted asap. This is an absolute blocker for us to get moving with the API-* additions to G-Reg, since the plan is that this gets completed before starting that. Hi Senaka, We were able to start G-Reg server after removing the registry content search feature. The server startup time has doubled and all the integration tests are passed with the merged product. TODOs: 1) We are getting identity.xml not found issue (Thilina working on this) 2) Theme migration . (DimuthuL and Thilina) Thanks Ajithn Thanks, Senaka. 2. Stratos Common feature imports Quartz1, which should be upgraded to Quartz2. AmilaM and Nuwan, can you guys check into this? Thanks, Senaka. On Fri, May 11, 2012 at 1:36 PM, Senaka Fernando sen...@wso2.comwrote: On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.comwrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and * guice*) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.comwrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be
Re: [Dev] Merging of products services?
On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. I have built the IS product with dashboard feature , Now plugin directory contains guice2_2.0.0.wso2v2.jar and guice_3.0.0.wso2v1.jar , However IS server stats without any issue . But G-reg server didn't start. :( 2. Stratos Common feature imports Quartz1, which should be upgraded to Quartz2. AmilaM and Nuwan, can you guys check into this? Thanks, Senaka. On Fri, May 11, 2012 at 1:36 PM, Senaka Fernando sen...@wso2.com wrote: On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.com wrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and *guice *) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.com wrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.com wrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.com wrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the
Re: [Dev] Merging of products services?
Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.com wrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the product and services, and move the product folder to attic. You might have to check the theme of super tenant. It should be same as the product theme. Also, we should run the integration tests as tenant mode as well. i.e. each integration test should be run in super tenant mode (to test product functionality) and tenant mode (to test multi-tenancy). Release owners and release managers, please note. Regards, Shankar On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Software Architect Chair, Management Committee – Cloud Technologies WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.com wrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the product and services, and move the product folder to attic. You might have to check the theme of super tenant. It should be same as the product theme. Also, we should run the integration tests as tenant mode as well. i.e. each integration test should be run in super tenant mode (to test product functionality) and tenant mode (to test multi-tenancy). Release owners and release managers, please note. Regards, Shankar On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Software Architect Chair, Management Committee – Cloud Technologies WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880| +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter:
Re: [Dev] Merging of products services?
Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and *guice*) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.com wrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.com wrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the product and services, and move the product folder to attic. You might have to check the theme of super tenant. It should be same as the product theme. Also, we should run the integration tests as tenant mode as well. i.e. each integration test should be run in super tenant mode (to test product functionality) and tenant mode (to test multi-tenancy). Release owners and release managers, please note. Regards, Shankar On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.com wrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and *guice*) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.com wrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.com wrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the product and services, and move the product folder to attic. You might have to check the theme of super tenant. It should be same as the product theme. Also, we should run the integration tests as tenant mode as well. i.e. each integration test should be run in super tenant mode (to test product functionality) and tenant mode (to test multi-tenancy). Release owners and release managers, please note. Regards, Shankar On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog:
Re: [Dev] Merging of products services?
Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. 2. Stratos Common feature imports Quartz1, which should be upgraded to Quartz2. AmilaM and Nuwan, can you guys check into this? Thanks, Senaka. On Fri, May 11, 2012 at 1:36 PM, Senaka Fernando sen...@wso2.com wrote: On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.com wrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and *guice*) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.com wrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.com wrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.com wrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the product and services, and move the product folder to attic. You might have to check the theme of super tenant. It should be same as the product theme. Also, we should run the integration tests as tenant mode as well. i.e. each integration test should be run in super tenant mode (to test product
Re: [Dev] Merging of products services?
Hi, We cannot update Guice to the latest version since shindig version we are using works only in Guice2, if you correctly export the versions this should be fine. thats the whole point of OSGi right ? Regards, /Nuwan On Fri, May 11, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Found the root causes. 1. The dashboard component/feature uses Guice2, whereas Identity features use Guice3. I believe that we need to upgrade the older dashboard to Guice3 as well, which should solve this issue. 2. Stratos Common feature imports Quartz1, which should be upgraded to Quartz2. AmilaM and Nuwan, can you guys check into this? Thanks, Senaka. On Fri, May 11, 2012 at 1:36 PM, Senaka Fernando sen...@wso2.com wrote: On Fri, May 11, 2012 at 1:34 PM, Ajith Vitharana aji...@wso2.com wrote: Hi All, The following issue is occurred after merging G-Reg product with service. However , after removing the duplicate orbit bundles(*quartz* and *guice *) this issue got resolved. The G-Reg integration tests are executed against the merged product and only one test failure occurred. Yes, and this is because the Service for the security verifier test-case did not get deployed. We are looking into why that happened. Thanks, Senaka. 2012-05-11 13:14:54,695] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2012-05-11 13:14:54,696] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.ExceptionInInitializerError at org.wso2.carbon.application.deployer.CappAxis2Deployer.init(CappAxis2Deployer.java:44) at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165) at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.lang.NullPointerException at org.wso2.carbon.application.deployer.internal.ApplicationManager.findInitialHandlerCount(ApplicationManager.java:641) at org.wso2.carbon.application.deployer.internal.ApplicationManager.init(ApplicationManager.java:87) at org.wso2.carbon.application.deployer.internal.ApplicationManager.clinit(ApplicationManager.java:59) ... 11 more /Ajith On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.com wrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.com wrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.com wrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the
Re: [Dev] Merging of products services?
RMs, Please provide a status update on this please. Thanks Azeez On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.com wrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.com wrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the product and services, and move the product folder to attic. You might have to check the theme of super tenant. It should be same as the product theme. Also, we should run the integration tests as tenant mode as well. i.e. each integration test should be run in super tenant mode (to test product functionality) and tenant mode (to test multi-tenancy). Release owners and release managers, please note. Regards, Shankar On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Software Architect Chair, Management Committee – Cloud Technologies WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880| +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com*
Re: [Dev] Merging of products services?
I have been looking into the issue Dimuthu reported. Seems like it is possible to modify the redirector servlet filters to work in both standalone and Stratos scenarios without based on a config parameter. Thanks, Thilina On Fri, May 11, 2012 at 7:14 PM, Afkham Azeez az...@wso2.com wrote: RMs, Please provide a status update on this please. Thanks Azeez On Fri, May 11, 2012 at 12:09 PM, Afkham Azeez az...@wso2.com wrote: So we can make the AS a template which can be used for merging other products. Once we learn what needs to be done and what needs to be compared, we can prepare a set of guidelines to be followed by all other teams. On Fri, May 11, 2012 at 12:07 PM, Afkham Azeez az...@wso2.com wrote: Any impact you see in startup time or performance? Can you do a quick comparison of response time throughput of the old standalone AS new merged AS? We need to see whether the merged AS has any drastic performance drop. Nirodha already has these tests. On Fri, May 11, 2012 at 12:02 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, I did the p2 profile merge for AppServer. Right now things work if we delete the servlet.redirector.ui from repository/components/plugins. Thilina is looking at how to fix this issue. thanks, dimuthu On Thu, May 10, 2012 at 11:01 AM, Senaka Fernando sen...@wso2.comwrote: Hi all, We are trying to get the product and service merged for Stratos Governance. Here are some initial feedback. 1. The Stratos G-App feature does not work with the rest of the product features. So we had to get rid of that for the moment. Dimuthu is working on getting this sorted out. 2. The total number of bundles in product increased by 52. I wonder why the stratos-specific features installed in Stratos Governance need 52 bundles extra. 3. The start-up time has almost doubled. Checking into that issue as well. Thanks, Senaka. On Tue, May 8, 2012 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the product and services, and move the product folder to attic. You might have to check the theme of super tenant. It should be same as the product theme. Also, we should run the integration tests as tenant mode as well. i.e. each integration test should be run in super tenant mode (to test product functionality) and tenant mode (to test multi-tenancy). Release owners and release managers, please note. Regards, Shankar On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Software Architect Chair, Management Committee – Cloud Technologies WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
Re: [Dev] Merging of products services?
+1 to this plan .. right move IMO. Sanjiva. On Tue, May 8, 2012 at 3:13 PM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: Hi Folks, Samisa, Azzez and me had a chat about this and decided to go ahead with merging. So, release managers, please merge the product and services, and move the product folder to attic. You might have to check the theme of super tenant. It should be same as the product theme. Also, we should run the integration tests as tenant mode as well. i.e. each integration test should be run in super tenant mode (to test product functionality) and tenant mode (to test multi-tenancy). Release owners and release managers, please note. Regards, Shankar On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Software Architect Chair, Management Committee – Cloud Technologies WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
On Thu, Mar 22, 2012 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. Why do we have to check whether it is product-mode or service-mode? In stratos service, tenant 0 is acting exactly as standalone product. Other than the binary size, I don't see any issue in merging product and services. Shankar I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Senaka Fernando Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Architect WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
On Mon, Mar 26, 2012 at 9:20 AM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: On Thu, Mar 22, 2012 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. Why do we have to check whether it is product-mode or service-mode? In stratos service, tenant 0 is acting exactly as standalone product. Other than the binary size, I don't see any issue in merging product and services. I think the complexity is due to the fact that we don't need some components (functionality) in the service and we don't need some components in the product. For an example for Stratos ESB, components like Synapse artifact uploader are not required. Similarly for the product, some (most) of the stratos related components are not required. Merging all these stuff together into a single package is going to bring a lot of unnecessary stuff for both the product and the service. Thanks, Hiranya Shankar I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Senaka Fernando Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Architect WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
On Mon, Mar 26, 2012 at 9:35 AM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 9:20 AM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: On Thu, Mar 22, 2012 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. Why do we have to check whether it is product-mode or service-mode? In stratos service, tenant 0 is acting exactly as standalone product. Other than the binary size, I don't see any issue in merging product and services. I think the complexity is due to the fact that we don't need some components (functionality) in the service and we don't need some components in the product. For an example for Stratos ESB, components like Synapse artifact uploader are not required. Similarly for the product, some (most) of the stratos related components are not required. Merging all these stuff together into a single package is going to bring a lot of unnecessary stuff for both the product and the service. Yes, that's nearly the same situation for G-Reg, where we don't allow tenant to create mounts in Stratos etc. Thanks, Senaka. Thanks, Hiranya Shankar I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Senaka Fernando Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Architect WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi all, Can we start working on this change after the Kernel release? Seems like this merging is not straight forward task. It might introduce many complications to the products. Thanks, Sameera. On Mon, Mar 26, 2012 at 10:00 AM, Senaka Fernando sen...@wso2.com wrote: On Mon, Mar 26, 2012 at 9:35 AM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 9:20 AM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: On Thu, Mar 22, 2012 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. Why do we have to check whether it is product-mode or service-mode? In stratos service, tenant 0 is acting exactly as standalone product. Other than the binary size, I don't see any issue in merging product and services. I think the complexity is due to the fact that we don't need some components (functionality) in the service and we don't need some components in the product. For an example for Stratos ESB, components like Synapse artifact uploader are not required. Similarly for the product, some (most) of the stratos related components are not required. Merging all these stuff together into a single package is going to bring a lot of unnecessary stuff for both the product and the service. Yes, that's nearly the same situation for G-Reg, where we don't allow tenant to create mounts in Stratos etc. Thanks, Senaka. Thanks, Hiranya Shankar I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Senaka Fernando Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Architect WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
On Mon, Mar 26, 2012 at 10:04 AM, Sameera Jayasoma same...@wso2.com wrote: Hi all, Can we start working on this change after the Kernel release? Seems like this merging is not straight forward task. It might introduce many complications to the products. +1 IMHO we should be concentrating on the kernel at the moment. For that we need packs to test the kernel. We are almost there on providing packs for testing the kernel functionalities. If we do this now, 1. We will not get packs for some more time due to build failures 2. We are introducing an *unnecessary variable* to our kernel testing process. This merging is something related to product releases. So I guess we can wait until the kernel is verified. Thanks, AmilaM. Thanks, Sameera. On Mon, Mar 26, 2012 at 10:00 AM, Senaka Fernando sen...@wso2.com wrote: On Mon, Mar 26, 2012 at 9:35 AM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 9:20 AM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: On Thu, Mar 22, 2012 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. Why do we have to check whether it is product-mode or service-mode? In stratos service, tenant 0 is acting exactly as standalone product. Other than the binary size, I don't see any issue in merging product and services. I think the complexity is due to the fact that we don't need some components (functionality) in the service and we don't need some components in the product. For an example for Stratos ESB, components like Synapse artifact uploader are not required. Similarly for the product, some (most) of the stratos related components are not required. Merging all these stuff together into a single package is going to bring a lot of unnecessary stuff for both the product and the service. Yes, that's nearly the same situation for G-Reg, where we don't allow tenant to create mounts in Stratos etc. Thanks, Senaka. Thanks, Hiranya Shankar I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Senaka Fernando Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Architect WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org
Re: [Dev] Merging of products services?
Hi folks, If you look at the issue at hand, its not about just maintaining two p2-profiles. Event though it sounds simple enough, its get more complicated after branching. After any component is branched relevant features should be branched and p2-profiles update. If its a cost cutting component then we need to modify 13 product plus the services which is not easy at all. If you recall during the last 3.2.x release towards the end we had two versions of a single jar packed in the services and ultimately Shankar had to write a script to ensure only that the latest jars were packed, right in the middle of the release. Though we expect p2 to handle these stuff, it not that straight forward when it comes to releases. Besides its not only about two p2-profiles. There are bin.xml + the distro to manage as well. If a new config file is introduced we need to update 26 bin.xml files! Its hard enough having to update 13 in the first place. There are plenty of occasion where I find either a config file or db scripts are missing or out of date in the services. When not in a release rush Stratos team can sort those out, but its hard for the Stratos team to keep in tab with 13 services all the time. Also there is the issue of integration test. As it stands at the moment, the services are not even started when running integration test, leave alone testing multitenant aspects. We've been down the path where we expect the service to just work if the product is working, but we also know through experience that its not the case. One reason for that is the services are not up to date plus the services has its own complexities (causing bundle wiring issues and what not!). The worst part is we only begin to uncover these issue after the product release is over and about to do a stratos release. Then again nobody can expect teams to look into the services when the product release is round the corner. Of course I am not trying to make any excuses nor find fault. The obvious issue here is having to maintain two distros vs one. I fully understand that there are complexities in merging the product and the service, but IMHO it would be beneficial in the long run. If we postpone the merging effort to say six months, its going to be even harder and not easier, so its better to get it done sooner if possible. And if we do managed to pull it off, then its one less release cycle! At the end of the day, if you log into the service as super tenant that basically should serve as the relevant product. Bottom line is If ST functions doesn't work as in the product, the the relevant service is broken !! food for thought :) .. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi, Just an idea that came across me, On Mon, Mar 26, 2012 at 10:19 AM, Amila Maha Arachchi ami...@wso2.comwrote: On Mon, Mar 26, 2012 at 10:04 AM, Sameera Jayasoma same...@wso2.comwrote: Hi all, Can we start working on this change after the Kernel release? Seems like this merging is not straight forward task. It might introduce many complications to the products. +1 IMHO we should be concentrating on the kernel at the moment. For that we need packs to test the kernel. We are almost there on providing packs for testing the kernel functionalities. If we do this now, 1. We will not get packs for some more time due to build failures 2. We are introducing an *unnecessary variable* to our kernel testing process. This merging is something related to product releases. So I guess we can wait until the kernel is verified. Thanks, AmilaM. Thanks, Sameera. On Mon, Mar 26, 2012 at 10:00 AM, Senaka Fernando sen...@wso2.comwrote: On Mon, Mar 26, 2012 at 9:35 AM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 9:20 AM, Selvaratnam Uthaiyashankar shan...@wso2.com wrote: On Thu, Mar 22, 2012 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. Why do we have to check whether it is product-mode or service-mode? In stratos service, tenant 0 is acting exactly as standalone product. Other than the binary size, I don't see any issue in merging product and services. I think the complexity is due to the fact that we don't need some components (functionality) in the service and we don't need some components in the product. For an example for Stratos ESB, components like Synapse artifact uploader are not required. Similarly for the product, some (most) of the stratos related components are not required. Merging all these stuff together into a single package is going to bring a lot of unnecessary stuff for both the product and the service. With regard of the above concern of having unwanted components for service or product, Is it possible to keep *two* *bundles.info *files and have a switching mechanism at the product start. So the admin can select which mode that a binary pack should start either as standalone or cloud version. regards, Yes, that's nearly the same situation for G-Reg, where we don't allow tenant to create mounts in Stratos etc. Thanks, Senaka. Thanks, Hiranya Shankar I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Senaka Fernando Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- S.Uthaiyashankar Senior Architect WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog:
Re: [Dev] Merging of products services?
Hi, On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? As others have raised concerns, maybe first a single product/service can be used to test out the merging procedure. Then we would be able to find all the fundamental and core issues that will arise with this undertaking. When we get a single solution working perfectly, and sort out the basic issues, then other individual products/services can look into their specific problems. So I guess, in this way, all people won't be wasting time working on similar kind of problems. And as Amila said also, if we straight away jump into this, the immediate kernel stabilization and all can get complicated and can delay everything. So how about we track the progress of that single product/service and decide on when we are going to do it for all others. Cheers, Anjana. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
On Mon, Mar 26, 2012 at 11:15 AM, Anjana Fernando anj...@wso2.com wrote: Hi, On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? As others have raised concerns, maybe first a single product/service can be used to test out the merging procedure. +1, If we can come up with best practices to do this for the easiest one, that will really help all others. Also we have an initiation to proceed. It will also help to decide at what time(release) we can do this transformation for all the products. Thanks. the fundamental and core issues that will arise with this undertaking. When we get a single solution working perfectly, and sort out the basic issues, then other individual products/services can look into their specific problems. So I guess, in this way, all people won't be wasting time working on similar kind of problems. And as Amila said also, if we straight away jump into this, the immediate kernel stabilization and all can get complicated and can delay everything. So how about we track the progress of that single product/service and decide on when we are going to do it for all others. Cheers, Anjana. -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Anjana Fernando Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Cloud Team, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi Shariq, I don't think we can easily do it, so before physically starting the work we need to have a proper understanding of all related issues from all products and ensure that the solution will address those, if not, its going to introduce a huge instability. So, if we are do this for the upcoming release, we need an immediate plan or its best done for the next. Thanks, Senaka. On Fri, Mar 23, 2012 at 10:43 AM, Muhammed Shariq sha...@wso2.com wrote: Hi, Well I also did a quick comparison of the Appserver product and service, plugins dir and noticed that there some jar only used in the product pack and vise-versa. In another thread we agreed that we could accept the final product distro growing about 5 MB, due the service specific jars (throttling, sso etc.). However I am not quite sure why there are some jars only used in the product (see attached diff file), I was under the impression that; service = product + stratos features. Apart from the bundles, there is also config files as Senaka mentioned that needs to be handled. So I think we need to define a strategy on we are going to merge the 2 distros. I agree that that its not going to be straight forward, but it is going to be very helpful. Since the platform and products are only getting more and more complex, I feel the sooner we start working on merging the two, the better. Thoughts? On Thu, Mar 22, 2012 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks, Shariq. Phone: +94 777 202 225 -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi all, we discussed this sometime back. The proper way to do this would be to use p2-profiles. For an example, Our product distribution will have two p2-profiles. One for standalnoe product and, one for service. The product profile will have the bundles that are only needed for standalone product functionality. Both product and service profiles will share the same set of bundle repository (/plugins). We assigned chethiya for this work. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi Azeez, It is possible to start Stratos AS without Manager and IS without SSO. One simply have to disable SAML SSO in authenticators.xml. thanks, dimuthu On Fri, Mar 23, 2012 at 1:47 PM, Afkham Azeez az...@wso2.com wrote: But as you can see, product teams are not taking the responsibility of maintaining the profiles of the respective Stratos Services. Unless someone in the Stratos team looks at the product, the product team is not even aware whether their Service starts up. Also, you can see that there are inconsistencies in the bundles between the Product Service. So, even if we have two P2 profiles, it will not solve the problem of product teams testing their Services. To be fair to the product teams, it is not easy to test the Stratos Services because you need to setup MySQL, IS, Manager etc. before you can run your Service. We need to address that problem. For example, Stratos AS should be just as easy to startup as the Carbon AS. On Fri, Mar 23, 2012 at 1:41 PM, Pradeep Fernando prad...@wso2.comwrote: Hi all, we discussed this sometime back. The proper way to do this would be to use p2-profiles. For an example, Our product distribution will have two p2-profiles. One for standalnoe product and, one for service. The product profile will have the bundles that are only needed for standalone product functionality. Both product and service profiles will share the same set of bundle repository (/plugins). We assigned chethiya for this work. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi, We can keep a database that is already populated with a tenant or two as a test resource in svn. thanks, dimuthu On Fri, Mar 23, 2012 at 4:29 PM, Amila Maha Arachchi ami...@wso2.comwrote: Hi, Although you can start a Stratos Foo without Stratos Manager and IS, there has to be a tenant to log in to Foo. How can we address that? At the moment, we dont ship tenant-mgt feature with Foo. Regards, AmilaM. On Fri, Mar 23, 2012 at 4:05 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Alright. So, if this is possible, can't we just get the Stratos Foo to run against all integration tests of Foo. If we can do that, we can validate most of the use-cases, and still maintain two P2 profiles. WDYT? Thanks, Senaka. On Fri, Mar 23, 2012 at 1:58 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi Azeez, It is possible to start Stratos AS without Manager and IS without SSO. One simply have to disable SAML SSO in authenticators.xml. thanks, dimuthu On Fri, Mar 23, 2012 at 1:47 PM, Afkham Azeez az...@wso2.com wrote: But as you can see, product teams are not taking the responsibility of maintaining the profiles of the respective Stratos Services. Unless someone in the Stratos team looks at the product, the product team is not even aware whether their Service starts up. Also, you can see that there are inconsistencies in the bundles between the Product Service. So, even if we have two P2 profiles, it will not solve the problem of product teams testing their Services. To be fair to the product teams, it is not easy to test the Stratos Services because you need to setup MySQL, IS, Manager etc. before you can run your Service. We need to address that problem. For example, Stratos AS should be just as easy to startup as the Carbon AS. On Fri, Mar 23, 2012 at 1:41 PM, Pradeep Fernando prad...@wso2.comwrote: Hi all, we discussed this sometime back. The proper way to do this would be to use p2-profiles. For an example, Our product distribution will have two p2-profiles. One for standalnoe product and, one for service. The product profile will have the bundles that are only needed for standalone product functionality. Both product and service profiles will share the same set of bundle repository (/plugins). We assigned chethiya for this work. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila Maharachchi* Senior Software Engineer; WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
We can ship tenant creation UI as a default option for ST. There is a requirement for that feature even in standalone products -- Afkham Azeez Sent from my phone On Mar 23, 2012 4:31 PM, Amila Maha Arachchi ami...@wso2.com wrote: Hi, Although you can start a Stratos Foo without Stratos Manager and IS, there has to be a tenant to log in to Foo. How can we address that? At the moment, we dont ship tenant-mgt feature with Foo. Regards, AmilaM. On Fri, Mar 23, 2012 at 4:05 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Alright. So, if this is possible, can't we just get the Stratos Foo to run against all integration tests of Foo. If we can do that, we can validate most of the use-cases, and still maintain two P2 profiles. WDYT? Thanks, Senaka. On Fri, Mar 23, 2012 at 1:58 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi Azeez, It is possible to start Stratos AS without Manager and IS without SSO. One simply have to disable SAML SSO in authenticators.xml. thanks, dimuthu On Fri, Mar 23, 2012 at 1:47 PM, Afkham Azeez az...@wso2.com wrote: But as you can see, product teams are not taking the responsibility of maintaining the profiles of the respective Stratos Services. Unless someone in the Stratos team looks at the product, the product team is not even aware whether their Service starts up. Also, you can see that there are inconsistencies in the bundles between the Product Service. So, even if we have two P2 profiles, it will not solve the problem of product teams testing their Services. To be fair to the product teams, it is not easy to test the Stratos Services because you need to setup MySQL, IS, Manager etc. before you can run your Service. We need to address that problem. For example, Stratos AS should be just as easy to startup as the Carbon AS. On Fri, Mar 23, 2012 at 1:41 PM, Pradeep Fernando prad...@wso2.comwrote: Hi all, we discussed this sometime back. The proper way to do this would be to use p2-profiles. For an example, Our product distribution will have two p2-profiles. One for standalnoe product and, one for service. The product profile will have the bundles that are only needed for standalone product functionality. Both product and service profiles will share the same set of bundle repository (/plugins). We assigned chethiya for this work. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila Maharachchi* Senior Software Engineer; WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Merging of products services?
Have the respective product teams started looking into this? -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi, Well I also did a quick comparison of the Appserver product and service, plugins dir and noticed that there some jar only used in the product pack and vise-versa. In another thread we agreed that we could accept the final product distro growing about 5 MB, due the service specific jars (throttling, sso etc.). However I am not quite sure why there are some jars only used in the product (see attached diff file), I was under the impression that; service = product + stratos features. Apart from the bundles, there is also config files as Senaka mentioned that needs to be handled. So I think we need to define a strategy on we are going to merge the 2 distros. I agree that that its not going to be straight forward, but it is going to be very helpful. Since the platform and products are only getting more and more complex, I feel the sooner we start working on merging the two, the better. Thoughts? On Thu, Mar 22, 2012 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, I had a look. Merging the some Services and Products is going to be challenging. For example, let's take Governance. The service has several things that is not required in the product. To start with there are two registry.xml files. Also, there are multiple features in the Service P2-profile that should not be available with the product. Ex:- throttling agent, metering, SSO bundles etc. Unless we sort out how to scrap these when building the product, this is not going to easily work. The same is also applicable to the product, where there are some client libraries that is not part of the service. Also, what I don't like is to introduce hacks to check whether it is product-mode or service-mode and do selective branching, which duplicates and makes code really ugly and unorganized. So, unless we find a better way to sort issues like these out, its best kept separate right now. I also do accept the fact that this might not be the case for some other products. Thanks, Senaka. On Thu, Mar 22, 2012 at 8:05 PM, Afkham Azeez az...@wso2.com wrote: Have the respective product teams started looking into this? -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks, Shariq. Phone: +94 777 202 225 shariq@shariq-laptop:~/src/trunk/platform/products/as$ diff modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/ modules/distribution/service/target/wso2stratos-as-1.1.0-SNAPSHOT/repository/components/plugins/ Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: antlr_2.7.7.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: apache-zookeeper_3.3.4.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: arq_1.0.0.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: bsh_1.3.0.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: cassandra-jdbc_1.0.5.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: commons-pool_1.5.0.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: gdata-core_1.0.0.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: gdata-spreadsheet_3.0.0.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: google-collect_1.0.0.wso2v2.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: htmlcleaner_2.1.0.wso2v1.jar Only in modules/distribution/product/target/wso2as-4.5.0-SNAPSHOT/repository/components/plugins/: ooxml-spreadsheet-schemas_1.1.0.wso2v1.jar Only in