Re: Apache Tuscany committer status reaffirmation

2008-04-15 Thread Brent Daniel
Ant, My preference would be to remain a committer. However, I am not sure when my schedule will allow for a deeper involvement. Lately, I have been submitting fixes in patches rather than committing directly. With a small number of fixes this isn't a big deal, and it ensures that at least one p

[jira] Created: (TUSCANY-2057) Namespace information not preserved by ContributionMetadataProcessor.write()

2008-02-29 Thread Brent Daniel (JIRA)
Issue Type: Bug Components: Java SCA Assembly Model Affects Versions: Java-SCA-1.0.1 Reporter: Brent Daniel Namespace information is not preserved by ContributionMetadataProcessor.write(). You can reproduce this by modifying

[jira] Commented: (TUSCANY-1990) Helloworld-dojo sample not working on WebSphere 6.1

2008-01-17 Thread Brent Daniel (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560169#action_12560169 ] Brent Daniel commented on TUSCANY-1990: --- This should be resolved by TUSCANY-

[jira] Created: (TUSCANY-1960) JSONRPCServiceServlet should use getQueryString() instead of getParameter()

2008-01-10 Thread Brent Daniel (JIRA)
Issue Type: Bug Components: Java SCA JSON-RPC Binding Extension Affects Versions: Java-SCA-1.0.1 Reporter: Brent Daniel Priority: Minor The current JSONRPCServiceServlet uses the following code to handle SMD requests: if (request.getParameter(&quo

[jira] Assigned: (TUSCANY-961) DAS: Using deprected SDO method causes Type lookup failure

2007-07-31 Thread Brent Daniel (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brent Daniel reassigned TUSCANY-961: Assignee: Amita Vadhavkar (was: Brent Daniel) > DAS: Using deprected SDO method cau

[jira] Created: (TUSCANY-1482) CompositeProcessor does not write out Property objects completely

2007-07-25 Thread Brent Daniel (JIRA)
Components: Java SCA Assembly Model Reporter: Brent Daniel CompositeProcessor will write out a Property with its name, but will ignore other attributes such as source, many, or must supply. This is true of both component properties and composite properties. -- This

[jira] Updated: (TUSCANY-1476) CompositeProcessor does not write wire elements

2007-07-23 Thread Brent Daniel (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brent Daniel updated TUSCANY-1476: -- Attachment: wirePatch.txt > CompositeProcessor does not write wire eleme

[jira] Created: (TUSCANY-1476) CompositeProcessor does not write wire elements

2007-07-23 Thread Brent Daniel (JIRA)
Assembly Model Reporter: Brent Daniel Attachments: wirePatch.txt CompositeProcessor reads in elements from a composite, but does not write them out. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online

[jira] Commented: (TUSCANY-1316) WriteAllTestCase: java.lang.IllegalStateException: writeNamespace() can only be called following writeStartElement() or writeEmptyElement

2007-07-23 Thread Brent Daniel (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514633 ] Brent Daniel commented on TUSCANY-1316: --- This fix resolved the issue.. thanks. > WriteAllTestC

[jira] Reopened: (TUSCANY-1316) WriteAllTestCase: java.lang.IllegalStateException: writeNamespace() can only be called following writeStartElement() or writeEmptyElement

2007-07-20 Thread Brent Daniel (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brent Daniel reopened TUSCANY-1316: --- I am still seeing this on r558123... java.lang.IllegalStateException: writeNamespace() can

Re: [RDB DAS] Wrong Query Result when SELECT misses PKs

2007-07-18 Thread Brent Daniel
Amita, Definitely, the DAS should enforce the requirement that the PK should be returned for each table in the results. I would consider this a case where the DAS should throw an exception. Brent On 7/18/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: Sorry for the leng thy mail Tried to

Re: [DAS] TUSCANY-866: Default OCC policy

2007-06-13 Thread Brent Daniel
: Please let me know what is there in code base at present/in-progress for OCC recovery? Will you please elaborate the approach and if there is any item I can pick up for next release? Regards, Amita On 10/18/06, Brent Daniel <[EMAIL PROTECTED]> wrote: > > I've been working on so

Re: companyweb and dbconfig integration

2007-05-25 Thread Brent Daniel
Amita, I'm a little confused by your use of the term "batch update". Usually this would refer to the JDBC batch update capability, which is a performance enhancement that allows a PreparedStatement to be executed multiple times with different parameters. But, from your note I think you are referr

Re: [Vote] release Java SDO beta1

2007-05-01 Thread Brent Daniel
Looks good to me.. +1. Brent On 5/1/07, kelvin goodson <[EMAIL PROTECTED]> wrote: Thanks ant. Here's my own +1, so having made an update to the artifact set I guess I need either one of Kevin or Frank to reaffirm their +1s after taking a look at the newly added repo artifacts [1], or another

Re: [DAS Java] created SDO graph doubt 2

2007-04-08 Thread Brent Daniel
This is implemented. A column named {x}_ID where {x} is the primary key table name is assumed to be a foreign key to a column named ID in the PK table. Examples are in ImpliedRelationshipTests. I'm not sure why it isn't working for you here, though. Brent On 4/7/07, Adriano Crestani <[EMAIL PRO

Re: [DAS] Erroneous behavior when PK's value is updated using applyChanges()

2007-04-04 Thread Brent Daniel
Amita, I think we intended to not allow any updates to the primary key field. If we do want to allow this, I would suggest that the fix is to have the UpdateGenerator use the old value of the PK field for the where clause rather than the current value. That way you would get something like "upda

Re: DAS] Are we assuming table undergoing update should have at least one PK?Or is this a bug?

2007-04-04 Thread Brent Daniel
Hi Amita, The table must have a primary key defined. We should be throwing an exception when an update attempt like this takes place. If you want to open a JIRA and fix this, that would be great. Thanks. Brent On 4/4/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: Hi All, UpdateGenerator.getU

Re: [DAS] Questions regarding some details of DAS features

2007-02-22 Thread Brent Daniel
Amita, It seems like it might be better to require qualification of the stored procedure. It's probably around the same amount of work for the user, but makes the config and das implementation simpler. Brent On 2/21/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: Hi Kevin, Thanks a lot for the

[jira] Created: (TUSCANY-1107) Multiple calls to getNamespaceContext

2007-02-12 Thread Brent Daniel (JIRA)
Reporter: Brent Daniel In SDOXMLHelperImpl, both getPrefix() and getURI() make calls to OMStAXWrapper.getNamespaceContext(). This causes multiple calls to getNamespaceContext each time an element is parsed. If possible, this value should be cached to increase performance. -- This

Re: Usage of config.setDataObjectModel()

2006-12-21 Thread Brent Daniel
wrote: 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 t

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

2006-12-21 Thread Brent Daniel
At the least, DB2 and Derby do not support this. Thus, the current approach is to generate a full update rather than a partial update (pulling each field from the DataObject -- always null unless the property is a primitive.) Brent On 12/20/06, Luciano Resende <[EMAIL PROTECTED]> wrote: I tried

Re: Usage of config.setDataObjectModel()

2006-12-19 Thread Brent Daniel
Florian, This is being tracked in Tuscany-961. The resolution is tied up in moving the DAS to some SDO 2.1 APIs. Brent On 12/18/06, Florian Pinel <[EMAIL PROTECTED]> wrote: Hi, I am trying to execute a read command with a pre-set data object model. My config object is created on the fly, and

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

2006-12-19 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-1007?page=comments#action_12459812 ] Brent Daniel commented on TUSCANY-1007: --- Kevin, I'm not sure what behavior you want here. The ID column in your test case is not a generated c

Re: [SDO Java] registering generated classes within a scope

2006-12-08 Thread Brent Daniel
Kelvin, I don't have a strong opinion on which approach to take, but I would lean towards putting it on the generated Factory. For me, it seems more intuitive to tell a Factory to register itself into a specifix context rather than use an SDOUtil method to do the same. One question, though: is

Re: Suggestion for try and catch

2006-12-07 Thread Brent Daniel
Hi Adriano, Thanks for reporting this. I'm surprised it's not throwing an exception -- I'll look into it. Brent On 12/6/06, Adriano Crestani <[EMAIL PROTECTED]> wrote: I was executing a query using a stored procedure that was defined in a .xml file. The procedure was a simple select: where

Re: [DAS]Approach for JIRA-948

2006-12-07 Thread Brent Daniel
I agree.. With only milestone builds out this shouldn't be a big issue. In this particular case, the impact should be limited as it will only affect those who were using the DAS in a J2EE environment. Brent On 12/7/06, Kevin Williams <[EMAIL PROTECTED]> wrote: IMO, at this early stage, we shoul

Re: [DAS]Approach for JIRA-948

2006-12-06 Thread Brent Daniel
2SE environments ? - Luciano On 12/6/06, Brent Daniel <[EMAIL PROTECTED]> wrote: > > Amita, > > Thanks for working on this. One thing I would like to see is the > DataSource properties seperated from the J2SE Connection properties. > Maybe something like: > >

Re: [DAS]Approach for JIRA-948

2006-12-06 Thread Brent Daniel
Amita, Thanks for working on this. One thing I would like to see is the DataSource properties seperated from the J2SE Connection properties. Maybe something like: or The seperation just makes it clearer that your application should use one or the other approaches. Also, are all of the

[jira] Resolved: (TUSCANY-957) DAS generates invalid INSERT statement when no properties are set on the new DO

2006-12-05 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-957?page=all ] Brent Daniel resolved TUSCANY-957. -- Resolution: Fixed Fixed in 482731 > DAS generates invalid INSERT statement when no properties are set on the new &

[jira] Assigned: (TUSCANY-957) DAS generates invalid INSERT statement when no properties are set on the new DO

2006-12-05 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-957?page=all ] Brent Daniel reassigned TUSCANY-957: Assignee: Brent Daniel > DAS generates invalid INSERT statement when no properties are set on the new &

[jira] Resolved: (TUSCANY-954) Need to throw an exception when users try to set a relationship and FK property

2006-12-04 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-954?page=all ] Brent Daniel resolved TUSCANY-954. -- Resolution: Fixed > Need to throw an exception when users try to set a relationship and FK > pr

[jira] Resolved: (TUSCANY-968) Invalid FK columns causes NPE

2006-12-04 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-968?page=all ] Brent Daniel resolved TUSCANY-968. -- Resolution: Fixed > Invalid FK columns causes NPE > - > > Key: TUSCANY-968 >

[jira] Assigned: (TUSCANY-968) Invalid FK columns causes NPE

2006-12-04 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-968?page=all ] Brent Daniel reassigned TUSCANY-968: Assignee: Brent Daniel > Invalid FK columns causes NPE > - > > Key: TUSCANY-968 >

[jira] Created: (TUSCANY-968) Invalid FK columns causes NPE

2006-12-04 Thread Brent Daniel (JIRA)
Invalid FK columns causes NPE - Key: TUSCANY-968 URL: http://issues.apache.org/jira/browse/TUSCANY-968 Project: Tuscany Issue Type: Bug Components: Java DAS RDB Reporter: Brent Daniel

Re: DAS usage of SDO HelperContext

2006-12-01 Thread Brent Daniel
fig file or DAS looking up types by URI. Can you explain the problems more clearly? Frank. "Brent Daniel" <[EMAIL PROTECTED]> wrote on 12/01/2006 03:33:10 PM: > I'm running into an issue with the DAS' usage of SDO and looking for > some ideas. > > Currently

DAS usage of SDO HelperContext

2006-12-01 Thread Brent Daniel
I'm running into an issue with the DAS' usage of SDO and looking for some ideas. Currently in the trunk code, we are calling SDOUtil.createTypeHelper() to create a TypeHelper instance. When I convert the DAS over to use TypeHelper.INSTANCE or HelperProvider.getTypeHelper(), the behavior is differ

[jira] Assigned: (TUSCANY-961) DAS: Using deprected SDO method causes Type lookup failure

2006-11-30 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-961?page=all ] Brent Daniel reassigned TUSCANY-961: Assignee: Brent Daniel > DAS: Using deprected SDO method causes Type lookup fail

