Re: Comments on 1.1-RC3a

2008-01-29 Thread Raymond Feng
rate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src> On 30/01/2008, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, Hi, It's

Re: Comments on 1.1-RC3a

2008-01-29 Thread Raymond Feng
e part of the build that failed? On 30/01/2008, Raymond Feng <[EMAIL PROTECTED]> wrote: It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabin

Re: Comments on 1.1-RC3a

2008-01-29 Thread Raymond Feng
Original Message - From: "sebb" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 29, 2008 7:42 PM Subject: Re: Comments on 1.1-RC3a On 30/01/2008, Raymond Feng <[EMAIL PROTECTED]> wrote: The debug log only provides information about the maven plugins. In your case, a

Re: Problem building rc3a

2008-01-30 Thread Raymond Feng
Hi, The artifact is available @ http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jpa_3.0_spec/1.0/. So it seems to be a intermittent maven issue. Retrying might help. Thanks, Raymond - Original Message - From: "Simon Nash" <[EMAIL PROTECTED]> To: Sent: Wednesday, J

Adding phase-based ordering support for invokers/interceptors in the InvocationChain

2008-01-30 Thread Raymond Feng
Hi, As of today, we can add multiple interceptors to the invocation chain, but we cannot control their ordering. When more policies are supported, I see a need to provide some simple ordering mechnisim for interceptors. SCA invocation may have three stages: reference, service and implementati

Re: Adding phase-based ordering support for invokers/interceptors in the InvocationChain

2008-01-31 Thread Raymond Feng
n in the invocation chain. And the Tuscany runtime will determine the ordering of phases based on these partial order. Thanks - Venkat On Jan 31, 2008 12:03 AM, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, As of today, we can add multiple interceptors to the invocation chain, but

[PROPOSAL] Automate itests for WAR packaging

2008-02-01 Thread Raymond Feng
Hi, (Sorry for the long text, I make it availabe on our WIKI too: http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Automation+of+itests+in+web+applications). In our WAR packaging scheme, we package SCA artifacts with Tuscany runtime jars in a WAR so that it can be deployed to a web cont

Re: Distribution structure

2008-02-01 Thread Raymond Feng
+1 from me. Thanks, Raymond - Original Message - From: "Simon Laws" <[EMAIL PROTECTED]> To: "tuscany-dev" Sent: Friday, February 01, 2008 7:10 AM Subject: Distribution structure I'm looking at copying the 1.1 release artifacts up onto the new distribution infrastructure at www.apa

Re: [PROPOSAL] Automate itests for WAR packaging

2008-02-01 Thread Raymond Feng
A quick update: I managed to get the automation working with Geronimo 2.0.2 too using the geronimo-maven-plugin. The new pom.xml has been updated at the wiki page. Thanks, Raymond - Original Message - From: "Raymond Feng" <[EMAIL PROTECTED]> To: Sent: Friday, Februa

Re: [PROPOSAL] Automate itests for WAR packaging

