Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Yang ZHONG
http://issues.apache.org/jira/secure/attachment/12348234/WindowsPath.support throws SDOFileNotFoundException for non-existent path. As for xmlCanonicPath, it always allocates new memory and expects xmlFree where try/finally simulation may also complicate code. Trading off for performance, mine on

[jira] Commented: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Yang ZHONG (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462101 ] Yang ZHONG commented on TUSCANY-990: WindowsPath.support has been attached to address Caroline's request of sup

[jira] Updated: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Yang ZHONG (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yang ZHONG updated TUSCANY-990: --- Attachment: WindowsPath.support > Avoid duplicated/infinite loading > --

[jira] Resolved: (TUSCANY-780) Numerous broken links at http://incubator.apache.org/tuscany/java-projects.html

2007-01-03 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luciano Resende resolved TUSCANY-780. - Resolution: Fixed Applyed necessary changes to site.svl, fixed broken links, but left ou

Unit testing logging mechanism

2007-01-03 Thread Luciano Resende
Hey Guys DAS uses log4j as it's log mechanism, and it can be enabled/disabled via a log4j.properties file. Would you guys have ideas on how I could verify this behaviour using jUnit or something similar during our build ? I was wondering if I could send the output to a file and check the file

[jira] Created: (TUSCANY-1024) Define and document data binding for each WSDL <--> Java mapping

2007-01-03 Thread Fuhwei Lwo (JIRA)
Define and document data binding for each WSDL <--> Java mapping Key: TUSCANY-1024 URL: https://issues.apache.org/jira/browse/TUSCANY-1024 Project: Tuscany Issue Type: Improvem

[jira] Updated: (TUSCANY-780) Numerous broken links at http://incubator.apache.org/tuscany/java-projects.html

2007-01-03 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luciano Resende updated TUSCANY-780: Component/s: Website Fix Version/s: (was: Java-M2) Java-M3

[jira] Created: (TUSCANY-1023) WSDL <--> Java mapping: Define and document what WSDL styles are supported and not supported

2007-01-03 Thread Fuhwei Lwo (JIRA)
WSDL <--> Java mapping: Define and document what WSDL styles are supported and not supported Key: TUSCANY-1023 URL: https://issues.apache.org/jira/browse/TUSCANY-1023

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Caroline Maynard
The good news is that the fix does work for me. Though I would suggest thinking about using xmlCanonicPath() to keep the Tuscany code simpler and the URI function in libxml where it belongs. xmlCanonicPath() will silently handle platform-specific paths, too. The bad news is that the tests still f

Re: comments on website

2007-01-03 Thread Luciano Resende
Thanks Lee. I have taken care of the changes described in item 2. As for the changes on site.svl, looks like they get rid of the broken links, but anchors are still not working correctly, I'll take a look at that. As for samples, I was thinking about, and I'd recommend having instructions on ho

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Yang ZHONG
I've tried http://issues.apache.org/jira/secure/attachment/12348221/XSDHelperImpl.990 and I think it supports Windows path on Windows (only). Let me know if your case still fails. On 1/3/07, Caroline Maynard <[EMAIL PROTECTED]> wrote: I posted the traceback to show that it's XSDHelperImpl::de

[jira] Commented: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Yang ZHONG (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462047 ] Yang ZHONG commented on TUSCANY-990: XSDHelperImpl.990 has been attached to address Caroline's request of suppor

Re: [C++] Named arguments

2007-01-03 Thread Andrew Borley
On 12/22/06, Pete Robbins <[EMAIL PROTECTED]> wrote: On 22/12/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > Andrew Borley wrote: > > Hi all, > > > > I was looking to put together another "real-world" sample for SCA C++, > > using Sebastien's REST support to invoke the Yahoo REST servi

[jira] Updated: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Yang ZHONG (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yang ZHONG updated TUSCANY-990: --- Attachment: XSDHelperImpl.990 > Avoid duplicated/infinite loading >

comments on website

2007-01-03 Thread Lee Surprenant
I like the new site. I should have mentioned these before but have been on vacation recently... 1)There are a number of problems with the java projects page. The "Running the Samples" section (and likely others) are outdated. In addition, the link in this section is broken. Also, the title of

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Caroline Maynard
I posted the traceback to show that it's XSDHelperImpl::defineFile(). The file spec is being passed in from the user, and I do think that Windows users normally expect to specify file specs in this way, and I see no reason to regress this behaviour in your fix. Especially not with an AccessViolati

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Yang ZHONG
Are you using "C:\path\to\the.xsd" as schemaLocation for include/import? According to XSD spec, it should have been "a URI as defined by [RFC 2396], as amended by [RFC 2732]". Both RFC 2396 and RFC 2732 have specified "\" unwise. Or are you using "C:\path\to\the.xsd" for XSDHelper#defineFile? Nei

[C++] Making SCARuntime thread safe

2007-01-03 Thread Jean-Sebastien Delfino
SCARuntime is not thread safe and this is breaking our Windows story, since HTTPD is multi-threaded on Windows. I'm planning on making a few changes to it to make it thread safe, turn some statics into ThreadLocals and protect the initialization of the runtime with a Mutex lock (using the class

Deployment, was: Java kernel release

2007-01-03 Thread Jeremy Boynes
I started work on a version of this with the definition of two interfaces in host-api: ContributionService is an API that handles the contribution of artifacts to a SCA domain (for now, the domain corresponds to a single runtime, in the future it will be multiple federated ones). The main

RE: Java kernel release

2007-01-03 Thread Meeraj Kunnumpurath
Francesco, Most of the discussions on management and JMX are available on the recent thread titled Standalone Server. Here is a brief overview of what we have .. Tuscany provides a standalone server in which one or more tuscany runtimes can be started. The server itself used JMX for management.

Re: NPE in InnerComposite sample

2007-01-03 Thread Jim Marino
It should work now, as I changed it yesterday. Did you sync to the latest repo and clear out you local repo? Also, if there is more than one service offered by the composite it the getService() method will return null and a target not found exception should be thrown. It's possible I may ha

[jira] Commented: (TUSCANY-1018) Unused data files for testing should be removed

2007-01-03 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462006 ] Kelvin Goodson commented on TUSCANY-1018: - This raises the question of whether we always want to be testing

