Re: tuscany-samples-calculator-web

2007-05-09 Thread Luciano Resende
The sca-contribution.xml is a contribution metadata file, it allows you to specify things like the contribution deployable, imports and exports. I guessing you are mention sca-contribution from a precious thread [1], and I think it can be used for two things : - The place to specify the deploy

[jira] Resolved: (TUSCANY-1256) NullPointerException when component reference has target of composite reference

2007-05-09 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raymond Feng resolved TUSCANY-1256. --- Resolution: Fixed This is fixed by testing if the service.isUnresolved() == true > NullPoi

[jira] Resolved: (TUSCANY-1257) DatabindingTestCase fails with java.lang.IllegalArgumentException

2007-05-09 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raymond Feng resolved TUSCANY-1257. --- Resolution: Fixed Fixed under r536751. > DatabindingTestCase fails with java.lang.IllegalA

Problems with 2-dimensional arrays in static SDOs

2007-05-09 Thread Chris Mildebrandt
Hello, I'm having issues generating static SDOs from my schema. The schema can be found here: http://www.w3.org/2000/09/xmldsig There are a few 2-dimensional arrays being created incorrectly as a part of xmldsig-core-schema.xsd. For example: protected static final byte[][] X509SKI_EEMPTY_ARRAY

Problems with groups and static SDOs.

2007-05-09 Thread Chris Mildebrandt
Hi, I'm having a little generation problem with groups. Here's my sample schema: http://www.w3.org/2001/XMLSchema"; targetNamespace="http://www.example.org/Person"; xmlns:person="http://www.example.org/Person"; elementFormDefault="qualified">

Re: Axis2 binding status

2007-05-09 Thread Simon Nash
I made a bit more progress with this. The SDO data binding test was failing because of an error in the SCDL that showed up a bug in the model runtime (see TUSCANY-1255 and TUSCANY-1256). After correcting the SCDL, the test fails with a different error (see TUSCANY-1257). I'm leaving things ther

[jira] Assigned: (TUSCANY-1257) DatabindingTestCase fails with java.lang.IllegalArgumentException

