[jira] Closed: (TUSCANY-2081) SCATestCaseRunner assumes test class is loaded by the context classloader

2008-03-16 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram closed TUSCANY-2081. --- Resolution: Fixed SCATestCaseRunner now uses TCCL rather than create a new classloader if

Missing class UserPrincipal in samples/calculator-implementation-policies

2008-03-14 Thread Rajini Sivaram
calculator.security.JaasLoginModule.java in samples/calculator-implementation-policies uses the class UserPrincipal which doesn't seem to be committed. Thank you... Regards, Rajini

[jira] Commented: (TUSCANY-2086) implementation.osgi cannot find compomentType file when referring to bundles in Eclipse Workspace

2008-03-14 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578873#action_12578873 ] Rajini Sivaram commented on TUSCANY-2086: - I have modi

[jira] Assigned: (TUSCANY-2086) implementation.osgi cannot find compomentType file when referring to bundles in Eclipse Workspace

2008-03-14 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram reassigned TUSCANY-2086: --- Assignee: Rajini Sivaram > implementation.osgi cannot find compomentType file w

[jira] Closed: (TUSCANY-2067) URL Handling in Tuscany breaks when Tuscany is run under OSGi

2008-03-14 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram closed TUSCANY-2067. --- Resolution: Fixed Revision 637139 adds support for bundle URLs as contributions and

Re: [jira] Created: (TUSCANY-2083) GroovyClassLoader throws NoClassDefFoundError when Tuscany is run inside OSGi

2008-03-14 Thread Rajini Sivaram
what could be done to fix it? I'm interested in trying to fix it so i get > a better understanding of all the OSGi and class loader stuff. > >...ant > > On Thu, Mar 13, 2008 at 8:12 PM, Rajini Sivaram (JIRA) < > tuscany-dev@ws.apache.org> wrote: > > > Gr

[jira] Commented: (TUSCANY-2068) itest/osgi-implementation is broken due to recent changes

2008-03-14 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578830#action_12578830 ] Rajini Sivaram commented on TUSCANY-2068: - Ant, Thank you for applying

[jira] Created: (TUSCANY-2087) Tuscany Jaas authentication uses Tuscany classloader to load callback class from contribution

2008-03-14 Thread Rajini Sivaram (JIRA)
Project: Tuscany Issue Type: Bug Components: Java SCA Core Runtime Affects Versions: Java-SCA-1.1 Reporter: Rajini Sivaram Assignee: Rajini Sivaram Fix For: Java-SCA-1.2

Re: [SCA 1.2] What's new in JMS and OSGI for Java SCA 1.2 release ?

2008-03-14 Thread Rajini Sivaram
Done for OSGi (some of the code is not committed yet, but I will get it done in time for 1.2). On 3/13/08, Luciano Resende <[EMAIL PROTECTED]> wrote: > > After looking into the commit logs and other information sources, I > still don't have a good feeling of how to describe the updates around > JM

[jira] Created: (TUSCANY-2083) GroovyClassLoader throws NoClassDefFoundError when Tuscany is run inside OSGi

2008-03-13 Thread Rajini Sivaram (JIRA)
Issue Type: Bug Components: Java SCA Groovy Implementation Extension Affects Versions: Java-SCA-1.1 Reporter: Rajini Sivaram Assignee: Rajini Sivaram Fix For: Java-SCA-1.2 When Tuscany is run under OSGi, calculator-script sample throws the

[jira] Assigned: (TUSCANY-2067) URL Handling in Tuscany breaks when Tuscany is run under OSGi

2008-03-13 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram reassigned TUSCANY-2067: --- Assignee: Rajini Sivaram > URL Handling in Tuscany breaks when Tuscany is

[jira] Created: (TUSCANY-2081) SCATestCaseRunner assumes test class is loaded by the context classloader

2008-03-13 Thread Rajini Sivaram (JIRA)
Issue Type: Bug Components: Java SCA Embedded Runtime Affects Versions: Java-SCA-1.1 Reporter: Rajini Sivaram Assignee: Rajini Sivaram Fix For: Java-SCA-1.2 o.a.t.s.host.embedded.SCATestCaseRunner which is used in many samples creates a