[jira] Resolved: (TUSCANY-898) Expose DAS as a SCA service

2007-01-03 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luciano Resende resolved TUSCANY-898. - Resolution: Fixed Fix Version/s: (was: Java-Mx) Java-M3 Do

Re: NPE in InnerComposite sample

2007-01-03 Thread Luciano Resende
Hi Jim, are you still working on this ? I'm getting the same issue on java/samples/sca/webapp -- Luciano Resende http://people.apache.org/~lresende On 1/2/07, Jim Marino <[EMAIL PROTECTED]> wrote: For now I specified the target service in the SCDL. I think we should keep it like that in the sa

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Caroline Maynard
This isn't looking good for me. Tests which previously worked are now failing with : MSVCRTD! 00239060() commonj::sdo::SAX2Parser::parse_twice(const char * 0x) line 436 + 17 bytes commonj::sdo::SDOSchemaSAX2Parser::parse(const char * 0x) line 1316 + 17 bytes commonj::sdo::ParserEr

Re: Java kernel release

2007-01-03 Thread Jim Marino
On Jan 3, 2007, at 7:54 AM, Francesco Furfari wrote: Hi Jim, as you know my vision about Tuscany architecture is still limited, but I was wondering whether one of the JMX implementation at the Felix project could help you. Take a look at http:// cwiki.apache.org/FELIX/mosgi-managed-osgi-f

Re: bug in determing WSDL-> Java mapping style?

2007-01-03 Thread Scott Kurz
OK, I see you used r491901 to fix this so I won't open a JIRA. On 1/2/07, Scott Kurz <[EMAIL PROTECTED]> wrote: Thanks Raymond, Should I open a JIRA? On 1/2/07, Raymond Feng <[EMAIL PROTECTED]> wrote: > > Hi, Frank. > > I think you're right after reading the paragraph again. > > Scott, I'll

Re: Java kernel release

