Author: antelder
Date: Wed Sep 7 14:36:30 2011
New Revision: 1166200
URL: http://svn.apache.org/viewvc?rev=1166200&view=rev
Log:
Update to latest OASIS error messages
Modified:
tuscany/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Modified:
tuscany/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/src/test/resources/tuscany-oasis-sca-tests-errors.properties
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=1166200&r1=1166199&r2=1166200&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/src/test/resources/tuscany-oasis-sca-tests-errors.properties
(original)
+++
tuscany/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Wed Sep 7 14:36:30 2011
@@ -4,45 +4,46 @@
# Detailed Tuscany error messages for SCA JMS Binding testcases, where the
testcase causes an
# exception either in initialization or at runtime
#
-BJM_3001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3001,
Artifact: Test_BJM_3001.composite] - URI must start with the scheme jms:jndi:
or jms:queue: or jms:topic: for uri: http://test.sca.oasisopen.org/
-BJM_3002=Test service got an exception during execution:
org.apache.tuscany.sca.binding.jms.JMSBindingException JMS Destination
BJM_3002_Queue not found with create mode of "ifNotExist" while registering
binding Reference1 invoker
+BJM_3001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3001,
Artifact: Test_BJM_3001.composite] - URI must start with the scheme 'jms:jndi:'
or 'jms:queue:' or 'jms:topic:' for uri: http://test.sca.oasisopen.org/
+BJM_3002_1=Test service got an exception during execution:
org.apache.tuscany.sca.binding.jms.JMSBindingException JMS Destination
DOES_NOT_EXIST_Queue not found with create mode of "ifNotExist" while
registering binding Reference1 invoker
+BJM_3002_2=Test service got an exception during execution:
org.apache.tuscany.sca.binding.jms.JMSBindingException
org.apache.tuscany.sca.binding.jms.JMSBindingException:
org.apache.tuscany.sca.binding.jms.JMSBindingException: connection factory not
found: DOES_NOT_EXIST
BJM_3011=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination TEST_BJM_3011_Queue already exists but has create mode of "always"
while registering service Service1 listener
BJM_3011A=org.apache.tuscany.sca.binding.jms.JMSBindingException: Incorrect
resource type for ActivationSpec: org.apache.activemq.command.ActiveMQQueue
BJM_3011C=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3011C,
Artifact: Test_BJM_3011C.composite] - When connection factory "AlreadyExists"
element is present then a destination name must also be defined
BJM_3011D=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination AlreadyExists already exists but has create mode of "always" while
registering service Service1 listener
-BJM_3012A=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3012A,
Artifact: Test_BJM_3012A.composite] - Must specify jndiName attribute when
create mode is "ifNotExist"
+BJM_3012A=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3012A,
Artifact: Test_BJM_3012A.composite] - Must specify jndiName attribute when
create mode is ''ifNotExist''
BJM_3012C=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3012C,
Artifact: Test_BJM_3012C.composite] - Missing ConnectionFactory Name
-BJM_3012D=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3012D,
Artifact: Test_BJM_3012D.composite] - Must specify jndiName attribute when
create mode is "ifNotExist"
-BJM_3013=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination TEST_BJM_3013_Queue not found with create mode of "ifNotExist"
while registering service Service1 listener
+BJM_3012D=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3012D,
Artifact: Test_BJM_3012D.composite] - Must specify jndiName attribute when
create mode is ''ifNotExist''
BJM_3013A=org.apache.tuscany.sca.binding.jms.JMSBindingException: Can not
create ActivationSpec
-BJM_3013C= org.apache.tuscany.sca.binding.jms.JMSBindingException: connection
factory not found: TEST_BJM_3013_CF
+BJM_3013C=org.apache.tuscany.sca.binding.jms.JMSBindingException: connection
factory not found: TEST_BJM_3013_CF
+BJM_3013D=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination TEST_BJM_3013_Queue not found with create mode of "ifNotExist"
while registering service Service1 listener
BJM_3014=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination TEST_BJM_3014_Queue expecting type of queue but found topic while
registering service Service1 listener
BJM_3014A=org.apache.tuscany.sca.binding.jms.JMSBindingException: Incorrect
resource type for ActivationSpec: org.apache.activemq.command.ActiveMQTopic
-BJM_3014C=org.apache.tuscany.sca.binding.jms.JMSBindingException: JNDI
resource 'TEST_BJM_3014_Queue' is not a JMS ConnectionFactory
+BJM_3014C=org.apache.tuscany.sca.binding.jms.JMSBindingException: JNDI
resource 'TEST_BJM_3014_Topic' is not a JMS ConnectionFactory
BJM_3014D=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination TEST_BJM_3014_Topic expecting type of queue but found topic while
registering service Service1 listener
-BJM_3015Aa=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
BJM_3015Aa, Artifact: Test_BJM_3015Aa.composite] - Must specify jndiName
attribute when create mode is "never"
+BJM_3015Aa=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
BJM_3015Aa, Artifact: Test_BJM_3015Aa.composite] - Must specify jndiName
attribute when create mode is ''never''
BJM_3015Ab=org.apache.tuscany.sca.binding.jms.JMSBindingException:
ActivationSpec specifies create mode of "never" but resource does not exist at
jndiName DoesntExist
BJM_3015Ac=org.apache.tuscany.sca.binding.jms.JMSBindingException: Incorrect
resource type for ActivationSpec: org.apache.activemq.command.ActiveMQQueue
BJM_3015Ca=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
BJM_3015Ca, Artifact: Test_BJM_3015Ca.composite] - Missing ConnectionFactory
Name
BJM_3015Cb=org.apache.tuscany.sca.binding.jms.JMSBindingException: connection
factory not found: DoesntExist
BJM_3015Cc=org.apache.tuscany.sca.binding.jms.JMSBindingException: JNDI
resource 'TEST_BJM_3015_Queue' is not a JMS ConnectionFactory
-BJM_3015Da=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
BJM_3015Da, Artifact: Test_BJM_3015Da.composite] - Must specify jndiName
attribute when create mode is "never"
-BJM_3015Db=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination BJM_3015_DoesntExist not found but create mode of "never" while
registering service Service1 listener
+BJM_3015Da=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
BJM_3015Da, Artifact: Test_BJM_3015Da.composite] - Must specify jndiName
attribute when create mode is ''never''
+BJM_3015Db=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination DoesntExist not found but create mode of "never" while registering
service Service1 listener
BJM_3015Dc=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination TEST_BJM_3015_Topic expecting type of queue but found topic while
registering service Service1 listener
-BJM_3017=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3017,
Artifact: Test_BJM_3017.composite] - XMLSchema validation error occured in:
Test_BJM_3017.composite ,line = 36, column = 17, Message =
cvc-complex-type.2.4.a: Invalid content was found starting with element
'activationSpec'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":response,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":headers,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":messageSelection,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":resourceAdapter,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":operationProperties,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is expected.
+BJM_3017=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3017,
Artifact: Test_BJM_3017.composite] - XMLSchema validation error occured in:
Test_BJM_3017.composite ,line = ***, column = ***, Message =
cvc-complex-type.2.4.a: Invalid content was found starting with element
'activationSpec'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":response,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":headers,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":messageSelection,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":resourceAdapter,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":operationProperties,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is expected.
BJM_3018=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3018,
Artifact: Test_BJM_3018.composite] - When connection factory "TEST_BJM_3018_CF"
element is present then a destination name must also be defined
BJM_3019=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3019,
Artifact: Test_BJM_3019.composite] - Activation spec name TEST_BJM_3019_AS must
match destination name TEST_BJM_3019_Queue_XXX
-BJM_3020=Test service got an exception during execution:
org.apache.tuscany.sca.binding.jms.JMSBindingException Activation spec can not
be specified on an SCA reference binding.
-BJM_3021=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3021,
Artifact: Test_BJM_3021.composite] - XMLSchema validation error occured in:
Test_BJM_3021.composite ,line = 44, column = 21, Message =
cvc-complex-type.2.4.d: Invalid content was found starting with element
'activationSpec'. No child element is expected at this point.
+BJM_3020=Test service got an exception during execution:
org.apache.tuscany.sca.binding.jms.JMSBindingException Activation spec can not
be specified on an SCA reference binding
+BJM_3021=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3021,
Artifact: Test_BJM_3021.composite] - XMLSchema validation error occured in:
Test_BJM_3021.composite ,line = ***, column = ***, Message =
cvc-complex-type.2.4.d: Invalid content was found starting with element
'activationSpec'. No child element is expected at this point.
BJM_3022=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3022,
Artifact: Test_BJM_3022.composite] - Activation spec name
TEST_BJM_3022_Response_AS must match destination name
TEST_BJM_3022_Response_Queue
BJM_3023=org.apache.tuscany.sca.runtime.ActivationException:
org.apache.tuscany.sca.runtime.ActivationException:
org.apache.tuscany.sca.binding.jms.JMSBindingException: [BJM30023]
response/activationSpec element MUST NOT be present when the binding is being
used for an SCA service
-BJM_3029=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3029,
Artifact: Test_BJM_3029.composite] - XMLSchema validation error occured in:
Test_BJM_3029.composite ,line = 37, column = 17, Message =
cvc-complex-type.3.2.2: Attribute 'selectedOperation' is not allowed to appear
in element 'operationProperties'.
+BJM_3029=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3029,
Artifact: Test_BJM_3029.composite] - the selectedOperation attribute MUST be
unique across the containing binding.jms element
BJM_3034=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3034,
Artifact: Test_BJM_3034.composite] - Destination TEST_BJM_3034_Queue can not be
specified when URI jms:jndi:TEST_BJM_3034_Queue is present
-BJM_3036=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3036,
Artifact: Test_BJM_3036.composite] - XMLSchema validation error occured in:
Test_BJM_3036.composite ,line = 26, column = 13, Message =
cvc-complex-type.3.2.2: Attribute 'invalidAttribute' is not allowed to appear
in element 'binding.jms'
+BJM_3036=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3036,
Artifact: Test_BJM_3036.composite] - XMLSchema validation error occured in:
Test_BJM_3036.composite ,line = ***, column = ***, Message =
cvc-complex-type.3.2.2: Attribute 'invalidAttribute' is not allowed to appear
in element 'binding.jms'
BJM_3037A=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3037A,
Artifact: Test_BJM_3037A.composite] - A JNDI name must be specified when an
ActivationSpec has a create mode of "always"
BJM_3037C=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3037C,
Artifact: Test_BJM_3037C.composite] - Missing ConnectionFactory Name
BJM_3037D=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS
Destination Service1 already exists but has create mode of "always" while
registering service Service1 listener
-BJM_4004=org.xml.sax.SAXParseException: Content is not allowed in prolog
-BJM_4011=Cannot determine service operation
-BJM_6016=message property scaCallbackDestination does not start with
'jms:jndi:' found: DOESNT_EXIST
+BJM_4004=Message = org.xml.sax.SAXParseException: Content is not allowed in
prolog
+BJM_4011=Message = Cannot determine service operation
+BJM_6016=Message = No destination specified for reference Service4