[Dev] http and https have the same class/protocol in axis2_client.xml ESB 4.8.0

2014-01-20 Thread Udara Liyanage
Hi, I just noticed that class, protocol are same for both http and https transport senders in axis2_client.xml of ESB 4.8.0. Is this the expected? transportSender name=http class=org.apache.axis2.transport.http.CommonsHTTPTransportSender parameter name=PROTOCOLHTTP/1.1/parameter

[Dev] Standard Naming Convention for SQL Scripts ?

2014-01-20 Thread Dhanuka Ranasinghe
Hi All, Is there any $Subject . While writing some migration scripts for SS, noticed one mistake that we have done was not mention names explicitly for SQL indexes and constraints. Because of that we have to find out those names when doing a modification to tables and due to that migration

Re: [Dev] [Architecture] Proposed code repository restructuring move to GitHub

2014-01-20 Thread Shevan Goonetilleke
Hi, I will be setting up a meeting (tomorrow 11am) to discuss and finalize the above mentioned component categorization. Can we have at least one person from each product team in that meeting who has knowledge of the component structure relevant to their products? Thanks Shevan On Mon, Jan 20,

[Dev] [CEP] Using custom function in siddhi query

2014-01-20 Thread Chamila Wijayarathna
Hi alI, downloaded sample custom function at [1] and exported it as a jar using Eclipse. I followed all steps given in [2], but when I tried to use that function in an execution plan using following query it gives error saying No extension exist for

Re: [Dev] [CEP] Using custom function in siddhi query

2014-01-20 Thread Lasantha Fernando
Hi Chamila, Are you adding and validating the query via UI? There was a bug in UI which was fixed by Rajeev [1]. You might have to apply this patch to get UI validation working. [1] https://wso2.org/jira/browse/CEP-638 Thanks, Lasantha On 20 January 2014 14:27, Chamila Wijayarathna

Re: [Dev] [CEP] Using custom function in siddhi query

2014-01-20 Thread Chamila Wijayarathna
Hi Lasantha, Thank you. On Mon, Jan 20, 2014 at 2:43 PM, Lasantha Fernando lasan...@wso2.comwrote: Hi Chamila, Are you adding and validating the query via UI? There was a bug in UI which was fixed by Rajeev [1]. You might have to apply this patch to get UI validation working. [1]

Re: [Dev] [CEP] Using custom function in siddhi query

2014-01-20 Thread Mohanadarshan Vivekanandalingam
On Mon, Jan 20, 2014 at 2:43 PM, Lasantha Fernando lasan...@wso2.comwrote: Hi Chamila, Are you adding and validating the query via UI? There was a bug in UI which was fixed by Rajeev [1]. You might have to apply this patch to get UI validation working. [1]

Re: [Dev] [CEP] Using custom function in siddhi query

2014-01-20 Thread Mohanadarshan Vivekanandalingam
On Mon, Jan 20, 2014 at 2:53 PM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Mon, Jan 20, 2014 at 2:43 PM, Lasantha Fernando lasan...@wso2.comwrote: Hi Chamila, Are you adding and validating the query via UI? There was a bug in UI which was fixed by Rajeev [1]. You might

Re: [Dev] Did we release Carbon 4.1.0 kernel patch0003?

2014-01-20 Thread Ashan Manathunga
Hi, AFAIK support team don't maintain kernel patches. We maintain after patch0100 onward. Thanks, Ashan. On Fri, Jan 17, 2014 at 5:12 PM, Nirmal Fernando nir...@wso2.com wrote: Cool... thanks Manoj. On Fri, Jan 17, 2014 at 4:21 PM, Manoj Kumara ma...@wso2.com wrote: Hi Nirmal, AFAIK

[Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Sudheera Palihakkara
Hi, I have exposed a data service as a *REST* resource and coded a *Jaggery*client for the service. Now I want to secure this service, using DSS I have already secured the service with *Username Token* implementation, but I have no idea how to write a *Jaggery* client to go along with it. Is

[Dev] Axis2 Codegen reformats the orginal xsd file in proxy

2014-01-20 Thread Malintha Adikari
Hi, I have created a proxy service named myProxy from a WSDL file and that WSDL file imports XSD file (mySchema.xsd) which is stored in registry. Then I accessed the XSD file using direct request *http://localhost.localdomain:8280/services/myProxy?xsd=mySchema.xsd

[Dev] ESB 4.8.1 pack and p2-repo - 20 Jan

2014-01-20 Thread Malaka Silva
$subject can be found on following location. https://svn.wso2.org/repos/wso2/people/malaka/ESB/ESB4.8.1/20-01/ -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog :

Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Ruchira Wageesha
You can invoke the secured service using WSRequest object of Jaggery. Please refer the doc at [1]. Several sections of the article [2](written for mashup server), would also be helpful. /Ruchira [1] http://jaggeryjs.org/apidocs/ws.jag [2]

[Dev] We will also need to move Carbon 4.x kernel to GitHub

2014-01-20 Thread Afkham Azeez
$subject -- *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:

[Dev] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Afkham Azeez
Folks, Our patching strategy has been to make an exact copy of the patched jar, and then during startup, do a bundle replacement. With Carbon 5, our aim is to be able to patch bundles without requiring a full restart of the OSGi runtime. I read somewhere that; update bundle id file:patches/new

Re: [Dev] We will also need to move Carbon 4.x kernel to GitHub

2014-01-20 Thread Eranda Sooriyabandara
Hi Azeez, +1. We will add it to our porting plan. thanks Eranda On Mon, Jan 20, 2014 at 7:30 PM, Afkham Azeez az...@wso2.com wrote: $subject -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ *

Re: [Dev] We will also need to move Carbon 4.x kernel to GitHub

2014-01-20 Thread Afkham Azeez
I think the AppServer team needs to do a kernel 4.3.0 release because they need to upgrade Tomcat for WebSockets support. One option is to move the kernel to GitHub and do the release from there. On Mon, Jan 20, 2014 at 7:46 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi Azeez, +1. We

Re: [Dev] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Kasun Gajasinghe
Hi Azeez, I have used the said method of updating a bundle, and it worked for me sometimes. But there can be issues when doing this. One issue I have faced is that, if a bundle contained an admin service, then that service gets re-added during a bundle update. Then, Axis2 started complaining two

Re: [Dev] We will also need to move Carbon 4.x kernel to GitHub

2014-01-20 Thread Supun Malinga
Hi, So this will be starting from kernel 4.2.0 or we have to wait till kernel trunk is ready?. thanks, On Mon, Jan 20, 2014 at 7:47 PM, Afkham Azeez az...@wso2.com wrote: I think the AppServer team needs to do a kernel 4.3.0 release because they need to upgrade Tomcat for WebSockets

Re: [Dev] We will also need to move Carbon 4.x kernel to GitHub

2014-01-20 Thread Kishanthan Thangarajah
We will have to move the current kernel branch (4.2.0) with components updated with latest kernel patches. On Mon, Jan 20, 2014 at 8:26 PM, Supun Malinga sup...@wso2.com wrote: Hi, So this will be starting from kernel 4.2.0 or we have to wait till kernel trunk is ready?. thanks, On

Re: [Dev] Did we release Carbon 4.1.0 kernel patch0003?

2014-01-20 Thread Chamara Silva
Support team adding patches to latest ongoing kernel patch based on the support issues. What you mean by maintaining kernel patches? AFAIK kernel already integrated to the Bamboo. @Maheshika, Is it running daily? Regards, Chamara Silva On Mon, Jan 20, 2014 at 5:07 AM, Ashan Manathunga

Re: [Dev] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Senaka Fernando
Hi all, Can we try this out for some well known bundles (covering different types) and see whether it works or not? For example, what happens if you use this approach to patch the Registry/UM kernel in Carbon 4.2.x? If it works fine, if not, what are the problems that we need to fix? Then, what

[Dev] proof-of-concept for setting up development environment (turing chunk-05)

2014-01-20 Thread chris snow
Based on the work I am doing on Stratos, I have created a proof-of-concept for automating a WSO2 development environment setup using Vagrant. It would be great if a few people could try it out and raise issues on the github page. https://github.com/snowch/carbon-products-development-environment

Re: [Dev] [Architecture] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Harsha Thirimanna
Hi Sameera, In applying patches is not always updating OSGi bundle, it can be some other lib change, adding , removing or config changes. So in that case we can't give a guarantee that all the patches can apply without restarting the server even though we can update OSGi changes while running it.

Re: [Dev] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Shameera Rathnayaka
Hi Azeez, As we know in OSGi world we have tow types of dependencies 1) OSGi services, 2) Bundle wiring . updating a bundle with new bundle we can solve OSGi services dependencies correctly but when we come to bundle wiring we need to find out correct dependency closure and refresh that OSGi

