Re: Tuscany Java trunk build error

2006-12-20 Thread ant elder
I've just updated all the samples to use SDO 2.1 so this should work now. ...at On 12/19/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: I'm trying to build from a clean check out of the Tuscany Java trunk, just running mvn with no options, and getting the following error: [INFO]

Re: Tuscany Java trunk build error

2006-12-20 Thread kelvin goodson
Hi, yes, this change happened on the 13th of Dec, see http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg11866.html Regards, Kelvin. On 19/12/06, Jeremy Boynes [EMAIL PROTECTED] wrote: I think the SDO spec version was bumped to 2.1 and something that uses it was not updated to reflect

Re: [DAS]Approach for JIRA-948

2006-12-20 Thread Amita Vadhavkar
Hi, Have got the code changes working for Derby and testing for DB2 and MySQL. config.xsd will have xsd:complexType name=ConnectionInfo xsd:sequence xsd:element maxOccurs=1 minOccurs=0 name=ConnectionProperties type=config:ConnectionProperties/ /xsd:sequence

Re: ApplyChnages fails when added DO does not include a modified property, was [jira] Created: (TUSCANY-1007)

2006-12-20 Thread Luciano Resende
I tried this with MySQL and it worked, columns with no default values were initialized as NULL. -- Luciano Resende http://people.apache.org/~lresende On 12/19/06, Kevin Williams [EMAIL PROTECTED] wrote: Luciano, I think you are right. The best behavior may be to generate an INSERT statement

Re: Usage of config.setDataObjectModel()

2006-12-20 Thread Luciano Resende
Hi Brent This would be the case of trunk code, would Florian see the same issue with M2 ? -- Luciano Resende http://people.apache.org/~lresende On 12/19/06, Brent Daniel [EMAIL PROTECTED] wrote: Florian, This is being tracked in Tuscany-961. The resolution is tied up in moving the DAS to

Re: [C++] The saga of writing xml element namespace prefixes ...

2006-12-20 Thread Caroline Maynard
Pete et al, The latest code from HEAD is still broken - it fails the http://issues.apache.org/jira/browse/TUSCANY-962 scenario. This is the #1 use case for SCA - we cannot use this latest code with PHP. -- Caroline

Re: Re: [C++] The saga of writing xml element namespace prefixes ...

2006-12-20 Thread Pete Robbins
On 20/12/06, Caroline Maynard [EMAIL PROTECTED] wrote: Pete et al, The latest code from HEAD is still broken - it fails the http://issues.apache.org/jira/browse/TUSCANY-962 scenario. This is the #1 use case for SCA - we cannot use this latest code with PHP. -- Caroline Yes I know and it

[jira] Commented: (TUSCANY-1006) ChangeSummaryImpl.cachedSDOObjectChanges appears to not be thread safe

2006-12-20 Thread Frank Budinsky (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-1006?page=comments#action_12459959 ] Frank Budinsky commented on TUSCANY-1006: - The changes we're currently making as part of TUSCANY-859 may affect this behavior. It would be good to have

[SDO CTS] Testing statically generated classes

2006-12-20 Thread Dan Murphy
Hi, Integrating Robbie's code (jira http://issues.apache.org/jira/browse/TUSCANY-987) highlights a general problem for testing statically generated types. For example, statically generated classes using Tuscany's SDO M2 implementation are not compatible with the current SDO implementation (in

Re: Trunk Build Statibily

2006-12-20 Thread Jeremy Boynes
On Dec 19, 2006, at 11:38 AM, Luciano Resende wrote: Do you see also changes like : distribution/sca to sca/distribution? Yes. -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Re: [C++] The saga of writing xml element namespace prefixes ...

2006-12-20 Thread Caroline Maynard
Thanks, we're OK to stick with the old level for now. I understood this thread to say that the latest version would work both for Sebastien's scenario and for the WSDL generation, but it seems I was confused. I'll keep waiting for the ultimate fix ... On 20/12/06, Pete Robbins [EMAIL PROTECTED]

Re: [jira] Commented: (TUSCANY-959) Please use thread-safe libraries

2006-12-20 Thread Caroline Maynard
On 15/12/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Does it mean that we'll need two different SDO distributions? one for use inside Apache Httpd, another for use outside? What happens if we init Libxml multiple times? does it crash? is it a performance issue? does it break other

Re: Move SCA tools and wsdl-java plugins to SDO tree?

2006-12-20 Thread Matthew Sykes
Jeremy, I think where these should end up is dependent how the tools are positioned within the Tuscany project. While the wsdl2java tool currently generates interfaces with SDO parameters, will there ever be extensions to support other data binding types? Considering WSDL is a first class

Re: [SDO CTS] Testing statically generated classes

2006-12-20 Thread Frank Budinsky
I think the CTS should test static SDOs, but maybe it should be a separate optional part and maybe even a lower priority to focus on. As you point out, the SDO spec doesn't define how generators work, how static metadata is registered, or even how to create instances statically - according to

Fwd: svn commit: r489127

2006-12-20 Thread Jim Marino
Modified: incubator/tuscany/java/samples/sca/greeterws-oneway/src/main/ webapp/META-INF/tuscany/webapp.scdl incubator/tuscany/java/samples/sca/helloworldws-async/src/main/ webapp/META-INF/tuscany/webapp.scdl incubator/tuscany/java/samples/sca/helloworldws/src/main/webapp/

Re: svn commit: r489127

2006-12-20 Thread Ignacio Silva-Lepe
I knew you were going to ask that :-) I wonder the same thing. However, I see other scdls along with webapp.scdl, such as binding.axis2.scdl, databinding.axiom.scdl and interface.wsdl.scdl. I am not sure why they are there to begin with. I know I created two of these samples, but I did not put

Re: Move SCA tools and wsdl-java plugins to SDO tree?

2006-12-20 Thread Jeremy Boynes
On Dec 20, 2006, at 8:19 AM, Matthew Sykes wrote: Jeremy, I think where these should end up is dependent how the tools are positioned within the Tuscany project. While the wsdl2java tool currently generates interfaces with SDO parameters, will there ever be extensions to support other

Re: svn commit: r489127

2006-12-20 Thread Jeremy Boynes
I'd vouch for not needing them (or if for some reason we do, I'd vouch for fixing the bug that causes that). -- Jeremy On Dec 20, 2006, at 8:41 AM, Ignacio Silva-Lepe wrote: I knew you were going to ask that :-) I wonder the same thing. However, I see other scdls along with webapp.scdl, such

