Re: svn commit: r1159076 - /tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

2011-08-18 Thread Simon Laws
On Thu, Aug 18, 2011 at 9:12 AM,  antel...@apache.org wrote:
 Author: antelder
 Date: Thu Aug 18 08:12:00 2011
 New Revision: 1159076

 URL: http://svn.apache.org/viewvc?rev=1159076view=rev
 Log:
 Add exclude for 4020 test thats been failing for ages

 Modified:
    tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

 Modified: tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml?rev=1159076r1=1159075r2=1159076view=diff
 ==
 --- tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml 
 (original)
 +++ tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml Thu 
 Aug 18 08:12:00 2011
 @@ -86,6 +86,7 @@
               exclude**/POL_3002_TestCase.java/exclude
               exclude**/POL_4015_TestCase.java/exclude
               exclude**/POL_4016_TestCase.java/exclude
 +              exclude**/POL_4020_TestCase.java/exclude
            /excludes
          /configuration
       /plugin




What was it failing with? I remember seeing failures a while back but
not recently.

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com


Re: svn commit: r1159076 - /tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

2011-08-18 Thread Simon Laws
On Thu, Aug 18, 2011 at 10:19 AM, Simon Laws simonsl...@googlemail.com wrote:
 On Thu, Aug 18, 2011 at 9:12 AM,  antel...@apache.org wrote:
 Author: antelder
 Date: Thu Aug 18 08:12:00 2011
 New Revision: 1159076

 URL: http://svn.apache.org/viewvc?rev=1159076view=rev
 Log:
 Add exclude for 4020 test thats been failing for ages

 Modified:
    tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

 Modified: tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml?rev=1159076r1=1159075r2=1159076view=diff
 ==
 --- tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml 
 (original)
 +++ tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml Thu 
 Aug 18 08:12:00 2011
 @@ -86,6 +86,7 @@
               exclude**/POL_3002_TestCase.java/exclude
               exclude**/POL_4015_TestCase.java/exclude
               exclude**/POL_4016_TestCase.java/exclude
 +              exclude**/POL_4020_TestCase.java/exclude
            /excludes
          /configuration
       /plugin




 What was it failing with? I remember seeing failures a while back but
 not recently.

 Simon

 --
 Apache Tuscany committer: tuscany.apache.org
 Co-author of a book about Tuscany and SCA: tuscanyinaction.com


Just looking back through the logs... Wasn't this failure to do with
the appliesTo fixes. Is this what you're seeing now?

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com


Re: svn commit: r1159076 - /tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

2011-08-18 Thread ant elder
On Thu, Aug 18, 2011 at 10:19 AM, Simon Laws simonsl...@googlemail.com wrote:
 On Thu, Aug 18, 2011 at 9:12 AM,  antel...@apache.org wrote:
 Author: antelder
 Date: Thu Aug 18 08:12:00 2011
 New Revision: 1159076

 URL: http://svn.apache.org/viewvc?rev=1159076view=rev
 Log:
 Add exclude for 4020 test thats been failing for ages

 Modified:
    tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

 Modified: tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml?rev=1159076r1=1159075r2=1159076view=diff
 ==
 --- tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml 
 (original)
 +++ tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml Thu 
 Aug 18 08:12:00 2011
 @@ -86,6 +86,7 @@
               exclude**/POL_3002_TestCase.java/exclude
               exclude**/POL_4015_TestCase.java/exclude
               exclude**/POL_4016_TestCase.java/exclude
 +              exclude**/POL_4020_TestCase.java/exclude
            /excludes
          /configuration
       /plugin




 What was it failing with? I remember seeing failures a while back but
 not recently.


Oh, its been failing for me for yonks, and i thought i remembered it
being mention before so thought it was failing for everyone. I've
never debugged it but the fail i get is:

Implementation language set to: _Java
18-Aug-2011 10:25:53 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0
domain: default
18-Aug-2011 10:25:53 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
loadContributions
INFO: Loading contribution:
file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/POL_4020/target/PO
L_4020.zip
18-Aug-2011 10:25:55 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
loadContributions
INFO: Loading contribution:
file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/Policy_General/tar
get/Policy_General.zip
18-Aug-2011 10:25:56 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
loadContributions
INFO: Loading contribution:
file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/General_Java/targe
t/General_Java.zip
18-Aug-2011 10:25:57
org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
[] (ComponentReferenceTargetNotFound)
WARNING: Component reference target not found at deployment time, it
might be a remote service elsewhere in the SCA Domain so well tr
y and resolve it again at runtime: {1}
18-Aug-2011 10:25:57
org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
[] (ComponentReferenceTargetNotFound)
WARNING: Component reference target not found at deployment time, it
might be a remote service elsewhere in the SCA Domain so well tr
y and resolve it again at runtime: {1}
2011-08-18 10:25:58.566::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
18-Aug-2011 10:25:58
org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
addEndpoint
INFO: Add endpoint - binding.sca -
TestClient/TestClient_0002TestClient/TestInvocation
18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyLogger info
INFO: jetty-6.1.19
18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyLogger info
INFO: Started SelectChannelConnector@0.0.0.0:8080
18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://9.167.202.237:8080/TestClient/TestInvocation
18-Aug-2011 10:25:59
org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
addEndpoint
INFO: Add endpoint - binding.ws -
http://9.167.202.237:8080/TestClient/TestInvocation
18-Aug-2011 10:25:59
org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
addEndpoint
INFO: Add endpoint - binding.sca -
TEST_POL_4020Component1/TestComposite1Component1/Service1
18-Aug-2011 10:25:59
org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
addEndpoint
INFO: Add endpoint - binding.sca - TEST_POL_4020Component1/Service1
18-Aug-2011 10:26:00
org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
[] (EndpointReferenceCantBeMatched)
SEVERE: = Unable to match the endpoint reference
(@12359283)EndpointReference:  URI =
TestClient#reference-binding(reference1/referen
ce1) WIRED_TARGET_IN_BINDING_URI Target = (@20541175)Endpoint:  URI =
TEST_POL_4020Component1 [Unresolved] with the policy of the ser
vice to which it refers, matching process was Match policy of
(@12359283)EndpointReference:  URI =
TestClient#reference-binding(refer
ence1/reference1) WIRED_TARGET_IN_BINDING_URI Target =
(@20541175)Endpoint:  URI = TEST_POL_4020Component1 [Unresolved] to
(@30526967
)Endpoint:  URI =
TEST_POL_4020Component1#service-binding(Service1/Service1) No match
because there are unresolved intents [{http://d

Re: svn commit: r1142920 - in /tuscany/sca-java-2.x/trunk: distribution/all/src/main/release/bin/ modules/ modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/ modules/binding-ws-runtime

2011-08-18 Thread ant elder
On Tue, Jul 5, 2011 at 9:26 AM,  sl...@apache.org wrote:
 Author: slaws
 Date: Tue Jul  5 08:26:12 2011
 New Revision: 1142920

 URL: http://svn.apache.org/viewvc?rev=1142920view=rev
 Log:
 Re-enable Rampart support in the ws binding so that WS policy can be applied. 
 Add a test which, for the time being, demonstrates integrity.

 Added:
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/wspolicy/
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/wspolicy/WSPolicyProvider.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/wspolicy/WSPolicyProviderFactory.java
 Modified:
    tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE
    
 tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/META-INF/MANIFEST.MF
    tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/pom.xml
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2EngineIntegration.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceBindingProvider.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory
    tuscany/sca-java-2.x/trunk/modules/policy-wspolicy/pom.xml
    
 tuscany/sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/xml/WSPolicyProcessor.java
    tuscany/sca-java-2.x/trunk/modules/pom.xml
    tuscany/sca-java-2.x/trunk/testing/itest/ws/pom.xml

 Modified: 
 tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE?rev=1142920r1=1142919r2=1142920view=diff
 ==
 --- tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE 
 (original)
 +++ tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE 
 Tue Jul  5 08:26:12 2011
 @@ -231,7 +231,9 @@ The following components come under Apac
  aspectjrt-1.6.8.jar
  aspectjweaver-1.6.8.jar
  axiom-api-1.2.10.jar
 + axiom-dom-1.2.10.jar
  axiom-impl-1.2.10.jar
 + axis2-mtompolicy-1.5.4.jar
  bsf-utils-3.1.jar
  cglib-2.2.jar
  commons-beanutils-1.7.0.jar
 @@ -276,6 +278,7 @@ The following components come under Apac
  juli-6.0.26.jar
  kahadb-5.3.0.jar
  log4j-1.2.15.jar
 + mex-1.5.4-impl.jar
  myfaces-api-1.2.2.jar
  myfaces-impl-1.2.2.jar
  neethi-2.0.4.jar
 @@ -295,7 +298,12 @@ The following components come under Apac
  ode-scheduler-simple-1.3.2.jar
  ode-utils-1.3.2.jar
  openjpa-1.2.1.jar
 + opensaml-2.2.3.jar
 + openws-1.2.2.jar
  org.apache.axis2.osgi-1.5.3.jar
 + rampart-core-1.5.1.jar
 + rampart-policy-1.5.1.jar
 + rampart-trust-1.5.1.jar
  regexp-1.3.jar
  spring-aop-3.0.5.RELEASE.jar
  spring-asm-3.0.5.RELEASE.jar
 @@ -312,10 +320,13 @@ The following components come under Apac
  wink-common-1.1.3-incubating.jar
  wink-client-1.1.3-incubating.jar
  wink-server-1.1.3-incubating.jar
 + wss4j-1.5.10.jar
  xalan-2.7.0.jar
  xercesImpl-2.8.1.jar
  xmlbeans-2.3.0.jar
  XmlSchema-1.4.3.jar
 + xmlsec-1.4.4.jar
 + xmltooling-1.2.0.jar

  ===
  The serp-1.13.1.jar is distributed under the BSD license with the following 
 copyright:

 Modified: 
 tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java?rev=1142920r1=1142919r2=1142920view=diff
 ==
 --- 
 tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java
  (original)
 +++ 
 tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java
  Tue Jul  5 08:26:12 2011
 @@ -37,7 +37,7 @@ import org.apache.tuscany.sca.policy.Pol
  * @tuscany.spi.extension.asclient
  */
  public class PolicyHelper {
 -    public PolicySet getPolicySet(PolicySubject subject, QName 
 policySetName) {
 +    public static PolicySet getPolicySet(PolicySubject subject, QName 
 policySetName) {
         for (PolicySet ps : 

Re: svn commit: r1159076 - /tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

2011-08-18 Thread Simon Laws
On Thu, Aug 18, 2011 at 10:30 AM, ant elder ant.el...@gmail.com wrote:
 On Thu, Aug 18, 2011 at 10:19 AM, Simon Laws simonsl...@googlemail.com 
 wrote:
 On Thu, Aug 18, 2011 at 9:12 AM,  antel...@apache.org wrote:
 Author: antelder
 Date: Thu Aug 18 08:12:00 2011
 New Revision: 1159076

 URL: http://svn.apache.org/viewvc?rev=1159076view=rev
 Log:
 Add exclude for 4020 test thats been failing for ages

 Modified:
    tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

 Modified: tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml?rev=1159076r1=1159075r2=1159076view=diff
 ==
 --- tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml 
 (original)
 +++ tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml Thu 
 Aug 18 08:12:00 2011
 @@ -86,6 +86,7 @@
               exclude**/POL_3002_TestCase.java/exclude
               exclude**/POL_4015_TestCase.java/exclude
               exclude**/POL_4016_TestCase.java/exclude
 +              exclude**/POL_4020_TestCase.java/exclude
            /excludes
          /configuration
       /plugin




 What was it failing with? I remember seeing failures a while back but
 not recently.


 Oh, its been failing for me for yonks, and i thought i remembered it
 being mention before so thought it was failing for everyone. I've
 never debugged it but the fail i get is:

 Implementation language set to: _Java
 18-Aug-2011 10:25:53 org.apache.tuscany.sca.node.impl.NodeImpl start
 INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0
 domain: default
 18-Aug-2011 10:25:53 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
 loadContributions
 INFO: Loading contribution:
 file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/POL_4020/target/PO
 L_4020.zip
 18-Aug-2011 10:25:55 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
 loadContributions
 INFO: Loading contribution:
 file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/Policy_General/tar
 get/Policy_General.zip
 18-Aug-2011 10:25:56 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
 loadContributions
 INFO: Loading contribution:
 file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/General_Java/targe
 t/General_Java.zip
 18-Aug-2011 10:25:57
 org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
 [] (ComponentReferenceTargetNotFound)
 WARNING: Component reference target not found at deployment time, it
 might be a remote service elsewhere in the SCA Domain so well tr
 y and resolve it again at runtime: {1}
 18-Aug-2011 10:25:57
 org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
 [] (ComponentReferenceTargetNotFound)
 WARNING: Component reference target not found at deployment time, it
 might be a remote service elsewhere in the SCA Domain so well tr
 y and resolve it again at runtime: {1}
 2011-08-18 10:25:58.566::INFO:  Logging to STDERR via 
 org.mortbay.log.StdErrLog
 18-Aug-2011 10:25:58
 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
 addEndpoint
 INFO: Add endpoint - binding.sca -
 TestClient/TestClient_0002TestClient/TestInvocation
 18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyLogger info
 INFO: jetty-6.1.19
 18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyLogger info
 INFO: Started SelectChannelConnector@0.0.0.0:8080
 18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyServer
 addServletMapping
 INFO: Added Servlet mapping: 
 http://9.167.202.237:8080/TestClient/TestInvocation
 18-Aug-2011 10:25:59
 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
 addEndpoint
 INFO: Add endpoint - binding.ws -
 http://9.167.202.237:8080/TestClient/TestInvocation
 18-Aug-2011 10:25:59
 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
 addEndpoint
 INFO: Add endpoint - binding.sca -
 TEST_POL_4020Component1/TestComposite1Component1/Service1
 18-Aug-2011 10:25:59
 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
 addEndpoint
 INFO: Add endpoint - binding.sca - TEST_POL_4020Component1/Service1
 18-Aug-2011 10:26:00
 org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
 [] (EndpointReferenceCantBeMatched)
 SEVERE: = Unable to match the endpoint reference
 (@12359283)EndpointReference:  URI =
 TestClient#reference-binding(reference1/referen
 ce1) WIRED_TARGET_IN_BINDING_URI Target = (@20541175)Endpoint:  URI =
 TEST_POL_4020Component1 [Unresolved] with the policy of the ser
 vice to which it refers, matching process was Match policy of
 (@12359283)EndpointReference:  URI =
 TestClient#reference-binding(refer
 ence1/reference1) WIRED_TARGET_IN_BINDING_URI Target =
 (@20541175)Endpoint:  URI = TEST_POL_4020Component1 [Unresolved] to
 (@30526967
 )Endpoint:  URI =
 

Re: svn commit: r1142920 - in /tuscany/sca-java-2.x/trunk: distribution/all/src/main/release/bin/ modules/ modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/ modules/binding-ws-runtime

2011-08-18 Thread Simon Laws
On Thu, Aug 18, 2011 at 11:46 AM, ant elder ant.el...@gmail.com wrote:
 On Tue, Jul 5, 2011 at 9:26 AM,  sl...@apache.org wrote:
 Author: slaws
 Date: Tue Jul  5 08:26:12 2011
 New Revision: 1142920

 URL: http://svn.apache.org/viewvc?rev=1142920view=rev
 Log:
 Re-enable Rampart support in the ws binding so that WS policy can be 
 applied. Add a test which, for the time being, demonstrates integrity.

 Added:
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/wspolicy/
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/wspolicy/WSPolicyProvider.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/policy/wspolicy/WSPolicyProviderFactory.java
 Modified:
    tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE
    
 tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/META-INF/MANIFEST.MF
    tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/pom.xml
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2EngineIntegration.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceBindingProvider.java
    
 tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory
    tuscany/sca-java-2.x/trunk/modules/policy-wspolicy/pom.xml
    
 tuscany/sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/xml/WSPolicyProcessor.java
    tuscany/sca-java-2.x/trunk/modules/pom.xml
    tuscany/sca-java-2.x/trunk/testing/itest/ws/pom.xml

 Modified: 
 tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE?rev=1142920r1=1142919r2=1142920view=diff
 ==
 --- tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE 
 (original)
 +++ tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin/LICENSE 
 Tue Jul  5 08:26:12 2011
 @@ -231,7 +231,9 @@ The following components come under Apac
  aspectjrt-1.6.8.jar
  aspectjweaver-1.6.8.jar
  axiom-api-1.2.10.jar
 + axiom-dom-1.2.10.jar
  axiom-impl-1.2.10.jar
 + axis2-mtompolicy-1.5.4.jar
  bsf-utils-3.1.jar
  cglib-2.2.jar
  commons-beanutils-1.7.0.jar
 @@ -276,6 +278,7 @@ The following components come under Apac
  juli-6.0.26.jar
  kahadb-5.3.0.jar
  log4j-1.2.15.jar
 + mex-1.5.4-impl.jar
  myfaces-api-1.2.2.jar
  myfaces-impl-1.2.2.jar
  neethi-2.0.4.jar
 @@ -295,7 +298,12 @@ The following components come under Apac
  ode-scheduler-simple-1.3.2.jar
  ode-utils-1.3.2.jar
  openjpa-1.2.1.jar
 + opensaml-2.2.3.jar
 + openws-1.2.2.jar
  org.apache.axis2.osgi-1.5.3.jar
 + rampart-core-1.5.1.jar
 + rampart-policy-1.5.1.jar
 + rampart-trust-1.5.1.jar
  regexp-1.3.jar
  spring-aop-3.0.5.RELEASE.jar
  spring-asm-3.0.5.RELEASE.jar
 @@ -312,10 +320,13 @@ The following components come under Apac
  wink-common-1.1.3-incubating.jar
  wink-client-1.1.3-incubating.jar
  wink-server-1.1.3-incubating.jar
 + wss4j-1.5.10.jar
  xalan-2.7.0.jar
  xercesImpl-2.8.1.jar
  xmlbeans-2.3.0.jar
  XmlSchema-1.4.3.jar
 + xmlsec-1.4.4.jar
 + xmltooling-1.2.0.jar

  ===
  The serp-1.13.1.jar is distributed under the BSD license with the following 
 copyright:

 Modified: 
 tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java?rev=1142920r1=1142919r2=1142920view=diff
 ==
 --- 
 tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java
  (original)
 +++ 
 tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHelper.java
  Tue Jul  5 08:26:12 2011
 @@ -37,7 +37,7 @@ import org.apache.tuscany.sca.policy.Pol
  * @tuscany.spi.extension.asclient
  */
  public class PolicyHelper {
 -    public PolicySet getPolicySet(PolicySubject subject, QName 
 policySetName) {
 +    public static PolicySet getPolicySet(PolicySubject subject, 

Re: svn commit: r1159076 - /tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

2011-08-18 Thread ant elder
On Thu, Aug 18, 2011 at 11:46 AM, Simon Laws simonsl...@googlemail.com wrote:
 On Thu, Aug 18, 2011 at 10:30 AM, ant elder ant.el...@gmail.com wrote:
 On Thu, Aug 18, 2011 at 10:19 AM, Simon Laws simonsl...@googlemail.com 
 wrote:
 On Thu, Aug 18, 2011 at 9:12 AM,  antel...@apache.org wrote:
 Author: antelder
 Date: Thu Aug 18 08:12:00 2011
 New Revision: 1159076

 URL: http://svn.apache.org/viewvc?rev=1159076view=rev
 Log:
 Add exclude for 4020 test thats been failing for ages

 Modified:
    tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml

 Modified: 
 tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml?rev=1159076r1=1159075r2=1159076view=diff
 ==
 --- tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml 
 (original)
 +++ tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml Thu 
 Aug 18 08:12:00 2011
 @@ -86,6 +86,7 @@
               exclude**/POL_3002_TestCase.java/exclude
               exclude**/POL_4015_TestCase.java/exclude
               exclude**/POL_4016_TestCase.java/exclude
 +              exclude**/POL_4020_TestCase.java/exclude
            /excludes
          /configuration
       /plugin




 What was it failing with? I remember seeing failures a while back but
 not recently.


 Oh, its been failing for me for yonks, and i thought i remembered it
 being mention before so thought it was failing for everyone. I've
 never debugged it but the fail i get is:

 Implementation language set to: _Java
 18-Aug-2011 10:25:53 org.apache.tuscany.sca.node.impl.NodeImpl start
 INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0
 domain: default
 18-Aug-2011 10:25:53 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
 loadContributions
 INFO: Loading contribution:
 file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/POL_4020/target/PO
 L_4020.zip
 18-Aug-2011 10:25:55 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
 loadContributions
 INFO: Loading contribution:
 file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/Policy_General/tar
 get/Policy_General.zip
 18-Aug-2011 10:25:56 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
 loadContributions
 INFO: Loading contribution:
 file:/C:/Tuscany/SVN/trunk4/testing/compliance-tests/policy/target/oasis-contributions/General_Java/targe
 t/General_Java.zip
 18-Aug-2011 10:25:57
 org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
 [] (ComponentReferenceTargetNotFound)
 WARNING: Component reference target not found at deployment time, it
 might be a remote service elsewhere in the SCA Domain so well tr
 y and resolve it again at runtime: {1}
 18-Aug-2011 10:25:57
 org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
 [] (ComponentReferenceTargetNotFound)
 WARNING: Component reference target not found at deployment time, it
 might be a remote service elsewhere in the SCA Domain so well tr
 y and resolve it again at runtime: {1}
 2011-08-18 10:25:58.566::INFO:  Logging to STDERR via 
 org.mortbay.log.StdErrLog
 18-Aug-2011 10:25:58
 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
 addEndpoint
 INFO: Add endpoint - binding.sca -
 TestClient/TestClient_0002TestClient/TestInvocation
 18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyLogger info
 INFO: jetty-6.1.19
 18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyLogger info
 INFO: Started SelectChannelConnector@0.0.0.0:8080
 18-Aug-2011 10:25:59 org.apache.tuscany.sca.http.jetty.JettyServer
 addServletMapping
 INFO: Added Servlet mapping: 
 http://9.167.202.237:8080/TestClient/TestInvocation
 18-Aug-2011 10:25:59
 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
 addEndpoint
 INFO: Add endpoint - binding.ws -
 http://9.167.202.237:8080/TestClient/TestInvocation
 18-Aug-2011 10:25:59
 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
 addEndpoint
 INFO: Add endpoint - binding.sca -
 TEST_POL_4020Component1/TestComposite1Component1/Service1
 18-Aug-2011 10:25:59
 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl
 addEndpoint
 INFO: Add endpoint - binding.sca - TEST_POL_4020Component1/Service1
 18-Aug-2011 10:26:00
 org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl
 [] (EndpointReferenceCantBeMatched)
 SEVERE: = Unable to match the endpoint reference
 (@12359283)EndpointReference:  URI =
 TestClient#reference-binding(reference1/referen
 ce1) WIRED_TARGET_IN_BINDING_URI Target = (@20541175)Endpoint:  URI =
 TEST_POL_4020Component1 [Unresolved] with the policy of the ser
 vice to which it refers, matching process was Match policy of
 (@12359283)EndpointReference:  URI =
 TestClient#reference-binding(refer
 ence1/reference1) WIRED_TARGET_IN_BINDING_URI Target =
 (@20541175)Endpoint:  

[jira] [Closed] (TUSCANY-3906) Enhancement to ThreadMessageContext enabling external tooling to retrieve the previous message context in a given invocation chain.

2011-08-18 Thread ant elder (JIRA)

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

ant elder closed TUSCANY-3906.
--

Resolution: Fixed

Patch applied Eric.

 Enhancement to ThreadMessageContext enabling external tooling to retrieve the 
 previous message context in a given invocation chain.
 ---

 Key: TUSCANY-3906
 URL: https://issues.apache.org/jira/browse/TUSCANY-3906
 Project: Tuscany
  Issue Type: Improvement
  Components: SCA Java Runtime
Affects Versions: Java-SCA-2.0
Reporter: Eric Larsen
 Fix For: Java-SCA-1.3.1

 Attachments: core-spi-ThreadMessageContext.patch


 PREVIOUS_CONTEXT has been added to the ThreadMessageContext in core-spi.  At 
 any given time in a thread, PREVIOUS_CONTEXT represents it's immediate 
 previous (old) message context in the thread.  This is added strictly for the 
 use of monitoring or other tooling, enabling the retrieval of the correct 
 component name in case getService() returns a proxy.  PREVIOUS_CONTEXT 
 doesn't have any other meaning or use in the invocation chain other than this 
 external tooling support.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TUSCANY-3924) Inherited fields in service impl classes are treated as Properties

2011-08-18 Thread Vijai Kalathur (JIRA)
Inherited fields in service impl classes are treated as Properties
--

 Key: TUSCANY-3924
 URL: https://issues.apache.org/jira/browse/TUSCANY-3924
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Assembly Model
Affects Versions: Java-SCA-2.x
Reporter: Vijai Kalathur
 Fix For: Java-SCA-2.x


In the scenario where the Service impl class extends a class which has no SCA 
annotations in it, protected fields in the base class are interpreted like 
Properties.
Ideally, only the fields in the impl class should be introspected for 
References/Properties.  The fields in the base class should not be interpreted 
as References/Properties if there are no SCA annotations. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




Providing a User Guide for Composite Diagram Generator Tool

2011-08-18 Thread Nirmal Fernando
Hi All,

I would like to provide a small user guide to help users get started with
Composite Diagram Generator Tool.

Any thoughts on how should I proceed with it?

Thanks.

-- 
Best Regards,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Science  Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.

Blog: http://nirmalfdo.blogspot.com/


Re: Providing a User Guide for Composite Diagram Generator Tool

2011-08-18 Thread Raymond Feng
Tuscany wiki can be a good place.

Raymond Feng
Sent from my iPhone

On Aug 18, 2011, at 3:54 PM, Nirmal Fernando nirmal070...@gmail.com wrote:

 Hi All,
 
 I would like to provide a small user guide to help users get started with 
 Composite Diagram Generator Tool.
 
 Any thoughts on how should I proceed with it?
 
 Thanks.
 
 -- 
 Best Regards,
 Nirmal
 
 C.S.Nirmal J. Fernando
 Department of Computer Science  Engineering,
 Faculty of Engineering,
 University of Moratuwa,
 Sri Lanka.
 
 Blog: http://nirmalfdo.blogspot.com/
 


Re: Providing a User Guide for Composite Diagram Generator Tool

2011-08-18 Thread Nirmal Fernando
On Fri, Aug 19, 2011 at 7:56 AM, Raymond Feng enjoyj...@gmail.com wrote:

 Tuscany wiki can be a good place.


 Will it be ok, to add it under getting started section? (
https://cwiki.apache.org/confluence/display/TUSCANYxDOCx2x/Getting+Started)



 Raymond Feng
 Sent from my iPhone

 On Aug 18, 2011, at 3:54 PM, Nirmal Fernando nirmal070...@gmail.com
 wrote:

 Hi All,

 I would like to provide a small user guide to help users get started with
 Composite Diagram Generator Tool.

 Any thoughts on how should I proceed with it?

 Thanks.

 --
 Best Regards,
 Nirmal

 C.S.Nirmal J. Fernando
 Department of Computer Science  Engineering,
 Faculty of Engineering,
 University of Moratuwa,
 Sri Lanka.

 Blog:  http://nirmalfdo.blogspot.com/http://nirmalfdo.blogspot.com/




-- 
Best Regards,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Science  Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.

Blog: http://nirmalfdo.blogspot.com/