Re: [Dev] [Architecture] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Shameera Rathnayaka
Hi Senaka, On Mon, Jan 20, 2014 at 10:26 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Can we try this out for some well known bundles (covering different types) and see whether it works or not? For example, what happens if you use this approach to patch the Registry/UM kernel in

Re: [Dev] [Architecture] Proposed code repository restructuring move to GitHub

2014-01-20 Thread Eranda Sooriyabandara
Hi All, As a PoC I just completed the carbon-component-governance. Please find it in [1] and let me know your comments and suggestions. Please keep in mind that this is not in a buildable state since other components need to build before this. thanks Eranda [1]

[Dev] WSO2 EMM RC3 release packs

2014-01-20 Thread Chan
$subject [1] [1] - http://wso2.org/bamboo/browse/WM001-EMMS001-26/artifact/JOB1/WSO2-EMMS/wso2mobileserver-1.0.0.zip -- Chan (Dulitha Wijewantha) Software Engineer - Mobile Development WSO2Mobile Lean.Enterprise.Mobileware * ~Email duli...@wso2.com duli...@wso2mobile.com* * ~Mobile

Re: [Dev] Standard Naming Convention for SQL Scripts ?

2014-01-20 Thread Prabath Abeysekera
Hi Dhanuka, Well, I believe, here there are two key concerns that need to be addressed. 1. Making names of the database entities (tables, columns, indexes, etc) intuitive. 2. Naming, constraints such as Foreign Key constrains, etc. Out of the two aforementioned aspects, 1st aspect is usually

Re: [Dev] Standard Naming Convention for SQL Scripts ?

2014-01-20 Thread Prabath Abeysekera
On Tue, Jan 21, 2014 at 3:16 AM, Prabath Abeysekera praba...@wso2.comwrote: Hi Dhanuka, Well, I believe, here there are two key concerns that need to be addressed. 1. Making names of the database entities (tables, columns, indexes, etc) intuitive. 2. Naming, constraints such as Foreign

[Dev] IS 4.7.0 Milestone 1 Released!

2014-01-20 Thread Dulanja Liyanage
Hi All, Please find the IS 4.7.0 Milestone 1 at [1]. Built from revision: 194777 This release includes several improvements and new additions done to Federated authentication. [1] https://svn.wso2.org/repos/wso2/scratch/IS-4.7.0/M1/wso2is-4.7.0.zip Thanks Regards Dulanja -- Dulanja

Re: [Dev] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Afkham Azeez
Yes, you have to refresh the dependent bundles. I think we can write our patching logic to figure out the OSGi wiring (using OSGi WireAdmin) and then refresh the dependent bundles. On Mon, Jan 20, 2014 at 11:18 PM, Shameera Rathnayaka shame...@wso2.comwrote: Hi Azeez, As we know in OSGi

Re: [Dev] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Afkham Azeez
With C5, our dependency on Axis2 will be minimal. Azeez On Mon, Jan 20, 2014 at 7:59 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Azeez, I have used the said method of updating a bundle, and it worked for me sometimes. But there can be issues when doing this. One issue I have faced is

Re: [Dev] Proper way of patching an OSGi bundle (without restarting the runtime)?

2014-01-20 Thread Afkham Azeez
With regards to patches including config file changes, we should make it possible to hot update config files. Stratos folks are doing this (somewhat) successfully. The partitions, autoscaling policy etc. are hot updated. On Tue, Jan 21, 2014 at 7:52 AM, Afkham Azeez az...@wso2.com wrote: Yes,

Re: [Dev] Did we release Carbon 4.1.0 kernel patch0003?

2014-01-20 Thread Maheshika Goonetilleke
Hi Chamara Sorry to inform you that 4.1.0 project has been disabled and deleted. As a practice once a project is released it is removed from bamboo. Currently we are running 4.2.0. On Mon, Jan 20, 2014 at 10:09 PM, Chamara Silva cham...@wso2.com wrote: Support team adding patches to latest

