atom feed1 message in org.apache.tuscany.commitssvn commit: r942115 - in /tuscany/sca...
FromSent OnAttachments
kelv...@apache.orgMay 7, 2010 8:14 am 
Subject:svn commit: r942115 - in /tuscany/sca-java-2.x/trunk: compliance-tests/assembly/src/test/resources/ compliance-tests/java-caa/src/test/resources/ compliance-tests/java-ci/src/test/resources/ compliance-tests/policy/src/test/resources/ modules/assembly/...
From:kelv...@apache.org (kelv@apache.org)
Date:May 7, 2010 8:14:23 am
List:org.apache.tuscany.commits

Author: kelvingoodson Date: Fri May 7 15:14:22 2010 New Revision: 942115

URL: http://svn.apache.org/viewvc?rev=942115&view=rev Log: add conformance statements to error message after running otests

Modified: tuscany/sca-java-2.x/trunk/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties tuscany/sca-java-2.x/trunk/compliance-tests/java-caa/src/test/resources/tuscany-oasis-sca-tests-errors.properties tuscany/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties tuscany/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties tuscany/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.java tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceIntrospectorImpl.java tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/resources/interface-javaxml-validation-messages.properties

Modified:
tuscany/sca-java-2.x/trunk/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties
(original) +++
tuscany/sca-java-2.x/trunk/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Fri May 7 15:14:22 2010 @@ -57,8 +57,8 @@ ASM_6025=org.oasisopen.sca.ServiceRuntim ASM_6028=org.apache.tuscany.sca.contribution.processor.ContributionReadException:
[ASM40010,ASM60040] Error: property has both @type and @element attribute values
- InvalidProperty ASM_6029=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
[ASM60041] Error: Composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_ASM_6029 can only
include another composite with the identical @local attribute value ASM_6030=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
[ASM60042] Error: Composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}Invalid_composite_name is
not a valid composite within the domain -ASM_6031=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1,
Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TestComposite39] -
[POL40009,ASM60009,ASM60010] Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200912}suspendsTransaction and
{http://docs.oasis-open.org/ns/opencsa/sca/200912}propagatesTransaction are
mutually exclusive -ASM_6032=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1,
Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TestComposite40] -
[POL40009,ASM60009,ASM60010] Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200912}suspendsTransaction and
{http://docs.oasis-open.org/ns/opencsa/sca/200912}propagatesTransaction are
mutually exclusive +ASM_6031=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1,
Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TestComposite39] -
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200912}suspendsTransaction and
{http://docs.oasis-open.org/ns/opencsa/sca/200912}propagatesTransaction are
mutually exclusive +ASM_6032=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1,
Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TestComposite40] -
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200912}suspendsTransaction and
{http://docs.oasis-open.org/ns/opencsa/sca/200912}propagatesTransaction are
mutually exclusive ASM_6033=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1,
Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TestComposite41] -
[ASM60011] Composite reference multiplicity incompatible with component
reference multiplicity: Composite = TestComposite41.composite Composite
reference = Reference1 Component reference = Reference1 ASM_6036=Test service got an exception during execution:
org.oasisopen.sca.ServiceRuntimeException Unable to bind [] - No endpoints found
in the domain that match the reference (@***)EndpointReference: URI =
TestClient#reference(reference1) WIRED_TARGET_NOT_FOUND Target = (@***)Endpoint:
URI = TEST_ASM_6036Component1#service(ServiceZ) [Unresolved] ASM_6039=Test service got an exception during execution:
org.oasisopen.sca.ServiceRuntimeException Unable to bind [] - No endpoints found
in the domain that match the reference (@***)EndpointReference: URI =
TestClient#reference(reference1) WIRED_TARGET_NOT_FOUND Target = (@***)Endpoint:
URI = TEST_ASM_6039Component1#service-binding(Service1/harry) [Unresolved]