Re: Tests for Tuscany running under OSGi

2008-03-11 Thread Rajini Sivaram
On 3/11/08, Simon Nash <[EMAIL PROTECTED]> wrote: > > Rajini Sivaram wrote: > > itest/osgi-tuscany contains tests for an OSGi-based Tuscany runtime. I > > haven't included the tests in itests/pom.xml because they need to create > > bundles corresponding to Tu

Re: Tests for Tuscany running under OSGi

2008-03-11 Thread Rajini Sivaram
On 3/11/08, ant elder <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 7, 2008 at 7:33 PM, Rajini Sivaram < > [EMAIL PROTECTED]> > wrote: > > > itest/osgi-tuscany contains tests for an OSGi-based Tuscany runtime. I > > haven't included the tests in itests/pom

Re: Tests for Tuscany running under OSGi

2008-03-11 Thread Rajini Sivaram
On 3/11/08, ant elder <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 7, 2008 at 7:33 PM, Rajini Sivaram < > [EMAIL PROTECTED]> > wrote: > > > itest/osgi-tuscany contains tests for an OSGi-based Tuscany runtime. I > > haven't included the tests in itests/pom

Re: Tests for Tuscany running under OSGi

2008-03-11 Thread Rajini Sivaram
Ant, The new module tuscany-extensibility is not included in the bundles. I will fix that. On 3/11/08, ant elder <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 7, 2008 at 7:33 PM, Rajini Sivaram < > [EMAIL PROTECTED]> > wrote: > > > itest/osgi-tuscany contain

Tests for Tuscany running under OSGi

2008-03-07 Thread Rajini Sivaram
itest/osgi-tuscany contains tests for an OSGi-based Tuscany runtime. I haven't included the tests in itests/pom.xml because they need to create bundles corresponding to Tuscany, and hence require around 100 megabytes. Since we currently dont have other tests for a multi-classloader Tuscany environm

[jira] Created: (TUSCANY-2068) itest/osgi-implementation is broken due to recent changes

2008-03-07 Thread Rajini Sivaram (JIRA)
Components: Java SCA OSGi Integration Reporter: Rajini Sivaram Assignee: Rajini Sivaram Recent changes related to Pass-by-value and callbacks have broken many of the itest/osgi-implementationt tests. The tests need to be added back to the itest pom to ensure that breakages are

[jira] Created: (TUSCANY-2067) URL Handling in Tuscany breaks when Tuscany is run under OSGi

2008-03-07 Thread Rajini Sivaram (JIRA)
Components: Java SCA Core Runtime Affects Versions: Java-SCA-1.1 Reporter: Rajini Sivaram Code in the old DefaultSCADomain and the new domain/node APIs manipulate URLs returned by classloader.getResource() to open a directory or jar file corresponding to a contribution. This

Re: What are my chances of being able to "inherit" behaviour from implementation.java?

2008-03-04 Thread Rajini Sivaram
implementation.osgi and implementation.spring reuse introspection code from implementation.java. Both of these can avoid dependencies on implementation.java if the introspection/injection code is refactored to provide a proper SPI. On 3/4/08, Matthew Peters <[EMAIL PROTECTED]> wrote: > > Bad for

Re: Classloading code in core contribution processing

2008-03-04 Thread Rajini Sivaram
Sebastien, Thank you for the clarification. A few comments inline. On 3/4/08, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > Rajini Sivaram wrote: > > Jean-Sebastien Delfino wrote: > >> ... > >> I think that the following issues have been raised

Re: Classloading code in core contribution processing

2008-03-03 Thread Rajini Sivaram
On 2/29/08, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > ant elder wrote: > > On Thu, Feb 28, 2008 at 9:30 AM, Jean-Sebastien Delfino < > > [EMAIL PROTECTED]> wrote: > > > >> Rajini Sivaram wrote: > >>> On 2/22/08, Jean-Sebastien D

Re: Classloading code in core contribution processing

2008-02-26 Thread Rajini Sivaram
Simon, Comments inline. On 2/25/08, Simon Laws <[EMAIL PROTECTED]> wrote: > Hi Rajini > > I'm covering old ground here but trying to make sure I'm looking at this > in > the right way. > > A - How closely class loading should be related to model resolution, i.e. > options 1 and 2 from previousl

Re: Classloading code in core contribution processing

2008-02-25 Thread Rajini Sivaram
Simon, A few comments inline. On 2/25/08, Simon Laws <[EMAIL PROTECTED]> wrote: > > Hi Rajini > > just back in from vacation and catching up. I've put some comments in line > but the text seems to be circling around a few hot issues: > > - How closely class loading should be related to model res

Re: Classloading code in core contribution processing

2008-02-25 Thread Rajini Sivaram
On 2/22/08, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > >> Jean-Sebastien Delfino wrote: > >> Great to see a *test* case for cycles, but my question was: Do you > >> have a *use* case for cycles and partial packages right now or can > it >&g

Re: Classloading code in core contribution processing

2008-02-22 Thread Rajini Sivaram
x27;t handle import cycles and partial packages > >> > >> I think that (1) is better. Do you have a use case for cycles and > >> partial packages right now or can it be fixed later? > ... > Rajini Sivaram wrote: > > ContributionTestCase in itest/contribution-cl

[jira] Closed: (TUSCANY-1897) OSGi-based Tuscany runtime

2008-02-22 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram closed TUSCANY-1897. --- > OSGi-based Tuscany runtime > -- > >

[jira] Resolved: (TUSCANY-1897) OSGi-based Tuscany runtime

2008-02-22 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram resolved TUSCANY-1897. - Resolution: Fixed Assignee: Rajini Sivaram Code has been added to Tuscany under

Re: Classloading code in core contribution processing

2008-02-22 Thread Rajini Sivaram
ContributionClassLoader.findClass to use the model resolver of exporting contributions to resolve classes instead of their classloader. On 2/22/08, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > Rajini Sivaram wrote: > ... > > I will commit some ch

Re: Classloading code in core contribution processing

2008-02-20 Thread Rajini Sivaram
Luciano, Comments inline. On 2/19/08, Luciano Resende <[EMAIL PROTECTED]> wrote: > > On Feb 19, 2008 11:19 AM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> > wrote: > > Rajini Sivaram wrote: > > > Sebastien, > > > > > > Contribution classloade

Re: Classloading code in core contribution processing

2008-02-20 Thread Rajini Sivaram
Sebastien, Comments inline. On 2/19/08, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > Rajini Sivaram wrote: > > Sebastien, > > > > Contribution classloader was introduced to force isolation of > contributions. > > Prior to this, all classes were l

[jira] Commented: (TUSCANY-2015) OSGI iTests are referencing Felix SNAPSHOTs

2008-02-19 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570156#action_12570156 ] Rajini Sivaram commented on TUSCANY-2015: - Because of a deadlock in the la

Re: Classloading code in core contribution processing

2008-02-19 Thread Rajini Sivaram
Sebastien, Contribution classloader was introduced to force isolation of contributions. Prior to this, all classes were loaded using a single CLASSPATH-based classloader, which meant that Java classes had visibility of all classes and resources that could be loaded using CLASSPATH, regardless of w

[jira] Updated: (TUSCANY-1293) SDO does not work with OSGi

2008-02-12 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1293: Attachment: sdo-osgi-export-patch.txt I have tried to recreate the problem with IBM JDK

[jira] Commented: (TUSCANY-1293) SDO does not work with OSGi

2008-02-12 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568011#action_12568011 ] Rajini Sivaram commented on TUSCANY-1293: - The first block tries to

Re: Distribution zips and what they contain, was: SCA runtimes

2008-01-25 Thread Rajini Sivaram
Thank you, Sebastien. Graham or I will provide the changes once the new distribution poms are ready. Thank you... Regards, Rajini On 1/24/08, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > Rajini Sivaram wrote: > > Would it be possible to add an OSGi manifest hea

Re: Distribution zips and what they contain, was: SCA runtimes