[Dev] Please provide an update on stabilizing the current branches chunks?

2014-01-20 Thread Afkham Azeez
Isuruwan, $subject please. -- *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:

Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Sudheera Palihakkara
Hi, Thank you for the reply. Can we use the WSRequest object to invoke a REST resource defined in DSS? I have followed this blog post so far[1], and using http GET, POST, DELETE etc methods to invoke the REST resources. [1] http://blog.samisa.org/2014/01/rest-in-json-with-wso2-data-services.html

Re: [Dev] IS 4.7.0 Milestone 1 Released!

2014-01-20 Thread Prabath Siriwardena
Great..!!! Thanks a lot Dulanja for meeting the exact scheduled date.. Lets do the same for all the other milestones as well till the GA... Thanks regards, -Prabath On Tue, Jan 21, 2014 at 6:35 AM, Dulanja Liyanage dula...@wso2.com wrote: Hi All, Please find the IS 4.7.0 Milestone 1 at [1].

Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Madhuka Udantha
Hi Sudheera, To call REST service you can try Http Client define in jaggery, You can fine sample codes in jaggery documentation as well. - get()[1] - post() [2] - put() [3] - del() [4] Thanks [1] http://jaggeryjs.org/apidocs/get.jag [2] http://jaggeryjs.org/apidocs/post.jag [3]

Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Sudheera Palihakkara
Hi madhuka, Yeah I'm referring to those, But I couldn't find any documentation about how to send the security parameters with the request. For example I have secured my data service with UsernameToken method[1], so in oder to invoke the service I have to send the username and the password with

Re: [Dev] [Architecture] Proposed code repository restructuring move to GitHub

2014-01-20 Thread Chamath Gunawardana
Hi Eranda, The user-stores feature under carbon-feature-identity seems to be a duplicate of user core. AFAIK we can remove this. On Sun, Jan 19, 2014 at 8:22 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi All, Here is the updated component categorization. Remove forever - qpid

Re: [Dev] [Architecture] Proposed code repository restructuring move to GitHub

2014-01-20 Thread Eranda Sooriyabandara
Hi Chamath, Can you attend the meeting scheduled at 11 to sort all the identity components out? thanks Eranda On Tue, Jan 21, 2014 at 10:27 AM, Chamath Gunawardana chama...@wso2.comwrote: Hi Eranda, The user-stores feature under carbon-feature-identity seems to be a duplicate of user core.

Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Madhuka Udantha
Hi Sudheera. you can pass token as header or data[1] depending on your BE service is expect. get(url[, data][, headers][, type][, success(data, xhr)]) [1] http://jaggeryjs.org/apidocs/get.jag On Tue, Jan 21, 2014 at 10:22 AM, Sudheera Palihakkara sudhe...@wso2.comwrote: Hi madhuka, Yeah

[Dev] [DEV] Chunk07 build failed - IS Profile Generation

2014-01-20 Thread Malaka Silva
Error building chunk 07. Please check. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack (6-unpack-kernel-patch) on project identity-profile-gen: Unable to find artifact. Could not find artifact org.wso2.carbon:WSO2-CARBON-PATCH-4.2.0:zip:0005 in

Re: [Dev] Please provide an update on stabilizing the current branches chunks?

2014-01-20 Thread Afkham Azeez
Krishantha, If the UI tests cannot be fixed by EOD today, let's disable them until we find a proper solution. On Tue, Jan 21, 2014 at 10:28 AM, Isuruwan Herath isuru...@wso2.com wrote: Hi Azeez, I created plans and executed all released chunks under Bamboo plan TEST 4.2.0. Apart from the

Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Samisa Abeysinghe
Do we have a sample around this? We need one! Thanks, Samisa... Samisa Abeysinghe Vice President Developer Evangelism WSO2 Inc. http://wso2.com On Tue, Jan 21, 2014 at 10:43 AM, Madhuka Udantha madh...@wso2.com wrote: Hi Sudheera. you can pass token as header or data[1] depending on

Re: [Dev] Please provide an update on stabilizing the current branches chunks?

2014-01-20 Thread Lasantha Fernando
Hi Isuruwan, Can you post the error you encountered in building chunk-06? Are you building from the chunk-06 tag? Thanks, Lasantha On 21 January 2014 10:45, Afkham Azeez az...@wso2.com wrote: Krishantha, If the UI tests cannot be fixed by EOD today, let's disable them until we find a