Modified:
tuscany/sca-java-2.x/trunk/compliance-tests/java-caa/src/test/resources/tuscany-oasis-sca-tests-errors.properties URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/compliance-tests/java-caa/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/compliance-tests/java-caa/src/test/resources/tuscany-oasis-sca-tests-errors.properties
(original) +++
tuscany/sca-java-2.x/trunk/compliance-tests/java-caa/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Fri May 7 15:14:22 2010 @@ -14,17 +14,17 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -JCA_2001=org.apache.tuscany.sca.interfacedef.OverloadedOperationException:
Cannot overload operation operation1 on org.oasisopen.sca.test.Service1Overload
as it is a @Remotable interface +JCA_2001=org.apache.tuscany.sca.interfacedef.OverloadedOperationException:
[JCA20001] Cannot overload operation operation1 on
org.oasisopen.sca.test.Service1Overload as it is a @Remotable interface JCA_3001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3001,
Composite: {http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_3001]
- Class Not Found Exception: Service1 JCA_3002=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3002,
Composite: {http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_3002]
- Class Not Found Exception: Service1 JCA_3003=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3003,
Composite: {http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_3003]
- Class Not Found Exception: Service3Callback JCA_3004=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3004,
Composite: {http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_3004]
- Class Not Found Exception: Service3Callback -JCA_3006=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_JCA_3006Component2] - [ASM50004] Component service interface incompatible
with implementation service interface: Component = TEST_JCA_3006Component2
Service = Service3WithCallback Callback operation not found on target -JCA_3007=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_JCA_3007Component1] - Component reference interface incompatible with
implementation reference interface: Component = TEST_JCA_3007Component1
Reference = reference1 Callback operation not found on target +JCA_3006=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_JCA_3006Component2] - [ASM50004,JCA30002] Component service interface
incompatible with implementation service interface: Component =
TEST_JCA_3006Component2 Service = Service3WithCallback Callback operation not
found on target +JCA_3007=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_JCA_3007Component1] - [JCA30001,JCA30002,JCA30003,JCA90046] Component
reference interface incompatible with implementation reference interface:
Component = TEST_JCA_3007Component1 Reference = reference1 JCA_3008=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3008,
Artifact: Test_JCA_3008.composite] - XMLSchema validation error occured in:
Test_JCA_3008.composite ,line = ***, column = ***, Message =
cvc-complex-type.3.2.2: Attribute 'oops' is not allowed to appear in element
'interface.java'. -JCA_3009=org.apache.tuscany.sca.interfacedef.InvalidAnnotationException:
@Remotable annotation present in a interface marked as not remotable in the SCDL -JCA_3011=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3011,
Composite: {http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_3011]
- JCA30006 Forbidden annotation interface org.oasisopen.sca.annotation.Property
found in class org.oasisopen.sca.test.JCA3011Service -JCA_3012=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3012,
Composite: {http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_3012]
- JCA30007 Forbidden annotation interface org.oasisopen.sca.annotation.Property
found in class org.oasisopen.sca.test.JCA3012Service3Callback +JCA_3009=org.apache.tuscany.sca.interfacedef.InvalidAnnotationException:
[JCA30005] @Remotable annotation present in a interface marked as not remotable
in the SCDL +JCA_3011=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3011,
Composite: {http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_3011]
- [JCA30006] Forbidden annotation interface
org.oasisopen.sca.annotation.Property found on service interface in class
org.oasisopen.sca.test.JCA3011Service +JCA_3012=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_3012,
Composite: {http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_3012]
- [JCA30007] Forbidden annotation interface
org.oasisopen.sca.annotation.Property found on callback interface in class
org.oasisopen.sca.test.JCA3012Service3Callback JCA_10001=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalPropertyException:
Argument 1 of method operation1 in class class
org.oasisopen.sca.test.service1BadAnnotation can not be a Property JCA_10002=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_10002,
Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_10002] - JCA9002
SCA annotations are not permitted on static members:
org.oasisopen.sca.test.service1Sta JCA_10003=org.oasisopen.sca.ServiceRuntimeException: [Contribution: JCA_10003,
Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_10003] - JCA9002
SCA annotations are not permitted on static members:
org.oasisopen.sca.test.service1Sta @@ -46,12 +46,12 @@ JCA_10051=org.apache.tuscany.sca.contrib JCA_10052=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.implementation.java.IntrospectionException: JCA90060 The
value of each element in the @Service names array MUST be unique amongst all the
other element values in the array JCA_11005=*
org.apache.tuscany.sca.contribution.processor.ContributionReadException:
java.io.FileNotFoundException:
C:TuscanySVN2.x-trunkotestnewlayouttuscany-java-caa-test-runner..sca-java-caaJCA_11005targetJCA_11005.zip
(The system cannot find the path specified) # Intent and PolicySet related tests -JCA_8001=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_JCA_8001Component1, Service: Service1] - [POL40009,ASM60009,ASM60010]
Intent {http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent2 and
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent1 are mutually
exclusive -JCA_8002=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8002: Resolving
Java implementation: org.oasisopen.sca.test.service1BadIntent, Method that is
not an SCA reference cannot have policySet/intent annotations: public
java.lang.String
org.oasisopen.sca.test.service1BadIntent.operation1(java.lang.String) -JCA_8003=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8003: Resolving
Java implementation: org.oasisopen.sca.test.service1BadIntent, Field that is not
an SCA reference cannot have policySet/intent annotations: public
java.lang.String org.oasisopen.sca.test.service1BadIntent.someField -JCA_8004=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8004: Resolving
Java implementation: org.oasisopen.sca.test.service1BadIntent, Constructor
parameter that is not an SCA reference cannot have policySet/intent annotations:
public org.oasisopen.sca.test.service1BadIntent(java.lang.String)[0] -JCA_8006=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_JCA_8006Component1, Service: Service1] - [POL40009,ASM60009,ASM60010]
Intent {http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent2 and
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent1 are mutually
exclusive -JCA_8008=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8008: Resolving
Java implementation: org.oasisopen.sca.test.service1BadPolicySet, Method that is
not an SCA reference cannot have policySet/intent annotations: public
java.lang.String
org.oasisopen.sca.test.service1BadPolicySet.operation1(java.lang.String) -JCA_8009=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8009: Resolving
Java implementation: org.oasisopen.sca.test.service1BadPolicySet, Field that is
not an SCA reference cannot have policySet/intent annotations: public
java.lang.String org.oasisopen.sca.test.service1BadPolicySet.someField -JCA_8010=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8010: Resolving
Java implementation: org.oasisopen.sca.test.service1BadPolicySet, Constructor
parameter that is not an SCA reference cannot have policySet/intent annotations:
public org.oasisopen.sca.test.service1BadPolicySet(java.lang.String)[0] +JCA_8001=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_JCA_8001Component1, Service: Service1] -
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent2 and
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent1 are mutually
exclusive +JCA_8002=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8002: Resolving
Java implementation: org.oasisopen.sca.test.service1BadIntent,
[JCA70002,JCA70005] Method that is not an SCA reference cannot have
policySet/intent annotations: public java.lang.String
org.oasisopen.sca.test.service1BadIntent.operation1(java.lang.String) +JCA_8003=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8003: Resolving
Java implementation: org.oasisopen.sca.test.service1BadIntent,
[JCA70002,JCA70005] Field that is not an SCA reference cannot have
policySet/intent annotations: public java.lang.String
org.oasisopen.sca.test.service1BadIntent.someField +JCA_8004=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8004: Resolving
Java implementation: org.oasisopen.sca.test.service1BadIntent,
[JCA70002,JCA70005] Constructor parameter that is not an SCA reference cannot
have policySet/intent annotations: public
org.oasisopen.sca.test.service1BadIntent(java.lang.String)[0] +JCA_8006=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_JCA_8006Component1, Service: Service1] -
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent2 and
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent1 are mutually
exclusive +JCA_8008=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8008: Resolving
Java implementation: org.oasisopen.sca.test.service1BadPolicySet,
[JCA70002,JCA70005] Method that is not an SCA reference cannot have
policySet/intent annotations: public java.lang.String
org.oasisopen.sca.test.service1BadPolicySet.operation1(java.lang.String) +JCA_8009=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8009: Resolving
Java implementation: org.oasisopen.sca.test.service1BadPolicySet,
[JCA70002,JCA70005] Field that is not an SCA reference cannot have
policySet/intent annotations: public java.lang.String
org.oasisopen.sca.test.service1BadPolicySet.someField +JCA_8010=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Processing composite
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TEST_JCA_8010: Resolving
Java implementation: org.oasisopen.sca.test.service1BadPolicySet,
[JCA70002,JCA70005] Constructor parameter that is not an SCA reference cannot
have policySet/intent annotations: public
org.oasisopen.sca.test.service1BadPolicySet(java.lang.String)[0]

