re: Project conventions

2007-04-12 Thread Simon Laws
On 4/12/07, haleh mahbod <[EMAIL PROTECTED] > wrote: Can you please add conventions for Java SCA to this page http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+Development This makes it easier for contributors to find the information. Thank you, Haleh On 4/11/07, Jean-Sebastien Del

Re: JAVA_SCA_M2 slides

2007-04-12 Thread Simon Laws
On 4/11/07, Salvucci, Sebastian <[EMAIL PROTECTED]> wrote: Hello, I uploaded a document to http://cwiki.apache.org/confluence/download/attachments/47512/TuscanyJAV ASCA.pdf which contains some slides about Java SCA Runtime. They are based on M2 but perhaps some graphics could serve to be reused

Re: [VOTE] SDO Java Release M3

2007-04-12 Thread ant elder
I've a had a look and have some comments and questions. - The samples distro has no LICENSE or NOTICE files - The src distro has no LICENSE or NOTICE in top level directory (they are there in sdo-api directory) - The sdo-api src files don't have an Apache License header and include a non-ASF co

Re: [VOTE] SDO Java Release M3

2007-04-12 Thread ant elder
More comments inline... On 4/12/07, kelvin goodson <[EMAIL PROTECTED]> wrote: - The src distro has no LICENSE or NOTICE in top level directory (they are there in sdo-api directory) this is the anomaly that I pointed out in the last release cycle in response to the requirement that each of t

ServiceReference.getService returning a proxy?

