Re: [Dev] Redesign of JavaScript SOAP services stub

2012-06-09 Thread Sanjiva Weerawarana
Why do we need to re-invent a solution .. can the JAX-WS style binding model not work? What we had was a similar model in the old mashup server. W.r.t. complex schemas- I don't understand why the old model doesn't support complex types. Note that I'm talking about the model not the XSLT based impl

Re: [Dev] How to Check Whether you are Super Tenant?

2012-06-09 Thread Selvaratnam Uthaiyashankar
On Friday, June 8, 2012, Senaka Fernando wrote: > Hi all, > > Dimuthu, I believe that Azeez and I share the same view here. tenantDomain > == null means, either we didn't find the tenant or the tenant information > was never recorded due to some initialization error. And, the super tenant > would

Re: [Dev] Is it recommended to start WSO2 carbon server in wrapper mode using './wso2server --start'?

2012-06-09 Thread Selvaratnam Uthaiyashankar
On Sunday, June 10, 2012, Senaka Fernando wrote: > Having said that, have we, > > 1. Cleaned up the unused wrapper logic. > 2. Fixed docs etc on how to use the new approach? > You don't need to fix the docs about startup. Still it is going to be wso2server.sh --start and internally it is going to

Re: [Dev] Is it recommended to start WSO2 carbon server in wrapper mode using './wso2server --start'?

2012-06-09 Thread Pradeep Fernando
On Sun, Jun 10, 2012 at 2:06 AM, Senaka Fernando wrote: > Having said that, have we, > > 1. Cleaned up the unused wrapper logic. > yes > 2. Fixed docs etc on how to use the new approach? > No not yet. AFAIK > 3. And, have we tested this? > initial developer testing, done. > > If not, I'd ex

[Dev] Exception while trying to access data sources menu item in ESB

2012-06-09 Thread Afkham Azeez
[2012-06-10 05:23:55,663] ERROR - JspTilesRequestContext JSPException while including path '/datasource/index.jsp'. javax.servlet.jsp.JspException: ServletException while including page. at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102) at org.apache.tiles.jsp.context.JspTilesReq

Re: [Dev] Is it recommended to start WSO2 carbon server in wrapper mode using './wso2server --start'?

2012-06-09 Thread Senaka Fernando
Having said that, have we, 1. Cleaned up the unused wrapper logic. 2. Fixed docs etc on how to use the new approach? 3. And, have we tested this? If not, I'd expect these to be recorded as L1 issues for the Carbon Kernel. Thanks, Senaka. On Fri, Jun 8, 2012 at 1:36 PM, Lahiru Sandaruwan wrote:

Re: [Dev] WSO2 Committers += Vijitha Kumara

2012-06-09 Thread Vijitha Kumara
Thanks Senaka & everyone else for all the support given, hope I'll be able to contribute more... :) On Sat, Jun 9, 2012 at 4:35 PM, Senaka Fernando wrote: > Hi all, > > Its my pleasure to welcome Vijitha Kumara as a WSO2 Committer. Vijitha has > made some great contributions to Governance Regist

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Hasini Gunasinghe
On Sat, Jun 9, 2012 at 9:02 PM, Thilina Buddhika wrote: > > > On Sat, Jun 9, 2012 at 8:49 PM, Hasini Gunasinghe wrote: > >> Hi, >> >> On Sat, Jun 9, 2012 at 6:48 PM, Thilina Buddhika wrote: >> >>> >>> >>> On Sat, Jun 9, 2012 at 6:39 PM, Senaka Fernando wrote: >>> Hi Thilina, JAX-

Re: [Dev] [Commits] [Carbon-platform] svn commit r129628 - carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/web/worklist

2012-06-09 Thread Senaka Fernando
Hi Isuru, Any reason for this commit? I thought we had plans to remove the add work-list button, and also rename work-list to notifications. AFAIU the older commits that you reverted (as it seems), were done as a part of this. Thanks, Senaka. On Sat, Jun 9, 2012 at 8:22 PM, wrote: > Author: is

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Senaka Fernando
On Sat, Jun 9, 2012 at 8:34 PM, Thilina Buddhika wrote: > > > On Sat, Jun 9, 2012 at 8:22 PM, Pradeep Fernando wrote: > >> Hi, >> >> On Sat, Jun 9, 2012 at 6:04 PM, Thilina Buddhika >> wrote: >> > Hi Folks, >> > >> > I want to expose a JAX-RS service from a Carbon component. I already >> have >

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Thilina Buddhika
On Sat, Jun 9, 2012 at 8:49 PM, Hasini Gunasinghe wrote: > Hi, > > On Sat, Jun 9, 2012 at 6:48 PM, Thilina Buddhika wrote: > >> >> >> On Sat, Jun 9, 2012 at 6:39 PM, Senaka Fernando wrote: >> >>> Hi Thilina, >>> >>> JAX-RS implementation means Wink/CXF or are you talking about the actual >>> ser

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Hasini Gunasinghe
Hi Pradeep, On Sat, Jun 9, 2012 at 8:42 PM, Pradeep Fernando wrote: > Hi, > > yes, i understand. In that case we have to integrate wink in to carbon > platform at the code level. I did a POC around this sometime back. > There we registered the wink servlet using HTTPService. The deployment > sho

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Hasini Gunasinghe
Hi, On Sat, Jun 9, 2012 at 6:48 PM, Thilina Buddhika wrote: > > > On Sat, Jun 9, 2012 at 6:39 PM, Senaka Fernando wrote: > >> Hi Thilina, >> >> JAX-RS implementation means Wink/CXF or are you talking about the actual >> service? >> > > It is the actual service implementation. > > >> >> I have b

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Pradeep Fernando
Hi, yes, i understand. In that case we have to integrate wink in to carbon platform at the code level. I did a POC around this sometime back. There we registered the wink servlet using HTTPService. The deployment should be done programatically. If the component is the deployment model, we can dep

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Thilina Buddhika
On Sat, Jun 9, 2012 at 8:22 PM, Pradeep Fernando wrote: > Hi, > > On Sat, Jun 9, 2012 at 6:04 PM, Thilina Buddhika > wrote: > > Hi Folks, > > > > I want to expose a JAX-RS service from a Carbon component. I already have > > the JAX-RS implementation. Have we figured out a way to expose this from

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Pradeep Fernando
Hi, On Sat, Jun 9, 2012 at 6:04 PM, Thilina Buddhika wrote: > Hi Folks, > > I want to expose a JAX-RS service from a Carbon component. I already have > the JAX-RS implementation. Have we figured out a way to expose this from a > Carbon component similar to the Axis2 services ? No we haven't. its

Re: [Dev] [Commits] [Carbon-platform] svn commit r129621 - carbon/platform/trunk/components/registry/org.wso2.carbon.registry.activities.ui/src/main/resources/web/activities/js

