Re: [jira] Updated: (TUSCANY-1382) Minor fixes to OSGi declarative services support and additional tests

2007-07-04 Thread Rajini Sivaram

Ant,

Thank you for applying the patches. The code that currently looks up OSGi
services is not thread-safe, and hence the intermittent failures. I will
submit a patch.



Thank you...

Regards,

Rajini


On 7/3/07, ant elder [EMAIL PROTECTED] wrote:


The OSGi implementation and sample are building fine now so I've added
them to the main Tuscany build. I've not yet added the itest to the main
build as I'm getting intermittent failures when i run them. Mostly NPE's but
its only sometimes and not always the same itest that fails so I'm not sure
whats going on. Could others try a few times and see if they see any
problems?

Failures are things like:

test(supplychain.wiring.DSWiring2TestCase)  Time elapsed: 0.828 sec  
ERROR!
java.lang.NullPointerException
at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiInstanceWrapper.getInstance(
OSGiInstanceWrapper.java:73)
at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invokeTarget
(OSGiTargetInvoker.java:115)
at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invoke(
OSGiTargetInvoker.java:164)
at
org.apache.tuscany.sca.core.invocation.AbstractInvocationHandler.invoke(
AbstractInvocationHandler.java:84)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke (
JDKInvocationHandler.java:73)
at $Proxy9.hasOutstandingOrders(Unknown Source)
at supplychain.SupplyChainTestCase.test(SupplyChainTestCase.java
:66)

   ...ant

On 6/26/07, Rajini Sivaram (JIRA) tuscany-dev@ws.apache.org wrote:


  [ 
https://issues.apache.org/jira/browse/TUSCANY-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

 Rajini Sivaram updated TUSCANY-1382:
 

 Attachment: itest-osgi-implementation.zip
 sample-osgi-supplychain-patch.txt
 tuscany-implementation-osgi-patch.txt

 tuscany-implementation-osgi-patch.txt contains patches to
 modules/implementation-osgi.

 sample-osgi-supplychain-patch.txt contains patches to
 samples/osgi-supplychain (modified for declarative services).

 itest-osgi-implementation.zip contains integration tests for
 osgi-implementation.

  Minor fixes to OSGi declarative services support and additional tests
  -
 
  Key: TUSCANY-1382
  URL:
 https://issues.apache.org/jira/browse/TUSCANY-1382
  Project: Tuscany
   Issue Type: Improvement
   Components: Java SCA OSGi Integration
 Reporter: Rajini Sivaram
  Attachments: itest-osgi-implementation.zip,
 sample-osgi-supplychain-patch.txt ,
 tuscany-implementation-osgi-patch.txt
 
 
  Attached are patches to osgi-implementation support.
  Changes include improved support for declarative services and
 versioning and changes to the directory structure to make it in line with
 implementation-java.
  Integration tests are included in the zip file.

 --
 This message is automatically generated by JIRA.
 -
 You can reply to this email to add a comment to the issue online.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





Re: [jira] Updated: (TUSCANY-1382) Minor fixes to OSGi declarative services support and additional tests

2007-07-03 Thread ant elder

The OSGi implementation and sample are building fine now so I've added them
to the main Tuscany build. I've not yet added the itest to the main build as
I'm getting intermittent failures when i run them. Mostly NPE's but its only
sometimes and not always the same itest that fails so I'm not sure whats
going on. Could others try a few times and see if they see any problems?

Failures are things like:

test(supplychain.wiring.DSWiring2TestCase)  Time elapsed: 0.828 sec  
ERROR!
java.lang.NullPointerException
   at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiInstanceWrapper.getInstance
(OSGiInstanceWrapper.java:73)
   at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invokeTarget
(OSGiTargetInvoker.java:115)
   at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invoke
(OSGiTargetInvoker.java:164)
   at
org.apache.tuscany.sca.core.invocation.AbstractInvocationHandler.invoke(
AbstractInvocationHandler.java:84)
   at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:73)
   at $Proxy9.hasOutstandingOrders(Unknown Source)
   at supplychain.SupplyChainTestCase.test(SupplyChainTestCase.java:66)

  ...ant

On 6/26/07, Rajini Sivaram (JIRA) tuscany-dev@ws.apache.org wrote:



 [
https://issues.apache.org/jira/browse/TUSCANY-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]

Rajini Sivaram updated TUSCANY-1382:


Attachment: itest-osgi-implementation.zip
sample-osgi-supplychain-patch.txt
tuscany-implementation-osgi-patch.txt

tuscany-implementation-osgi-patch.txt contains patches to
modules/implementation-osgi.

sample-osgi-supplychain-patch.txt contains patches to
samples/osgi-supplychain (modified for declarative services).

itest-osgi-implementation.zip contains integration tests for
osgi-implementation.

 Minor fixes to OSGi declarative services support and additional tests
 -

 Key: TUSCANY-1382
 URL: https://issues.apache.org/jira/browse/TUSCANY-1382
 Project: Tuscany
  Issue Type: Improvement
  Components: Java SCA OSGi Integration
Reporter: Rajini Sivaram
 Attachments: itest-osgi-implementation.zip,
sample-osgi-supplychain-patch.txt, tuscany-implementation-osgi-patch.txt


 Attached are patches to osgi-implementation support.
 Changes include improved support for declarative services and versioning
and changes to the directory structure to make it in line with
implementation-java.
 Integration tests are included in the zip file.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [jira] Updated: (TUSCANY-1382) Minor fixes to OSGi declarative services support and additional tests

2007-06-29 Thread ant elder

I'm having trouble getting this tuscany-implementation-osgi-patch.txt patch
to apply correctly, would you be able to also attach a zip of your local
copy of the the complete implementation-osgi module?

  ...ant

On 6/26/07, Rajini Sivaram (JIRA) tuscany-dev@ws.apache.org wrote:



 [ 
https://issues.apache.org/jira/browse/TUSCANY-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajini Sivaram updated TUSCANY-1382:


Attachment: itest-osgi-implementation.zip
sample-osgi-supplychain-patch.txt
tuscany-implementation-osgi-patch.txt

tuscany-implementation-osgi-patch.txt contains patches to
modules/implementation-osgi.

sample-osgi-supplychain-patch.txt contains patches to
samples/osgi-supplychain (modified for declarative services).

itest-osgi-implementation.zip contains integration tests for
osgi-implementation.

 Minor fixes to OSGi declarative services support and additional tests
 -

 Key: TUSCANY-1382
 URL: https://issues.apache.org/jira/browse/TUSCANY-1382
 Project: Tuscany
  Issue Type: Improvement
  Components: Java SCA OSGi Integration
Reporter: Rajini Sivaram
 Attachments: itest-osgi-implementation.zip,
sample-osgi-supplychain-patch.txt , tuscany-implementation-osgi-patch.txt


 Attached are patches to osgi-implementation support.
 Changes include improved support for declarative services and versioning
and changes to the directory structure to make it in line with
implementation-java.
 Integration tests are included in the zip file.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]