Re: [Dev] Weird issue in Stratos Manager on trunk - some admin services disappear after restarting the server!

2012-03-26 Thread Kasun Gajasinghe
On Mon, Mar 26, 2012 at 11:09 AM, Afkham Azeez az...@wso2.com wrote: On Sun, Mar 25, 2012 at 9:28 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Sun, Mar 25, 2012 at 1:06 PM, Muhammed Shariq sha...@wso2.com wrote: Hi, In the latest Stratos Manger trunk build, there is a weird issue

[Dev] Update on BAM Task migration

2012-03-26 Thread Prabath Abeysekera
Hi all, I've been working on the $subject and currently there's only one task remaining to be completed. The main intention of this effort is to migrate the existing task implementation of BAM to ntasks which is a quartz based task scheduler component introduced a couple of months back. While

[Dev] Test failure in core\org.wso2.carbon.core

2012-03-26 Thread Selvaratnam Uthaiyashankar
$subject. --- Test set: org.wso2.carbon.core.test.persistence.PersistenceManagerTest --- Tests run: 14, Failures: 0, Errors: 1, Skipped: 0,

[Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
We see a lot of persistence exceptions in the latest ESB packs: org.wso2.carbon.core.persistence.PersistenceException: A transaction is already started. Nested transactions are no longer supported in the new model at

Re: [Dev] Cannot send message to shankar-23100 during server startup :D

2012-03-26 Thread Selvaratnam Uthaiyashankar
I was building carbon kernel at this time. Anyway, this issue was due to some bug in cache.core. Dimuthu said she has already fixed it. Regards, Shankar On Mon, Mar 26, 2012 at 10:59 AM, Afkham Azeez az...@wso2.com wrote: Folks, I cannot continue integration tests because of this issue. My

Re: [Dev] [Bamboo-Build] WSO2 Carbon WSO2 MS #12 has FAILED

2012-03-26 Thread Yumani Ranaweera
On Sat, Mar 24, 2012 at 12:01 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Sat, Mar 24, 2012 at 9:43 AM, Shammi Jayasinghe sha...@wso2.comwrote: Hi MS RMs, Could you please have a look in to the MS test failures. I will help MS RMs to overcome this issue. I have few questions. How

Re: [Dev] Test failure in core\org.wso2.carbon.core

2012-03-26 Thread Kasun Gajasinghe
Hi Shankar, Let me have a look at that. In the meanwhile, can you make sure your said module is up to date (including test folder)? Current Bamboo builds were successful eight times in a row! [1] Does your setup is different? [1]

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Kasun Gajasinghe
On Mon, Mar 26, 2012 at 11:45 AM, Hiranya Jayathilaka hira...@wso2.comwrote: We see a lot of persistence exceptions in the latest ESB packs: org.wso2.carbon.core.persistence.PersistenceException: A transaction is already started. Nested transactions are no longer supported in the new model

Re: [Dev] Test failure in core\org.wso2.carbon.core

2012-03-26 Thread Selvaratnam Uthaiyashankar
Yes, it is up to date. (revision 123861) Shankar On Mon, Mar 26, 2012 at 11:54 AM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Shankar, Let me have a look at that. In the meanwhile, can you make sure your said module is up to date (including test folder)? Current Bamboo builds were

[Dev] Reporting Admin Services Listed in ESB Service Listing Page

2012-03-26 Thread Hiranya Jayathilaka
Following services are listed in the service listing page of ESB: DBReportingService JrxmlFileUploader ReportingResourcesSupplier ReportTemplateAdmin What are these services? Looks like some admin services which are not properly secured! -- Hiranya Jayathilaka Associate Technical Lead; WSO2

Re: [Dev] Update on BAM Task migration

2012-03-26 Thread Buddhika Chamith
On Mon, Mar 26, 2012 at 12:04 PM, Prabath Abeysekera praba...@wso2.comwrote: Hi all, I've been working on the $subject and currently there's only one task remaining to be completed. The main intention of this effort is to migrate the existing task implementation of BAM to ntasks which is a

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Afkham Azeez
If you do things like securing a proxy service using the Carbon service security UI, where does that information get persisted? On Mon, Mar 26, 2012 at 12:19 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 12:11 PM, Kasun Gajasinghe kas...@wso2.comwrote: On Mon,

Re: [Dev] Reporting Admin Services Listed in ESB Service Listing Page

2012-03-26 Thread Sinthuja Ragendran
Hi, This services are from reporting component and it's fixed now. Thanks, Sinthuja. On Mon, Mar 26, 2012 at 12:21 PM, Hiranya Jayathilaka hira...@wso2.comwrote: Following services are listed in the service listing page of ESB: DBReportingService JrxmlFileUploader

Re: [Dev] Update on BAM Task migration

2012-03-26 Thread Tharindu Mathew
The reason that ntask expects string key value pairs is to be able to execute tasks in a distributed manner. As part of completing the task, you should setup a few nodes and check whether tasks are distributed appropriately and in a fail over manner. Also, try to expose some MXBeans to check how

Re: [Dev] [Bamboo-Build] WSO2 Carbon WSO2 MS #12 has FAILED

2012-03-26 Thread Dilshan Edirisuriya
Hi, When running MS and GS integration tests there is a test failure. It says, integration\security-verifier\target\SecVerifier.aar does not exist This seems to be the issue in Bamboo as well. However have added the sec.verifier.dir as follows like in other products.

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Manjula Rathnayake
Hi, I am looking into issue, https://wso2.org/jira/browse/CARBON-12680. And got following error, ERROR - RPCInOnlyMessageReceiver Exception occurred while trying to invoke service method applySecurity java.lang.NullPointerException at

[Dev] Infinispan and jgroups printing lots of INFO and WARN during the stratos services start up.

2012-03-26 Thread Kathiravelu Pradeeban
[2012-03-26 13:05:34,429] ERROR {org.wso2.carbon.caching.infinispan.InfinispanCacheManager} - Invalid cache mode provided. The available values are local, replicated, distributed and invalidation [2012-03-26 13:05:34,469] INFO {org.wso2.carbon.tomcat.ext.service.ExtendedStandardService} -

Re: [Dev] Update on BAM Task migration

2012-03-26 Thread Prabath Abeysekera
On Mon, Mar 26, 2012 at 12:45 PM, Tharindu Mathew thari...@wso2.com wrote: The reason that ntask expects string key value pairs is to be able to execute tasks in a distributed manner. As part of completing the task, you should setup a few nodes and check whether tasks are distributed

Re: [Dev] Infinispan and jgroups printing lots of INFO and WARN during the stratos services start up.

2012-03-26 Thread Kathiravelu Pradeeban
On Mon, Mar 26, 2012 at 1:14 PM, Kathiravelu Pradeeban pradee...@wso2.comwrote: [2012-03-26 13:05:34,429] ERROR {org.wso2.carbon.caching.infinispan.InfinispanCacheManager} - Invalid cache mode provided. The available values are local, replicated, distributed and invalidation [2012-03-26

Re: [Dev] Infinispan and jgroups printing lots of INFO and WARN during the stratos services start up.

2012-03-26 Thread Afkham Azeez
I think we need to rethink our logging strategy. For example, in Synapse, unless you explicitly add a logger, the logs don't show up. In Carbon, we have to explicitly disable the loggers. I think we should follow the Synapse model. On Mon, Mar 26, 2012 at 1:19 PM, Kathiravelu Pradeeban

Re: [Dev] [Bamboo-Build] WSO2 Carbon WSO2 MS #12 has FAILED

2012-03-26 Thread Kasun Gajasinghe
On Mon, Mar 26, 2012 at 11:48 AM, Yumani Ranaweera yum...@wso2.com wrote: On Sat, Mar 24, 2012 at 12:01 PM, Kasun Gajasinghe kas...@wso2.comwrote: On Sat, Mar 24, 2012 at 9:43 AM, Shammi Jayasinghe sha...@wso2.comwrote: Hi MS RMs, Could you please have a look in to the MS test

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
Hi, On a hunch I just tried to engage security on a proxy service. It doesn't work :( I get an error in the UI saying security cannot be enabled for the service and I get the following exception on the console: [2012-03-26 14:09:07,638] ERROR - RPCInOnlyMessageReceiver Service with name test not

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
On Mon, Mar 26, 2012 at 2:10 PM, Afkham Azeez az...@wso2.com wrote: On Mon, Mar 26, 2012 at 2:05 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 2:01 PM, Afkham Azeez az...@wso2.com wrote: But you said earlier in this thread We don't need Axis2 level persistence

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Kasun Gajasinghe
On Mon, Mar 26, 2012 at 2:11 PM, Hiranya Jayathilaka hira...@wso2.comwrote: Hi, On a hunch I just tried to engage security on a proxy service. It doesn't work :( I get an error in the UI saying security cannot be enabled for the service and I get the following exception on the console:

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Lakmali Baminiwatta
Hi, I am also experiencing similar issues on DSS product service. When a service is saved the following exception occurs. ERROR {org.wso2.carbon.core.persistence.AbstractPersistenceManager} - Unable to handle new service addition. Service: H2BasicService java.lang.NullPointerException at

Re: [Dev] Unable to locate the stratos configurations file, etc in stratos AS startup

2012-03-26 Thread Kathiravelu Pradeeban
Hi, That file is not included in to the services, and is included into the manager only. Pls take an svn update from the components/stratos/org.wso2. carbon.stratos.common and products/manager. The check to see whether the eula.xml is made to log at debug level, since it won't be configured in

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Kasun Gajasinghe
On Mon, Mar 26, 2012 at 2:34 PM, Hiranya Jayathilaka hira...@wso2.comwrote: I tried enabling caching for the service. It did get applied as expected. But the change didn't survive a restart. I think this is same for other QoS modules too (throttling, RM etc). Does the relevant policy got

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Supun Malinga
Hi, On Mon, Mar 26, 2012 at 12:19 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 12:11 PM, Kasun Gajasinghe kas...@wso2.comwrote: On Mon, Mar 26, 2012 at 11:45 AM, Hiranya Jayathilaka hira...@wso2.comwrote: We see a lot of persistence exceptions in the latest

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
On Mon, Mar 26, 2012 at 2:39 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Mon, Mar 26, 2012 at 2:34 PM, Hiranya Jayathilaka hira...@wso2.comwrote: I tried enabling caching for the service. It did get applied as expected. But the change didn't survive a restart. I think this is same for

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
On Mon, Mar 26, 2012 at 2:48 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 2:39 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Mon, Mar 26, 2012 at 2:34 PM, Hiranya Jayathilaka hira...@wso2.comwrote: I tried enabling caching for the service. It did get applied as

Re: [Dev] -DosgiConsole=telnet-port is not working

2012-03-26 Thread Sameera Jayasoma
Hi Azeez, This is working in my machine and checked with Azeez's machine also. And its working. Might be due to some dropins issue. Thanks Sameera. On Sun, Mar 25, 2012 at 2:25 PM, Pradeep Fernando prad...@wso2.com wrote: Hi, It worked after our tomcat modifications. The possible break

Re: [Dev] BPEL Monitoring for BAM2

2012-03-26 Thread Srinath Perera
+1 for the approach for sending custom values When we send custom values, do we send information about the workflow and instance ID etc? I think we should we also have a default set of monitoring data we can push from a BPEL workflow to BAM (just like default Service stats) that can be turned

Re: [Dev] -DosgiConsole=telnet-port is not working

2012-03-26 Thread Sameera Jayasoma
On Sun, Mar 25, 2012 at 1:50 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, This was working fine until very recently. If this is broken, this might be due to a fix that was done during the last few days. By the way, AFAIU, we should be able to write integration tests to validate

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Afkham Azeez
How do you set the Registry to Synapse? Does it depend on the Registry API? If so, we can have a Registry implementation which works with the file system persistence structure. On Mon, Mar 26, 2012 at 2:51 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 2:48 PM, Hiranya

Re: [Dev] Test Automation Dashboard

2012-03-26 Thread Chamara Silva
On Mon, Mar 26, 2012 at 2:45 PM, Srinath Perera srin...@wso2.com wrote: do we have this Dashboard deployed with our Bamboo automation tests? if so, please send a link. If we are going to host it in bamboo, we need to run dashboard FE in separate machine. shall we use lab machine instance for

Re: [Dev] BPEL Monitoring for BAM2

2012-03-26 Thread Waruna Ranasinghe
On Mon, Mar 26, 2012 at 2:59 PM, Srinath Perera srin...@wso2.com wrote: +1 for the approach for sending custom values When we send custom values, do we send information about the workflow and instance ID etc? No, but the workflow designer can add the instance ID to the variable he chose to

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
On Mon, Mar 26, 2012 at 3:04 PM, Afkham Azeez az...@wso2.com wrote: How do you set the Registry to Synapse? Does it depend on the Registry API? If so, we can have a Registry implementation which works with the file system persistence structure. Synapse accesses WSO2 registry through the

Re: [Dev] Carbon kernel server is not successfully starting up

2012-03-26 Thread Sameera Jayasoma
Hi Azeez, Are you still getting this error? I started the Carbon core with -DportOffset=2 and it worked correctly.. Thanks, Sameera. On Sun, Mar 25, 2012 at 6:33 AM, Afkham Azeez az...@wso2.com wrote: This is the portOffset trying to be set as a system property -- Afkham Azeez Sent from

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Isuru Suriarachchi
On Mon, Mar 26, 2012 at 3:13 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 3:04 PM, Afkham Azeez az...@wso2.com wrote: How do you set the Registry to Synapse? Does it depend on the Registry API? If so, we can have a Registry implementation which works with the file

Re: [Dev] Test Automation Dashboard

2012-03-26 Thread Krishantha Samaraweera
Hi Srinath, We lost automation test plan from bamboo due recent bamboo clean up. Need to setup the framework again on bamboo and configure it. BTW, last time we configured the automation framework to run after a successful build. However the framework got executed only few times as the build was

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
Hi Isuru, On Mon, Mar 26, 2012 at 3:34 PM, Isuru Suriarachchi is...@wso2.com wrote: On Mon, Mar 26, 2012 at 3:13 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 3:04 PM, Afkham Azeez az...@wso2.com wrote: How do you set the Registry to Synapse? Does it depend on

[Dev] Data Service Server Startup failed for trunk build by Bamboo

2012-03-26 Thread Nuwan Wimalasekara
Hi all, DSS pack is downloaded from Bamboo artifact. Server Start failed. CARBON_HOME environment variable is set to /home/nuwanw/svn/deployment-framework/SNAPSHOT/wso2dataservices-2.6.0-SNAPSHOT [2012-03-26 15:34:16,275] INFO {org.wso2.carbon.tomcat.internal.Activator} - registering the JNDI

Re: [Dev] BPEL Monitoring for BAM2

2012-03-26 Thread Kasun Weranga
On Mon, Mar 26, 2012 at 3:12 PM, Waruna Ranasinghe war...@wso2.com wrote: On Mon, Mar 26, 2012 at 2:59 PM, Srinath Perera srin...@wso2.com wrote: +1 for the approach for sending custom values When we send custom values, do we send information about the workflow and instance ID etc? No,

Re: [Dev] Data Service Server Startup failed for trunk build by Bamboo

2012-03-26 Thread Nuwan Wimalasekara
http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-DSS On Mon, Mar 26, 2012 at 3:44 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi all, DSS pack is downloaded from Bamboo artifact. Server Start failed. CARBON_HOME environment variable is set to

Re: [Dev] Data Service Server Startup failed for trunk build by Bamboo

2012-03-26 Thread Prabath Abeysekera
Hi Nuwan, On Mon, Mar 26, 2012 at 3:44 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi all, DSS pack is downloaded from Bamboo artifact. Server Start failed. I have a locally built pack (which is up-to-date) and it starts up without any issue. Are you using the latest packs? CARBON_HOME

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
On Mon, Mar 26, 2012 at 3:42 PM, Afkham Azeez az...@wso2.com wrote: So, in the registry based approach in Synapse/ESB, how was the cluster synchronization problem solved? If a policy is changed in one node, how does that get reflected on the rest of the nodes? Policies are stored in config

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Kasun Gajasinghe
On Mon, Mar 26, 2012 at 3:47 PM, Manjula Rathnayake manju...@wso2.comwrote: On Mon, Mar 26, 2012 at 3:34 PM, Isuru Suriarachchi is...@wso2.comwrote: On Mon, Mar 26, 2012 at 3:13 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 3:04 PM, Afkham Azeez az...@wso2.com

Re: [Dev] Data Service Server Startup failed for trunk build by Bamboo

2012-03-26 Thread Nuwan Wimalasekara
Restarting machine solved above problem. There was something wrong in my machine. Thanks Nuwanw On Mon, Mar 26, 2012 at 3:54 PM, Prabath Abeysekera praba...@wso2.comwrote: Hi Nuwan, On Mon, Mar 26, 2012 at 3:44 PM, Nuwan Wimalasekara nuw...@wso2.comwrote: Hi all, DSS pack is downloaded

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Kasun Gajasinghe
On Mon, Mar 26, 2012 at 4:24 PM, Manjula Rathnayake manju...@wso2.comwrote: On Mon, Mar 26, 2012 at 4:22 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Mon, Mar 26, 2012 at 3:47 PM, Manjula Rathnayake manju...@wso2.comwrote: On Mon, Mar 26, 2012 at 3:34 PM, Isuru Suriarachchi

Re: [Dev] Embedded tomcat is not loading the default web.xml in /lib/tomcat/conf

2012-03-26 Thread Kishanthan Thangarajah
Hi All, We can fix this issue. I found that when calling the addWebapp API method, they(tomcat) are explicitly setting 'noDefaultWebXml' for the webapp context. Since we are not relying on this method, we can change this to use the default webXml. The global webXml of ours will have some minor

Re: [Dev] Embedded tomcat is not loading the default web.xml in /lib/tomcat/conf

2012-03-26 Thread Dimuthu Leelarathne
On Mon, Mar 26, 2012 at 4:44 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi All, We can fix this issue. I found that when calling the addWebapp API method, they(tomcat) are explicitly setting 'noDefaultWebXml' for the webapp context. Since we are not relying on this method, we can

Re: [Dev] [Important] New Emma based code coverage framework

2012-03-26 Thread Afkham Azeez
Please note that Ruby is not a prerequisite for this framework anymore. On Mon, Mar 26, 2012 at 4:50 PM, Afkham Azeez az...@wso2.com wrote: Folks, Please read [1] and make sure that the coverage framework is properly integrated into your products. You will need to take an update of

Re: [Dev] Data Service Server Startup failed for trunk build by Bamboo

2012-03-26 Thread Afkham Azeez
This type of error cannot occur anymore since we have integration tests which make sure that the servers startup. On Mon, Mar 26, 2012 at 3:44 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi all, DSS pack is downloaded from Bamboo artifact. Server Start failed. CARBON_HOME environment

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Charitha Kankanamge
On Mon, Mar 26, 2012 at 5:06 PM, Hiranya Jayathilaka hira...@wso2.comwrote: Hi, On Mon, Mar 26, 2012 at 4:58 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: On Mon, Mar 26, 2012 at 4:54 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Mar 26, 2012 at 4:50 PM, Dimuthu Leelarathne

Re: [Dev] ESB JS Script Mediator samples broken

2012-03-26 Thread Hiranya Jayathilaka
This is still broken :( Sameera, what needs to be done to fix this? [2012-03-26 17:35:10,178] FATAL - ServiceBusInitializer Failed to initialize ESB due to a fatal error java.lang.NoClassDefFoundError: com/sun/phobos/script/javascript/RhinoScriptEngineFactory at

Re: [Dev] ESB JS Script Mediator samples broken

2012-03-26 Thread Hiranya Jayathilaka
The missing class is actually available in the bsf bundle. But the synapse-extensions bundle cannot find the package it seems: synapse-extensions_2.1.0.wso2v6 [439] Id=439, Status=RESOLVEDData

[Dev] [ESB] Reports Option in Tools Menu

2012-03-26 Thread Hiranya Jayathilaka
I see a new Reports option in the ESB Tools menu. Is this necessary for the ESB? What can an ESB user do with this option? BTW the Reports List option gives an empty page. -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Hiranya Jayathilaka
Looks like it's only applying policies that's affected by this change. Can we have some sort of a fix for this as suggested by Isuru? Thanks, Hiranya On Mon, Mar 26, 2012 at 3:38 PM, Hiranya Jayathilaka hira...@wso2.comwrote: Hi Isuru, On Mon, Mar 26, 2012 at 3:34 PM, Isuru Suriarachchi

Re: [Dev] Error while building trunk platform components

2012-03-26 Thread Dushan Abeyruwan
Hi Any response ? On Mon, Mar 26, 2012 at 6:37 PM, Subash Chaturanga sub...@wso2.com wrote: Hi, I'am also getting the same failure. Has this fixed now ? On Mon, Mar 26, 2012 at 5:17 PM, Dushan Abeyruwan dus...@wso2.com wrote: Hi I am getting following error while building platform

[Dev] [System-test-framework]Data service auto deployment issues when there are multiple data source configs

2012-03-26 Thread Charitha Kankanamge
Test automation folks, The automatic deployment of data services through the configuration given in testconfig.xml is having some issues. 1. Deployer assumes there is one data source config in dbs (see

Re: [Dev] [Carbon-dev] Merge Products Stratos Services

2012-03-26 Thread Amila Suriarachchi
On Thu, Mar 1, 2012 at 6:42 PM, Afkham Azeez az...@wso2.com wrote: During a discussion last week, the idea of merging the two into a single binary came up. That is, instead of Carbon AppServer Stratos AppServer, we will have a single AppServer binary which contains the relevant components

Re: [Dev] [Carbon-dev] Merge Products Stratos Services

2012-03-26 Thread Afkham Azeez
On Mon, Mar 26, 2012 at 7:18 PM, Amila Suriarachchi am...@wso2.com wrote: On Thu, Mar 1, 2012 at 6:42 PM, Afkham Azeez az...@wso2.com wrote: During a discussion last week, the idea of merging the two into a single binary came up. That is, instead of Carbon AppServer Stratos AppServer, we

[Dev] Testing

2012-03-26 Thread Dhanushka Ranasinghe
-- Dhanushka Ranasinghe, WSO2 lnc http://wso2.com E-mail : dhanush...@wso2.com Mobile : +94771928269 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [Commits] [Carbon-kernel] svn commit r123874 - carbon/kernel/trunk/dependencies/axis2/1.6.1-wso2v5/modules/kernel/src/org/apache/axis2/util

2012-03-26 Thread Afkham Azeez
Please commit this to Apache trunk as well. On Mon, Mar 26, 2012 at 1:02 PM, shan...@wso2.com wrote: Author: shankar Date: Mon Mar 26 03:32:26 2012 New Revision: 123874 URL: http://wso2.org/svn/browse/wso2?view=revrevision=123874 Log: Closing the streams properly so that it will close all

[Dev] [Framework Convention Violation] CarbonTomcatServiceHolder should be singleton

2012-03-26 Thread Afkham Azeez
org.wso2.carbon.tomcat.ext.internal.CarbonTomcatServiceHolder contains all static methods. Please fix. -- *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*

Re: [Dev] [Framework Convention Violation] CarbonTomcatServiceHolder should be singleton

2012-03-26 Thread Pradeep Fernando
Hi azeez, I even discussed this convention with sameera, (after URL mapper code review). We couldn't come up with any reason to follow this convention. Why we are making it singleton ? --Pradeep ___ Dev mailing list Dev@wso2.org

[Dev] axis2.xml not found in repository/conf

2012-03-26 Thread Pradeep Fernando
Hi, I'm getting this erro while building carbon-kernel [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (2-dist) on project wso2carbon: Failed to create assembly: File to filter not found:

Re: [Dev] [Framework Convention Violation] CarbonTomcatServiceHolder should be singleton

2012-03-26 Thread Afkham Azeez
A related thread on StackOverflow http://stackoverflow.com/questions/4457042/best-practice-for-updating-writing-to-static-variable On Mon, Mar 26, 2012 at 8:49 PM, Afkham Azeez az...@wso2.com wrote: Ah! Found it! Write to static field foo and bar from instance method someClassMethod

Re: [Dev] [Framework Convention Violation] CarbonTomcatServiceHolder should be singleton

2012-03-26 Thread Afkham Azeez
Ah! Found it! Write to static field foo and bar from instance method someClassMethod ServiceComponents are instances, and we are setting static values. Please religiously follow framework best practices that have been in existence. These best practices have been learnt over the past few years,

Re: [Dev] [Framework Convention Violation] CarbonTomcatServiceHolder should be singleton

2012-03-26 Thread Afkham Azeez
I managed to locate the archived mail from 2010 http://wso2.org/mailarchive/carbon-dev/2010-August/042360.html On Mon, Mar 26, 2012 at 8:50 PM, Afkham Azeez az...@wso2.com wrote: A related thread on StackOverflow

Re: [Dev] axis2.xml not found in repository/conf

2012-03-26 Thread Afkham Azeez
Ajanthan has moved the conf files into the agreed upon structure (r 123879). Perhaps some stuff did not get into the commit? On Mon, Mar 26, 2012 at 8:35 PM, Pradeep Fernando prad...@wso2.com wrote: Hi, I'm getting this erro while building carbon-kernel [ERROR] Failed to execute goal

Re: [Dev] axis2.xml not found in repository/conf

2012-03-26 Thread Afkham Azeez
Yes, I'm also getting this error. In fact, Carbon kernel integration tests are failing. Ajanthan, did you run tests before committing? On Mon, Mar 26, 2012 at 9:05 PM, Afkham Azeez az...@wso2.com wrote: Ajanthan has moved the conf files into the agreed upon structure (r 123879). Perhaps some

Re: [Dev] PersistenceExceptions in ESB

2012-03-26 Thread Isuru Suriarachchi
On Mon, Mar 26, 2012 at 6:08 PM, Hiranya Jayathilaka hira...@wso2.comwrote: Looks like it's only applying policies that's affected by this change. Can we have some sort of a fix for this as suggested by Isuru? Sure, will provide a fix ASAP.. KasunG, please go ahead with this as discussed

Re: [Dev] Error while building trunk platform components

2012-03-26 Thread Nirmal Fernando
On Mon, Mar 26, 2012 at 5:17 PM, Dushan Abeyruwan dus...@wso2.com wrote: Hi I am getting following error while building platform components, took latest update on orbit/kernel and was build successfully , then platform deps/service-stutbs/parent build successfully [INFO] Finished at: Mon

[Dev] Running some code when installing a feature for C4

2012-03-26 Thread Tharindu Mathew
Hi, Is $subject possible? -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Documentation Generation Issues in Carbon Kernel

2012-03-26 Thread Senaka Fernando
Hi all, Please fix. Thanks, Senaka. -- *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

[Dev] Thousands of Warnings when building from Platform top-level

2012-03-26 Thread Senaka Fernando
Hi all, There is an almost unending list of warnings when building the entire platform reported from Maven 3, about bad practices, missing declarations etc. We should start working towards zeroing that. Please note. Thanks, Senaka. -- *Senaka Fernando* Product Manager - WSO2 Governance

Re: [Dev] Running some code when installing a feature for C4

2012-03-26 Thread Pradeep Fernando
Hi, yes, it should be possible. The rationale is, when installing features, we already do things such as file-copying, extracting, etc. Those are implemented as eclipse touchpoint actions. We can come up with our own touchpoint implementations. within the framework hook of the touchpoint

Re: [Dev] Running some code when installing a feature for C4

2012-03-26 Thread Tharindu Mathew
I have configs stored in the registry. Easiest option is to run some code to call the admin services. Otherwise, I have to look at file system based configuration. Can I do this without changing carbon core, i.e. within the component/feature code? Meaning, is it possible to extend the touch point

Re: [Dev] axis2.xml not found in repository/conf

2012-03-26 Thread Pradeep Fernando
Hi, Thanks, now its working. But the management console does not get rendered properly. :( --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Update on BAM Task migration

2012-03-26 Thread Senaka Fernando
Hi Prabath, Great, and by the way, the ntask component is working perfectly fine, and it has been integrated into G-Reg. I'm just wondering whether these changes would in anyway impact the existing component? Thanks, Senaka. On Mon, Mar 26, 2012 at 1:19 PM, Prabath Abeysekera

[Dev] [Bamboo-Build] WSO2 Carbon Kernel #126 was SUCCESSFUL (with 2790 tests). Change made by 5 authors.

2012-03-26 Thread Bamboo
--- WSO2 Carbon Kernel #126 was successful. --- Code has been updated by samisa, ajanthan, suresh, kishanthan, azeez. 2790 tests in total.

[Dev] System Test Framework vs Product Integration Tests

2012-03-26 Thread Senaka Fernando
Hi Krishantha, In terms of a product, what's the split? For instance where should we cover mounting scenarios for G-Reg? While we can of course write integration tests to validate this, I'd like to know what's the best model moving forwards. Can we have a quick meeting, Tuesday AM to discuss

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

2012-03-26 Thread Bamboo
--- WSO2 Carbon platform #23 failed. --- This build occurred because it is a dependant of WSO2CARBON-CARBONCOREKERNELBUILD-126. No failed tests found, a

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

2012-03-26 Thread Bamboo
--- WSO2 Carbon platform #24 failed. --- This build occurred because it is a dependant of WSO2CARBON-CARBONCOREKERNELBUILD-127. No failed tests found, a

Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #24 has FAILED. Change made by senaka.

2012-03-26 Thread Shammi Jayasinghe
Hi BAM RMs, There is a compilation failure reported in BAM2 Component. Could you please look in to the issue. AFAIK this will not affect any other products except BAM2. So other products will not affect this build failure. Thanks Shammi 26-Mar-2012 20:23:04 [ERROR] Failed to execute goal

Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #24 has FAILED. Change made by senaka.

2012-03-26 Thread Sinthuja Ragendran
Hi, I'll look into this. Thanks, Sinthuja. On Tue, Mar 27, 2012 at 9:14 AM, Shammi Jayasinghe sha...@wso2.com wrote: Hi BAM RMs, There is a compilation failure reported in BAM2 Component. Could you please look in to the issue. AFAIK this will not affect any other products except BAM2. So

Re: [Dev] [Commits] [Carbon-kernel] svn commit r123874 - carbon/kernel/trunk/dependencies/axis2/1.6.1-wso2v5/modules/kernel/src/org/apache/axis2/util

2012-03-26 Thread Selvaratnam Uthaiyashankar
This is committed to Apache axis2 trunk. Shankar On Mon, Mar 26, 2012 at 7:59 PM, Afkham Azeez az...@wso2.com wrote: Please commit this to Apache trunk as well. On Mon, Mar 26, 2012 at 1:02 PM, shan...@wso2.com wrote: Author: shankar Date: Mon Mar 26 03:32:26 2012 New Revision: 123874

Re: [Dev] System Test Framework vs Product Integration Tests

2012-03-26 Thread Krishantha Samaraweera
Hi Senaka, On Tue, Mar 27, 2012 at 1:55 AM, Senaka Fernando sen...@wso2.com wrote: Hi Krishantha, In terms of a product, what's the split? For instance where should we cover mounting scenarios for G-Reg? While we can of course write integration tests to validate this, I'd like to know

Re: [Dev] [System-test-framework]Data service auto deployment issues when there are multiple data source configs

2012-03-26 Thread Nuwan Wimalasekara
Hi Charitha Automatic dbs deployer is design to deploy a data service quickly through the configuration with sql script or other data source(csv, excel, ...) for basic scenarios. therefore we assume there is only one data source configuration in dbs file. if there are more than data source

[Dev] Stratos SPI milestone plan required

2012-03-26 Thread Afkham Azeez
Hi Damitha et. al, Please come up with a milestone plan for the Stratos SPI work (including PHP JVM implementations) and send it to this list please. Thanks Azeez -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ *

Re: [Dev] Invitation: Code Review for url-mapper @ Tue Mar 27 2:30pm - 3:30pm (az...@wso2.com)

2012-03-26 Thread Afkham Azeez
There is another review on feature manager I have to participate in at 2PM On Tue, Mar 27, 2012 at 10:36 AM, Reka Thirunavukkarasu r...@wso2.comwrote: more details

Re: [Dev] Build failure in orbit/atomikos

2012-03-26 Thread Dinusha Senanayaka
Hi Isuru, Please update the Orbit parent pom and build. We upgrade the Atomikos version there. Regards, Dinusha. On Tue, Mar 27, 2012 at 11:06 AM, Isuru Suriarachchi is...@wso2.com wrote: Atomikos orbit is trying to download org.wso2.carbon:transactions-osgi:jar:3.7.0. But it doesn't get

Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #24 has FAILED. Change made by senaka.

2012-03-26 Thread Sinthuja Ragendran
Hi, This is fixed in r124046. Thanks, Sinthuja. On Tue, Mar 27, 2012 at 9:42 AM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi, I'll look into this. Thanks, Sinthuja. On Tue, Mar 27, 2012 at 9:14 AM, Shammi Jayasinghe sha...@wso2.comwrote: Hi BAM RMs, There is a compilation