2008-02-02 Thread Raymond Feng
g to see the best way to include the test cases, that was generated in a separate jar (a second artifact from a given module), into the web app BTW, Would you mind committing it so I can start playing with a end-to-end scenario for the iTests too ? On Feb 1, 2008 9:41 AM, Raymond Feng <[E

Re: [PROPOSAL] Automate itests for WAR packaging

2008-02-02 Thread Raymond Feng
;Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Saturday, February 02, 2008 1:41 PM Subject: Re: [PROPOSAL] Automate itests for WAR packaging Raymond Feng wrote: A quick update: I managed to get the automation working with Geronimo 2.0.2 too using the geronimo-maven-plugin.

Re: [PROPOSAL] Automate itests for WAR packaging

2008-02-03 Thread Raymond Feng
Hi, What problem did you with maven 2.0.5? I'm running maven 2.0.8 now. Thanks, Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Sunday, February 03, 2008 2:29 PM Subject: Re: [PROPOSAL] Automate itests for WAR pack

Re: [PROPOSAL] Automate itests for WAR packaging

2008-02-03 Thread Raymond Feng
ting platforms we are supporting, right ? On Feb 3, 2008 2:42 AM, ant elder <[EMAIL PROTECTED]> wrote: On Feb 1, 2008 5:41 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: > Hi, > > (Sorry for the long text, I make it availabe on our WIKI too: > > http://cwiki.apache.org/confluence

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-04 Thread Raymond Feng
Hi, I think we should further understand what roles the core, binding and implementation can play to enforce the pass-by-value semantics. Implementation extension: knows the setting of @AllowsPassByReference, might know if the implement code would modify the input data and if the output data

Re: Exception->Fault mapping

2008-02-04 Thread Raymond Feng
2008 11:13 PM Subject: Re: Exception->Fault mapping Raymond Feng wrote: The binding-specific exception/fault mapping won't be exposed to the programming model. I was proposing to make the mapping extensible so that we can support multiple patterns without impacting the SCA application code.

Re: Adding phase-based ordering support for invokers/interceptors in the InvocationChain

2008-02-04 Thread Raymond Feng
Please see my comments below. Thanks, Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Saturday, February 02, 2008 2:09 PM Subject: Re: Adding phase-based ordering support for invokers/interceptors in the InvocationChain

Re: [PROPOSAL] Automate itests for WAR packaging

2008-02-04 Thread Raymond Feng
AIL PROTECTED]> wrote: Fine sorry i'd misunderstood before, the bit about adjusting the sample-calculator-webapp to use this had me thinking the intention was to add this in to all the samples. ...ant On Feb 4, 2008 5:09 AM, Raymond Feng <[EMAIL PROTECTED]> wrote: > Hi, > >

Re: [continuum] BUILD FAILURE: Apache Tuscany SCA Implementation Project

2008-02-04 Thread Raymond Feng
Hi, The following failure seems to be a bit random. I couldn't reproduce it. Thanks, Raymond - Original Message - From: "Continuum VMBuild Server" <[EMAIL PROTECTED]> To: Sent: Monday, February 04, 2008 12:43 PM Subject: [continuum] BUILD FAILURE: Apache Tuscany SCA Implementation P

Re: Graduation next steps

2008-02-04 Thread Raymond Feng
The e-mail is getting long :-). I just want to add my +1 to these great ideas. I definitely willing to help in various areas. Thanks, Raymond - Original Message - From: "Simon Nash" <[EMAIL PROTECTED]> To: Sent: Monday, February 04, 2008 1:59 PM Subject: Re: Graduation next steps

Re: Error building contribution-impl