[jira] Created: (TUSCANY-961) DAS: Using deprected SDO method causes Type lookup failure

2006-11-30 Thread Brent Daniel (JIRA)
Components: Java DAS RDB Reporter: Brent Daniel The DAS is still using SDOUtil.createTypeHelper() rather than TypeHelper.INSTANCE. This causes the DAS to not have visibility of types defined by TypeHelper or XSDHelper. -- This message is automatically generated by JIRA. - If you think it

NPE was Re: [jira] Resolved: (TUSCANY-951) NullPointerException when setting an invalid property

2006-11-30 Thread Brent Daniel
omponents: Java SDO Implementation >Reporter: Brent Daniel > Fix For: Java-M2, Java-Mx > > > Calling set() with an invalid property name results in a NullPointerException. For example: > dataObject.setInt("invalidProperty",

Re: [RDB DAS] Support for database schema categorization

2006-11-29 Thread Brent Daniel
Kevin, I agree that mixed schema support is something we should provide. The changes required would actually be quite pervasive as, up to now, we have assumed that data is coming from a single schema. For example, a Table with a particular name would no longer necesarily be unique in a Config i

[jira] Assigned: (TUSCANY-954) Need to throw an exception when users try to set a relationship and FK property

2006-11-28 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-954?page=all ] Brent Daniel reassigned TUSCANY-954: Assignee: Brent Daniel > Need to throw an exception when users try to set a relationship and FK > pr

[jira] Created: (TUSCANY-954) Need to throw an exception when users try to set a relationship and FK property

2006-11-28 Thread Brent Daniel (JIRA)
Issue Type: Improvement Components: Java DAS RDB Reporter: Brent Daniel The DAS resolves database foreign key columns in one of two ways. The value can come from the primary key property of a parent DataObject, or it can come directly from the foreign key property

[jira] Created: (TUSCANY-951) NullPointerException when setting an invalid property

2006-11-28 Thread Brent Daniel (JIRA)
SDO Implementation Reporter: Brent Daniel Calling set() with an invalid property name results in a NullPointerException. For example: dataObject.setInt("invalidProperty", 5); results in: java.lang.NullPointerException at org.apache.tuscany.sdo.util.DataObjectUtil.g

[jira] Resolved: (TUSCANY-939) DAS Should throw an exception when ResultSetMetadata is invalid

2006-11-27 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-939?page=all ] Brent Daniel resolved TUSCANY-939. -- Resolution: Fixed Fixed in revision 479744 > DAS Should throw an exception when ResultSetMetadata is inva

[jira] Assigned: (TUSCANY-939) DAS Should throw an exception when ResultSetMetadata is invalid

2006-11-27 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-939?page=all ] Brent Daniel reassigned TUSCANY-939: Assignee: Brent Daniel > DAS Should throw an exception when ResultSetMetadata is inva