2007-05-09 Thread Simon Nash (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Nash reassigned TUSCANY-1257: --- Assignee: Raymond Feng > DatabindingTestCase fails with java.lang.IllegalArgumentException

[jira] Created: (TUSCANY-1257) DatabindingTestCase fails with java.lang.IllegalArgumentException

2007-05-09 Thread Simon Nash (JIRA)
DatabindingTestCase fails with java.lang.IllegalArgumentException - Key: TUSCANY-1257 URL: https://issues.apache.org/jira/browse/TUSCANY-1257 Project: Tuscany Issue Type: Bug

[jira] Updated: (TUSCANY-1255) org.apache.tuscany.sca.itest.sdodatabinding.DatabindingTestCase has invalid SCDL

2007-05-09 Thread Simon Nash (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Nash updated TUSCANY-1255: Attachment: patch1255 The attached patch fixes the test case problem. The runtime needs to be fi

[jira] Created: (TUSCANY-1256) NullPointerException when component reference has target of composite reference

2007-05-09 Thread Simon Nash (JIRA)
NullPointerException when component reference has target of composite reference --- Key: TUSCANY-1256 URL: https://issues.apache.org/jira/browse/TUSCANY-1256 Project: Tuscany

Re: First time user's comments about the samples

2007-05-09 Thread Jay D. McHugh
Jacek, Try downloading the whole java svn tree. svn co https://svn.apache.org/repos/asf/incubator/tuscany/java tuscany And then build the whole thing from source (from the base directory). The samples will be built as well. They are under sca/samples. Jay Jacek Laskowski wrote: Hi, After

[jira] Created: (TUSCANY-1255) org.apache.tuscany.sca.itest.sdodatabinding.DatabindingTestCase has invalid SCDL

2007-05-09 Thread Simon Nash (JIRA)
org.apache.tuscany.sca.itest.sdodatabinding.DatabindingTestCase has invalid SCDL Key: TUSCANY-1255 URL: https://issues.apache.org/jira/browse/TUSCANY-1255 Project: Tuscan

First time user's comments about the samples

2007-05-09 Thread Jacek Laskowski
Hi, After some time poking around at the Tuscany website I finally managed to get to the samples. The page SCA Java User Guide [1] is slightly outdated as far as the samples go so it certainly needs some attention. I downloaded the samples - tuscany-sca-1.0--incubator-M2-samples.zip [2]. The sam

Re: Questions from converting the Axis2 binding to new SPIs

2007-05-09 Thread Simon Nash
Comments inline. Simon Jean-Sebastien Delfino wrote: Simon, Comments and answers inline. Simon Nash wrote: Here are some questions and observations that I came across while converting the Axis2 binding to the new SPIs. 1. The binding.ws SCDL element is always resolved to Axis2. Wh

Re: Interfaces for implementation/binding extensions to provide runtime behaviors

2007-05-09 Thread Simon Nash
Comments inline below. Simon Jean-Sebastien Delfino wrote: [snip] Simon Nash wrote: 1. BindingImpl is in org.apache.tuscany.assembly.impl but is exposed as a subclassing extension point for binding extensions. I removed BindingImpl as it is not a subclassing extension point. It was

Re: SDO-Axiom DB problem: Element name from data source is dataObject, not the expected...

2007-05-09 Thread Scott Kurz
Raymond, Well, thanks but I still can't get my app to work (backporting your fix to an older level in which the Axis2 binding still works). I'm going to have to put this on hold for now. The o.a.t.databinding.sdo.XMLStreamReader2DataObject is hitting a FeatureNotFoundException when trying to d

Re: Tuscany sample app

2007-05-09 Thread Jay D. McHugh
I didn't say, but in order to get the app to deploy in Geronimo I had to comment out the close() in IOHelper. Jay Jay D. McHugh wrote: Hello all. Well after wandering through class loaders and deployment managers, I finally managed to get the Tuscany calculator sample webapp to deploy and r

SCADomain.connect API

2007-05-09 Thread Kevin Williams
The new SCADomain class provides a "connect" API that is not implemented and I would like to provide a very simple implementation to get started with this capability. This inititial implementation would use a class variable to store the last instance created by "newInstance". This instance coul

Tuscany sample app

2007-05-09 Thread Jay D. McHugh
Hello all. Well after wandering through class loaders and deployment managers, I finally managed to get the Tuscany calculator sample webapp to deploy and run under Geronimo. And, the problem that made it so hard wasn't even in Geronimo (at least not directly). Tuscany is using a helper cl

Re: WARNING - 2 days to deadline for May reports

2007-05-09 Thread Luciano Resende
I have updated Tuscany report. On 5/7/07, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: William A. Rowe, Jr. wrote: > > http://wiki.apache.org/incubator/May2007 > > RCF > Tika > TSIK aren't in the list at http://wiki.apache.org/incubator/ReportingSchedule so I'm a bit confused. If they don

Re: tuscany-samples-calculator-web

2007-05-09 Thread Simon Laws
On 5/9/07, ant elder <[EMAIL PROTECTED]> wrote: On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > So what is it using doamin uri for. Looking at the sca-contribution.xmlin > the assembly spec there doesn't seem to be any information that I would > equate with the uri of a domain. Then again I

Re: Status of Java SCA 0.90 release

2007-05-09 Thread Bert Lamb
Hey Venkat, Didn't mean to step on any toes. I'm making some progress porting the jsonrpc binding over now. If I can't get it working tomorrow I'll pass it off to you. Thanks! -Bert On 5/9/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote: Hi Bert, I had volunteered to do this, but then I am

Re: tuscany-samples-calculator-web

2007-05-09 Thread ant elder
On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: So what is it using doamin uri for. Looking at the sca-contribution.xml in the assembly spec there doesn't seem to be any information that I would equate with the uri of a domain. Then again I don't know what Tuscany is using the domainUri for yet

Re: Status of Java SCA 0.90 release

2007-05-09 Thread ant elder
On 5/8/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Raymond Feng wrote: > Hi, > > I tried a bit to rename some of the packages (not adding sca yet) but > I just realized that it became a bit out of control with the flood of > check-ins. > > Maybe the best way is that we agree on the nam

Re: Proxy's and invokers for RuntimeComponentService and RuntimeComponentReference

2007-05-09 Thread ant elder
Sounds good to me. ...ant On 5/9/07, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, It makes sense to me to provide a few methods on RuntimeComponentReference and RuntimeComponentService to simplify the life of extension developers. Here's what I see from the usage pattern perspective. 1) Fo

Re: Proxy's and invokers for RuntimeComponentService and RuntimeComponentReference

2007-05-09 Thread Raymond Feng
Hi, It makes sense to me to provide a few methods on RuntimeComponentReference and RuntimeComponentService to simplify the life of extension developers. Here's what I see from the usage pattern perspective. 1) For a reference, it's made available to the client either by injection (proxy) or

Re: Proxy's and invokers for RuntimeComponentService and RuntimeComponentReference

2007-05-09 Thread ant elder
On 5/9/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: ant elder wrote: > Looking at the binding and implementation extensions we have now there's > still a bit of messy code in the way proxys and invokers for > RuntimeComponentServices and RuntimeComponentReferences are done. Eg, > RMIBin

Re: Proxy's and invokers for RuntimeComponentService and RuntimeComponentReference

2007-05-09 Thread Jean-Sebastien Delfino
ant elder wrote: Looking at the binding and implementation extensions we have now there's still a bit of messy code in the way proxys and invokers for RuntimeComponentServices and RuntimeComponentReferences are done. Eg, RMIBindingProvider.invokeTarget, Axis2ServiceBindingProvider.invokeTarget o

[jira] Commented: (TUSCANY-1254) Codegen on a type inheriting from a type in different namespace will result in mis-mapping the feature IDs

2007-05-09 Thread Chris Mildebrandt (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494508 ] Chris Mildebrandt commented on TUSCANY-1254: Frank and Fuhwei, you're awesome. It works as expected now

SPI naming conventions (was Re: Interfaces for implementation/binding extensions to provide runtime behaviors)

2007-05-09 Thread Simon Nash
Jean-Sebastien Delfino wrote: [snip] 5. The org.apache.tuscany.assembly.xml package seems to contain implementation classes that aren't in an "impl" subpackage. I'm not sure that we want all non spi packages to be *.impl. In general I think we should avoid extremes, like: - have all s

[jira] Resolved: (TUSCANY-1254) Codegen on a type inheriting from a type in different namespace will result in mis-mapping the feature IDs

2007-05-09 Thread Frank Budinsky (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank Budinsky resolved TUSCANY-1254. - Resolution: Fixed Fixed in revision 536537. Thanks to Fuhwei for narrowing it down to s

Re: tuscany-samples-calculator-web

2007-05-09 Thread Simon Laws
So what is it using doamin uri for. Looking at the sca-contribution.xml in the assembly spec there doesn't seem to be any information that I would equate with the uri of a domain. Then again I don't know what Tuscany is using the domainUri for yet! Simon

Re: Axis2 binding status

2007-05-09 Thread Bert Lamb
Yep, my mistake, I've got it building now. I'm now having a look at the json-rpc binding and getting it updated now. Thanks guys! -Bert On 5/9/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote: I just tried and modules and samples build clean. As Ant mentions there are failures in itests. Mayb

Re: SDO2 - DataGraph/ChangeSummary

2007-05-09 Thread Frank Budinsky
Daniel, You need to use SDOUtil.loadDataGraph() to load the xml. Take a look at ObtainingDataGraphFromXml in the sdo-samples project. Frank. Fuhwei Lwo <[EMAIL PROTECTED]> wrote on 05/09/2007 02:32:21 AM: > Hi Daniel, > > According to SDO 2.1 spec, a data object tree does not necessarily > n

Re: tuscany-samples-calculator-web

2007-05-09 Thread ant elder
On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 5/9/07, ant elder <[EMAIL PROTECTED]> wrote: > > On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > > > On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > > > > > Ok, ant. Thanks. Now I know it not just some config error on my part > > I'll

Re: Status of Java SCA 0.90 release

2007-05-09 Thread Venkata Krishnan
Hi Bert, I had volunteered to do this, but then I am happy to let you take over. Just in case you need a helping hand anytime around please let me know. Thanks for volunteering. - Venkat On 5/8/07, Bert Lamb <[EMAIL PROTECTED]> wrote: On 5/8/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrot

Re: Axis2 binding status

2007-05-09 Thread Venkata Krishnan
I just tried and modules and samples build clean. As Ant mentions there are failures in itests. Maybe you should do a clean build. - Venkat On 5/9/07, ant elder <[EMAIL PROTECTED]> wrote: It builds ok for me, all the modules and samples build ok, there are a few itest failures still. Those e

Re: tuscany-samples-calculator-web

2007-05-09 Thread Simon Laws
On 5/9/07, ant elder <[EMAIL PROTECTED]> wrote: On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > > > Ok, ant. Thanks. Now I know it not just some config error on my part > I'll > > take a quick look at debugging it. > > > > Simon > > > Ok,

Re: Axis2 binding status

2007-05-09 Thread ant elder
It builds ok for me, all the modules and samples build ok, there are a few itest failures still. Those errors looks like it may be picking up some old version of one of the other modules. ...ant On 5/9/07, Bert Lamb <[EMAIL PROTECTED]> wrote: Should I be able to build what is in the trunk fo

Re: tuscany-samples-calculator-web

2007-05-09 Thread ant elder
On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > Ok, ant. Thanks. Now I know it not just some config error on my part I'll > take a quick look at debugging it. > > Simon > Ok, so the reason it doesn't work is that the Tuscany code isn't compat

Proxy's and invokers for RuntimeComponentService and RuntimeComponentReference

2007-05-09 Thread ant elder
Looking at the binding and implementation extensions we have now there's still a bit of messy code in the way proxys and invokers for RuntimeComponentServices and RuntimeComponentReferences are done. Eg, RMIBindingProvider.invokeTarget, Axis2ServiceBindingProvider.invokeTarget or ScriptImplementat

Re: tuscany-samples-calculator-web

2007-05-09 Thread Simon Laws
On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: Ok, ant. Thanks. Now I know it not just some config error on my part I'll take a quick look at debugging it. Simon Ok, so the reason it doesn't work is that the Tuscany code isn't compatible with Tomcat 5. Tomcat 5 implements servlet api 2.4 an

Re: Axis2 binding status

2007-05-09 Thread Bert Lamb
Should I be able to build what is in the trunk for this binding right now? I'm currently getting a compilation failure: D:\projects\Tuscany\trunk-java\sca\modules\binding-ws-axis2\src\main\java\org\apache\tuscany\binding\axis2\Axis2ServiceBindingProvider.java:[66,74] type org.apache.tuscany.prov

Service Binding URI confusion

2007-05-09 Thread ant elder
The uri of a binding has changed a bit over all the all the code refactorings and I'm trying to work out what it really should be. This is described in 2.1.1 in the ws binding spec and in 1.7.2.1 in the assembly spec. What i'm not sure about is if the binding name should always end up in the endp

Re: Axis2 binding status

2007-05-09 Thread ant elder
On 5/9/07, Simon Nash <[EMAIL PROTECTED]> wrote: I'm debugging the Axis2 binding to get the samples running so that we can put this back into the build. I'm making good progress (just tracked down and fixed one bug) and I'll continue to work on this today. Simon I've just committed some

Re: tuscany-samples-calculator-web

2007-05-09 Thread Simon Laws
Ok, ant. Thanks. Now I know it not just some config error on my part I'll take a quick look at debugging it. Simon

Axis2 binding status

2007-05-09 Thread Simon Nash
I'm debugging the Axis2 binding to get the samples running so that we can put this back into the build. I'm making good progress (just tracked down and fixed one bug) and I'll continue to work on this today. Simon - To unsu

Re: tuscany-samples-calculator-web

2007-05-09 Thread ant elder
On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: I tried running the calculator-web sample this morning and got an NPE in calc.jsp. I'm guessing but it looks like it can't find the domain instance, i.e. application.getAttribute("org.apache.tuscany.sca.SCADomain"); Returns null. To set up all

Re: tuscany-samples-calculator-web

2007-05-09 Thread Simon Laws
I tried running the calculator-web sample this morning and got an NPE in calc.jsp. I'm guessing but it looks like it can't find the domain instance, i.e. application.getAttribute("org.apache.tuscany.sca.SCADomain"); Returns null. To set up all I did was run mvn to build the war then I dropped

Re: Questions from converting the Axis2 binding to new SPIs

2007-05-09 Thread ant elder
A couple of comments inline... On 5/9/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: 5. The following line was in Axis2BindingBuilder before the SPI > changes: > TODO: if specifies the wsdl service then should > create a service for every port > Is this remoider still n

Re: Sample READMEs and ant builds

2007-05-09 Thread ant elder
The Axis2 binding is still broken and therefor also the binary distribution. I hope to get them up and running again this morning. ...ant On 5/9/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 5/9/07, Luciano Resende <[EMAIL PROTECTED]> wrote: > > How am I supposed to run the sample ant builds

Re: Sample READMEs and ant builds

2007-05-09 Thread Simon Laws
On 5/9/07, Luciano Resende <[EMAIL PROTECTED]> wrote: How am I supposed to run the sample ant builds ? Here are the steps I did : 1.build the distributions 2.unzip the distributions to a temporary directory 3.go to inside the distributions sample/calculator directory (either binary/source) 4.is