Author: antelder
Date: Tue Jun 12 13:35:45 2012
New Revision: 1349338

URL: http://svn.apache.org/viewvc?rev=1349338&view=rev
Log:
Make some error msgs generic as they swap around with different jdks

Modified:
    
tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties
    
tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties

Modified: 
tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=1349338&r1=1349337&r2=1349338&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties
 (original)
+++ 
tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties
 Tue Jun 12 13:35:45 2012
@@ -40,7 +40,7 @@ ASM_5037=org.oasisopen.sca.ServiceRuntim
 ASM_5038=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: 
TEST_ASM_5038Component1] - [ASM50027] The property serviceData1 on component 
TEST_ASM_5038Component1 has a value which does not match the simple type 
{http://www.w3.org/2001/XMLSchema}float with which it is associated
 ASM_5039=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: 
TEST_ASM_5039Component1] - [ASM50038] The property complexType on component 
TEST_ASM_5039Component1 has a value which does not match the complex type 
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}ComplexType1 with which 
it is associated. Validation reported cvc-complex-type.2.4.d: Invalid content 
was found starting with element 'test:thirdData'. No child element is expected 
at this point.
 ASM_5040=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: 
TEST_ASM_5040Component1, Composite: 
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TestComposite74] - 
[ASM50042] Composite reference promotes component reference with 1..1 
multiplicity and nonOverridable flag set true: Composite = 
TestComposite74.composite Composite reference = Reference1 Component reference 
= Reference1
-ASM_6001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_6001, 
Artifact: TestDuplicate1.composite] - [ASM_6001] More than one composite with 
the same name 
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}DuplicateComposite found 
in contribution
+ASM_6001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_6001, 
Artifact: TestDuplicate***.composite] - [ASM_6001] More than one composite with 
the same name 
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}DuplicateComposite found 
in contribution
 ASM_6002=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1] 
- [ASM40003,ASM60003,JCA90045] Duplicate implementation service name: Component 
= TestComponent1 Service = Service1
 ASM_6003=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}TestComposite17] - 
[ASM60004,ASM60032] Promoted component service not found: Composite = 
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}TestComposite17 Service 
= SpuriousComponent/SpuriousService
 ASM_6005=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1] 
- [ASM40004,ASM50007,ASM60006] Duplicate implementation reference name: 
Component = TestComponent1 Reference = Reference1
@@ -58,7 +58,7 @@ ASM_6028=org.apache.tuscany.sca.contribu
 
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,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_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}*** and 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}*** 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]
@@ -80,8 +80,8 @@ ASM_9002=org.oasisopen.sca.ServiceRuntim
 ASM_9005=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: 
TEST_ASM_9005Component1] - [ASM90005] The SCA binding Service1 on component 
TEST_ASM_9005Component1 service Service1 should not have a URI and the URI is 
currently set to http://example/bar
 ASM_10001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_10001, 
Artifact: META-INF/definitions.xml, Definitions: 
jar:file:***ASM_10001***.zip!/META-INF/definitions.xml] - [ASM10001,POL30002] 
Duplicate intent {http://docs.oasis-open.org/ns/opencsa/scatests/200903}Fred 
found in domain
 ASM_10003=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_10003, 
Artifact: META-INF/definitions.xml, Definitions: 
jar:file:***ASM_10003***.zip!/META-INF/definitions.xml] - XMLSchema validation 
error occured in: ***/definitions.xml ,line = ***, column = ***, Message = 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'component'. One of 
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":intent, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":policySet, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":bindingType, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":implementationType, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":externalAttachment, 
WC[##other:"http://docs.oasis-open.org/ns/opencsa/sca/200912"]}' is expected.
-ASM_12003=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
 Invalid interface when resolving
-ASM_12007=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1] 
- [ASM50004,JCA30002,JCI80001] Component service interface incompatible with 
implementation service interface: Component = TestComponent1 Service = Service1 
Operation operation1 not found on target
+ASM_12003=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
 Invalid interface when resolving
+ASM_12007=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1] 
- [ASM50004,JCA30002,JCI80001] Component service interface incompatible with 
implementation service interface: Component = TestComponent1 Service = Service1 
Operation operation1 not found on target
 ASM_12008=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: 