2008-01-24 Thread Rajini Sivaram
Would it be possible to add an OSGi manifest header into these zip files so that the zips can be directly installed into an OSGi runtime? The entries will not have any impact when used without OSGi. The only issue would be the creation of these entries. We have two options - 1)generate them automat

[jira] Commented: (TUSCANY-1987) Build break in osgi-implementation itest

2008-01-16 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559401#action_12559401 ] Rajini Sivaram commented on TUSCANY-1987: - Felix have provided a proper fix

[jira] Updated: (TUSCANY-1987) Build break in osgi-implementation itest

2008-01-15 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1987: Attachment: implementation-osgi-patch.txt The attached patch introduces some

Re: [Java SDO] What should we be attacking?

2008-01-11 Thread Rajini Sivaram
> > Rajini, I think you are right. I'll apply the patch as is, and we can > tackle the issue of Felix as a community if and when specific the need > arises. > Regards, Kelvin. > > On 08/01/2008, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > > > Kelvin

Re: [Java SDO] What should we be attacking?

2008-01-08 Thread Rajini Sivaram
on <[EMAIL PROTECTED]> wrote: > Hi Rajini, > Now that the New Year has arrived, do you think you'll be able to take a > look at this? > Thanks, Kelvin. > > > On 11/12/2007, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > > > Kelvin, > > > > I a

[jira] Updated: (TUSCANY-1293) SDO does not work with OSGi

2008-01-04 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1293: Attachment: sdo-osgi.txt The attached patch sets up HelperProvider implementation when

Re: [Java SDO] What should we be attacking?

2008-01-04 Thread Rajini Sivaram
the New Year has arrived, do you think you'll be able to take a > look at this? > Thanks, Kelvin. > > > On 11/12/2007, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > > > Kelvin, > > > > I am busy until Christmas with the SCA-OSGi work, but I will tr

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2008-01-04 Thread Rajini Sivaram
On 1/3/08, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > [snip] > Rajini Sivaram wrote: > > > > Why would you want to add implementation-data-api.jar and derby.jar as > > contributions rather than as maven (and Eclipse) project dependencies? > >

Re: Build of calculator-implementation-policies sample is failing