2012-06-09 Thread Ajith Vitharana
On Sat, Jun 9, 2012 at 6:46 PM, Senaka Fernando wrote: > Hi Ajith, > > Three bugs in this commit. > > 1. The check fromDateValue!="" && toDateValue!="" && (fromDateValue == > toDateValue) has redundant comparisons. You can have the same results just > by having fromDateValue != "" && (fromDateVa

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Kasun Gajasinghe
On Sat, Jun 9, 2012 at 6:48 PM, Thilina Buddhika wrote: > > > On Sat, FJun 9, 2012 at 6:39 PM, Senaka Fernando wrote: > >> Hi Thilina, >> >> JAX-RS implementation means Wink/CXF or are you talking about the actual >> service? >> > > It is the actual service implementation. > > >> >> I have been

Re: [Dev] [Commits] [Carbon-platform] svn commit r129621 - carbon/platform/trunk/components/registry/org.wso2.carbon.registry.activities.ui/src/main/resources/web/activities/js

2012-06-09 Thread Senaka Fernando
Hi Ajith, Three bugs in this commit. 1. The check fromDateValue!="" && toDateValue!="" && (fromDateValue == toDateValue) has redundant comparisons. You can have the same results just by having fromDateValue != "" && (fromDateValue == toDateValue). 2. There is a typo. Data needs to be changed as

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Thilina Buddhika
On Sat, Jun 9, 2012 at 6:39 PM, Senaka Fernando wrote: > Hi Thilina, > > JAX-RS implementation means Wink/CXF or are you talking about the actual > service? > It is the actual service implementation. > > I have been able to deploy a JAX-RS service on AS using Wink. But, that > was deployed as

Re: [Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Senaka Fernando
Hi Thilina, JAX-RS implementation means Wink/CXF or are you talking about the actual service? I have been able to deploy a JAX-RS service on AS using Wink. But, that was deployed as a webapp. That's a possible approach, but I don't think that it is the best approach. We have to embed wink depende

[Dev] Exposing a JAX-RS service from a Carbon Component

2012-06-09 Thread Thilina Buddhika
Hi Folks, I want to expose a JAX-RS service from a Carbon component. I already have the JAX-RS implementation. Have we figured out a way to expose this from a Carbon component similar to the Axis2 services ? Thanks, Thilina -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.co

[Dev] WSO2 Committers += Vijitha Kumara

2012-06-09 Thread Senaka Fernando
Hi all, Its my pleasure to welcome Vijitha Kumara as a WSO2 Committer. Vijitha has made some great contributions to Governance Registry during the last few months and in recognition of his commitment and contributions the Integration MC has voted Vijitha as a committer. Vijitha, welcome aboard an

Re: [Dev] How to Check Whether you are Super Tenant?

2012-06-09 Thread Senaka Fernando
Hi all, By the way, I see nothing committed after r129256. Also, can you guys explain what you are fixing and discuss changes before you make them? I see that commits like r129256 are just been made by Pradeep without a formal basis. Also, you guys seem to be doing multiple things under the hoods

Re: [Dev] sending an email on exceptions.

2012-06-09 Thread Senaka Fernando
Hi Zana, Yes. We use log4j and you should be able to Google and find some log4j to e-mail appenders AFAIU. Please also be kind to share anything found that you think useful for the dev@ community as well. Regards, Senaka. On Fri, Jun 8, 2012 at 3:09 PM, zana ilhan wrote: > Hi All, > > Is there

Re: [Dev] [Commits] [Carbon-platform] svn commit r129608 - in carbon/platform/trunk/components/governance: org.wso2.carbon.governance.api/src/main/java/org/wso2/carbon/governance/api/common org.wso2.c

2012-06-09 Thread Senaka Fernando
Hi Isuru, We need to follow the process. We need to record the JIRA issue with each fix, if not we cannot track it. By the way, you also need to get moving with discussing about a proper fix for this and getting this sorted out soon. Thanks, Senaka. On Sat, Jun 9, 2012 at 2:36 PM, Ajith Vitharan

Re: [Dev] [Commits] [Carbon-platform] svn commit r129608 - in carbon/platform/trunk/components/governance: org.wso2.carbon.governance.api/src/main/java/org/wso2/carbon/governance/api/common org.wso2.c

2012-06-09 Thread Ajith Vitharana
On Sat, Jun 9, 2012 at 1:38 PM, Senaka Fernando wrote: > Hi Ajith, > > Few things. > > 1. Did you reopen the relevant JIRA? > I didn't find the corresponding jira number even in commit message. Therefore, created a new one . https://wso2.org/jira/browse/REGISTRY-928 > 2. We need a fix

Re: [Dev] How to Check Whether you are Super Tenant?

2012-06-09 Thread Senaka Fernando
Hi Dimuthu, Chethiya, Please make sure that this does not cause integration test failures in products. We can't accept any new fix to the kernel that breaks integration tests in the products from this point onwards. Also, if these fixes to the kernel need migration scripts, the Platform MC needs t

Re: [Dev] [Commits] [Carbon-platform] svn commit r129608 - in carbon/platform/trunk/components/governance: org.wso2.carbon.governance.api/src/main/java/org/wso2/carbon/governance/api/common org.wso2.c

2012-06-09 Thread Senaka Fernando
Hi Ajith, Few things. 1. Did you reopen the relevant JIRA? 2. We need a fix for this too. If a resource is already existing the UI should be able to detect that and provide a warning. But the way in which it is being done seems to be having issues. We need to discuss and implement a better soluti

Re: [Dev] G-Reg 4.5.0 is feature frozen

2012-06-09 Thread Senaka Fernando
Hi Samisa, On Sat, Jun 9, 2012 at 5:54 AM, Samisa Abeysinghe wrote: > > > On Fri, Jun 8, 2012 at 9:20 PM, Ajith Vitharana wrote: > >> >> >> On Fri, Jun 8, 2012 at 10:14 AM, Samisa Abeysinghe wrote: >> >>> >>> >>> On Fri, Jun 8, 2012 at 10:12 AM, Ajith Vitharana wrote: >>> On Wed,