Re: [SDO] Thread safety ?

2006-12-20 Thread Caroline Maynard
On 14/12/06, Geoffrey Winn [EMAIL PROTECTED] wrote: I've just checked in the change for localtime, replacing it with localtime_r on Unix and localtime_s on Windows. Ah. Unfortunately this is a backward compatibility issues with MS compilers. localtime_s() does not exist in VC++ 6. But

Re: svn commit: r489127

2006-12-20 Thread Jim Marino
On Dec 20, 2006, at 8:48 AM, Jeremy Boynes wrote: I'd vouch for not needing them (or if for some reason we do, I'd vouch for fixing the bug that causes that). -- +1 to that (if there is a bug, I'd be happy to help out). Also, on a slightly different topic, since these samples are

Re: svn commit: r489127

2006-12-20 Thread Ignacio Silva-Lepe
Ok. A slight complication is that the async samples are currently not working (see TUSCANY-1003 and 1004). So I think it may be better to wait until the issues are fixed to try to debug the use of the scdls. On 12/20/06, Jeremy Boynes [EMAIL PROTECTED] wrote: I'd vouch for not needing them

[DAS] ApplyChnages fails in a table with generated primary key... and added DO does not include a modified property...

2006-12-20 Thread Luciano Resende
So, i was trying to create a test case for : Insert with no changed properties to row with generated ID (you could duplicate the test above with Company since it has a generated ID) public void testPartialReadInsertApplyWithGeneratedID() throws Exception { DAS das =

Re: [DAS] ApplyChnages fails in a table with generated primary key... and added DO does not include a modified property...

2006-12-20 Thread Adriano Crestani
Maybe it has something to do with ths thread: http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg11303.html Adriano Crestani On 12/20/06, Luciano Resende [EMAIL PROTECTED] wrote: So, i was trying to create a test case for : Insert with no changed properties to row with generated ID

[jira] Commented: (TUSCANY-1006) ChangeSummaryImpl.cachedSDOObjectChanges appears to not be thread safe

2006-12-20 Thread Ron Gavlin (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-1006?page=comments#action_12460009 ] Ron Gavlin commented on TUSCANY-1006: - FYI, our application test suite was unable to reproduce this problem on a single-CPU system. Rather, we had to use

[jira] Commented: (TUSCANY-1006) ChangeSummaryImpl.cachedSDOObjectChanges appears to not be thread safe

2006-12-20 Thread Frank Budinsky (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-1006?page=comments#action_12460015 ] Frank Budinsky commented on TUSCANY-1006: - I don't know a lot about thread safety/sychronizing but I wonder if changing the put() call to something

Re: [Web Site Updates]

2006-12-20 Thread Venkata Krishnan
Hi All, I have uploaded the proposed version of our site at http://people.apache.org/~svkrish/tuscanySite/site-publish/. Please take a look and give your feed back on things that needs changes. At the present moment here are somethings that yet need to be addressed: - - The Release page for

Re: [Web Site Updates]

2006-12-20 Thread Luciano Resende
Couple comments : - Do we need FAQ entry on the Outlines for SCA, SDO and DAS ? - There are still some broken links, maybe it's good to have at least an empty page for those links BTW, Looks good in Firefox... -- Luciano Resende http://people.apache.org/~lresende On 12/20/06, Venkata

Re: [SDO CTS] Testing statically generated classes

2006-12-20 Thread Robbie Minshall
I have converted our other test cases to junit 4.1 and am in the process of doing some cleaning up etc. Will send out a quick update tonight and can integrate into tuscany if needed. * * * Whether the CTS should test static SDOs (I believe so) ? * * * Optional means to supply static class

Re: [Web Site Updates]

2006-12-20 Thread Jean-Sebastien Delfino
[snip] Venkata Krishnan wrote: Hi All, I have uploaded the proposed version of our site at http://people.apache.org/~svkrish/tuscanySite/site-publish/. Please take a look and give your feed back on things that needs changes. At the present moment here are somethings that yet need to be

Re: [Web Site Updates]

2006-12-20 Thread Ignacio Silva-Lepe
Small comment. The SCA icon does not seem to be linked to the SCA overview, the way the DAS and SDO icons are linked to their respective overviews. Thanks On 12/20/06, Venkata Krishnan [EMAIL PROTECTED] wrote: Hi All, I have uploaded the proposed version of our site at

[jira] Commented: (TUSCANY-987) Create maven project structure for community test suite

2006-12-20 Thread Robbie Minshall (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-987?page=comments#action_12460033 ] Robbie Minshall commented on TUSCANY-987: - Converted Brian's test cases to Junit 4.1 format. Uploaded as an attachment robbieBrianCTS_20061220.zip

[jira] Updated: (TUSCANY-987) Create maven project structure for community test suite

2006-12-20 Thread Robbie Minshall (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-987?page=all ] Robbie Minshall updated TUSCANY-987: Attachment: robbieBrianCTS_20061220.zip uploading Brian's test cases converted to Junit 4.1. See prior attachment for more detailed status. Create

[jira] Commented: (TUSCANY-1006) ChangeSummaryImpl.cachedSDOObjectChanges appears to not be thread safe

2006-12-20 Thread Ron Gavlin (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-1006?page=comments#action_12460043 ] Ron Gavlin commented on TUSCANY-1006: - I will give that a try and let you know. The synchronized HashMap I proposed synchronizes on reads which introduces

Re: Conversational callbacks

2006-12-20 Thread Jim Marino
On Dec 19, 2006, at 8:12 AM, Ignacio Silva-Lepe wrote: I'm assuming the goal of supporting conversational callbacks is to allow a callback invocation to occur on a client component instance that contains state that existed when the correspon- ding forward invocation went out. This to me means

Deployed snapshots of SDO artifacts

2006-12-20 Thread Jeremy Boynes
As the SCA trunk depends on SDO to build I have deployed snapshots of the 2.1 spec jar and sdo impl to the snapshot repo. -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

IntrospectionRegistryImpl.introspect and @ConversationID

2006-12-20 Thread Ignacio Silva-Lepe
I noticed that IntrospectionRegistryImpl.introspect uses getAllPublicAndProtectedFields to obtain the fields on which to invoke each processor's visitField. However, the CI spec seems to imply that it should be possible to inject a conversation id (the spec still refers to it as @SessionID but

Re: [DAS] ApplyChnages fails in a table with generated primary key... and added DO does not include a modified property...

2006-12-20 Thread Kevin Williams
You are not providing any configuration to indicate the generated key. BTW, Brent mentioned that this test case is covered by: GeneratedId.testInsert5() Luciano Resende wrote: So, i was trying to create a test case for : Insert with no changed properties to row with generated ID (you could

{Java] How to tell/change Maven ClassPath order?

2006-12-20 Thread Yang ZHONG
pom.xml defines dependencies. However, it doesn't seem obvious about ClassPath order between dependency and dependent. How to tell Maven ClassPath order please? How to change Maven ClassPath order please? The problem I'm encountering is, SDO has two versions of TestUtil (tools\TestUtil ignores

Removing old snapshots

2006-12-20 Thread Jeremy Boynes
There's a bunch of old snapshots from before M1 (4/19/06) which I plan to remove unless someone speaks up ... -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Java] Trade off dirty read for Map performance

2006-12-20 Thread Yang ZHONG
http://issues.apache.org/jira/browse/TUSCANY-1006 brings up a Map concurrency issue. We probably can support concurrent Map and trade off dirty read for Map performance. What do you think please? It improves User Experience if we support concurrent Map in ChangeSummry for instance. A complete

Syncing SCA samples between M2 and trunk

2006-12-20 Thread Jeremy Boynes
We did a lot to clean up the samples for M2 but as a result they are out of sync with trunk and quite a few changes need to be ported forward. It might actually be easier to just (selectively) overwrite them with the ones from M2. In light of that my inclination is to remove them from the

[C++] Removing 'using' statements from includes

2006-12-20 Thread Jean-Sebastien Delfino
When refactoring the tuscany/sca/util classes, I noticed a number of 'using namespace xyz' statements in some of our header files. I believe C++ practice is to avoid 'using' statements in a header file as they impact all cpp files that include the header and can cause name clashes. I think I

Re: [C++] Removing 'using' statements from includes

2006-12-20 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: When refactoring the tuscany/sca/util classes, I noticed a number of 'using namespace xyz' statements in some of our header files. I believe C++ practice is to avoid 'using' statements in a header file as they impact all cpp files that include the header and can