summaryrefslogtreecommitdiffstats
path: root/otest/newlayout/tuscany-jms-test-runner/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'otest/newlayout/tuscany-jms-test-runner/src/test')
-rw-r--r--otest/newlayout/tuscany-jms-test-runner/src/test/resources/jndi.properties84
-rw-r--r--otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties18
2 files changed, 98 insertions, 4 deletions
diff --git a/otest/newlayout/tuscany-jms-test-runner/src/test/resources/jndi.properties b/otest/newlayout/tuscany-jms-test-runner/src/test/resources/jndi.properties
new file mode 100644
index 0000000000..5ce6f4477e
--- /dev/null
+++ b/otest/newlayout/tuscany-jms-test-runner/src/test/resources/jndi.properties
@@ -0,0 +1,84 @@
+#
+# Copyright(C) OASIS(R) 2010. All Rights Reserved.
+# OASIS trademark, IPR and other policies apply.
+#
+
+# OASIS SCA JMS Binding JNDI properties
+
+# The JNDI naming provider URL and initial factory. Select values for your JMS provider.
+java.naming.provider.url = vm://localhost?broker.persistent=false&broker.useJmx=false
+java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
+
+# Additional JNDI configuration, specific to the ActiveMQ JMS provider
+
+# Use the following property to specify the JNDI name the connection factory
+# should appear as.
+connectionFactoryNames = ConnectionFactory,TEST_BJM_3017_CF,TEST_BJM_3018_CF
+
+# Queue names used by JMS test cases
+# Expressed in the form:
+# queue.[jndiName] = [physicalName]
+queue.TEST_BJM_3003_Queue = TEST_BJM_3003_Queue
+queue.TEST_BJM_3004_Queue = TEST_BJM_3004_Queue
+queue.TEST_BJM_3005_Queue = TEST_BJM_3005_Queue
+queue.TEST_BJM_3011_Queue =
+queue.TEST_BJM_3012_Queue = TEST_BJM_3012_Queue
+queue.TEST_BJM_3019_Queue = TEST_BJM_3019_Queue
+queue.TEST_BJM_3020_Queue = TEST_BJM_3020_Queue
+queue.TEST_BJM_3021_Queue = TEST_BJM_3021_Queue
+queue.TEST_BJM_3022_Queue = TEST_BJM_3022_Queue
+queue.TEST_BJM_3023_Queue = TEST_BJM_3023_Queue
+queue.TEST_BJM_3024_Queue = TEST_BJM_3024_Queue
+queue.TEST_BJM_3025_Queue = TEST_BJM_3025_Queue
+queue.TEST_BJM_3026_Queue = TEST_BJM_3026_Queue
+queue.TEST_BJM_3029_Queue = TEST_BJM_3029_Queue
+queue.TEST_BJM_3034_Queue = TEST_BJM_3034_Queue
+queue.TEST_BJM_4002_Queue = TEST_BJM_4002_Queue
+queue.TEST_BJM_4003_Queue = TEST_BJM_4003_Queue
+queue.TEST_BJM_4004_Queue = TEST_BJM_4004_Queue
+queue.TEST_BJM_4005_Queue = TEST_BJM_4005_Queue
+queue.TEST_BJM_4006_Service_Queue = TEST_BJM_4006_Service_Queue
+queue.TEST_BJM_4006_Reference_Queue = TEST_BJM_4006_Reference_Queue
+queue.TEST_BJM_4008_Queue = TEST_BJM_4008_Queue
+queue.TEST_BJM_4009_Queue = TEST_BJM_4009_Queue
+queue.TEST_BJM_4010_Queue = TEST_BJM_4010_Queue
+queue.TEST_BJM_4011_Queue = TEST_BJM_4011_Queue
+queue.TEST_BJM_5001_Queue = TEST_BJM_5001_Queue
+queue.TEST_BJM_5002_Queue = TEST_BJM_5002_Queue
+queue.TEST_BJM_6001_Service_Queue = TEST_BJM_6001_Service_Queue
+queue.TEST_BJM_6001_Reference_Queue = TEST_BJM_6001_Reference_Queue
+queue.TEST_BJM_6002_Service_Queue = TEST_BJM_6002_Service_Queue
+queue.TEST_BJM_6002_Reference_Queue = TEST_BJM_6002_Reference_Queue
+queue.TEST_BJM_6003_Send_Queue = TEST_BJM_6003_Send_Queue
+queue.TEST_BJM_6003_Receive_Queue = TEST_BJM_6003_Receive_Queue
+queue.TEST_BJM_6004_Send_Queue = TEST_BJM_6004_Send_Queue
+queue.TEST_BJM_6004_Receive_Queue = TEST_BJM_6004_Receive_Queue
+queue.TEST_BJM_6005_Send_Queue = TEST_BJM_6005_Send_Queue
+queue.TEST_BJM_6006_Send_Queue = TEST_BJM_6006_Send_Queue
+queue.TEST_BJM_6007_Queue = TEST_BJM_6007_Queue
+queue.TEST_BJM_6007_Receive_Queue = TEST_BJM_6007_Receive_Queue
+queue.TEST_BJM_6008_Queue = TEST_BJM_6008_Queue
+queue.TEST_BJM_6008_Receive_Queue = TEST_BJM_6008_Receive_Queue
+queue.TEST_BJM_6009_Queue = TEST_BJM_6009_Queue
+queue.TEST_BJM_6010_Queue = TEST_BJM_6010_Queue
+queue.TEST_BJM_6011_Service_Queue = TEST_BJM_6011_Service_Queue
+queue.TEST_BJM_6011_Reference_Queue = TEST_BJM_6011_Reference_Queue
+queue.TEST_BJM_6011_Callback_Queue = TEST_BJM_6011_Callback_Queue
+queue.TEST_BJM_6012_Service_Queue = TEST_BJM_6012_Service_Queue
+queue.TEST_BJM_6012_Reference_Queue = TEST_BJM_6012_Reference_Queue
+queue.TEST_BJM_6012_Callback_Queue = TEST_BJM_6012_Callback_Queue
+queue.TEST_BJM_6013_Service_Queue = TEST_BJM_6013_Service_Queue
+queue.TEST_BJM_6013_Reference_Queue = TEST_BJM_6013_Reference_Queue
+queue.TEST_BJM_6013_Callback_Queue = TEST_BJM_6013_Callback_Queue
+queue.TEST_BJM_6014_Service_Queue = TEST_BJM_6014_Service_Queue
+queue.TEST_BJM_6014_Reference_Queue = TEST_BJM_6014_Reference_Queue
+queue.TEST_BJM_6014_Callback_Queue = TEST_BJM_6014_Callback_Queue
+
+queue.Service1 = Service1_Queue
+
+# Topic names used by JMS test cases
+# Expressed in the form:
+# topic.[jndiName] = [physicalName]
+topic.TEST_BJM_3014_Queue = TEST_BJM_3014_Queue
+topic.TEST_BJM_3010_Topic = TEST_BJM_3010_Topic
+topic.TEST_BJM_3015_Topic = TEST_BJM_3015_Topic
diff --git a/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties b/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
index 680b5ebd42..37ddeadf4c 100644
--- a/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
+++ b/otest/newlayout/tuscany-jms-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
@@ -8,20 +8,30 @@ BJM_3001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3001, Art
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] - 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_3012b=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3012b, Artifact: Test_BJM_3012b.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_3014a=org.apache.tuscany.sca.binding.jms.JMSBindingException: JNDI resource 'TEST_BJM_3014_Queue' is not a JMS ConnectionFactory
+BJM_3015Aa=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3015Aa, Artifact: Test_BJM_3015Aa.composite] - Must specify jndiName attribute when create mode is "never"
+BJM_3015Ca=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3015Ca, Artifact: Test_BJM_3015Ca.composite] - Must specify jndiName attribute when create mode is "never"
+BJM_3015Cb=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3015Ca, Artifact: Test_BJM_3015Ca.composite] - Must specify jndiName attribute when create mode is "never"
+BJM_3015Cc=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BJM_3015Ca, Artifact: Test_BJM_3015Ca.composite] - Must specify jndiName attribute when create mode is "never"
+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_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_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.
+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}' is expected.
BJM_3020=*testClient.TestException_Exception: unknown
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_3022=*testClient.TestException_Exception: unknown
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_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_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=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.
+