[jira] Resolved: (TUSCANY-866) [DAS] Use overqualified update by default

2006-11-27 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-866?page=all ] Brent Daniel resolved TUSCANY-866. -- Resolution: Fixed Fixed in revision 465025 > [DAS] Use overqualified update by defa

[jira] Assigned: (TUSCANY-866) [DAS] Use overqualified update by default

2006-11-27 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-866?page=all ] Brent Daniel reassigned TUSCANY-866: Assignee: Brent Daniel > [DAS] Use overqualified update by default > - > > Key:

Re: What's next for Tuscany DAS ?

2006-11-22 Thread Brent Daniel
ation. 5) Same thing applies to RDB, non-RDB. So, the SCA-DAS integration effort can be based on these abstractions instead of dealing with SDO, RDB directly. Regards, Amita On 11/22/06, Brent Daniel <[EMAIL PROTECTED]> wrote: > > Hey Luciano, > > A few updates.. I committ

Re: Test compilation failure

2006-11-21 Thread Brent Daniel
I think the issue is that sca\tools is checking in generated sdo classes as source rather than generating them using the SDO plugin. The generated classes are still using the old EMF-style code so they won't compile. Brent On 11/21/06, Luciano Resende <[EMAIL PROTECTED]> wrote: I have done the

Re: What's next for Tuscany DAS ?

2006-11-21 Thread Brent Daniel
Hey Luciano, A few updates.. I committed some changes to the MySQL test suite yesterday to solve the problems with the dog kennel tests and one of the stored procedure tests (Sorry, I didn't realize there was a JIRA for it.) Things should run fine now. The default OCC policy has been in for a wh

[jira] Assigned: (TUSCANY-916) OCC recovery framework

2006-11-21 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-916?page=all ] Brent Daniel reassigned TUSCANY-916: Assignee: Brent Daniel > OCC recovery framework > -- > > Key: TUSCANY-916 >