Re: [Dev] Did we release Carbon 4.1.0 kernel patch0003?

2014-01-20 Thread Manoj Kumara
Hi Chamara, Sorry about the notice. I said so because that's what I heard from the team sometimes back. I talked with Kishanthan and he mentioned that Carbon team has the responsibility to release depending on the requirements like when releasing service packs etc. Thanks, Manoj Best Regards..

Re: [Dev] [Architecture] Proposed code repository restructuring move to GitHub

2014-01-20 Thread Kishanthan Thangarajah
Hi Eranda, Where have you put the service-stubs related to governance component? It should come under the same repo as carbon-component-governance. On Tue, Jan 21, 2014 at 12:29 AM, Eranda Sooriyabandara era...@wso2.comwrote: Hi All, As a PoC I just completed the carbon-component-governance.

Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Madhuka Udantha
Hi, Samisa On Tue, Jan 21, 2014 at 11:19 AM, Samisa Abeysinghe sam...@wso2.com wrote: Do we have a sample around this? We do not have specific sample for this $subject But post()[1] 'try it' jaggery sample code used simple rest services in[2]. We need one! Yap, some thing we have do.

[Dev] Invoke Proxy Services RESTfully via MultiTenant broken [https://wso2.org/jira/browse/ESBJAVA-2906]

2014-01-20 Thread Dushan Abeyruwan
Hi Manoj, $subject, the patch is attached in [1] please do apply this ASAP to carbon core MultitenantMessageReceiver [1] https://wso2.org/jira/browse/ESBJAVA-2906 cheers, Dushan Abeyruwan | Associate Tech Lead Integration Technologies Team PMC Member Apache Synpase WSO2 Inc. http://wso2.com/

Re: [Dev] Invoke Proxy Services RESTfully via MultiTenant broken [https://wso2.org/jira/browse/ESBJAVA-2906]

2014-01-20 Thread Manoj Kumara
Hi Dushan, Provided patch is not complete according to [1], Please update the patch. You may need to update update README.txt file and bin.xml file as well. [1] http://docs.wso2.org/display/Carbon420/Creating+a+Carbon+Kernel+Patch Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer

Re: [Dev] [DEV] IllegalStateException while running a load with multiple tenants

2014-01-20 Thread Nuwan Silva
Same issue is still observable in 20thJan packs. This was easily reproducible. TID: [0] [ESB] [2014-01-21 12:06:54,003] INFO {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=6,

[Dev] Invoking proxy service through HTTPS endpoint very slow

2014-01-20 Thread Nuwan Silva
Invoking $(subject) very slow. invoking through HTTP endpoints are working but HTTPS endpoints, although they work are very slow. takes around 3-5 seconds for a request to go through. https://wso2.org/jira/browse/ESBJAVA-2934 Thanks Regards, NuwanS. -- *Nuwan Silva* *Senior Software

Re: [Dev] [Architecture] Proposed code repository restructuring move to GitHub

2014-01-20 Thread Eranda Sooriyabandara
Hi Kicha, There will be no service stubs directory it will be a additional component in the same level as BE + FE components. thanks Eranda On Tue, Jan 21, 2014 at 11:41 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi Eranda, Where have you put the service-stubs related to

Re: [Dev] [Architecture] Proposed code repository restructuring move to GitHub

2014-01-20 Thread Kishanthan Thangarajah
Yes, we don't need to separately say service-stubs, it should be under the components level as just another component. On Tue, Jan 21, 2014 at 12:30 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi Kicha, There will be no service stubs directory it will be a additional component in the

Re: [Dev] [Architecture] Proposed code repository restructuring move to GitHub

2014-01-20 Thread Shariq Muhammed
On Tue, Jan 21, 2014 at 12:38 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Yes, we don't need to separately say service-stubs, it should be under the components level as just another component. Initially we extracted out the service stubs because it doesn't change frequently. So we

Re: [Dev] Please provide an update on stabilizing the current branches chunks?

2014-01-20 Thread Isuruwan Herath
Hi Lasantha, Following is the error occurred in Bamboo log [1] : [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen (p2-profile-generation-for-gateway-manager-profile) on project am-p2-profile: P2 publisher return code was 137 - [Help 1] Bamboo plan is