Modified:
tuscany/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties
(original) +++
tuscany/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Fri May 7 15:14:22 2010 @@ -20,9 +20,9 @@ POJO_5005=org.apache.tuscany.sca.contrib POJO_5006=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicateConstructorException:
Multiple constructors marked with @Constructor POJO_5007=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidConstructorException:
Multiple annotated constructors POJO_8002=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_POJO_8002Component1] - [ASM50004] Component service interface incompatible
with implementation service interface: Component = TEST_POJO_8002Component1
Service = Service1Superset Operation operationb not found on target -POJO_8003=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_POJO_8003Component1, Service: Service1] - [POL40009,ASM60009,ASM60010]
Intent {http://docs.oasis-open.org/ns/opencsa/sca/200912}suspendsTransaction and
{http://docs.oasis-open.org/ns/opencsa/sca/200912}propagatesTransaction are
mutually exclusive +POJO_8003=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_POJO_8003Component1, Service: Service1] -
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200912}suspendsTransaction and
{http://docs.oasis-open.org/ns/opencsa/sca/200912}propagatesTransaction are
mutually exclusive POJO_8008=* unknown -POJO_8012=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_POJO_8012Component1, Service: Service1] - [POL40009,ASM60009,ASM60010]
Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200912}managedTransaction.global and
{http://docs.oasis-open.org/ns/opencsa/sca/200912}noManagedTransaction are
mutually exclusive +POJO_8012=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_POJO_8012Component1, Service: Service1] -
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200912}managedTransaction.global and
{http://docs.oasis-open.org/ns/opencsa/sca/200912}noManagedTransaction are
mutually exclusive POJO_8013=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicatePropertyException:
duplicateProperty POJO_8014=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicateReferenceException:
duplicateReference POJO_9001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POJO_9001,
Artifact: Test_POJO_9001.composite] - XMLSchema validation error occured in:
Test_POJO_9001.composite ,line = ***, column = ***, Message =
cvc-complex-type.3.2.2: Attribute 'interface' is not allowed to appear in
element 'implementation.java'.