[jira] Resolved: (TUSCANY-937) Multiple test failures while connecting with MySQL

2006-11-21 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-937?page=all ] Brent Daniel resolved TUSCANY-937. -- Resolution: Fixed I didn't realize this JIRA was open - I committed changes to the MySQL test suite yesterday that resolve the problems with dog k

Re: [jira] Commented: (TUSCANY-885) Property DataObject.getProperty(String propertyName) should return null if the property cannot be found

2006-11-15 Thread Brent Daniel
This is not correct. In this test case there is no property named "CUSTOMER" defined. The issue is that you can't call getList() with a property name that does not exist. When the code is changed to throw null, some upstream code in the getList() implementation will return the parent DataObject ra

[jira] Created: (TUSCANY-925) Complex properties not supported

2006-11-13 Thread Brent Daniel (JIRA)
Complex properties not supported Key: TUSCANY-925 URL: http://issues.apache.org/jira/browse/TUSCANY-925 Project: Tuscany Issue Type: Bug Components: Java SCA Core Reporter: Brent Daniel

[jira] Created: (TUSCANY-924) Many valued properties not supported

2006-11-13 Thread Brent Daniel (JIRA)
: Brent Daniel The SCA runtime currently does not support -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http

Re: Problem with DAS Timestamp Converter

2006-11-13 Thread Brent Daniel
Katja, That's one ugly stack trace! It definitely looks like the converter isn't being called. The DateConverter in BigBank will always return a String, so there's no chance of the data being of type java.sql.TimeStamp. I'm at a loss for how this could happen, as any failure in loading a converte

Re: CompanyWeb SQL

2006-11-12 Thread Brent Daniel
You can find the "create table" statements for all of the tables used in DAS testing, including the company table used by companyweb, in org.apache.tuscany.das.rdb.test.framework.MySQLSetup. Brent On 11/12/06, Willian Yabusame Maja <[EMAIL PROTECTED]> wrote: Hi! I'm doing a basic "How To" an

Re: [DAS] Towards a disconnected paging capability

2006-11-09 Thread Brent Daniel
ber in the root data object how would that info get back to the command for the next page request? -- Kevin Brent Daniel wrote: > Technically it's fine, but conceptually I'm not sure about passing a > command object to a pager. What does it mean to page a command? > > Another o

Re: [DAS] Towards a disconnected paging capability

2006-11-08 Thread Brent Daniel
Technically it's fine, but conceptually I'm not sure about passing a command object to a pager. What does it mean to page a command? Another option would be to get rid of the Pager altogether. The only state held in the Pager if you get rid of the Command is the page size and current index. We co

[jira] Resolved: (TUSCANY-905) FK references not correctly resolved when an alias is used

2006-11-07 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-905?page=all ] Brent Daniel resolved TUSCANY-905. -- Resolution: Fixed > FK references not correctly resolved when an alias is u

[jira] Assigned: (TUSCANY-905) FK references not correctly resolved when an alias is used

2006-11-07 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-905?page=all ] Brent Daniel reassigned TUSCANY-905: Assignee: Brent Daniel > FK references not correctly resolved when an alias is u

[jira] Created: (TUSCANY-905) FK references not correctly resolved when an alias is used

2006-11-07 Thread Brent Daniel (JIRA)
Components: Java DAS RDB Reporter: Brent Daniel There's a potential NPE in InsertGenerator.getAttributeProperties() and UpdateGenerator.getChangedFields() when foreign key fields have propertyName mappings. Both need to be updated to search for foreign key field Property objects b

[jira] Updated: (TUSCANY-903) Integration testing for SCA properties

2006-11-06 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-903?page=all ] Brent Daniel updated TUSCANY-903: - Attachment: propertyTests.txt Attaching propertyTests.txt, some simple integration tests for properties using the itest plugin. > Integration testing

[jira] Created: (TUSCANY-903) Integration testing for SCA properties

2006-11-06 Thread Brent Daniel (JIRA)
: Brent Daniel I have the start of some tests for component properties using the itest plugin that I would like to contribute to an integration test suite for tuscany. I plan on building on top of these, but would like to go ahead and contribute them and gather feedback so that we can nail down

