Re: How do you plug in validation monitoring?

2008-04-17 Thread Simon Laws
On Wed, Apr 16, 2008 at 8:30 PM, Hasan Muhammad [EMAIL PROTECTED] wrote: Hi Simon, I looked at the new Monitor and Problem interfaces. What do getMessageId() and getMessageParams() actually return? is MessageId a way to categorize the error message? regards Hasan On Tue, Apr 15, 2008

Re: svn commit: r648763 - /incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/impl/DirectedGraph.java

2008-04-17 Thread Simon Laws
On Wed, Apr 16, 2008 at 6:31 PM, [EMAIL PROTECTED] wrote: Author: rfeng Date: Wed Apr 16 10:31:00 2008 New Revision: 648763 URL: http://svn.apache.org/viewvc?rev=648763view=rev Log: Fix for TUSCANY-2069 Modified:

RE: svn commit: r648763 - /incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/impl/DirectedGraph.java

2008-04-17 Thread Mark Combellack
I'm looking to fix this issue now I'm testing a fix and about to commit. Mark -Original Message- From: Simon Laws [mailto:[EMAIL PROTECTED] Sent: 17 April 2008 09:42 To: tuscany-dev@ws.apache.org Subject: Re: svn commit: r648763 -

Re: svn commit: r648763 - /incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/impl/DirectedGraph.java

2008-04-17 Thread Simon Laws
On Thu, Apr 17, 2008 at 9:44 AM, Mark Combellack [EMAIL PROTECTED] wrote: I'm looking to fix this issue now I'm testing a fix and about to commit. Mark -Original Message- From: Simon Laws [mailto:[EMAIL PROTECTED] Sent: 17 April 2008 09:42 To: tuscany-dev@ws.apache.org

[jira] Reopened: (TUSCANY-2069) Missing serialization in DirectedGraph

2008-04-17 Thread Mark Combellack (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Combellack reopened TUSCANY-2069: -- The fix is actually causing a Null PointerException in the Unit Tests for databinding.

Re: svn commit: r648763 - /incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/impl/DirectedGraph.java

2008-04-17 Thread Ramkumar R
Hi Simon, I am also facing this issue, here Raymond have used ConcurrentHashMap to resolve the issue as mentioned in TUSCANY-2069, but we can't be using ConcurrentHashMap in this case as this collection (ConcurrentHashMap) does not allow null value to be inserted in the Map. Since the

[jira] Commented: (TUSCANY-2069) Missing serialization in DirectedGraph

2008-04-17 Thread Mark Combellack (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12589872#action_12589872 ] Mark Combellack commented on TUSCANY-2069: -- I've added the null check and the

RE: svn commit: r648763 - /incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/impl/DirectedGraph.java

2008-04-17 Thread Mark Combellack
I've committed a fix that checks for null before doing the insert. This means that the unit tests now pass. I've re-opened TUSCANY-2069 so the change can be validated. If the code really must insert null then we need to do something different - e.g. revert collection or add a marker value to

[jira] Updated: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

2008-04-17 Thread Ramkumar Ramalingam (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ramkumar Ramalingam updated TUSCANY-1867: - Attachment: TUSCANY-1867.patch @OneWay with String return type causes

[jira] Closed: (TUSCANY-2165) Java runtime should inject service references to field with common name in absence of @Reference

2008-04-17 Thread ant elder (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ant elder closed TUSCANY-2165. -- Resolution: Fixed Patches applied, thanks for the fix! Java runtime should inject service

[jira] Resolved: (TUSCANY-2225) RuntimeExceptions thrown by @OneWay methods are not logged anywhere

2008-04-17 Thread Mark Combellack (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Combellack resolved TUSCANY-2225. -- Resolution: Fixed The exception is now being logged to the JDK Logger. The fix was

Re: Run Tuscany with JDK 6: was: Re: [VOTE] Release Tuscany Java SCA 1.2-incubating (RC4)

2008-04-17 Thread Dan Becker
Raymond Feng wrote: It's related to JDK 6 which ships a version of JAXB impl by itself. Up to JDK 6 Update 3, the JDK ships with JAX-WS 2.0 (which includes JAXB 2.0), but Tuscany requires JAXB 2.1. There are two possible solutions to this problem: 1) Upgrade your JDK to 1.6.0_04 or above,

[jira] Closed: (TUSCANY-2218) Endpoint URI resolution precedence for binding.ws reference is incorrect

2008-04-17 Thread ant elder (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ant elder closed TUSCANY-2218. -- Resolution: Fixed Applied, thanks for the fixes! Endpoint URI resolution precedence for binding.ws

Re: Run Tuscany with JDK 6: was: Re: [VOTE] Release Tuscany Java SCA 1.2-incubating (RC4)

2008-04-17 Thread Mike Edwards
Dan Becker wrote: Raymond Feng wrote: It's related to JDK 6 which ships a version of JAXB impl by itself. Up to JDK 6 Update 3, the JDK ships with JAX-WS 2.0 (which includes JAXB 2.0), but Tuscany requires JAXB 2.1. There are two possible solutions to this problem: 1) Upgrade your JDK to

[jira] Resolved: (TUSCANY-1937) Duplicate binding name not flagged as error

2008-04-17 Thread Simon Laws (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Laws resolved TUSCANY-1937. - Resolution: Fixed Fix Version/s: (was: Java-SCA-Next)

Re: [jira] Commented: (TUSCANY-2109) Conflicts between component reference interface and promoted composite reference interface are not detected

2008-04-17 Thread Simon Laws
On Thu, Apr 10, 2008 at 10:14 PM, Simon Laws [EMAIL PROTECTED] wrote: Hi Mike Some comments in line Simon Folks, It is right to be concerned over the interface matching, but let's not lose sight of the context here. In general, there are two scenarios to consider:

[jira] Commented: (TUSCANY-2109) Conflicts between component reference interface and promoted composite reference interface are not detected

2008-04-17 Thread Simon Laws (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12590031#action_12590031 ] Simon Laws commented on TUSCANY-2109: - I've commited Wang Feng's patch at r649093.

Re: [jira] Created: (TUSCANY-2239) Support for mutually-exclusive intents

2008-04-17 Thread Mike Edwards
Greg Dritschler (JIRA) wrote: Support for mutually-exclusive intents -- Key: TUSCANY-2239 URL: https://issues.apache.org/jira/browse/TUSCANY-2239 Project: Tuscany Issue Type: New Feature

[RESULT][VOTE] Release Tuscany Java SCA 1.2-incubating (RC4)

2008-04-17 Thread Luciano Resende
Passed with 9 +1 binding votes from Ant Elder, Jean-Sebastien Delfino, Raymond Feng, Adriano Crestani, Venkata Krishnan, Mike Edwards, Simon Laws, Simon Nash and myself and 2 +1 non-binding votes from Vamsavardhana Reddy, Dave Sowerby and no -1. I shall now submit to IPMC review. On Wed, Apr

BPEL SCA References

2008-04-17 Thread Luciano Resende
I'm working on finalizing the support to have references to SCA components in a BPEL process. Currently, the reference get invoked, but when ODE engine is trying to process the results, looks like it does not find the contents of the reply message. Based on some code available in ODE, I guess I'm

Re: svn commit: r648763 - /incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/impl/DirectedGraph.java

2008-04-17 Thread Raymond Feng
Sorry for the break. I didn't realize that ConcurrentHashMap doesn't allow null values. I'll try to optimize it by adding a special NULL object. Thanks, Raymond -- From: Mark Combellack [EMAIL PROTECTED] Sent: Thursday, April 17, 2008 1:55 AM To:

[jira] Resolved: (TUSCANY-2069) Missing serialization in DirectedGraph

2008-04-17 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raymond Feng resolved TUSCANY-2069. --- Resolution: Fixed Fixed under r649158 Missing serialization in DirectedGraph

Re: [jira] Commented: (TUSCANY-2109) Conflicts between component reference interface and promoted composite reference interface are not detected

2008-04-17 Thread Raymond Feng
+1 on Simon's proposal to add the getNamespace() on Interface from another perspective: converting/mapping between IDLs. Thanks, Raymond -- From: Simon Laws [EMAIL PROTECTED] Sent: Thursday, April 17, 2008 6:32 AM To: tuscany-dev@ws.apache.org

Re: How do you plug in validation monitoring?

2008-04-17 Thread Hasan Muhammad
Hi Simon, We should have an api for plugins to provide a resource bundle. This api probably needs to be on the monitor or somewhere, i am not sure. But the scenario occurs when plugins want to use the default Monitor but still want to use their own resource bundle for messageIDs. regards Hasan

Re: How do you plug in validation monitoring?

2008-04-17 Thread Simon Laws
On Thu, Apr 17, 2008 at 5:02 PM, Hasan Muhammad [EMAIL PROTECTED] wrote: Hi Simon, We should have an api for plugins to provide a resource bundle. This api probably needs to be on the monitor or somewhere, i am not sure. But the scenario occurs when plugins want to use the default Monitor

[jira] Closed: (TUSCANY-2238) Test Cases for Exception APIs

2008-04-17 Thread Kevin Williams (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Williams closed TUSCANY-2238. --- Resolution: Fixed Fix Version/s: Java-SCA-Next Test Cases for Exception APIs

[jira] Updated: (TUSCANY-2237) Java 2 Security - Enhancements to run Itest bucket

2008-04-17 Thread Dan Becker (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Becker updated TUSCANY-2237: Attachment: TUSCANY-2237-2.patch This moves the module.stop in ReallySmallRuntime (that Raymond

[jira] Updated: (TUSCANY-2237) Java 2 Security - Enhancements to run Itest bucket

2008-04-17 Thread Dan Becker (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Becker updated TUSCANY-2237: Attachment: (was: TUSCANY-2237.patch) Java 2 Security - Enhancements to run Itest bucket

[jira] Created: (TUSCANY-2240) Creation of SDO object out of XML (read from an JMS message) is taking too long

2008-04-17 Thread Ph.Konradi (JIRA)
Creation of SDO object out of XML (read from an JMS message) is taking too long --- Key: TUSCANY-2240 URL: https://issues.apache.org/jira/browse/TUSCANY-2240 Project: Tuscany

Re: [vtest] getCompositeContext API for non-SCA clients

2008-04-17 Thread Yee-Kang Chang
Just thought to follow-up to see if we will do this .. Perhaps SCADomain can be extended to return the ComponentContext for a particular component? Thanks. On Wed, Apr 2, 2008 at 6:37 PM, Kevin Williams [EMAIL PROTECTED] wrote: The current JUnit tests (iTest and vTest) make use of the