2008-01-04 Thread Rajini Sivaram
Rather than set the JAAS configuration in the JDK security settings file, I think it could be set in the test setup using System.setProperty("java.security.auth.login.config", "target/classes/CalculatorJass.config"); On 1/3/08, Simon Nash <[EMAIL PROTECTED]> wrote: > > I haven't changed my JDK

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2008-01-03 Thread Rajini Sivaram
On 1/3/08, Simon Laws <[EMAIL PROTECTED]> wrote: > > On Jan 3, 2008 11:03 AM, Rajini Sivaram <[EMAIL PROTECTED]> > wrote: > > > On 1/3/08, Simon Laws <[EMAIL PROTECTED]> wrote: > > > > > > On Jan 3, 2008 12:12 AM, Jean-Sebastien Delfino <[EM

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2008-01-03 Thread Rajini Sivaram
On 1/3/08, Simon Laws <[EMAIL PROTECTED]> wrote: > > On Jan 3, 2008 12:12 AM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> > wrote: > > > Rajini Sivaram wrote: > > > Sebastien, > > > > > > When I was implementing OSGi bundle contribution

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2008-01-03 Thread Rajini Sivaram
On 1/3/08, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > Rajini Sivaram wrote: > > Sebastien, > > > > Sorry, ignore my previous note (the one below). Even with assets not in > the > > classpath, I can run launch.LaunchCloud as long as the assets >

[jira] Updated: (TUSCANY-1941) NPE and classcast exceptions when putting all SCA jars from libs and modules on classpath

2007-12-21 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1941: Attachment: ReallySmallRuntime-patch.txt Attached patch loads each module (as determined

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2007-12-20 Thread Rajini Sivaram
ntribution("http://assets";, assetsContribution); assets should be aded to currencyNode before cloud (at least with the current code). With that change, it runs without throwing any exceptions. On 12/20/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > Sebastien, > &

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2007-12-20 Thread Rajini Sivaram
classloader has some missing code in loadClass (sorry). I will submit a patch. Thank you... Regards, Rajini On 12/20/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > Sebastien, > > I haven't run the tutorial before, so I dont really know what running > successfully mea

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2007-12-20 Thread Rajini Sivaram
stien Delfino <[EMAIL PROTECTED]> wrote: > > Rajini Sivaram wrote: > > Sebastien, > > > > Dependent contributions should be installed before the contributions > which > > refer to them, because the composite and component type files from the > > contrib

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2007-12-20 Thread Rajini Sivaram
I changed it to currencyNode.addContribution("http://assets";, assetsContribution); assets was already added to catalogsNode, and hence throws an error - this looked like a typo anyway. With the change, it ran without any exceptions. On 12/19/07, Jean-Sebastien Delfino <[EMAIL PROTECTED

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2007-12-19 Thread Rajini Sivaram
; > Do you have this committed somewhere so I can take a look and debug ? > > SVN revision 605660, java/sca/tutorial, try cloud/LaunchCloud it is > easier to run than store/LaunchStore. > > > > > On Dec 18, 2007 2:48 AM, Rajini Sivaram <[EMAIL PROTECTED]> > wrote

[jira] Updated: (TUSCANY-1940) Dynamic Wiring for implementation.osgi

2007-12-19 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1940: Attachment: osgi-dynamic-wiring-test.jar tuscany-modules-patch.txt

Re: wiredByImpl for dynamic wiring of OSGi components

2007-12-19 Thread Rajini Sivaram
On 12/19/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On Dec 19, 2007 10:48 AM, Rajini Sivaram <[EMAIL PROTECTED]> > wrote: > > > Simon, > > > > I have opened a JIRA (https://issues.apache.org/jira/browse/TUSCANY-1940 > ) > > to > > track

Re: wiredByImpl for dynamic wiring of OSGi components

2007-12-19 Thread Rajini Sivaram
gards, Rajini On 12/18/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On Dec 12, 2007 1:34 PM, Rajini Sivaram <[EMAIL PROTECTED]> > wrote: > > > Simon, > > > > Comments inline... > > > > Thank you... > > > > Regards, >

Re: Release 1.1 - what will be ready for next week?

2007-12-19 Thread Rajini Sivaram
Simon, No, I don't have an ID yet. Please do the update for me. Thank you... Regards, Rajini On 12/19/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On Dec 19, 2007 9:07 AM, Rajini Sivaram <[EMAIL PROTECTED]> > wrote: > > > Simon, > > > > There

[jira] Created: (TUSCANY-1940) Dynamic Wiring for implementation.osgi

2007-12-19 Thread Rajini Sivaram (JIRA)
Reporter: Rajini Sivaram This is a placeholder for the work required to support Distributed-OSGi using SCA metadata and the Tuscany runtime. This is not expected to be committed into Tuscany until the changes are discussed and finalized on the mailing list. Graham Charters will be

Re: Release 1.1 - what will be ready for next week?

2007-12-19 Thread Rajini Sivaram
Simon, There shouldn't be any visible effect because of the classloading changes to the Tuscany runtime (at least that was the goal). It enables Tuscany to be run in a multi-classloader environment including inside OSGi. By default, Tuscany continues to run using a single CLASSPATH-based classload

Re: Using contributions in the tutorial, was: Improving the store tutorial module structure

2007-12-18 Thread Rajini Sivaram
Sebastien, Dependent contributions should be installed before the contributions which refer to them, because the composite and component type files from the contribution are processed during addContribution. If you change the order of addContribution (assets followed by store), it should (hopefull

Re: wiredByImpl for dynamic wiring of OSGi components

2007-12-12 Thread Rajini Sivaram
Simon, Comments inline... Thank you... Regards, Rajini On 12/12/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On Dec 11, 2007 2:23 PM, Rajini Sivaram <[EMAIL PROTECTED]> > wrote: > > > Hello, > > > > We are looking at implementing a reference implem

wiredByImpl for dynamic wiring of OSGi components

2007-12-11 Thread Rajini Sivaram
Hello, We are looking at implementing a reference implementation for Distributed-OSGi based on SCA metadata using Tuscany. In the long term, this support is expected to be based on pure SCA dynamic wiring at the domain level. But since this support requires changes to SCA to enable property matchi

Re: [Java SDO] What should we be attacking?

2007-12-11 Thread Rajini Sivaram
Kelvin, I am busy until Christmas with the SCA-OSGi work, but I will try and look at the OSGi-enablement of SDO early in the new year. At the moment I can't promise anything, but from the notes that you produced about classloading, and the code and comments from Bert, I think there is enough infor

Re: Problems building node-impl

2007-11-27 Thread Rajini Sivaram
Simon, I had the same two failures with a clean build after checking out the code yesterday. Thank you... Regards, Rajini On 11/27/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On Nov 27, 2007 9:47 AM, ant elder <[EMAIL PROTECTED]> wrote: > > > I'm getting some errors building node-impl on t

Re: Distribution structure for SCA Java 1.1 release (was Re: Sample dependencies not pulled in distribution)

2007-11-26 Thread Rajini Sivaram
Simon, I did take a look at splitting the Tuscany distribution into bundles with the hope of defining something which makes sense for OSGi as well as non-OSGi. I dont really think that makes much sense anymore. Grouping modules into OSGi bundles using existing maven plugins was far too time consum

Re: [Java SDO] What should we be attacking?

2007-11-22 Thread Rajini Sivaram
n e) { >throw new RuntimeException(e); >} >} > > I'd better refactor this into a repository where we keep track of the > classloader that is able to find the property file. Then we can use that > classloader to load the implemen

Re: [Java SDO] What should we be attacking?

2007-11-22 Thread Rajini Sivaram
per/DefaultHelperContextImpl.java > > [2] > > http://svn.apache.org/repos/asf/incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/helper/XSDHelperImpl.java > > [3] > > http://svn.apache.org/repos/asf/incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscan

Re: [Java SDO] What should we be attacking?

2007-11-21 Thread Rajini Sivaram
Kelvin, I ran into the same NPE as TUSCANY-1293 yesterday when running Tuscany SCA under OSGi. I would be very keen to see this fixed so that SCA databinding-sdo can be used under OSGi. I will be happy to help with the classloading/OSGi issues, but I have no understanding of the architecture of SD

Re: Use of ServiceDiscovery in JavaImplementationProvider.loadPolicyHanlders

2007-11-21 Thread Rajini Sivaram
Venkat, Sorry about that. The service filename had changed between the time I started implementing the classloader changes and submitted the patch. I should have been more careful when merging the changes. Thank you... Regards, Rajini On 11/21/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote:

Re: Distribution structure for SCA Java 1.1 release (was Re: Sample dependencies not pulled in distribution)

2007-11-20 Thread Rajini Sivaram
Sebastien, We would like to enable a binary Tuscany distribution to run under OSGi. I am not sure of the level of granularity at which a bundle-ized Tuscany makes sense in terms of providing modularity and versioning using OSGi. But I would like to make sure that the bundles from the list below c

Re: [NOTICE] Rajini Sivaram voted as Tuscany committer

2007-11-19 Thread Rajini Sivaram
Thank you all. I look forward to working with all of you. I would also like to thank everyone for integrating my patches over the last few months. Thank you... Regards, Rajini On 11/19/07, ant elder <[EMAIL PROTECTED]> wrote: > > The Tuscany PPMC and Incubator PMC have vote

Re: OSGi-based Tuscany runtime

2007-11-12 Thread Rajini Sivaram
gt; > On Nov 12, 2007 11:58 AM, ant elder <[EMAIL PROTECTED]> wrote: > > > > > On Nov 12, 2007 11:42 AM, Simon Laws <[EMAIL PROTECTED]> > wrote: > > > > > > > On Nov 8, 2007 10:56 AM, Rajini Sivaram < > [EMAIL PROTECTED]> > > >

Re: OSGi-based Tuscany runtime

2007-11-08 Thread Rajini Sivaram
accurately. I don't think there is an > automatic way of distinguishing. > > Simon > > On 11/8/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > > > Simon, > > > > maven-bundle-plugin can be used to generate manifest files for the jar > > files, but

Re: OSGi-based Tuscany runtime

2007-11-08 Thread Rajini Sivaram
not sure which dependencies I can safely remove). Thank you... Regards, Rajini On 11/7/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On 11/7/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > https://issues.apache.org/jira/browse/TUSCANY-1897

OSGi-based Tuscany runtime

2007-11-07 Thread Rajini Sivaram
lude the dependencies for testing (sometimes without a scope), I am not sure if I could use a dependency list generated by maven. Thank you... Regards, Rajini On 10/25/07, ant elder <[EMAIL PROTECTED]> wrote: > > On 10/25/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > &

[jira] Created: (TUSCANY-1897) OSGi-based Tuscany runtime

2007-11-07 Thread Rajini Sivaram (JIRA)
: Rajini Sivaram The attached patch provides support for running Tuscany runtime inside OSGi. Tuscany bundle activator sets the thread context classloader, and the classloader used for service discovery. Both are set to a bundle classloader which uses OSGi bundle API to resolve classes. The

[jira] Updated: (TUSCANY-1897) OSGi-based Tuscany runtime

2007-11-07 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1897: Attachment: osgi-tuscany-patch.txt > OSGi-based Tuscany runt

[jira] Updated: (TUSCANY-1897) OSGi-based Tuscany runtime

2007-11-07 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1897: Attachment: (was: osgi-tuscany-patch.txt) > OSGi-based Tuscany runt

[jira] Updated: (TUSCANY-1897) OSGi-based Tuscany runtime

2007-11-07 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1897: Attachment: osgi-tuscany-patch.txt > OSGi-based Tuscany runt

Re: Thread context classloader: Location of implementation scripts

2007-11-06 Thread Rajini Sivaram
o support a list of new statements in the contributions? Thank you... Regards, Rajini On 11/6/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > Rajini Sivaram wrote: > > Hello, > > > > Implementation scripts are currently resolved by the threa

[jira] Updated: (TUSCANY-1887) Classloading: Remove unnecessary use of thread context classloader

2007-11-02 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1887: Attachment: new-tuscany-tccl-patch.txt New patch generated after the integration of

[jira] Updated: (TUSCANY-1887) Classloading: Remove unnecessary use of thread context classloader

2007-11-02 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1887: Attachment: (was: tuscany-tccl-patch.txt) > Classloading: Remove unnecessary use

[jira] Commented: (TUSCANY-1887) Classloading: Remove unnecessary use of thread context classloader

2007-11-02 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539559 ] Rajini Sivaram commented on TUSCANY-1887: - Venkat, Thank you for integrating https://issues.apache.org

[jira] Created: (TUSCANY-1888) Classloading: CallableReference is deserialized using TCCL (should be using contribution)

2007-11-01 Thread Rajini Sivaram (JIRA)
Project: Tuscany Issue Type: Bug Components: Java SCA Core Runtime Reporter: Rajini Sivaram The problem is described on the mailing list : http://marc.info/?l=tuscany-dev&m=119391267716678&w=2 -- This message is automatically generated by JIRA. -

[jira] Updated: (TUSCANY-1887) Classloading: Remove unnecessary use of thread context classloader

2007-11-01 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1887: Attachment: tuscany-tccl-patch.txt This patch also contains the changes from 1877

[jira] Created: (TUSCANY-1887) Classloading: Remove unnecessary use of thread context classloader

2007-11-01 Thread Rajini Sivaram (JIRA)
: Improvement Components: Java SCA Core Runtime Reporter: Rajini Sivaram The attached patch removes some of the uses of TCCL in Tuscany code. ModelResolver (and hence the contribution classloader) is now used to resolve: Property file specified as component property, if the

Re: Thread context classloader: Serializing CallableReference

2007-11-01 Thread Rajini Sivaram
... Regards, Rajini On 10/30/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > Hello, > > Implementations of CallableReference (and hence its subclass > ServiceReference) are declared as Externalizable. At the moment, the > writeExternal/readExternal methods of CallableReferen

Re: Thread context classloader: Location of implementation scripts

2007-10-31 Thread Rajini Sivaram
> On 10/31/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > Implementation scripts are currently resolved by the thread context > > classloader. > > > > The code in org.apache.tuscany.sca.extension.helper.utils. > > ResourceU

Thread context classloader: Location of implementation scripts

2007-10-31 Thread Rajini Sivaram
Hello, Implementation scripts are currently resolved by the thread context classloader. The code in org.apache.tuscany.sca.extension.helper.utils. ResourceUtil.readResource(String scriptName) is: ... //FIXME The classloader should be passed in ClassLoader cl = Thread.currentThread().

Re: Thread context classloader: Format of property file URI

2007-10-31 Thread Rajini Sivaram
lve this including > the > semantics that the import/export might bring in. Lets hear what others > think. > > Thanks > > - Venkat > > > On 10/30/07, Rajini Sivaram < [EMAIL PROTECTED]> wrote: > > > > Hello, > > > > Can the URI used to specify

Thread context classloader: Serializing CallableReference

2007-10-30 Thread Rajini Sivaram
Hello, Implementations of CallableReference (and hence its subclass ServiceReference) are declared as Externalizable. At the moment, the writeExternal/readExternal methods of CallableReferenceImpl serialize to an SCDL and deserialize from the SCDL. The reference interface of a CallableReference cr

[jira] Commented: (TUSCANY-1879) Sample webapps fails with java.lang.NoClassDefFoundError: org/apache/tuscany/sca/definitions/xml/SCADefinitionsDocumentProcessor

2007-10-30 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538749 ] Rajini Sivaram commented on TUSCANY-1879: - I looked at this failure to check if it had anything to do with