Re: [VOTE] Release DAS Java M2 RC4b

2006-11-02 Thread Brent Daniel
+1 On 11/2/06, Luciano Resende <[EMAIL PROTECTED]> wrote: Off course, my +1 (not sure if binding yet) On 11/2/06, kelvin goodson <[EMAIL PROTECTED]> wrote: > > +1 > > On 01/11/06, Luciano Resende <[EMAIL PROTECTED]> wrote: > > > > Hi Everyone > > > > > > Please vote to approve DAS Java Mileston

[jira] Created: (TUSCANY-893) Provide a utility to retrieve a URI from a Factory class

2006-11-01 Thread Brent Daniel (JIRA)
Components: Java SDO Implementation Reporter: Brent Daniel Priority: Minor The DAS needs a utility in SDO that allows us to retrieve a namespace URI from a factory class. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one

Re: Registering SDO Types

2006-11-01 Thread Brent Daniel
Actually, we're only using the URI to call SDOUtil.getTypes(), so that we can pass a list of types to SDOUtil.registerDataGraphTypes(). Maybe we should just have a registerDataGraphTypes() method that takes a Factory class as a parameter? Brent On 11/1/06, Brent Daniel <[EMAIL PROTECTED

Re: Registering SDO Types

2006-11-01 Thread Brent Daniel
istered. If it's not, we should probably fix that. We can easily add another SDOUtil method to allow you to get the URI from the Factory class, but putting both the URI and the Factory class into the config file doesn't sound bad to me. Frank "Brent Daniel" <[EMAIL PROTECT

Re: Registering SDO Types

2006-10-31 Thread Brent Daniel
The down side of this is that the DAS will re-register the types on every call to Command.execute(), whereas if this is in the user's hands it can be done once per application and then referenced by URI. At the moment, I believe that this would also cause us to reintroduce a direct dependency on E

Re: Dojo/SMD support patch for JSON-RPC binding and sample

2006-10-30 Thread Brent Daniel
n 10/30/06, Bert Lamb <[EMAIL PROTECTED]> wrote: So, according to this: http://tinyurl.com/y2wqd6 error=5 seems to be an "access denied" related error. Any ideas about your environment that might be causing that sort of error? -Bert On 10/30/06, Brent Daniel <[EMAIL PROTECTED]&

Re: Dojo/SMD support patch for JSON-RPC binding and sample

2006-10-30 Thread Brent Daniel
Yep, it's available. If I run the exact same command that ant should be running on my own, it works fine. Brent On 10/30/06, Bert Lamb <[EMAIL PROTECTED]> wrote: My gut thought is, is mvn.bat available on your system path? -Bert On 10/30/06, Brent Daniel <[EMAIL PROTECTED]

Re: Dojo/SMD support patch for JSON-RPC binding and sample

2006-10-30 Thread Brent Daniel
I'm getting the following error trying to build: Embedded error: The following error occurred while executing this line: C:\tuscany\java\samples\sca\helloworldjsonrpc\build.xml:53: Execute failed: java.io.IOException: CreateProcess: mvn.bat install:install-file -DgroupId=dojo -DartifactId=dojo-aj

Re: DAS M2 latest Release Candidates lost, was : Re: Repo content on people.a.o

2006-10-26 Thread Brent Daniel
Luciano, I know that Kevin updated the sample readme in the M2 branch since the last release candidate was posted, so it may be better to go ahead and put out another version. Brent On 10/26/06, Luciano Resende <[EMAIL PROTECTED]> wrote: As mentioned by Jeremy, we have lost the latest DAS M2

Re: Is Apache Tuscany compatible with J2EE1.4

2006-10-26 Thread Brent Daniel
SDO is required to be compatible with 1.4 by the spec. DAS is currently designed to be compatible, but that could change. Brent On 10/26/06, Jim Marino <[EMAIL PROTECTED]> wrote: Hi Kiran, I'm not sure about DAS or SDO but the Java SCA runtime requires Java 5 as a minimum. Jim On Oct 25, 200

Re: Integration testing - we need some :-)

