Re: Tuscany SDO Memory Leaks in Production Server Environment

2008-01-11 Thread kelvin goodson
Hi Ron, the SDO code never touches ConfigurationCache directly, and the EMF JavaDoc says it is an internal API [1]. I guess this is one to raise with EMF. A google on ConfigurationCache reveals very little in terms of anyone having hit this issue before. Are you happy to raise this on the

Re: Eclipse RCP apps and Tuscany

2008-01-11 Thread Simon Nash
The SCADomain.newInstance() method and the DefaultSCADomain class in host-embedded have been replaced by the domain and node APIs in domain-api and node-api. However, most samples have not yet been converted to the new APIs. For examples of samples that use the new APIs, see callback-ws-client,

Re: Eclipse RCP apps and Tuscany

2008-01-11 Thread Rajini Sivaram
Simon, There is code used by the new domain/node APIs as well which manipulate URLs returned by classloader.getResource() to open a directory or jar file corresponding to a contribution. There are still some outstanding issues with classloading in the new domain code, so I haven't been able to

Re: Tuscany SDO Memory Leaks in Production Server Environment

2008-01-11 Thread Ron Gavlin
Hi Kelvin, Thanks for researching this for us. We'll go ahead and try your breakpoint suggestion and let you know our results. - Ron - Original Message From: kelvin goodson [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Sent: Friday, January 11, 2008 12:02:06 PM Subject: Re:

Re: Tuscany SDO Memory Leaks in Production Server Environment

2008-01-11 Thread kelvin goodson
Ron, I talked to Ed Merks about this, and here's a summary of what he said. He was referencing the EMF 2.4 code, but aside from the generics he thought it was the same as 2.2.3. The key diagnostic would be to see whether calls to getPrinter() and releasePrinter(XMLString) are made in pairs.

Re: Eclipse RCP apps and Tuscany

2008-01-11 Thread ant elder
On Jan 11, 2008 2:16 PM, Simon Laws [EMAIL PROTECTED] wrote: Hi Rajini But the code that I have run into problems with are in org.apache.tuscany.sca.node.util.SCAContributionUtil.findContributionFromResource (ClassLoader classLoader, String compositeString) which only works

Re: Eclipse RCP apps and Tuscany

2008-01-11 Thread Rajini Sivaram
Simon, On 1/11/08, Simon Laws [EMAIL PROTECTED] wrote: Hi Rajini But the code that I have run into problems with are in org.apache.tuscany.sca.node.util.SCAContributionUtil.findContributionFromResource (ClassLoader classLoader, String compositeString) which only works with

Re: Eclipse RCP apps and Tuscany

2008-01-11 Thread Simon Laws
Hi Rajini But the code that I have run into problems with are in org.apache.tuscany.sca.node.util.SCAContributionUtil.findContributionFromResource (ClassLoader classLoader, String compositeString) which only works with file:// or jar:// URLs (it is very similar to the code used by the

Re: Eclipse RCP apps and Tuscany

2008-01-11 Thread Jean-Sebastien Delfino
Rajini Sivaram wrote: [snip] I dont know the code well enough to understand how these contributions are used/loaded/resolved etc. But yes, it will be good to stop manipulating URLs to locate contributions. +1, if I understand correctly, the scenario discussed here is like this: Bob,