You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by bd...@apache.org on 2010/08/26 23:26:01 UTC

svn commit: r989933 - /tuscany/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties

Author: bdaniel
Date: Thu Aug 26 21:26:00 2010
New Revision: 989933

URL: http://svn.apache.org/viewvc?rev=989933&view=rev
Log:
Add several expected error messages for JMS tests

Modified:
    tuscany/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties

Modified: tuscany/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
URL: http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=989933&r1=989932&r2=989933&view=diff
==============================================================================
--- tuscany/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties (original)
+++ tuscany/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties Thu Aug 26 21:26:00 2010
@@ -7,10 +7,11 @@
 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_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_3012=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3012, Artifact: Test_BJM_3012.composite] - XMLSchema validation error occured in: Test_BJM_3012.composite ,line = 24, column = 17, Message = cvc-complex-type.4: Attribute 'jndiName' must appear on element 'destination'.
+BJM_3012=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3012, Artifact: Test_BJM_3012.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_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_3015=org.apache.tuscany.sca.binding.jms.JMSBindingException: JMS Destination Service1 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_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_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] - XMLSchema validation error occured in: Test_BJM_3019.composite ,line = 38, column = 17, Message = cvc-complex-type.2.4.a: Invalid content was found starting with element 'destination'. 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.
@@ -20,5 +21,7 @@ BJM_3022=*testClient.TestException_Excep
 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_3034=*com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused: connect
+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_3037=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3037, Artifact: Test_BJM_3037.composite] - XMLSchema validation error occured in: Test_BJM_3037.composite ,line = 26, column = 17, Message = cvc-complex-type.4: Attribute 'jndiName' must appear on element 'destination'.
+BJM_4004=Exception parsing message text: org.xml.sax.SAXParseException: Content is not allowed in prolog.
 BJM_4011=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_4011, Artifact: Test_BJM_4011.composite] - XMLSchema validation error occured in: Test_BJM_4011.composite ,line = 25, column = 17, Message = cvc-type.2: The type definition cannot be abstract for element operationSelector.jmsDefault.