2006-10-24 Thread Brent Daniel
Where should these tests live in the tree? I have some simple property related tests using the itest plugin in my sandbox ( https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/bdaniel/propertyTest ). I plan on building more on top of this, but would like to move them to a more permanent loc

Re: building project problem

2006-10-19 Thread Brent Daniel
Adriano, This is the error you get if you generate the eclipse artifacts without specifying the eclipse profile. Make sure you run "mvn -Peclipse eclipse:eclipse" and not just "mvn eclipse:eclipse". Brent On 10/20/06, Adriano Crestani <[EMAIL PROTECTED]> wrote: I'm getting this error when I'm

Re: DAS Java M2 RC4

2006-10-18 Thread Brent Daniel
Resende <[EMAIL PROTECTED]> wrote: > > Yes, I see the same issue if I download the RC, let me check with > kgoodson, as he kindly posted it. > > - Luciano > > On 10/18/06, Brent Daniel < [EMAIL PROTECTED]> wrote: > > > > Luciano, > > > >

Re: Integration testing - we need some :-)

2006-10-18 Thread Brent Daniel
I can take a look at doing some of this, perhaps starting with getting a simple sca application automated and going from there. Any direction from the list on specific areas that need integration test coverage would be helpful. Brent On 10/17/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: In cut

Re: DAS Java M2 RC4

2006-10-18 Thread Brent Daniel
Luciano, I'm having trouble expanding the samples distribution. Neither the zip file or the gzip file will unpack correctly for me. Also, it looks like the MD5 and ASC files are not included for the zip distribution. Brent On 10/18/06, Luciano Resende <[EMAIL PROTECTED]> wrote: The DAS Java M

Re: [DAS] TUSCANY-866: Default OCC policy

2006-10-17 Thread Brent Daniel
On 10/17/06, Kevin Williams <[EMAIL PROTECTED]> wrote: I have talked to clients that want their data slammed into the database no matter what. But, this is an edge case. We can wait for someone to ask for it ... or contribute it. Brent Daniel wrote: > Kevin, > > We can do that, but

Re: [DAS] TUSCANY-866: Default OCC policy

2006-10-17 Thread Brent Daniel
Components: Java DAS RDB Reporter: Brent Daniel Currently in the DAS we either use a user-defined version column or do not use any concurrency control. We have enough information to build an overqualified update in cases where a version column is not defined. For example, if a field &

[jira] Created: (TUSCANY-866) [DAS] Use overqualified update by default

2006-10-17 Thread Brent Daniel (JIRA)
Reporter: Brent Daniel Currently in the DAS we either use a user-defined version column or do not use any concurrency control. We have enough information to build an overqualified update in cases where a version column is not defined. For example, if a field "name" is changed fro

[jira] Resolved: (TUSCANY-820) Configuration info for Command Parameters should include an "index"

2006-10-16 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-820?page=all ] Brent Daniel resolved TUSCANY-820. -- Resolution: Fixed > Configuration info for Command Parameters should include an &qu

[jira] Resolved: (TUSCANY-835) "Version" column should default to "managed = true"

2006-10-16 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-835?page=all ] Brent Daniel resolved TUSCANY-835. -- Resolution: Fixed > "Version" column should default to "managed = true" > -

[jira] Assigned: (TUSCANY-835) "Version" column should default to "managed = true"

2006-10-16 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-835?page=all ] Brent Daniel reassigned TUSCANY-835: Assignee: Brent Daniel > "Version" column should default to &q

Re: DAS Java M2 RC3

2006-10-16 Thread Brent Daniel
Also, the sample distribution doesn't include the canned database. This is required by the sample, so right now users would be forced to download the source build to get it. Brent On 10/16/06, Brent Daniel <[EMAIL PROTECTED]> wrote: Hey Luciano, A couple of quick things I

Re: Eclipse projects

2006-10-16 Thread Brent Daniel
Adriano, Did you generate the eclipse artifacts using the maven build first? If not, you can generate the .project and .classpath by doing: mvn -Peclipse eclipse:eclipse Brent On 10/16/06, Adriano Crestani <[EMAIL PROTECTED]> wrote: I've already downloaded all the source code using the subve

Re: DAS Java M2 RC3