2007-04-12 Thread ant elder
Should using ComponentContext createSelfReference getService automatically create a proxy implementing the service interface? If I change the script HelloWorld testcase [1] to go directly to a script component instead of a java component (ie SCARuntime.getComponentContext("HelloWorldJSComponent")

Re: [VOTE] SDO Java Release M3

2007-04-12 Thread kelvin goodson
responses inline ... On 12/04/07, ant elder <[EMAIL PROTECTED]> wrote: More comments inline... On 4/12/07, kelvin goodson < [EMAIL PROTECTED]> wrote: - The src distro has no LICENSE or NOTICE in top level directory (they are > there in sdo-api directory) > > this is the anomaly that I point

Re: [VOTE] SDO Java Release M3

2007-04-12 Thread kelvin goodson
Re the api files' headers. I have retraced my steps and found the following Treatment of Third-Party Works 1. The term "third-party work" refers to a work not submitted directly to the ASF by the copyright owner or owner's agent. 2. Do not modify or remove any copyright notices or licens

RE: JAVA_SCA_M2 slides

2007-04-12 Thread Salvucci, Sebastian
Hi Simon, I'm happy to share the source. I just used PowerPoint for preparing the diagrams. The ppt document is already uploaded; you can find it at: http://cwiki.apache.org/confluence/download/attachments/47512/TuscanyJAV ASCA.ppt Regards, +sebastian -Original Message- From: Simon Laws

Re: [VOTE] SDO Java Release M3

2007-04-12 Thread ant elder
Yes, I think that it probably is technically alright to include third-party code with that license as source code in our SVN, so i guess this isn't a release blocker. But if feels quite odd to me have the entire Tuscany SDO API code like this, why couldn't this be the same as our SCA APIs where we

Composites implementing components problem

2007-04-12 Thread Simon Laws
I'm trying to bring the composite-impl sample up. The sample uses nested composite files and if fails trying to wire up the references from a top level component (which is implemented in a separate composite - see [1]) to another component. The failure happens during the connect phase of Deploye

[Java SDO] Running the CTS against the Tuscany impl

2007-04-12 Thread kelvin goodson
I've been getting back up to speed with the CTS this morning, and it took me a little while to get things going. I came across a couple of significant issues one is that the current documentation ( http://cwiki.apache.org/TUSCANY/obtaining-the-sdo-21-cts.html) suggests that running maven agains

Re: Wiring of Services and References ?

2007-04-12 Thread Simon Laws
On 4/11/07, Luciano Resende <[EMAIL PROTECTED]> wrote: I'm trying to run the echo-binding testcases after updating the binding implementation, but I'm getting the exception below. Are we actually wiring services and references ? java.lang.IllegalStateException: java.lang.NullPointerException

Re: Wiring of Services and References ?

2007-04-12 Thread Venkata Krishnan
Hi, If the calulator sample is working then I suppose the wiring is in place isn't it ? Let me go and try this one. - Venkat On 4/12/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 4/11/07, Luciano Resende <[EMAIL PROTECTED]> wrote: > > I'm trying to run the echo-binding testcases after updati

Re: Wiring of Services and References ?

2007-04-12 Thread Simon Laws
On 4/12/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote: Hi, If the calulator sample is working then I suppose the wiring is in place isn't it ? Let me go and try this one. - Venkat On 4/12/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On 4/11/07, Luciano Resende <[EMAIL PROTECTED]> wrote: >

Re: JAVA_SCA_M2 slides

2007-04-12 Thread Simon Laws
On 4/12/07, Salvucci, Sebastian <[EMAIL PROTECTED]> wrote: Hi Simon, I'm happy to share the source. I just used PowerPoint for preparing the diagrams. The ppt document is already uploaded; you can find it at: http://cwiki.apache.org/confluence/download/attachments/47512/TuscanyJAV ASCA.ppt Regar

Re: Wiring of Services and References ?

2007-04-12 Thread Jean-Sebastien Delfino
[snip] Simon Laws wrote: Composite configuration problem: [EMAIL PROTECTED] I've not looked into this one specifically but it doesn't stop the test passing. I do get more of these problem reports in the composite-impl test that I'm playing with and it is a real problem in that case. Still loo

Re: [VOTE] SDO Java Release M3

2007-04-12 Thread kelvin goodson
Ant, here's a bit more context, since you asked about whether there had been discussion of this topic ... http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200607.mbox/[EMAIL PROTECTED] Cheers, Kelvin. On 12/04/07, ant elder <[EMAIL PROTECTED]> wrote: More comments inline... On 4/

Re: Wiring of Services and References ?

2007-04-12 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: [snip] Simon Laws wrote: Composite configuration problem: [EMAIL PROTECTED] I've not looked into this one specifically but it doesn't stop the test passing. I do get more of these problem reports in the composite-impl test that I'm playing with and it is a real p

Website - Feedback please

2007-04-12 Thread haleh mahbod
Hi, As mentioned in [1] I started working on the website and the first phase is ready for review. My first attempt ended up with something other than what I had originally planned; which was to move content. Instead, I worked on the readability of the website. I have tried to use a consistent l

Re: Composites implementing components problem

2007-04-12 Thread Jean-Sebastien Delfino
Simon Laws wrote: I'm trying to bring the composite-impl sample up. The sample uses nested composite files and if fails trying to wire up the references from a top level component (which is implemented in a separate composite - see [1]) to another component. The failure happens during the conn

Re: Wiring of Services and References ?

2007-04-12 Thread Luciano Resende
You can reproduce this problem by trying the EchoBindingTestCase. On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Jean-Sebastien Delfino wrote: > [snip] > Simon Laws wrote: >> >> Composite configuration problem: >> [EMAIL PROTECTED] >> >> I've not looked into this one specifically

Re: Wiring of Services and References ?

2007-04-12 Thread Simon Laws
On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Jean-Sebastien Delfino wrote: > [snip] > Simon Laws wrote: >> >> Composite configuration problem: >> [EMAIL PROTECTED] >> >> I've not looked into this one specifically but it doesn't stop the test >> passing. I do get more of these pr

Re: Website - Feedback please

2007-04-12 Thread kelvin goodson
Haleh, thanks for addressing these issues. One concern I have after a quick look is that on arriving at a pages such as http://cwiki.apache.org/TUSCANY/sdo-java.html some of the links on the left under a given heading go off to a scope that is not intuitive from the page that you were on. E.g.

Java-Impl-Runtime and DataBinding

2007-04-12 Thread Venkata Krishnan
Hi, I have got basic properties to work with the java-implementation-runtime. Here are some observations that I'd like to validate... - assuming that we load the assembly models from xml the core will always hand out to the 'implementation runtimes'' such as 'java-implementation' a Document obje

Re: Wiring of Services and References ?

2007-04-12 Thread Venkata Krishnan
Hi Simon, Thanks for considering on expanding the 'problem model'. Infact I was wondering if every SCA Object such as a Composite, Component, Reference, has a bunch of 'error contexts' encapsulated within it. So if something is wrong with a Reference defn, you simply add the problematic 'r

Re: Composites implementing components problem

2007-04-12 Thread Simon Laws
On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: > I'm trying to bring the composite-impl sample up. The sample uses nested > composite files and if fails trying to wire up the references from a top > level component (which is implemented in a separate composite -

Re: ServiceReference.getService returning a proxy?

2007-04-12 Thread Raymond Feng
Hi, Ant. The set of Java APIs are not implemented at all and I hacked this method to get the basic case working. I didn't have a chance to get back to it yet. We should use the ProxyService to create proxies. Thanks, Raymond - Original Message - From: "ant elder" <[EMAIL PROTECTED]>

SDO Test Failure

2007-04-12 Thread Paulo Henrique Trecenti
Hi, I trying build the SDO project and build failure on "Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec <<< FAILURE! Results : Failed tests: testXSDGeneration_DynamicWithNestedStaticSDOType( org.apache.tuscany.sdo.test.XSDHelperTestCase)" But in the eclipse the same t

Re: Wiring of Services and References ?

2007-04-12 Thread Simon Laws
On 4/12/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote: Hi Simon, Thanks for considering on expanding the 'problem model'. Infact I was wondering if every SCA Object such as a Composite, Component, Reference, has a bunch of 'error contexts' encapsulated within it. So if something is wron

Re: SDO Test Failure

2007-04-12 Thread Luciano Resende
Hey Paulo, Are you passed the DAS build issue ? If so, did you do anything special to fix it ? On 4/12/07, Paulo Henrique Trecenti <[EMAIL PROTECTED]> wrote: Hi, I trying build the SDO project and build failure on "Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec <

Re: Wiring of Services and References ?

2007-04-12 Thread Jean-Sebastien Delfino
Simon Laws wrote: On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Jean-Sebastien Delfino wrote: > [snip] > Simon Laws wrote: >> >> Composite configuration problem: >> [EMAIL PROTECTED] >> >> I've not looked into this one specifically but it doesn't stop the test >> passing. I do

Re: Wiring of Services and References ?

2007-04-12 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi Simon, Thanks for considering on expanding the 'problem model'. Infact I was wondering if every SCA Object such as a Composite, Component, Reference, has a bunch of 'error contexts' encapsulated within it. So if something is wrong with a Reference defn, you simp

Re: Composites implementing components problem

2007-04-12 Thread Jean-Sebastien Delfino
Simon Laws wrote: On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: > I'm trying to bring the composite-impl sample up. The sample uses nested > composite files and if fails trying to wire up the references from a top > level component (which is implemented in a

Re: SDO Test Failure

2007-04-12 Thread Paulo Henrique Trecenti
Whell, I just remove the tests... It's no bether solution but I no have time to find and fix it. In the future if this problem not resolved I can back to this. But I belive it is a simple problem, maybe can be the pom file in the fork condiction of the surefire plugin. I'm not certainty about that

Re: Composites implementing components problem

2007-04-12 Thread Simon Laws
On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: > On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: >> >> Simon Laws wrote: >> > I'm trying to bring the composite-impl sample up. The sample uses >> nested >> > composite files and if fails trying to wir

Re: Composites implementing components problem

2007-04-12 Thread Simon Laws
On 4/12/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > Simon Laws wrote: > > On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > >> > >> Simon Laws wrote: > >> > I'm trying to bring the composite-impl sample up. The sampl

Re: Composites implementing components problem

2007-04-12 Thread Jean-Sebastien Delfino
Simon Laws wrote: On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: > On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: >> >> Simon Laws wrote: >> > I'm trying to bring the composite-impl sample up. The sample uses >> nested >> > composite files and if

Re: SDO Test Failure

2007-04-12 Thread Paulo Henrique Trecenti
Look that http://jira.codehaus.org/browse/SUREFIRE-316?rc=1 my version of surefire-plugin is 2.3.1-SNAPSHOT. 2007/4/12, Paulo Henrique Trecenti <[EMAIL PROTECTED]>: Whell, I just remove the tests... It's no bether solution but I no have time to find and fix it. In the future if this problem not

Re: SDO Test Failure

2007-04-12 Thread Paulo Henrique Trecenti
It's works put this in the das\rdb\pom.xml ... org.apache.maven.plugins maven-surefire-plugin 2.3 **/*AllTestsDerby.java ... 2007/4/12, Paulo Henrique Trecenti <[EM

Re: SDO Test Failure

2007-04-12 Thread kelvin goodson
Paulo, it builds cleanly for me. Perhaps if you get back to it and get the same problem you can post some more of the diagnostics (e.g. the corresponding file from the target/surefire-reports directory) Regards, Kelvin. On 12/04/07, Paulo Henrique Trecenti <[EMAIL PROTECTED]> wrote: Whell,

Re: SDO Test Failure

2007-04-12 Thread Paulo Henrique Trecenti
OK junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertNotNull(Assert.java:220) at junit.framework.Assert.assertNotNull(Assert.java:213) at org.apache.tuscany.s

Re: DAS rdb - BUILD ERROR - missing "org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT"

2007-04-12 Thread Paulo Henrique Trecenti
It's works put this in the das\rdb\pom.xml ... org.apache.maven.plugins maven-surefire-plugin 2.3 **/*AllTestsDerby.java 2007/4/11, Paulo Henrique Trecenti <[EMAIL P

Re: SDO Test Failure

2007-04-12 Thread Paulo Henrique Trecenti
ERROR: 'Namespace for prefix 'sdoJava' has not been declared.' java.lang.IllegalArgumentException: java.lang.RuntimeException: Namespace for pr efix 'sdoJava' has not been declared. at org.apache.tuscany.sdo.helper.XSDHelperImpl.generate( XSDHelperImpl.ja va:340) at org.apache.tusca

Re: DAS rdb - BUILD ERROR - missing "org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT"

2007-04-12 Thread Luciano Resende
Great With your proposed changes, if you go to your local m2 repo and remove the das part of it [1] and then go to /java and try to build, does it work for you ? Or you still have to go to inside java/das to make it working ? [1] - \.m2\repository\org\apache\tuscany\das On 4/12/07, Paulo Henr

Re: DAS rdb - BUILD ERROR - missing "org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT"

2007-04-12 Thread Paulo Henrique Trecenti
Ok I'm make a clean in DAS, remove the jars from the maven repository and build from the java and then it's works fine. 2007/4/12, Luciano Resende <[EMAIL PROTECTED]>: Great With your proposed changes, if you go to your local m2 repo and remove the das part of it [1] and then go to /java

Re: Composites implementing components problem

2007-04-12 Thread Simon Laws
On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: > On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: >> >> Simon Laws wrote: >> > On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: >> >> >> >> Simon Laws wrote: >> >> > I'm trying to bring the

Re: Composites implementing components problem

2007-04-12 Thread Simon Laws
On 4/12/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 4/12/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > > > On 4/12/07, Jean-Sebastien Delfino < [EMAIL PROTECTED]> wrote: > > > > Simon Laws wrote: > > > On 4/12/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > >> > > >> Simon Laws wrot

Re: DAS rdb - BUILD ERROR - missing "org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT"

2007-04-12 Thread Paulo Henrique Trecenti
Sorry, this solution only works when run the build in java\das, when try run the build on the java\ the message now is: "[INFO] snapshot org.apache.tuscany.das:tuscany-das-rdb:1.0-incubator-SNAPSHOT: checking for updates from apache.snapshots [INFO] snapshot org.apache.tuscany.das:tuscany-das-rdb

Re: DAS rdb - BUILD ERROR - missing "org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT"

2007-04-12 Thread Luciano Resende
Ok, I've uploaded a das-rdb snapshot last night that's why you look one step further... Let's see if I can make more progress here... and I'll let you know On 4/12/07, Paulo Henrique Trecenti <[EMAIL PROTECTED]> wrote: Sorry, this solution only works when run the build in java\das, when try run

Re: Composites implementing components problem

2007-04-12 Thread Raymond Feng
Hi, Simon. For the composite component, it's probably not necessary to attach the wire. Can you try to add the following code in DeployerImpl.connect() to see if it helps? public void connect(Map models, org.apache.tuscany.assembly.Component definition) throws WiringException { // Skip t

Re: Website - Feedback please

2007-04-12 Thread haleh mahbod
Kelvin, Thanks for your review. You mentioned that scopes should be the same when on a given page. I agree. I fixed it. We now have a sdo cpp FAQ and a sdo Java FAQ. I also moved text from some of the mentioned threads to the FAQ. The ones I did not is because I did not know how to net it down

Re: Composites implementing components problem

2007-04-12 Thread Simon Laws
On 4/12/07, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, Simon. For the composite component, it's probably not necessary to attach the wire. Can you try to add the following code in DeployerImpl.connect() to see if it helps? public void connect(Map models, org.apache.tuscany.assembly.Component

Re: DAS rdb - BUILD ERROR - missing "org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT"

2007-04-12 Thread Paulo Henrique Trecenti
In this message the maven canno't find the build files of the DAS, I belive if you make updaload on repository of this files the problem can be resolved. 2007/4/12, Luciano Resende <[EMAIL PROTECTED]>: Ok, I've uploaded a das-rdb snapshot last night that's why you look one step further... Let's

website - SCA Java developer Guide & Get Involved - can they be merged?

2007-04-12 Thread haleh mahbod
Hi, Content of these two links are very similar http://cwiki.apache.org/TUSCANY/java-sca-developer-guide.html and http://cwiki.apache.org/TUSCANY/sca-java-development.html Audience for both of these pages seem to be the developer who wants to get involved in Java SCA. We are using the 'get i

Build error in implementation-script, can't find bsf-all jar

2007-04-12 Thread Jean-Sebastien Delfino
I'm getting this error. Do I need to specify a particular repository for BSF? Missing: -- 1) org.apache.bsf:bsf-all:jar:3.0-beta1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apach

How to access a composite's data model scope in an application?

2007-04-12 Thread Fuhwei Lwo
Hi, In my composite, I defined in the default.scdl file that would prompt the SCA container to register my data types using SDO databinding. The question I have is what API I should use in my service implementation code to obtain the registered data types. If I have two composites that are u

Service using WS Binding with Calback and multiple methods on interface hangs

2007-04-12 Thread Lou Amodeo
I am seeing a hang when using the Web Services bindings to access a service that has a callback reference. In this particular case the service expose several methods on the interface. Only one of the methods invokes a method on the callback reference. The method that invokes the callback funct

Re: Service using WS Binding with Calback and multiple methods on interface hangs

2007-04-12 Thread muhwas
yeah i had the same problem so i thought we can't inculde sync and async method together in one Interface. so i created two interfaces and two service one sync and other async. --- Lou Amodeo <[EMAIL PROTECTED]> wrote: > I am seeing a hang when using the Web Services > bindings to access a servic

Re: [VOTE] SDO Java Release M3

2007-04-12 Thread haleh mahbod
Hi Kelvin, I tried: tuscany-sdo-1.0-incubator-M3-bin.zip - ZIP archive, unpacked size 15,444,127 bytes - ReleaseNotes.txt says: Compatibility Concerns M2 now uses the SDO 2.1 interfaces whereas M2 used the 2.0.1interfaces. Shouldn't this be M3 now uses... - C:\TuscanySDO\tu

Re: Project conventions

2007-04-12 Thread haleh mahbod
I'll take a look at this. This seems to be related to the email/question that I sent out earlier today. On 4/12/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 4/12/07, haleh mahbod <[EMAIL PROTECTED] > wrote: > > Can you please add conventions for Java SCA to this page > > http://cwiki.apache.or

Re: [VOTE] SDO Java Release M3

2007-04-12 Thread haleh mahbod
This file C:\TuscanySDO\tuscany- sdo-1.0-incubator-M3\sdo\sample\src\main\java\org\apache\tuscany\samples\sdo\overview.html says samples depend on the following libraries EMF dependencies. - emf-common-{version}.jar - some common framework utility and base classes - emf-ecore-{version}.jar

How to tell if a component reference is promoted by a comosite reference?

2007-04-12 Thread Raymond Feng
Hi, With the current assembly model, how can we tell if a component reference is promoted by a comosite reference? I can get all the promoted references from CompositeReference but not the other way. Thanks, Raymond - To