Modified:
tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
(original) +++
tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Fri May 7 15:14:22 2010 @@ -30,7 +30,7 @@ POL_3016=org.apache.tuscany.sca.contribu POL_3017=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
http://tuscany.apache.org/SystemContribution] - [POL30020] The policy set
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}BadIntentMapPolicySet
intent map testIntent6 has missing qualifiers: testIntent6.qual2 The intent map
qualifiers must match the provided intent qualifiers. POL_3018=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_3018,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_3018.zip!/META-INF/definitions.xml] - [POL30021] Intent Map
provides for Intent not specified as provided by parent PolicySet -
BadIntentMapPolicySet POL_3020=TUSCANY-3371 -POL_4012=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestClient,
Service: TestInvocation] - [POL40009,ASM60009,ASM60010] Intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent3 and
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent4 are mutually
exclusive +POL_4012=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestClient,
Service: TestInvocation] - [POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent3 and
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent4 are mutually
exclusive POL_4027=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_4027,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_4027.zip!/META-INF/definitions.xml] - [POL40020] Duplicate
binding type {http://docs.oasis-open.org/ns/opencsa/sca/200912}dupBinding.type
found in domain POL_4028=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}] - [POL40002] The policy
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}PolicySetExtAttachProp
has been attached to a property or one of its children. This is not allowed. POL_5001=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
http://tuscany.apache.org/SystemContribution] - [POL50001] An extension to
support the implementation type
{http://docs.oasis-open.org/ns/opencsa/sca/200912}unknown.type cant be found in
the domain

Modified:
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
(original) +++
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
Fri May 7 15:14:22 2010 @@ -33,7 +33,7 @@ public class OverloadedOperationExceptio

public OverloadedOperationException(Method operation) { super(operation == null ? - null : "Cannot overload operation " + operation.getName() + null : "[JCA20001] Cannot overload operation " +
operation.getName() + " on " + operation.getDeclaringClass().getName() + " as it is a @Remotable interface"); this.operation = operation;

Modified:
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties
(original) +++
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties
Fri May 7 15:14:22 2010 @@ -37,8 +37,8 @@ ReferenceIncompatibleMultiplicity = [ASM ReferenceIncompatibleInterface = Incompatible interfaces on component reference
and target: Composite = {0} Reference = {1} Service = {2} ReferencePromotionIncompatibleInterface = Promoted reference interface
incompatible with promoting reference: Promoting interface = {0} Promoted = {1} ReferencePromotionInterfacesNotEqual = Peer promoted references not equal:
First interface = {0} second interface = {1} -ReferenceIncompatibleComponentInterface = Component reference interface
incompatible with implementation reference interface: Component = {0} Reference
= {1} {2} -ServiceIncompatibleComponentInterface = [ASM50004] Component service interface
incompatible with implementation service interface: Component = {0} Service =
{1} {2} +ReferenceIncompatibleComponentInterface = [JCA30001,JCA30002,JCA30003,JCA90046]
Component reference interface incompatible with implementation reference
interface: Component = {0} Reference = {1} {2} +ServiceIncompatibleComponentInterface = [ASM50004,JCA30002] Component service
interface incompatible with implementation service interface: Component = {0}
Service = {1} {2} MultipleBindingsForService = Multiple bindings with the same name for a
service: Service = {0} Binding name = {1} MultipleBindingsForReference = Multiple bindings with the same name for a
reference: Reference = {0} Binding name = {1} ReferenceWithoutTargets = [ASM60033] No targets for reference: Composite = {0}
Reference = {1}

Modified:
tuscany/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties
(original) +++
tuscany/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties
Fri May 7 15:14:22 2010 @@ -29,6 +29,6 @@ MultiplePolicyLanguagesInImpl = The poli JaxWSClientAsyncMethodsNotAllowed = [CA100006] JAX-WS client-side asynchronous
pooling and callback methods are not allowed in service interfaces PolicySetNotFoundAtBuild = PolicySet {0} is not defined in SCA definitions IntentNotSatisfiedAtBuild = The intent {0} associated with policy subject {1}
has no matching policy set -MutuallyExclusiveIntentsAtBuild = [POL40009,ASM60009,ASM60010] Intent {0} and
{1} are mutually exclusive +MutuallyExclusiveIntentsAtBuild =
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent {0} and {1} are mutually
exclusive IntentNotFoundAtBuild = Intent {0} is not defined in SCA definitions

Modified:
tuscany/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.java URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.java?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.java
(original) +++
tuscany/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.java
Fri May 7 15:14:22 2010 @@ -265,7 +265,7 @@ public class PolicyProcessor extends Bas return; } throw new ServiceRuntimeException( - "Field that is not an SCA
reference cannot have policySet/intent annotations: " + field); + "[JCA70002,JCA70005] Field that
is not an SCA reference cannot have policySet/intent annotations: " + field); } }

@@ -278,7 +278,7 @@ public class PolicyProcessor extends Bas return; } throw new ServiceRuntimeException( - "Constructor parameter that is
not an SCA reference cannot have policySet/intent annotations: " + parameter); + "[JCA70002,JCA70005] Constructor
parameter that is not an SCA reference cannot have policySet/intent annotations:
" + parameter); } }

@@ -296,7 +296,7 @@ public class PolicyProcessor extends Bas return; } throw new ServiceRuntimeException( - "Method that is not an SCA
reference cannot have policySet/intent annotations: " + method); + "[JCA70002,JCA70005] Method that
is not an SCA reference cannot have policySet/intent annotations: " + method); } }

Modified:
tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceIntrospectorImpl.java URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceIntrospectorImpl.java?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceIntrospectorImpl.java
(original) +++
tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceIntrospectorImpl.java
Fri May 7 15:14:22 2010 @@ -103,7 +103,7 @@ public class JavaInterfaceIntrospectorIm

if (remotable) { if (javaInterface.isRemotableSet() && javaInterface.isRemotable()
== false) { - throw new InvalidAnnotationException("@Remotable annotation
present in a interface marked as not remotable in the SCDL", Remotable.class); + throw new InvalidAnnotationException("[JCA30005] @Remotable
annotation present in a interface marked as not remotable in the SCDL",
Remotable.class); } } else { if (javaInterface.isRemotableSet()) {

Modified:
tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/resources/interface-javaxml-validation-messages.properties URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/resources/interface-javaxml-validation-messages.properties?rev=942115&r1=942114&r2=942115&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/resources/interface-javaxml-validation-messages.properties
(original) +++
tuscany/sca-java-2.x/trunk/modules/interface-java/src/main/resources/interface-javaxml-validation-messages.properties
Fri May 7 15:14:22 2010 @@ -21,7 +21,7 @@ ClassNotFoundException = Class Not Found Exception: {0} ContributionResolveException = ContributionResolveException occurred due to:
{0} InvalidInterfaceException = InvalidInterfaceException due to: {0} -ForbiddenAnnotationJCA30006 = JCA30006 Forbidden annotation {0} found in class
{1} -ForbiddenAnnotationJCA30007 = JCA30007 Forbidden annotation {0} found in class
{1} -ForbiddenAnnotationJCA30008 = JCA30008 Forbidden annotation {0} found in class
{1} +ForbiddenAnnotationJCA30006 = [JCA30006] Forbidden annotation {0} found on
service interface in class {1} +ForbiddenAnnotationJCA30007 = [JCA30007] Forbidden annotation {0} found on
callback interface in class {1} +ForbiddenAnnotationJCA30008 = [JCA30008] Forbidden annotation {0} found in
class {1}