2006-10-16 Thread Brent Daniel
Hey Luciano, A couple of quick things I noticed: 1) BUILDING.txt seems to have disappeared from the source and binary distributions. 2) The source distribution contains the "distribution" directory with all of the assembly files. Is this supposed to be included? I notice the SDO distribution co

Re: Old style header still in use?

2006-10-13 Thread Brent Daniel
I just updated the DAS files. Brent On 10/13/06, kelvin goodson <[EMAIL PROTECTED]> wrote: I have done the SDO part of this, but didn't want to meddle with das at this time. Regards, Kelvin. On 13/10/06, kelvin goodson <[EMAIL PROTECTED]> wrote: > > > will do > -- > Kelvin > > On 13/10/06, Je

[jira] Resolved: (TUSCANY-834) Missing version information for junit plugin in das pom.xml

2006-10-12 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-834?page=all ] Brent Daniel resolved TUSCANY-834. -- Resolution: Fixed > Missing version information for junit plugin in das pom.

[jira] Resolved: (TUSCANY-828) Update companyweb.war location in sample distribution

2006-10-12 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-828?page=all ] Brent Daniel resolved TUSCANY-828. -- Resolution: Fixed > Update companyweb.war location in sample distribution > - > >

[jira] Assigned: (TUSCANY-820) Configuration info for Command Parameters should include an "index"

2006-10-12 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-820?page=all ] Brent Daniel reassigned TUSCANY-820: Assignee: Brent Daniel > Configuration info for Command Parameters should include an &qu

Re: [DAS] Managed Version property/column for OCC

2006-10-12 Thread Brent Daniel
This is fine with me. Most of the time users will probably want to have the DAS do the work rather than manually updating the version column or having a database trigger do it. Brent On 10/12/06, Kevin Williams <[EMAIL PROTECTED]> wrote: While writing the User level documentation for Optimistic

Re: [VOTE] Release parent pom and buildtools (take 2)

2006-10-12 Thread Brent Daniel
+1 On 10/12/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: New version of the build artifacts that other Tuscany modules depend on. For each there are links to the tag (as a separate source distribution is not really applicable) and the artifact. Please vote to approve the release of these so we

Re: companyWeb readme - Fwd: [jira] Assigned: (TUSCANY-827) Update companyweb readme.htm

2006-10-12 Thread Brent Daniel
Hey Luciano, I went ahead and made some updates the readme. I updated some M1 references to M2, removed some of the conversational style (ie, "I", "my", etc), and removed the references to "steps' in the appendix because that seemed confusing, I started from your patch so it should contain your u

[jira] Resolved: (TUSCANY-808) DAS Samples Header files updates

2006-10-09 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-808?page=all ] Brent Daniel resolved TUSCANY-808. -- Resolution: Fixed > DAS Samples Header files updates > > > Key: TUSCANY-808 >

[jira] Resolved: (TUSCANY-807) DAS Header Files Updates

2006-10-09 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-807?page=all ] Brent Daniel resolved TUSCANY-807. -- Resolution: Fixed > DAS Header Files Updates > > > Key: TUSCANY-807 >

Re: How to handle some special files was Fwd: Files with license problems....

2006-10-09 Thread Brent Daniel
Luciano, I just deleted the ecore and genmodel files. These are old EMF artifacts left over from our original SDO model generation. Brent On 10/9/06, Luciano Resende <[EMAIL PROTECTED]> wrote: Some of the files reported by ARAT, at least on the DAS directory structure, are special files like d

Re: SCA Java samples for M2

2006-10-06 Thread Brent Daniel
Previously we had discussed having a "sampleapps" directory to distinguish "business samples" from technology samples.[1] Do we want to continue this distinction? Brent [1] - http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg01812.html On 10/6/06, ant elder <[EMAIL PROTECTED]> wrote: O

Re: Re: [VOTE] Release parent pom and buildtools for M2

2006-10-05 Thread Brent Daniel
+1 On 10/5/06, Luciano Resende <[EMAIL PROTECTED]> wrote: +1 from me. On 10/5/06, Raymond Feng <[EMAIL PROTECTED]> wrote: > > +1 from me. > > Thanks, > Raymond > > - Original Message - > From: "Jeremy Boynes" <[EMAIL PROTECTED]> > To: > Sent: Thursday, October 05, 2006 4:39 PM > Subjec

  1   2   3   >