2008-02-05 Thread Raymond Feng
The bottom of the issue comes from http://jira.codehaus.org/browse/SUREFIRE-123. Your fix is indeed a workaround :-). Thanks, Raymond - Original Message - From: "Luciano Resende" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 05, 2008 9:45 AM Subject: Re: Error building contributio

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-05 Thread Raymond Feng
turns true for the isPassByValueEnforced flag. Thanks, Raymond - Original Message - From: "Raymond Feng" <[EMAIL PROTECTED]> To: Sent: Monday, February 04, 2008 9:50 AM Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework Hi, I th

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-06 Thread Raymond Feng
PM Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework Raymond Feng wrote: Let me try to propose the following fix: 1) Add new interface such as PassByValueProvider (please help me with a better name) to the SPI. public interface PassByValueProvider { /**

Re: Graduation next steps

2008-02-06 Thread Raymond Feng
I prefer to keep the JIRA notifications on the tuscany-dev list. IMHO, we developers should pay attensions to issues in addition to adding features :-). In some projects like Axis2, they seem to use JIRA to drive the development activities. A simple mail filter can help organize the inbox if yo

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-06 Thread Raymond Feng
- Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 06, 2008 9:56 AM Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework Raymond Feng wrote: I was initially thinking about the int

Consistent URI for binding.ws in J2SE and Web environment

2008-02-06 Thread Raymond Feng
Hi, When we run a Tuscany application with binding.ws in the J2SE (w/ embedded Jetty or Tomcat), the base URI of the service binding is http://locahost:/. If we package the same artifacts into a WAR and deploy it to a web container such as Tomcat, the base URI becomes http://localhost://. The

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-07 Thread Raymond Feng
-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Thursday, February 07, 2008 8:50 AM Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework Raymond Feng wrote: - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]&g

Re: XPath related question

2008-02-08 Thread Raymond Feng
Hi, My experience is that you need to set the NamespaceContext on the XPath so that you can map a prefix to the namespace URI. See: http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/xpath/XPath.html#setNamespaceContext(javax.xml.namespace.NamespaceContext). For example, you can associate "sca

Re: Tuscany web-apps and jUnit dependencies

2008-02-08 Thread Raymond Feng
As the first step, I fixed the code (r619973) to tolerate the case that junit is not present on the classpath. Now the webapp samples should be working as-is now. How about the following refactoring? 1) Create a new module as "host-webapp-junit" under "modules" folder. (I think it should be u

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-08 Thread Raymond Feng
Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Thursday, February 07, 2008 6:06 PM Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework Raymond Feng wrote: One more question: Do you think if the participants to enforce PBV

Re: PolicyHanders

2008-02-08 Thread Raymond Feng
Hi, I don't enough knowledge to cover all of your points, but let me give a try. See my comments inline. Thanks, Raymond - Original Message - From: "Greg Dritschler" <[EMAIL PROTECTED]> To: "tuscany-dev" Sent: Wednesday, February 06, 2008 12:03 PM Subject: PolicyHanders I have b

Re: Tuscany web-apps and jUnit dependencies

2008-02-08 Thread Raymond Feng
d to do to enable the testing is change dependency from "host-webapp" to "host-webapp-junit", and this can be easily accomplished by maven profiles, right ? I don't like the "clone". If that's the case, why don't we keep it in the same module (now it alrea

Re: svn commit: r620376 - /incubator/tuscany/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java

2008-02-11 Thread Raymond Feng
ginal Message - From: "Raymond Feng" <[EMAIL PROTECTED]> To: Sent: Sunday, February 10, 2008 9:46 PM Subject: Re: svn commit: r620376 - /incubator/tuscany/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java Hi, I don'

Re: svn commit: r620376 - /incubator/tuscany/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java

2008-02-10 Thread Raymond Feng
Hi, I don't think this is a good fix. The ServletContext.getContextPath() is introduced for Servlet Spec 2.5 or later. The major/minor version can tell us if the current ServletContext has getContextPath() method. In Servlet 2.4, the getContextPath() is only available on HttpServletRequest.

Re: Tuscany: Axis2 codegen bug? - java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace

2008-02-10 Thread Raymond Feng
Hi, I think we have two issues here: 1) Generate the WSDL port type from a java interface following the JAX-WS mapping rules (JSR-181 annotations can be used to customize the WSDL). The SCA spec chooses JAX-WS to map between remotable java interfaces and WSDLs. I assume Simon's proposal is fo

Injecting the SCADomain from the TuscanyServletFilter into itest cases

2008-02-12 Thread Raymond Feng
Hi, In the WAR-based Tuscany deployment, the TuscanyServletFilter is responsible to start/stop the SCADomain. At this moment, most of our itest cases create the SCADomain using SCADomain.newInstance() during the setup. If we run itests as a webapp, it ends up with two different domain instance

Re: Tuscany web-apps and jUnit dependencies

2008-02-12 Thread Raymond Feng
+1 on what Sebastien described. In fact, the refactored code already works this way. Thanks, Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Monday, February 11, 2008 6:46 PM Subject: Re: Tuscany web-apps and jUnit dependencies Simon Nash

Re: Processing multiple WSDLs in the same namespace

2008-02-14 Thread Raymond Feng
Hi, Let me explain what I thought in this example: a contribution with two xsds under the same tns (http://ns1): a.xsd and b.xsd. When the XSDs are initially processed, we only create a XSDefinition object to hold the tns and URL of the xsd. The XSD is not fully loaded at this point. The XSD

Re: svn commit: r627631 - in /incubator/tuscany/java/sca: itest/jms/ itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/ modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/pr

2008-02-14 Thread Raymond Feng
Hi, I'm trying to bring up the itest/jms with Tomcat and Geronimo. There are a few things in this commit: 1) Add some logic to detect if the ActiveMQ broker is active, if not, then start a new one. (Try to reuse the ActiveMQ broker from Geronimo) 2) Move the startBroker() from JMSServiceBindi

Re: Processing multiple WSDLs in the same namespace

2008-02-14 Thread Raymond Feng
ge - From: "Simon Laws" <[EMAIL PROTECTED]> To: Sent: Thursday, February 14, 2008 9:25 AM Subject: Re: Processing multiple WSDLs in the same namespace hi Ramyond Comments in line... Simon On Thu, Feb 14, 2008 at 4:57 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: H

Re: Processing multiple WSDLs in the same namespace

2008-02-14 Thread Raymond Feng
us honest when it comes to fixing the more general case. Sound OK? Regards Simon On Thu, Feb 14, 2008 at 5:46 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: Maybe the best approach is keep the physical artifacts in the list as-is without aggregation. +1 And we change the artifact reso

Re: svn commit: r628163 - in /incubator/tuscany/java/sca: itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces

2008-02-15 Thread Raymond Feng
My preference is to keep PassByValue as the prefix for the following reasons. 1) The invokers implement this interface only for the cases to enforece pass-by-value for remotable interfaces. Invocations over local interfaces (pass-by-reference) don't even care about this flag. 2) The allowsPa

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-15 Thread Raymond Feng
n-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Friday, February 08, 2008 3:51 PM Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework Raymond Feng wrote: +1 on the proposal. The interceptor could just return the flag based on its capability withou

Re: svn commit: r628163 - in /incubator/tuscany/java/sca: itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces

2008-02-15 Thread Raymond Feng
itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces/ modules/binding-ejb/src/main/java/org/apache/tuscany/s Raymond Feng wrote: My preference is to keep PassByValue as the prefix for the following r

Re: svn commit: r628163 - in /incubator/tuscany/java/sca: itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces

2008-02-15 Thread Raymond Feng
e/tuscany/sca/itest/interfaces/ modules/binding-ejb/src/main/java/org/apache/tuscany/s Raymond Feng wrote: How about something like DataPassingStyle or DataPassingStrategy? This is not a big issue and I would not seriously -1 any name even if you just called it the XyzStyle but I'd li

Re: svn commit: r628163 - in /incubator/tuscany/java/sca: itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces

2008-02-18 Thread Raymond Feng
, 2008 11:01 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Raymond Feng wrote: My preference is to keep PassByValue as the prefix for the following reasons. 1) The invokers implement this interface only for the cases to enforece pass-by-value for remotable interfaces. Invocations

Re: Build fails in transaction itest

2008-02-18 Thread Raymond Feng
Hi, Simon. Thank you for investigating the problem. I debugged a bit more. The following sequence is failing with ActiveMQ randomly. 1) Send 3 messages to a queue and commit the session 2) receiveNoWait on one of the three messages I confirmed that 1) (composite-scoped component with @Init)

Re: svn commit: r628163 - in /incubator/tuscany/java/sca: itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces

2008-02-18 Thread Raymond Feng
t/java/org/apache/tuscany/sca/itest/interfaces/ modules/binding-ejb/src/main/java/org/apache/tus Raymond Feng wrote: Hi, Simon. Are you proposing to have the following? 1) Define a InvokerPropertySet class such as: public class InvokerPropertySet { public boolean getAllowsPassB

Re: svn commit: r628163 - in /incubator/tuscany/java/sca: itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces

2008-02-18 Thread Raymond Feng
g/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces/ modules/binding-ejb/src/main/java/org/apache/tus Raymond Feng wrote: The Configurable interface can be optionally implemented by the Invoker implementation classes. To support multiple p

Re: svn commit: r628163 - in /incubator/tuscany/java/sca: itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces

2008-02-18 Thread Raymond Feng
n/java/org/apache/tus Raymond Feng wrote: We could simply use Object as the return value and then cast it to the type of the property. The caller code could perform the test as follows: if(invoker instanceof Configurable) { boolean allowsPBR = ((Configurable) invoker).getProperty("Allow

Re: [jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

2008-02-19 Thread Raymond Feng
Hi, You need to register the XSDs with SDO. Please see a similar question/answer here: http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg28062.html Thanks, Raymond - Original Message - From: "Simon Nash" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 19, 2008 4:36 AM Subje

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-19 Thread Raymond Feng
That was my intention to return true as the DTInterceptor will make sure the data passing is safe. Thanks, Raymond - Original Message - From: "Scott Kurz" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 19, 2008 4:46 PM Subject: Re: Bypassing unnecessary transforms by Tuscany databin

Re: Re: How to use SDO in tuscany sca?

2008-02-19 Thread Raymond Feng
Hi, I debugged your test case and it turned out the problem is in your test case. There is a dangling type reference in helloworld.wsdl: http://helloworld"; xmlns="http://www.w3.org/2001/XMLSchema";> It should be: . After fixing the i

Re: How to use SDO in tuscany sca?

2008-02-20 Thread Raymond Feng
actually caught. In that case, it's usually an error path for which I would not expect performance to be an issue. I realise that not all exceptions represent "hard errors", but I think a ClassCastException does. Simon > Regards, Kelvin. > > On 20/02/2008, Simon Nash <[EMA

Re: How to use SDO in tuscany sca?

2008-02-20 Thread Raymond Feng
I think there are still issues to be flushed out for the dynamic SDO support. Let's first look at the proposal: 1) Create a "Composite"-scoped java component, and in the method with @Init to call SDO APIs to register the WSDL/XSD with SDO HelperContext. (This is doable even though it require

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-20 Thread Raymond Feng
- From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 19, 2008 7:32 PM Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework Raymond Feng wrote: That was my intention to return true as the DTInterceptor will make sure the

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-20 Thread Raymond Feng
10:32 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Raymond Feng wrote: > That was my intention to return true as the DTInterceptor will make > sure > the data passing is safe. > Is that always a correct assumption? I thought that it could depend on the nature of the tra

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-20 Thread Raymond Feng
cany-related necessarily, to make this determination. So you're looking for Message to determine if the flag should be true or false, right? But once I found out I thought it would be nice to dynamically turn off PBV copy on the chain. Scott On Feb 20, 2008 1:22 PM, Raymond Feng <[EM

Re: [jira] Commented: (TUSCANY-2035) Injected callback references are not resolved at the time of injection

2008-02-20 Thread Raymond Feng
Hi, I'm seeing random failures in itest-callback-multiple-wires. In this itest, MyServiceComponent is scoped with "COMPOSITE". MyClientComponent1 and MyClientComponent2 invokes MyServiceComponent concurrently. Since the MyServiceComponent is the same instance for both clients, the requestConte

Re: [jira] Commented: (TUSCANY-2035) Injected callback references are not resolved at the time of injection

2008-02-20 Thread Raymond Feng
Hi, I checked in a fix under r629688 by adding a "synchronized" for the business method. Please confirm if it's meant to test that way. Thanks, Raymond - Original Message - From: "Raymond Feng" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 20,

Re: [jira] Commented: (TUSCANY-2051) JMS binding: Exception while sending a FaultReply

2008-02-21 Thread Raymond Feng
Some comments: 1) For RPC style, any failures on the service side should produce a fault JMS response message. The client side will be blocked if there is no response. Maybe we don't need a JMS property to mandate this behavior. 2) +1 to have a tuscany-defined JMS property to indicate if the

Re: [continuum] BUILD FAILURE: Apache Tuscany SCA Implementation Project

2008-02-21 Thread Raymond Feng
This should be fixed by r629867. Thanks, Raymond - Original Message - From: "Continuum VMBuild Server" <[EMAIL PROTECTED]> To: Sent: Thursday, February 21, 2008 7:49 AM Subject: [continuum] BUILD FAILURE: Apache Tuscany SCA Implementation Project Online report : http://vmbuild.ap

Re: svn commit: r628163 - in /incubator/tuscany/java/sca: itest/interfaces/src/main/java/org/apache/tuscany/sca/itest/interfaces/ itest/interfaces/src/test/java/org/apache/tuscany/sca/itest/interfaces

2008-02-21 Thread Raymond Feng
a veto, just expressing an opinion. ...ant On Tue, Feb 19, 2008 at 4:53 AM, Raymond Feng <[EMAIL PROTECTED]> wrote: +1 on Option 1) which is something I'm scared to propose these days as we want to keep the SPIs binary compatible :-). I prefer to have an explict, clean and stro

Re: Exception->Fault mapping

2008-02-21 Thread Raymond Feng
. Thanks, Raymond - Original Message - From: "Raymond Feng" <[EMAIL PROTECTED]> To: Sent: Monday, February 04, 2008 8:39 AM Subject: Re: Exception->Fault mapping Hi, We had some explanations in the same thread before. Please see it below. Simply speaking, wh

Re: Databinding exceptions ? Abdera model objects missing no-arg default constructor. was Re: Support for Atom using Apache Abdera

2008-02-22 Thread Raymond Feng
Hi, I did some debugging and it turned out that the problem is caused by the PassByValueInterceptor.copy(). The interface is remotable and Abdera's object model doesn't conform to the JAXB default Java2WSDL mapping, neither does it implement java.io.Serializable. There are a few things we ca

Contribution classloading pluggability: was: Re: Classloading code in core contribution processing

2008-02-22 Thread Raymond Feng
Hi, I don't want to intercept the discussion but I'm wondering if we should define the pluggability of the classloading scheme for SCA contributions. Typically we have the following information for a ready-to-deploy unit: * The URL of the deploment composite (deployable composite) * A collect

Re: [TEST] Conversation Lifetime

2008-02-25 Thread Raymond Feng
+1. The more itests, the better :-). Thanks, Raymond - Original Message - From: "Kevin Williams" <[EMAIL PROTECTED]> To: Sent: Monday, February 25, 2008 5:08 AM Subject: [TEST] Conversation Lifetime I would like to add a few iTests for Conversation Lifetime items that don't seem to

Re: Trouble with aggregating definitions.xml in distro

2008-02-25 Thread Raymond Feng
Why don't we use META-INF/definitions.xml? META-INF/services folder is for the java service provider pattern. Thanks, Raymond - Original Message - From: "Venkata Krishnan" <[EMAIL PROTECTED]> To: Sent: Monday, February 25, 2008 7:10 AM Subject: Re: Trouble with aggregating definition

Re: PassByValueInterceptor always copying data now?

2008-02-25 Thread Raymond Feng
Please see my comments inline. Thanks, Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Monday, February 25, 2008 8:36 AM Subject: PassByValueInterceptor always copying data now? With the latest trunk code, PassByValueInterceptor seems to alw

Re: PassByValueInterceptor always copying data now?

2008-02-25 Thread Raymond Feng
- Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Monday, February 25, 2008 9:00 AM Subject: Re: PassByValueInterceptor always copying data now? Raymond Feng wrote: Please see my comments inline. Thanks, Raymond - Original Message - From:

Re: Trouble with aggregating definitions.xml in distro

2008-02-25 Thread Raymond Feng
. Thanks, Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Monday, February 25, 2008 10:00 AM Subject: Re: Trouble with aggregating definitions.xml in distro Raymond Feng wrote: Why don't we use META-INF/definitions.xml? MET

Re: Contribution classloading pluggability: was: Re: Classloading code in core contribution processing

2008-02-25 Thread Raymond Feng
- Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Monday, February 25, 2008 8:23 AM Subject: Re: Contribution classloading pluggability: was: Re: Classloading code in core contribution processing Raymond Feng wrote: Hi, I don

[DISCUSSION] PassByValue SPI, was: Re: svn commit: r628163

2008-02-25 Thread Raymond Feng
Hi, I think Simon's proposal should work as follows instead of passing the properties to the createInvoker() call. public interface Invoker { InvokerProperties getProperties(); // Contribute properties } public class InvokerProperties { public void setAllowsPassByReference(boolean allow

Re: [DISCUSS] altering the Tuscany "Charter" in relation to SDO Java

2008-02-25 Thread Raymond Feng
I'm fine with the proposal. In Tuscany SCA Java, we support many databindings such as JAXB, SDO, XmlBeans and AXIOM. IMHO, SDO is one of the technology choices to represent data in the SOA environment. Removing SDO from the sentence will give us more flexibility. I agree that it doesn't stop us

Re: Problem with International characters in a Confluence Wiki page

2008-02-26 Thread Raymond Feng
I'm trying ... will wait for the pages to be saved into the database. Thanks, Raymond -- From: "Luciano Resende" <[EMAIL PROTECTED]> Sent: Tuesday, February 26, 2008 9:42 PM To: "tuscany-dev" Subject: Re: Problem with International characters in a

Re: Touble with jaxws-maven-plugin when compiling interface-java-jaxws module

2008-02-27 Thread Raymond Feng
Hi, Our build has a dependency on javax.xml.ws:jaxws-api:2.1. And we have the java.net configured as a maven repo in our pom.xml. The build fails randomly because the same artifact is available at [2] but it has a different pom as [1]. A bunch of transitive dependencies are missing in [2], such a

Re: Problem with International characters in a Confluence Wiki page

2008-02-27 Thread Raymond Feng
Hi, I created a page with Chinese title and content @ http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=77938. And it works fine so far. So I assume the problem is now fixed. Thanks, Raymond -- From: "Luciano Resende" <[EMAIL PROT

Re: Spring Framework

2008-02-27 Thread Raymond Feng
We could do that if there is no objection. I assume it should be fairly straightforward. Thanks, Raymond -- From: "Kapish Aggarwal" <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2008 10:35 AM To: "tuscany-dev" Subject: Spring Framework Just

Re: [continuum] BUILD FAILURE: Apache Tuscany SCA Implementation Project

2008-02-28 Thread Raymond Feng
It should be fixed by r632098 now. Thanks, Raymond -- From: "Continuum VMBuild Server" <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2008 10:16 AM To: Subject: [continuum] BUILD FAILURE: Apache Tuscany SCA Implementation Project Online report

Fail to run helloworld.HelloWorldJmsClient in module sample-helloworld-reference-jms

2008-02-28 Thread Raymond Feng
Hi, I got the following exception. It seems that tuscany-node-impl module is missing in the pom.xml. Exception in thread "main" org.apache.tuscany.sca.node.NodeException: java.lang.ClassNotFoundException: org.apache.tuscany.sca.node.impl.SCANodeFactoryImpl at org.apache.tuscany.sca.node.SCA

Re: Trouble with aggregating definitions.xml in distro

2008-02-29 Thread Raymond Feng
My understanding is that there are two different issues here: 1) Where definitions.xml should be packaged in a SCA contribution? 2) How do we merge multiple definitions.xml when we build the all-in-one binary distro? So I assume Sebastien's proposal is for 1) and the maven/shade discussion is

Re: why does SDODatabinding set up a default element ?

2008-02-29 Thread Raymond Feng
Hi, This is part of the changes that we move toward using the JAXWS mapping rules to map remotable java interface to WSDL. The element names are derived from the java method signature. For example, if we have the following interface: public interface MyService { AddressSDO getAddress(Cust

[VOTE] Pass-by-value related SPI change

2008-02-29 Thread Raymond Feng
Hi, Please vote on one of the following five options to define allowsPassByReference property for Invokers. You can vote with multiple choices ordered by your preference. [1] Add "boolean allowsPassByReference()" to the Invoker interface directly [2] Add "boolean allowsPassByReference()" to

Re: [VOTE] Pass-by-value related SPI change

2008-03-02 Thread Raymond Feng
t;getInvokerProperties()" to the Invoker interface. Thanks, Raymond -- From: "Simon Nash" <[EMAIL PROTECTED]> Sent: Sunday, March 02, 2008 2:34 PM To: Subject: Re: [VOTE] Pass-by-value related SPI change Raymond Feng wrote: Hi, Please vote on one of the following five

Re: [VOTE] Community is more important than code

2008-03-03 Thread Raymond Feng
Sorry, I meant to say "I don't think casting +1 to a general slogan help this project much." Thanks, Raymond ------ From: "Raymond Feng" <[EMAIL PROTECTED]> Sent: Monday, March 03, 2008 8:55 AM To: "tuscany-dev&quo

Re: [VOTE] Community is more important than code

2008-03-03 Thread Raymond Feng
To be honest, I don't know how to vote on this without some context. IMHO, community and code are key counterparts for an open source project. Healthy community ensures the decisions are made openly based on technical merits which in turn lead to good code ultimately. Good code attracts more u

Re: [VOTE] (Restarting the vote to ...) Change Tuscany Charter to remove SDO reference

2008-03-03 Thread Raymond Feng
Frank Budinsky Ignacio Silva-Lepe Jean-Sebastien Delfino kelvin goodson Luciano Resende Mike Edwards Pete Robbins Raymond Feng Simon Laws Simon Nash

Additional flexibility in Axis2 Java2WSDL?

2008-03-03 Thread Raymond Feng
Hi, We (Apache Tuscany) project uses the Axis2 1.3 Java2WSDL to generate WSDLs from java interfaces. Now we run into a few issues (please see https://issues.apache.org/jira/browse/TUSCANY-2059, https://issues.apache.org/jira/browse/TUSCANY-2060). 1) Axis2 automatically exclude the following

Re: svn commit: r632646 - in /incubator/tuscany/java/sca/tools/maven/maven-definitions:

2008-03-03 Thread Raymond Feng
I wonder if it's too heavy to develop a maven plugin to merge the definitions.xml file. BTW, I don't like the all-in-one jar too much as it breaks the modularity and extensibility story. Thanks, Raymond -- From: <[EMAIL PROTECTED]> Sent: Saturday

Re: [jira] Commented: (TUSCANY-2059) Exception when using binding.ws instead of binding.sca. Interface contains only methods without any in/out parameters and return values

2008-03-03 Thread Raymond Feng
Components: Java SCA Core Runtime Affects Versions: Java-SCA-1.1 Environment: Windows XP SP2, Intel Core 2 CPU, 2.6, 2GB Ram, jdk 1.5.0_10 Reporter: Daniel Stucky Assignee: Raymond Feng Attachments: test.zip I have the following Java Interface that wor

tuscany-maven-dependency-lister maven plugin

2008-03-03 Thread Raymond Feng
Hi, I'm wondering what our tuscany-maven-dependency-lister plugin provides over the maven-dependency-plugin. The following command can give us a nice dependency tree of a project: mvn dependency:tree Thanks, Raymond - To

Re: Deploy a web service ,but not to target with reference

2008-03-03 Thread Raymond Feng
Hi, In the 2nd case, the service is exposed using binding.ws. But the reference uses the binding.sca (without an explicit binding, it's default to binding.sca). The wiring should complain that the bindings are not compatible. Thanks, Raymond -

Re: [VOTE] Release SDO Java version 1.1-incubating (release candidate 2)

2008-03-04 Thread Raymond Feng
I tried the RC2 and it looks good to me. +1. Thanks, Raymond -- From: "kelvin goodson" <[EMAIL PROTECTED]> Sent: Friday, February 29, 2008 3:30 AM To: "tuscany-dev" Subject: [VOTE] Release SDO Java version 1.1-incubating (release candidate 2)

Re: Re: Deploy a web service ,but not to target with reference

2008-03-04 Thread Raymond Feng
vice invoker through web service,not directly through binding.sca. class="com.primeton.demo.helloworld.HelloWorldImpl" /> interface="http://helloworldsdo#wsdl.interface(HelloWorld)" /> Thanks, Wang Feng On 2008-03-04,Raymond Feng <

Re: Running component service on a running port.

2008-03-04 Thread Raymond Feng
When you deploy the SCA composite with services configured with web service binding, please make sure tuscany-host-webapp-*.jar (but not tuscany-host-jetty-*.jar) is packaged in the WEB-INF/lib folder. Thanks, Raymond -- From: "Sandeep Raman" <[E

Re: Why there are two different ways for tuscany generating WSDL from java (java2wsdl)

2008-03-05 Thread Raymond Feng
Please see my comments inline. Thanks, Raymond [[snip]] The question then is, what do we want these tools to do? Some thoughts from my point of view. This is just my view and others may disagree... - The runtime J2WSDL should be able to generate WSDL for Java interfaces for the Java interface

[RESULT] [VOTE] Pass-by-value related SPI change

2008-03-05 Thread Raymond Feng
t; <[EMAIL PROTECTED]> Sent: Monday, March 03, 2008 8:51 AM To: ; <[EMAIL PROTECTED]> Subject: Re: [VOTE] Pass-by-value related SPI change On Mon, Mar 3, 2008 at 1:34 PM, ant elder <[EMAIL PROTECTED]> wrote: On Fri, Feb 29, 2008 at 11:44 PM, Raymond Feng <[EMAIL PROTECTED]

[DISCUSS] Validate applicable policySets for a given policy set attachpoint

2008-03-05 Thread Raymond Feng
Hi, I'm looking into the policy framework code. I found it very strange that we have some code in the ContributionServiceImpl to modify the composite file and attach tuscany attributes to the XML document to keep the applicable policy sets for a given PolicySetAttachPoint. The later is calcula

Re: [DISCUSS] Validate applicable policySets for a given policy set attachpoint

2008-03-06 Thread Raymond Feng
ependence this brings into ContributionServiceImpl which is something I anyways planned to clean up by moving all of it to CompositeProcessor. Thanks - Venkat On Thu, Mar 6, 2008 at 6:11 AM, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, I'm looking into the policy framework code.

Re: Tuscany participation at Google Summer of Code (GSoC) 2008

2008-03-06 Thread Raymond Feng
Improving the XQuery component implementation type could be a good candidate. Thanks, Raymond -- From: "Luciano Resende" <[EMAIL PROTECTED]> Sent: Friday, February 29, 2008 5:52 PM To: "tuscany-dev" Subject: Tuscany participation at Google Summer

Re: We would like to contribute some contents in Chinese.

2008-03-06 Thread Raymond Feng
Hi, Zal. Thank you for contributing documents to Tuscany. It's really great to see you share ideas/practices in the community. Here are a few things that I suggest: 1) Start to contribute your content to our wiki site. I have created a blank page as the starting point at http://cwiki.apache.o

<    4   5   6   7   8   9   10   11   12   13   >