2007-01-03 Thread Francesco Furfari
Hi Jim, as you know my vision about Tuscany architecture is still limited, but I was wondering whether one of the JMX implementation at the Felix project could help you. Take a look at http://cwiki.apache.org/FELIX/mosgi-managed-osgi-framework.html This solution is tied to adopt an OSGi cont

Re: [C++] ODBC and accessing Generated Keys

2007-01-03 Thread Luciano Resende
Why can't you do the second select? Is that just a performance/consistency concern? Yes, but if there is no other way, we would probably go this way -- Luciano Resende http://people.apache.org/~lresende On 1/3/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 1/3/07, Adriano Crestani <[EMAIL

Re: Creating Spec related JIRAs WAS IntrospectionRegistryImpl.introspect and @ConversationID

2007-01-03 Thread Jim Marino
We have a bug tracking system in the spec collaboration as well. You'll need to get access to that (Mike can provide it since he has admin privileges) and it should be pretty much the same as what we have for Tuscany. Sorry to make this difficult but all of the Tuscany committers should eve

Re: [C++] ODBC and accessing Generated Keys

2007-01-03 Thread Simon Laws
On 1/3/07, Adriano Crestani <[EMAIL PROTECTED]> wrote: Sorry Simon, yes, it's really what you are assuming. We are trying to get the key values. I was checking again how the DAS Java get the auto-generated PKs and it tries to get it right after the statement execution and not before as I was sa

Re: Creating Spec related JIRAs WAS IntrospectionRegistryImpl.introspect and @ConversationID

2007-01-03 Thread Ignacio Silva-Lepe
Ok, I have created JIRA TUSCANY-1022 for the Specification component and assigned it to Mike Edwards. Jim, any quick hint on the preferred way to do this on the collaboration side? On 1/2/07, Jim Marino <[EMAIL PROTECTED]> wrote: > > What we've done so far is: > - Create a JIRA issue in the Tu

[jira] Created: (TUSCANY-1022) Conversation id injection for conversational service provider -- annotation and field access

2007-01-03 Thread Ignacio Silva-Lepe (JIRA)
Conversation id injection for conversational service provider -- annotation and field access Key: TUSCANY-1022 URL: https://issues.apache.org/jira/browse/TUSCANY-1022

[jira] Commented: (TUSCANY-1018) Unused data files for testing should be removed

2007-01-03 Thread Fuhwei Lwo (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461978 ] Fuhwei Lwo commented on TUSCANY-1018: - In that case, can you regenerate and update the example package using th

Java kernel release

2007-01-03 Thread Jim Marino
Over the past couple of weeks we have made progress in upgrading the capabilities of the kernel, including starting support for a standalone server, JMX, and SCA deployment. In addition, we have made changes that have allowed us to support existing SCA features such as multiple bindings for

[jira] Resolved: (TUSCANY-1018) Unused data files for testing should be removed

2007-01-03 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson resolved TUSCANY-1018. - Resolution: Invalid org.apache.tuscany.sdo.test.XSDHelperTestCase depends on these file

Re: NIO approach

2007-01-03 Thread Paul Fremantle
Thanks Ant I did think of Jetty, but somehow when I wrote the mail I forgot it. I did hear something about maybe some work on a client in Jetty - has anyone else heard anything about that? It seems it might be better to have the client and server share some common code, but I'm not sure if th

Re: NIO approach

2007-01-03 Thread ant elder
Adding to your list there could also be a 3d to use Jetty6 and a non-blocking client based on the Apache HttpCore/HttpClient. Don't know how it compares to AsyncWeb and HTTPCore but they've done a lot of async and NIO work in Jetty 6: http://docs.codehaus.org/display/JETTY/Introduction+to+Jetty6.

[jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Geoff Winn (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Geoff Winn resolved TUSCANY-990. Resolution: Fixed Fix Version/s: Cpp-current Patch applied. The standard tests now produce

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

2007-01-03 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-987: --- Attachment: (was: oldTestCases.zip) > Create maven project structure for community test

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

2007-01-03 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-987: --- Attachment: (was: robbieBrianCTS_20061220.zip) > Create maven project structure for comm

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

2007-01-03 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-987: --- Attachment: (was: convertedJunit41.zip) > Create maven project structure for community t