Thread context classloader: Format of property file URI

2007-10-30 Thread Rajini Sivaram
Hello, Can the URI used to specify the location of a property file containing the value of a property be relative, or should it always be absolute? If it can be relative, what is it relative to? I couldn't find anything in the SCA Assembly Model Spec which gave the format of the URI. All I could

[jira] Updated: (TUSCANY-1877) Classloading: Tuscany runtime extension classloading

2007-10-29 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajini Sivaram updated TUSCANY-1877: Attachment: tuscany-extension-classloading-patch.txt > Classloading: Tuscany runt

[jira] Created: (TUSCANY-1877) Classloading: Tuscany runtime extension classloading

2007-10-29 Thread Rajini Sivaram (JIRA)
Components: Java SCA Core Runtime Reporter: Rajini Sivaram Details of the discussion on classloading in Tuscany can be found on the mailing list: http://marc.info/?l=tuscany-dev&m=119210552631425&w=2 Details specific to this patch are here: http://marc.info/?l=tusca

Re: Resolving Component type files

2007-10-29 Thread Rajini Sivaram
t/export ? > > I'll keep thinking and do some investigation on this area... > > Thoughts ? > > On 10/25/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Is there any reason why unlike CompositeModelResolver and > > ConstrainingType

[jira] Created: (TUSCANY-1873) Imported contributions not used in resolving component type files

2007-10-29 Thread Rajini Sivaram (JIRA)
Components: Java SCA Core Runtime Reporter: Rajini Sivaram The details of the failing scenario and Luciano's response are on the dev mailing list at: http://marc.info/?l=tuscany-dev&m=119332616624723&w=2 -- This message is automatically generated by JI

Re: Classloading in Tuscany

2007-10-26 Thread Rajini Sivaram
Raymond, Thank you for your comments. My comments inline. On 10/26/07, Raymond Feng <[EMAIL PROTECTED]> wrote: > > Hi, > > Please see my comments inline. > > Thanks, > Raymond > > - Original Message - > From: "Rajini Sivaram" <[EMAIL PROT

[jira] Commented: (TUSCANY-1871) Classloading : Application contribution classloaders

2007-10-26 Thread Rajini Sivaram (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537973 ] Rajini Sivaram commented on TUSCANY-1871: - Ant, Thank you for integrating the patch... - Rajini

<    1   2   3   >