TEST_ASM_12008TestComponent1] - [ASM50004,JCA30002,JCI80001] Component service 
interface incompatible with implementation service interface: Component = 
TEST_ASM_12008TestComponent1 Service = Service1 Operation operation1 not found 
on target
 ASM_12011=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1] 
- [ASM60030,JCI50004,JCI80001] Component implementation not resolved: Component 
= TestComponent1 Uri = TestComponent1
 ASM_12012=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_12012, 
Artifact: META-INF/sca-contribution.xml] - XMLSchema validation error occured 
in: jar:file:***ASM_12012***.zip!/META-INF/sca-contribution.xml ,line = ***, 
column = ***, Message = cvc-complex-type.2.4.a: Invalid content was found 
starting with element 'component'. One of 
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":deployable, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":importBase, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":exportBase, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is expected.
@@ -92,4 +92,4 @@ ASM_13004=org.oasisopen.sca.ServiceRunti
 ASM_13005=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_13005, 
Artifact: Test_ASM_13005.composite] - XMLSchema validation error occured in: 
Test_ASM_13005.composite ,line = ***, column = ***, Message = cvc-elt.2: The 
value of {abstract} in the element declaration for 'implementation' must be 
false.
 ASM_13006=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_13006, 
Artifact: Test_ASM_13006.composite] - XMLSchema validation error occured in: 
Test_ASM_13006.composite ,line = ***, column = ***, Message = 
cvc-complex-type.3.2.2: Attribute 'callback' is not allowed to appear in 
element 'interface.java'.
 ASM_13007=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_13007, 
Artifact: Test_ASM_13007.composite] - XMLSchema validation error occured in: 
Test_ASM_13007.composite ,line = ***, column = ***, Message = 
cvc-enumeration-valid: Value '2..2' is not facet-valid with respect to 
enumeration '[0..1, 1..1, 0..n, 1..n]'. It must be a value from the enumeration.
-ASM_13008=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_13008, 
Artifact: Test_ASM_13008.composite] - XMLSchema validation error occured in: 
Test_ASM_13008.composite ,line = ***, column = ***, Message = 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'operation'. One of 
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":wireFormat, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":operationSelector, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":requires, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment}' is 
expected.
+ASM_13008=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_13008, 
Artifact: Test_ASM_13008.composite] - XMLSchema validation error occured in: 
Test_ASM_13008.composite ,line = ***, column = ***, Message = 
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'operation'. One of 
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":wireFormat, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":operationSelector, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":requires, 
"http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment}' is 
expected.

Modified: 
tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=1349338&r1=1349337&r2=1349338&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
 (original)
+++ 
tuscany/sca-java-2.x/trunk/testing/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
 Tue Jun 12 13:35:45 2012
@@ -51,7 +51,7 @@ POL_9018=org.oasisopen.sca.ServiceRuntim
 POL_9019=org.oasisopen.sca.ServiceRuntimeException: [***] - The Component 
reference reference1 can not require transactedOneWay because the 
implementation for Component TEST_POL_9019Component1 requires 
managedTransaction.local
 POL_9020=org.oasisopen.sca.ServiceRuntimeException: [] - The component 
reference reference1 can not require transactedOneWay because the operation 
operation1 is a two way operation
 POL_9021=org.oasisopen.sca.ServiceRuntimeException: [] - The component 
reference reference1 can not require immediateOneWay because the operation 
operation1 is a two way operation
-POL_9022=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: 
TEST_POL_9022Component1, Reference: Reference1] - 
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}asyncInvocation and 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}propagatesTransaction are 
mutually exclusive
+POL_9022=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: 
TEST_POL_9022Component1, Reference: Reference1] - 
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}*** and 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}*** are mutually exclusive
 POL_9023=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: 
TEST_POL_9023Component2, Service: Service1] - 
[POL40009,ASM60009,ASM60010,JCA70001,JCA70003] Intent 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}*** and 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}*** are mutually exclusive
 POL_10001=org.oasisopen.sca.ServiceRuntimeException: [Composite: 
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestClient, 
Service: TestInvocation] - The noListener intent may only be specified on a 
reference.
 POL_11001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_11001, 
Artifact: Test_POL_11001.composite] - XMLSchema validation error occured in: 
Test_POL_11001.composite ,line = 21, column = 4, Message = 
cvc-complex-type.3.2.2: Attribute 'badAttribute' is not allowed to appear in 
element 'policySetAttachment'.


Reply via email to