Slow RMI Host start up

2009-10-05 Thread ant elder
The caclulator-rmi sample keeps failing on the hudson build as the client runs before the service has finished starting up. I've stepped through the code to try to find why its so slow and it turns out to be this.factory = SocketFactory.getDefault(); in the constructor of

Re: Slow RMI Host start up

2009-10-05 Thread Simon Laws
Is there any security configured? I.e. is it doing some kind of security handshakes? You quote a plain SocketFactory so I wouldn't expect it to be firing up SSL but I don't know the innards well enough I'm afraid. Simon

Re: [DISCUSS] Tuscany modularity, composability and usability

2009-10-05 Thread ant elder
Thanks Raymond, there's some good points in that. I do think we need to have the usability aspect a high priority and I mean that for both Tuscany developers and users. Flexibility is all very good but unless its done carefully it can make things unnecessarily complicated, so another principle

[2.x] duplicate default definitions.xml

2009-10-05 Thread Simon Laws
We have two copies of the default definitions information. C:\simon\tuscany\java-2.x\modules\assembly-xml\src\main\resources\META-INF\sca-policy-1.1-intents-definitions-cd02.xml C:\simon\tuscany\java-2.x\modules\assembly-xsd\src\main\resources\sca-policy-1.1-intents-definitions-cd02.xml For some

Re: Slow RMI Host start up

2009-10-05 Thread ant elder
On Mon, Oct 5, 2009 at 9:03 AM, ant elder ant.el...@gmail.com wrote: The caclulator-rmi sample keeps failing on the hudson build as the client runs before the service has finished starting up. I've stepped through the code to try to find why its so slow and it turns out to be this.factory =

Re: Slow RMI Host start up

2009-10-05 Thread Simon Laws
It does ring a bell but it's working OK for me at the moment. Simon

Re: [2.x] reviewing/summarizing domain operation - was: Re: Discovery-based SCA Domain for OSGi RFC 119

2009-10-05 Thread ant elder
On Thu, Oct 1, 2009 at 8:49 AM, ant elder ant.el...@gmail.com wrote: On Wed, Sep 30, 2009 at 11:37 AM, Simon Laws simonsl...@googlemail.com wrote: b3/ one or more composite files but which are present in META-INF/sca-deployables (is this still supported?) No, i think i took out support

Re: svn commit: r820460 - in /tuscany/java/sca/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl: ComponentBuilderImpl.java CompositeComponentTypeBuilderImpl.java ModelBuilderImpl.ja

2009-10-05 Thread Simon Laws
Hi Raymond Why was it necessary to pass in the outer component? The property values are pushed down into the outer component's component type, if appropriate, when the component properties are reconciled with those of its component type. Hence they are available in the parent composite. Have I

Re: svn commit: r820460 - in /tuscany/java/sca/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl: ComponentBuilderImpl.java CompositeComponentTypeBuilderImpl.java ModelBuilderImpl.java

2009-10-05 Thread Raymond Feng
Hi, I had to make such changes to fix the property source calculation. Taking an example, composite name=Composite1 component name=C1 implementation.composite name=ns1:Composite11/ property name=p2 value=1/ /component component name=C2 implementation.composite

Re: [2.x] reviewing/summarizing domain operation - was: Re: Discovery-based SCA Domain for OSGi RFC 119

2009-10-05 Thread Raymond Feng
I would prefer to avoid introducing a Tuscany-specific way considering we already have solutions for defining the deployable composites. But you could propose the idea to the spec group to see what they think. Thanks, Raymond -- From: ant elder

Re: [jira] Resolved: (TUSCANY-2988) Refactor common pojo logic out of implementation.java to allow sharing this code with spring, ejb and other pojo based extensions

2009-10-05 Thread Raymond Feng
Hi, The common-java modules is added for a different purpose. It holds common utilities in the java programming, such as classloading, reflection, io. This has nothing to do with TUSCANY-2988 which was intended to extra the logic to introspect Java classes/interfaces for SCA metadata.

Re: [VOTE] Release Tuscany SCA Java 1.5.1 RC4

2009-10-05 Thread Raymond Feng
+1. Thanks, Raymond -- From: Simon Laws simonsl...@googlemail.com Sent: Friday, October 02, 2009 7:41 AM To: tuscany-dev dev@tuscany.apache.org Subject: [VOTE] Release Tuscany SCA Java 1.5.1 RC4 Please review and vote on RC4 of the Tuscany SCA

Re: [VOTE] Release Tuscany SCA Java 1.5.1 RC4

2009-10-05 Thread Luciano Resende
+1 to release Tuscany SCA Java 1.5.1 RC4. -- Luciano Resende http://people.apache.org/~lresende http://lresende.blogspot.com/

[jira] Reopened: (TUSCANY-2988) Refactor common pojo logic out of implementation.java to allow sharing this code with spring, ejb and other pojo based extensions

2009-10-05 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luciano Resende reopened TUSCANY-2988: -- Reopened based on Raymond's feedback : The common-java modules is added for a different

Re: [2.x] duplicate default definitions.xml

2009-10-05 Thread Simon Laws
Not sure. The otests are working for me currently. I'll prod Mike and check. Thanks Simon

Re: svn commit: r821834 - /tuscany/java/sca/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositeCloneBuilderImpl.java

2009-10-05 Thread Raymond Feng
Hi, Simon. Is it really needed? We already have such logic in the org.apache.tuscany.sca.assembly.impl.ComponentImpl.clone(). When a composite is cloned, all the containing components are cloned. If the component implementation is a composite, then the implementation is cloned too. Can you

Variant of Store scenario up and running in Google App Engine !!!, was Re: Tuscany SCA HelloWorld application is up and running on Google App Engine!

2009-10-05 Thread Luciano Resende
On Thu, Sep 17, 2009 at 11:30 PM, Luciano Resende luckbr1...@gmail.com wrote: Really great news Raymond, it would be great if we could start investigating this further to explore more complex scenarios on the App Engine... I was thinking on getting the store sample in a first stage, and then

Issues running Tuscany applications in Google AppEngine

2009-10-05 Thread Luciano Resende
Below are the list of issues I found while getting the store scenario working in Google AppEngine: - The JSON-RPC Binding is using Commons HTTP Client, which spawn threads which is not allowed in the AppEngine environment. I have a local version of the binding using only URLOpenConnection, but it

Re: [VOTE] Release Tuscany SCA Java 1.5.1 RC4

2009-10-05 Thread Ramkumar R
+1 from me. On Fri, Oct 2, 2009 at 8:11 PM, Simon Laws simonsl...@googlemail.comwrote: Please review and vote on RC4 of the Tuscany SCA Java 1.5.1 release. The distribution artifacts, RAT reports, and Maven staging repository are available for review at: