From 98fbe06b9b7085f33b18f70e263f769adf5f4f02 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 8 Nov 2011 15:40:03 +0000 Subject: Simplify the OSGi/JMS test case git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1199292 13f79535-47bb-0310-9956-ffa450edef68 --- .../jms-osgi/jms-osgi-client/META-INF/MANIFEST.MF | 22 ++ sandbox/slaws/jms-osgi/jms-osgi-client/pom.xml | 106 +++++++++ .../jms-osgi/jms-osgi-client/running-inst.txt | 235 +++++++++++++++++++ .../slaws/jms-osgi/jms-osgi-client/running-pre.txt | 234 +++++++++++++++++++ .../jms-osgi/jms-osgi-client/running-start.txt | 241 ++++++++++++++++++++ sandbox/slaws/jms-osgi/jms-osgi-client/running.txt | 239 +++++++++++++++++++ .../slaws/jms-osgi/jms-osgi-client/running1.txt | 253 +++++++++++++++++++++ .../src/main/java/client/HelloworldActivator.java | 87 +++++++ sandbox/slaws/jms-osgi/jms-osgi-client/stopped.txt | 236 +++++++++++++++++++ .../slaws/jms-osgi/jms-osgi-client/stopped1.txt | 242 ++++++++++++++++++++ .../slaws/jms-osgi/jms-osgi/META-INF/MANIFEST.MF | 8 +- .../jms-osgi/OSGI-INF/sca/bundle.componentType | 28 +++ .../jms-osgi/OSGI-INF/sca/bundle.composite | 34 +++ sandbox/slaws/jms-osgi/jms-osgi/pom.xml | 2 +- .../main/java/calculator/CalculatorActivator.java | 4 +- .../jms-osgi/src/main/java/sample/Helloworld.java | 28 +++ .../src/main/java/sample/HelloworldActivator.java | 50 ++++ .../src/main/java/sample/HelloworldImpl.java | 29 +++ .../src/main/resources/Calculator.composite | 59 ----- .../test/java/calculator/CalculatorTestCase.java | 5 +- .../src/test/java/sample/HelloworldTestCase.java | 34 +++ 21 files changed, 2109 insertions(+), 67 deletions(-) create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/META-INF/MANIFEST.MF create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/pom.xml create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/running-inst.txt create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/running-pre.txt create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/running-start.txt create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/running.txt create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/running1.txt create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/src/main/java/client/HelloworldActivator.java create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/stopped.txt create mode 100644 sandbox/slaws/jms-osgi/jms-osgi-client/stopped1.txt create mode 100644 sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.componentType create mode 100644 sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.composite create mode 100644 sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/Helloworld.java create mode 100644 sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/HelloworldActivator.java create mode 100644 sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/HelloworldImpl.java delete mode 100644 sandbox/slaws/jms-osgi/jms-osgi/src/main/resources/Calculator.composite create mode 100644 sandbox/slaws/jms-osgi/jms-osgi/src/test/java/sample/HelloworldTestCase.java diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/META-INF/MANIFEST.MF b/sandbox/slaws/jms-osgi/jms-osgi-client/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..05d20aacd8 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/META-INF/MANIFEST.MF @@ -0,0 +1,22 @@ +Manifest-Version: 1.0 +Bundle-Version: 1.0.0 +Bundle-Name: JMS OSGi Client +Bundle-Activator: client.HelloworldActivator +Bundle-ManifestVersion: 2 +Import-Package: org.oasisopen.sca.annotation;version="2.0.0", + org.oasisopen.sca;version="2.0.0", + org.apache.activemq.jndi;resolution:=optional, + org.apache.tuscany.sca;version="2.0.0", + org.apache.tuscany.sca.core;version="2.0.0", + org.osgi.framework, + org.osgi.service.component;resolution:=optional, + org.osgi.service.packageadmin, + org.osgi.util.tracker, + javax.naming, + javax.jms +Bundle-SymbolicName: jms.osgi.client +Bundle-Vendor: The Apache Software Foundation +Eclipse-LazyStart: true +Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt +Bundle-DocURL: http://www.apache.org/ +Bundle-RequiredExecutionEnvironment: J2SE-1.5,JavaSE-1.6 diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/pom.xml b/sandbox/slaws/jms-osgi/jms-osgi-client/pom.xml new file mode 100644 index 0000000000..130595ef18 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/pom.xml @@ -0,0 +1,106 @@ + + + + 4.0.0 + + + org.apache.tuscany.sca.samples + tuscany-samples + 2.0-SNAPSHOT + + sample-jms-osgi-client + 2.0-SNAPSHOT + + Apache Tuscany SCA Sample JMDS OSGi Client + + + ${project.version} + + + + + apache.snapshots + Apache Snapshot Repository + http://repository.apache.org/snapshots + false + + + apache.snapshots + Apache Snapshot Repository + http://repository.apache.org/snapshots + false + + + + + + org.apache.tuscany.sca + tuscany-base-runtime-pom + pom + 2.0-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-osgi-runtime-pom + pom + 2.0-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-binding-jms-runtime + 2.0-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-implementation-osgi-runtime + 2.0-SNAPSHOT + + + + junit + junit + 4.8.1 + test + + + + + + ${artifactId} + + + + maven-jar-plugin + + + ${basedir}/META-INF/MANIFEST.MF + + + + + + + diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/running-inst.txt b/sandbox/slaws/jms-osgi/jms-osgi-client/running-inst.txt new file mode 100644 index 0000000000..488bc90ede --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/running-inst.txt @@ -0,0 +1,235 @@ + +Active Connections + + Proto Local Address Foreign Address State + TCP 0.0.0.0:135 R9E67YR:0 LISTENING + TCP 0.0.0.0:445 R9E67YR:0 LISTENING + TCP 0.0.0.0:554 R9E67YR:0 LISTENING + TCP 0.0.0.0:623 R9E67YR:0 LISTENING + TCP 0.0.0.0:2816 R9E67YR:0 LISTENING + TCP 0.0.0.0:2817 R9E67YR:0 LISTENING + TCP 0.0.0.0:2818 R9E67YR:0 LISTENING + TCP 0.0.0.0:2819 R9E67YR:0 LISTENING + TCP 0.0.0.0:2869 R9E67YR:0 LISTENING + TCP 0.0.0.0:5157 R9E67YR:0 LISTENING + TCP 0.0.0.0:5357 R9E67YR:0 LISTENING + TCP 0.0.0.0:7274 R9E67YR:0 LISTENING + TCP 0.0.0.0:7275 R9E67YR:0 LISTENING + TCP 0.0.0.0:7277 R9E67YR:0 LISTENING + TCP 0.0.0.0:7777 R9E67YR:0 LISTENING + TCP 0.0.0.0:7778 R9E67YR:0 LISTENING + TCP 0.0.0.0:8879 R9E67YR:0 LISTENING + TCP 0.0.0.0:8886 R9E67YR:0 LISTENING + TCP 0.0.0.0:8887 R9E67YR:0 LISTENING + TCP 0.0.0.0:8888 R9E67YR:0 LISTENING + TCP 0.0.0.0:8889 R9E67YR:0 LISTENING + TCP 0.0.0.0:9043 R9E67YR:0 LISTENING + TCP 0.0.0.0:9060 R9E67YR:0 LISTENING + TCP 0.0.0.0:9085 R9E67YR:0 LISTENING + TCP 0.0.0.0:9086 R9E67YR:0 LISTENING + TCP 0.0.0.0:9100 R9E67YR:0 LISTENING + TCP 0.0.0.0:9106 R9E67YR:0 LISTENING + TCP 0.0.0.0:9107 R9E67YR:0 LISTENING + TCP 0.0.0.0:9352 R9E67YR:0 LISTENING + TCP 0.0.0.0:9360 R9E67YR:0 LISTENING + TCP 0.0.0.0:9361 R9E67YR:0 LISTENING + TCP 0.0.0.0:9362 R9E67YR:0 LISTENING + TCP 0.0.0.0:9363 R9E67YR:0 LISTENING + TCP 0.0.0.0:9448 R9E67YR:0 LISTENING + TCP 0.0.0.0:9449 R9E67YR:0 LISTENING + TCP 0.0.0.0:9809 R9E67YR:0 LISTENING + TCP 0.0.0.0:9904 R9E67YR:0 LISTENING + TCP 0.0.0.0:10243 R9E67YR:0 LISTENING + TCP 0.0.0.0:16992 R9E67YR:0 LISTENING + TCP 0.0.0.0:49152 R9E67YR:0 LISTENING + TCP 0.0.0.0:49153 R9E67YR:0 LISTENING + TCP 0.0.0.0:49154 R9E67YR:0 LISTENING + TCP 0.0.0.0:49155 R9E67YR:0 LISTENING + TCP 0.0.0.0:49185 R9E67YR:0 LISTENING + TCP 0.0.0.0:59264 R9E67YR:0 LISTENING + TCP 9.20.239.247:139 R9E67YR:0 LISTENING + TCP 9.20.239.247:2869 dhcp-9-20-239-174:50983 ESTABLISHED + TCP 9.20.239.247:61070 d03im308:1533 ESTABLISHED + TCP 9.20.239.247:62432 fra07s07-in-f83:https TIME_WAIT + TCP 9.20.239.247:62455 fra07s07-in-f18:https ESTABLISHED + TCP 9.20.239.247:62471 fra07s07-in-f83:https ESTABLISHED + TCP 127.0.0.1:2559 R9E67YR:0 LISTENING + TCP 127.0.0.1:2817 example:59331 ESTABLISHED + TCP 127.0.0.1:2818 example:59328 ESTABLISHED + TCP 127.0.0.1:8879 example:62468 TIME_WAIT + TCP 127.0.0.1:8879 example:62469 TIME_WAIT + TCP 127.0.0.1:8879 example:62472 TIME_WAIT + TCP 127.0.0.1:8879 example:62473 TIME_WAIT + TCP 127.0.0.1:9106 example:59265 ESTABLISHED + TCP 127.0.0.1:9106 example:59332 ESTABLISHED + TCP 127.0.0.1:9107 example:59330 ESTABLISHED + TCP 127.0.0.1:9352 example:59101 ESTABLISHED + TCP 127.0.0.1:9352 example:59177 ESTABLISHED + TCP 127.0.0.1:9352 example:59273 ESTABLISHED + TCP 127.0.0.1:9352 example:59298 ESTABLISHED + TCP 127.0.0.1:9360 example:59175 ESTABLISHED + TCP 127.0.0.1:9360 example:59271 ESTABLISHED + TCP 127.0.0.1:9360 example:59297 ESTABLISHED + TCP 127.0.0.1:9361 example:59295 ESTABLISHED + TCP 127.0.0.1:9363 example:59272 ESTABLISHED + TCP 127.0.0.1:9363 example:59296 ESTABLISHED + TCP 127.0.0.1:9627 R9E67YR:0 LISTENING + TCP 127.0.0.1:9627 example:59104 ESTABLISHED + TCP 127.0.0.1:9627 example:61025 ESTABLISHED + TCP 127.0.0.1:9630 R9E67YR:0 LISTENING + TCP 127.0.0.1:9630 example:59181 ESTABLISHED + TCP 127.0.0.1:9630 example:61024 ESTABLISHED + TCP 127.0.0.1:9632 R9E67YR:0 LISTENING + TCP 127.0.0.1:9632 example:59106 ESTABLISHED + TCP 127.0.0.1:9632 example:59184 ESTABLISHED + TCP 127.0.0.1:9632 example:59799 ESTABLISHED + TCP 127.0.0.1:9632 example:60160 ESTABLISHED + TCP 127.0.0.1:9638 R9E67YR:0 LISTENING + TCP 127.0.0.1:9638 example:61020 ESTABLISHED + TCP 127.0.0.1:9639 R9E67YR:0 LISTENING + TCP 127.0.0.1:9639 example:61021 ESTABLISHED + TCP 127.0.0.1:9904 example:59290 ESTABLISHED + TCP 127.0.0.1:9904 example:59329 ESTABLISHED + TCP 127.0.0.1:49317 example:49318 ESTABLISHED + TCP 127.0.0.1:49318 example:49317 ESTABLISHED + TCP 127.0.0.1:49319 example:49320 ESTABLISHED + TCP 127.0.0.1:49320 example:49319 ESTABLISHED + TCP 127.0.0.1:51023 R9E67YR:0 LISTENING + TCP 127.0.0.1:51024 example:51025 ESTABLISHED + TCP 127.0.0.1:51025 example:51024 ESTABLISHED + TCP 127.0.0.1:52075 R9E67YR:0 LISTENING + TCP 127.0.0.1:53176 example:53177 ESTABLISHED + TCP 127.0.0.1:53177 example:53176 ESTABLISHED + TCP 127.0.0.1:53179 R9E67YR:0 LISTENING + TCP 127.0.0.1:59068 example:59069 ESTABLISHED + TCP 127.0.0.1:59069 example:59068 ESTABLISHED + TCP 127.0.0.1:59070 example:59071 ESTABLISHED + TCP 127.0.0.1:59071 example:59070 ESTABLISHED + TCP 127.0.0.1:59094 example:59095 ESTABLISHED + TCP 127.0.0.1:59095 example:59094 ESTABLISHED + TCP 127.0.0.1:59096 example:59097 ESTABLISHED + TCP 127.0.0.1:59097 example:59096 ESTABLISHED + TCP 127.0.0.1:59101 example:9352 ESTABLISHED + TCP 127.0.0.1:59104 example:9627 ESTABLISHED + TCP 127.0.0.1:59106 example:9632 ESTABLISHED + TCP 127.0.0.1:59171 example:59172 ESTABLISHED + TCP 127.0.0.1:59172 example:59171 ESTABLISHED + TCP 127.0.0.1:59173 example:59174 ESTABLISHED + TCP 127.0.0.1:59174 example:59173 ESTABLISHED + TCP 127.0.0.1:59175 example:9360 ESTABLISHED + TCP 127.0.0.1:59177 example:9352 ESTABLISHED + TCP 127.0.0.1:59181 example:9630 ESTABLISHED + TCP 127.0.0.1:59184 example:9632 ESTABLISHED + TCP 127.0.0.1:59264 example:59333 ESTABLISHED + TCP 127.0.0.1:59265 example:9106 ESTABLISHED + TCP 127.0.0.1:59266 example:59267 ESTABLISHED + TCP 127.0.0.1:59267 example:59266 ESTABLISHED + TCP 127.0.0.1:59268 example:59269 ESTABLISHED + TCP 127.0.0.1:59269 example:59268 ESTABLISHED + TCP 127.0.0.1:59271 example:9360 ESTABLISHED + TCP 127.0.0.1:59272 example:9363 ESTABLISHED + TCP 127.0.0.1:59273 example:9352 ESTABLISHED + TCP 127.0.0.1:59290 example:9904 ESTABLISHED + TCP 127.0.0.1:59291 example:59292 ESTABLISHED + TCP 127.0.0.1:59292 example:59291 ESTABLISHED + TCP 127.0.0.1:59293 example:59294 ESTABLISHED + TCP 127.0.0.1:59294 example:59293 ESTABLISHED + TCP 127.0.0.1:59295 example:9361 ESTABLISHED + TCP 127.0.0.1:59296 example:9363 ESTABLISHED + TCP 127.0.0.1:59297 example:9360 ESTABLISHED + TCP 127.0.0.1:59298 example:9352 ESTABLISHED + TCP 127.0.0.1:59328 example:2818 ESTABLISHED + TCP 127.0.0.1:59329 example:9904 ESTABLISHED + TCP 127.0.0.1:59330 example:9107 ESTABLISHED + TCP 127.0.0.1:59331 example:2817 ESTABLISHED + TCP 127.0.0.1:59332 example:9106 ESTABLISHED + TCP 127.0.0.1:59333 example:59264 ESTABLISHED + TCP 127.0.0.1:59449 R9E67YR:0 LISTENING + TCP 127.0.0.1:59799 example:9632 ESTABLISHED + TCP 127.0.0.1:60160 example:9632 ESTABLISHED + TCP 127.0.0.1:61020 example:9638 ESTABLISHED + TCP 127.0.0.1:61021 example:9639 ESTABLISHED + TCP 127.0.0.1:61024 example:9630 ESTABLISHED + TCP 127.0.0.1:61025 example:9627 ESTABLISHED + TCP 127.0.0.1:61049 R9E67YR:0 LISTENING + TCP [::]:135 R9E67YR:0 LISTENING + TCP [::]:445 R9E67YR:0 LISTENING + TCP [::]:554 R9E67YR:0 LISTENING + TCP [::]:623 R9E67YR:0 LISTENING + TCP [::]:2816 R9E67YR:0 LISTENING + TCP [::]:2817 R9E67YR:0 LISTENING + TCP [::]:2818 R9E67YR:0 LISTENING + TCP [::]:2819 R9E67YR:0 LISTENING + TCP [::]:2869 R9E67YR:0 LISTENING + TCP [::]:5357 R9E67YR:0 LISTENING + TCP [::]:7274 R9E67YR:0 LISTENING + TCP [::]:7275 R9E67YR:0 LISTENING + TCP [::]:7277 R9E67YR:0 LISTENING + TCP [::]:8879 R9E67YR:0 LISTENING + TCP [::]:8886 R9E67YR:0 LISTENING + TCP [::]:8887 R9E67YR:0 LISTENING + TCP [::]:8888 R9E67YR:0 LISTENING + TCP [::]:8889 R9E67YR:0 LISTENING + TCP [::]:9043 R9E67YR:0 LISTENING + TCP [::]:9060 R9E67YR:0 LISTENING + TCP [::]:9085 R9E67YR:0 LISTENING + TCP [::]:9086 R9E67YR:0 LISTENING + TCP [::]:9100 R9E67YR:0 LISTENING + TCP [::]:9106 R9E67YR:0 LISTENING + TCP [::]:9107 R9E67YR:0 LISTENING + TCP [::]:9352 R9E67YR:0 LISTENING + TCP [::]:9360 R9E67YR:0 LISTENING + TCP [::]:9361 R9E67YR:0 LISTENING + TCP [::]:9362 R9E67YR:0 LISTENING + TCP [::]:9363 R9E67YR:0 LISTENING + TCP [::]:9448 R9E67YR:0 LISTENING + TCP [::]:9449 R9E67YR:0 LISTENING + TCP [::]:9809 R9E67YR:0 LISTENING + TCP [::]:9904 R9E67YR:0 LISTENING + TCP [::]:10243 R9E67YR:0 LISTENING + TCP [::]:16992 R9E67YR:0 LISTENING + TCP [::]:49152 R9E67YR:0 LISTENING + TCP [::]:49153 R9E67YR:0 LISTENING + TCP [::]:49154 R9E67YR:0 LISTENING + TCP [::]:49155 R9E67YR:0 LISTENING + TCP [::]:49185 R9E67YR:0 LISTENING + TCP [::]:59264 R9E67YR:0 LISTENING + TCP [::1]:61037 R9E67YR:61039 ESTABLISHED + TCP [::1]:61039 R9E67YR:61037 ESTABLISHED + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:5004 *:* + UDP 0.0.0.0:5005 *:* + UDP 0.0.0.0:5006 *:* + UDP 0.0.0.0:5007 *:* + UDP 0.0.0.0:50004 *:* + UDP 0.0.0.0:50005 *:* + UDP 0.0.0.0:52311 *:* + UDP 0.0.0.0:65260 *:* + UDP 9.20.239.247:137 *:* + UDP 9.20.239.247:138 *:* + UDP 9.20.239.247:1900 *:* + UDP 9.20.239.247:63340 *:* + UDP 127.0.0.1:1900 *:* + UDP 127.0.0.1:48000 *:* + UDP 127.0.0.1:51613 *:* + UDP 127.0.0.1:57484 *:* + UDP 127.0.0.1:60769 *:* + UDP 127.0.0.1:63341 *:* + UDP [::]:500 *:* + UDP [::]:3702 *:* + UDP [::]:3702 *:* + UDP [::]:4500 *:* + UDP [::]:5004 *:* + UDP [::]:5005 *:* + UDP [::]:5006 *:* + UDP [::]:5007 *:* + UDP [::]:50004 *:* + UDP [::]:50005 *:* + UDP [::]:52311 *:* + UDP [::]:65261 *:* + UDP [::1]:1900 *:* + UDP [::1]:63339 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:546 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:1900 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:63338 *:* diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/running-pre.txt b/sandbox/slaws/jms-osgi/jms-osgi-client/running-pre.txt new file mode 100644 index 0000000000..216566ae0f --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/running-pre.txt @@ -0,0 +1,234 @@ + +Active Connections + + Proto Local Address Foreign Address State + TCP 0.0.0.0:135 R9E67YR:0 LISTENING + TCP 0.0.0.0:445 R9E67YR:0 LISTENING + TCP 0.0.0.0:554 R9E67YR:0 LISTENING + TCP 0.0.0.0:623 R9E67YR:0 LISTENING + TCP 0.0.0.0:2816 R9E67YR:0 LISTENING + TCP 0.0.0.0:2817 R9E67YR:0 LISTENING + TCP 0.0.0.0:2818 R9E67YR:0 LISTENING + TCP 0.0.0.0:2819 R9E67YR:0 LISTENING + TCP 0.0.0.0:2869 R9E67YR:0 LISTENING + TCP 0.0.0.0:5157 R9E67YR:0 LISTENING + TCP 0.0.0.0:5357 R9E67YR:0 LISTENING + TCP 0.0.0.0:7274 R9E67YR:0 LISTENING + TCP 0.0.0.0:7275 R9E67YR:0 LISTENING + TCP 0.0.0.0:7277 R9E67YR:0 LISTENING + TCP 0.0.0.0:7777 R9E67YR:0 LISTENING + TCP 0.0.0.0:7778 R9E67YR:0 LISTENING + TCP 0.0.0.0:8879 R9E67YR:0 LISTENING + TCP 0.0.0.0:8886 R9E67YR:0 LISTENING + TCP 0.0.0.0:8887 R9E67YR:0 LISTENING + TCP 0.0.0.0:8888 R9E67YR:0 LISTENING + TCP 0.0.0.0:8889 R9E67YR:0 LISTENING + TCP 0.0.0.0:9043 R9E67YR:0 LISTENING + TCP 0.0.0.0:9060 R9E67YR:0 LISTENING + TCP 0.0.0.0:9085 R9E67YR:0 LISTENING + TCP 0.0.0.0:9086 R9E67YR:0 LISTENING + TCP 0.0.0.0:9100 R9E67YR:0 LISTENING + TCP 0.0.0.0:9106 R9E67YR:0 LISTENING + TCP 0.0.0.0:9107 R9E67YR:0 LISTENING + TCP 0.0.0.0:9352 R9E67YR:0 LISTENING + TCP 0.0.0.0:9360 R9E67YR:0 LISTENING + TCP 0.0.0.0:9361 R9E67YR:0 LISTENING + TCP 0.0.0.0:9362 R9E67YR:0 LISTENING + TCP 0.0.0.0:9363 R9E67YR:0 LISTENING + TCP 0.0.0.0:9448 R9E67YR:0 LISTENING + TCP 0.0.0.0:9449 R9E67YR:0 LISTENING + TCP 0.0.0.0:9809 R9E67YR:0 LISTENING + TCP 0.0.0.0:9904 R9E67YR:0 LISTENING + TCP 0.0.0.0:10243 R9E67YR:0 LISTENING + TCP 0.0.0.0:16992 R9E67YR:0 LISTENING + TCP 0.0.0.0:49152 R9E67YR:0 LISTENING + TCP 0.0.0.0:49153 R9E67YR:0 LISTENING + TCP 0.0.0.0:49154 R9E67YR:0 LISTENING + TCP 0.0.0.0:49155 R9E67YR:0 LISTENING + TCP 0.0.0.0:49185 R9E67YR:0 LISTENING + TCP 0.0.0.0:59264 R9E67YR:0 LISTENING + TCP 9.20.239.247:139 R9E67YR:0 LISTENING + TCP 9.20.239.247:61070 d03im308:1533 ESTABLISHED + TCP 9.20.239.247:62432 fra07s07-in-f83:https TIME_WAIT + TCP 9.20.239.247:62455 fra07s07-in-f18:https ESTABLISHED + TCP 9.20.239.247:62471 fra07s07-in-f83:https ESTABLISHED + TCP 127.0.0.1:2559 R9E67YR:0 LISTENING + TCP 127.0.0.1:2817 example:59331 ESTABLISHED + TCP 127.0.0.1:2818 example:59328 ESTABLISHED + TCP 127.0.0.1:8879 example:62468 TIME_WAIT + TCP 127.0.0.1:8879 example:62469 TIME_WAIT + TCP 127.0.0.1:8879 example:62472 TIME_WAIT + TCP 127.0.0.1:8879 example:62473 TIME_WAIT + TCP 127.0.0.1:9106 example:59265 ESTABLISHED + TCP 127.0.0.1:9106 example:59332 ESTABLISHED + TCP 127.0.0.1:9107 example:59330 ESTABLISHED + TCP 127.0.0.1:9352 example:59101 ESTABLISHED + TCP 127.0.0.1:9352 example:59177 ESTABLISHED + TCP 127.0.0.1:9352 example:59273 ESTABLISHED + TCP 127.0.0.1:9352 example:59298 ESTABLISHED + TCP 127.0.0.1:9360 example:59175 ESTABLISHED + TCP 127.0.0.1:9360 example:59271 ESTABLISHED + TCP 127.0.0.1:9360 example:59297 ESTABLISHED + TCP 127.0.0.1:9361 example:59295 ESTABLISHED + TCP 127.0.0.1:9363 example:59272 ESTABLISHED + TCP 127.0.0.1:9363 example:59296 ESTABLISHED + TCP 127.0.0.1:9627 R9E67YR:0 LISTENING + TCP 127.0.0.1:9627 example:59104 ESTABLISHED + TCP 127.0.0.1:9627 example:61025 ESTABLISHED + TCP 127.0.0.1:9630 R9E67YR:0 LISTENING + TCP 127.0.0.1:9630 example:59181 ESTABLISHED + TCP 127.0.0.1:9630 example:61024 ESTABLISHED + TCP 127.0.0.1:9632 R9E67YR:0 LISTENING + TCP 127.0.0.1:9632 example:59106 ESTABLISHED + TCP 127.0.0.1:9632 example:59184 ESTABLISHED + TCP 127.0.0.1:9632 example:59799 ESTABLISHED + TCP 127.0.0.1:9632 example:60160 ESTABLISHED + TCP 127.0.0.1:9638 R9E67YR:0 LISTENING + TCP 127.0.0.1:9638 example:61020 ESTABLISHED + TCP 127.0.0.1:9639 R9E67YR:0 LISTENING + TCP 127.0.0.1:9639 example:61021 ESTABLISHED + TCP 127.0.0.1:9904 example:59290 ESTABLISHED + TCP 127.0.0.1:9904 example:59329 ESTABLISHED + TCP 127.0.0.1:49317 example:49318 ESTABLISHED + TCP 127.0.0.1:49318 example:49317 ESTABLISHED + TCP 127.0.0.1:49319 example:49320 ESTABLISHED + TCP 127.0.0.1:49320 example:49319 ESTABLISHED + TCP 127.0.0.1:51023 R9E67YR:0 LISTENING + TCP 127.0.0.1:51024 example:51025 ESTABLISHED + TCP 127.0.0.1:51025 example:51024 ESTABLISHED + TCP 127.0.0.1:52075 R9E67YR:0 LISTENING + TCP 127.0.0.1:53176 example:53177 ESTABLISHED + TCP 127.0.0.1:53177 example:53176 ESTABLISHED + TCP 127.0.0.1:53179 R9E67YR:0 LISTENING + TCP 127.0.0.1:59068 example:59069 ESTABLISHED + TCP 127.0.0.1:59069 example:59068 ESTABLISHED + TCP 127.0.0.1:59070 example:59071 ESTABLISHED + TCP 127.0.0.1:59071 example:59070 ESTABLISHED + TCP 127.0.0.1:59094 example:59095 ESTABLISHED + TCP 127.0.0.1:59095 example:59094 ESTABLISHED + TCP 127.0.0.1:59096 example:59097 ESTABLISHED + TCP 127.0.0.1:59097 example:59096 ESTABLISHED + TCP 127.0.0.1:59101 example:9352 ESTABLISHED + TCP 127.0.0.1:59104 example:9627 ESTABLISHED + TCP 127.0.0.1:59106 example:9632 ESTABLISHED + TCP 127.0.0.1:59171 example:59172 ESTABLISHED + TCP 127.0.0.1:59172 example:59171 ESTABLISHED + TCP 127.0.0.1:59173 example:59174 ESTABLISHED + TCP 127.0.0.1:59174 example:59173 ESTABLISHED + TCP 127.0.0.1:59175 example:9360 ESTABLISHED + TCP 127.0.0.1:59177 example:9352 ESTABLISHED + TCP 127.0.0.1:59181 example:9630 ESTABLISHED + TCP 127.0.0.1:59184 example:9632 ESTABLISHED + TCP 127.0.0.1:59264 example:59333 ESTABLISHED + TCP 127.0.0.1:59265 example:9106 ESTABLISHED + TCP 127.0.0.1:59266 example:59267 ESTABLISHED + TCP 127.0.0.1:59267 example:59266 ESTABLISHED + TCP 127.0.0.1:59268 example:59269 ESTABLISHED + TCP 127.0.0.1:59269 example:59268 ESTABLISHED + TCP 127.0.0.1:59271 example:9360 ESTABLISHED + TCP 127.0.0.1:59272 example:9363 ESTABLISHED + TCP 127.0.0.1:59273 example:9352 ESTABLISHED + TCP 127.0.0.1:59290 example:9904 ESTABLISHED + TCP 127.0.0.1:59291 example:59292 ESTABLISHED + TCP 127.0.0.1:59292 example:59291 ESTABLISHED + TCP 127.0.0.1:59293 example:59294 ESTABLISHED + TCP 127.0.0.1:59294 example:59293 ESTABLISHED + TCP 127.0.0.1:59295 example:9361 ESTABLISHED + TCP 127.0.0.1:59296 example:9363 ESTABLISHED + TCP 127.0.0.1:59297 example:9360 ESTABLISHED + TCP 127.0.0.1:59298 example:9352 ESTABLISHED + TCP 127.0.0.1:59328 example:2818 ESTABLISHED + TCP 127.0.0.1:59329 example:9904 ESTABLISHED + TCP 127.0.0.1:59330 example:9107 ESTABLISHED + TCP 127.0.0.1:59331 example:2817 ESTABLISHED + TCP 127.0.0.1:59332 example:9106 ESTABLISHED + TCP 127.0.0.1:59333 example:59264 ESTABLISHED + TCP 127.0.0.1:59449 R9E67YR:0 LISTENING + TCP 127.0.0.1:59799 example:9632 ESTABLISHED + TCP 127.0.0.1:60160 example:9632 ESTABLISHED + TCP 127.0.0.1:61020 example:9638 ESTABLISHED + TCP 127.0.0.1:61021 example:9639 ESTABLISHED + TCP 127.0.0.1:61024 example:9630 ESTABLISHED + TCP 127.0.0.1:61025 example:9627 ESTABLISHED + TCP 127.0.0.1:61049 R9E67YR:0 LISTENING + TCP [::]:135 R9E67YR:0 LISTENING + TCP [::]:445 R9E67YR:0 LISTENING + TCP [::]:554 R9E67YR:0 LISTENING + TCP [::]:623 R9E67YR:0 LISTENING + TCP [::]:2816 R9E67YR:0 LISTENING + TCP [::]:2817 R9E67YR:0 LISTENING + TCP [::]:2818 R9E67YR:0 LISTENING + TCP [::]:2819 R9E67YR:0 LISTENING + TCP [::]:2869 R9E67YR:0 LISTENING + TCP [::]:5357 R9E67YR:0 LISTENING + TCP [::]:7274 R9E67YR:0 LISTENING + TCP [::]:7275 R9E67YR:0 LISTENING + TCP [::]:7277 R9E67YR:0 LISTENING + TCP [::]:8879 R9E67YR:0 LISTENING + TCP [::]:8886 R9E67YR:0 LISTENING + TCP [::]:8887 R9E67YR:0 LISTENING + TCP [::]:8888 R9E67YR:0 LISTENING + TCP [::]:8889 R9E67YR:0 LISTENING + TCP [::]:9043 R9E67YR:0 LISTENING + TCP [::]:9060 R9E67YR:0 LISTENING + TCP [::]:9085 R9E67YR:0 LISTENING + TCP [::]:9086 R9E67YR:0 LISTENING + TCP [::]:9100 R9E67YR:0 LISTENING + TCP [::]:9106 R9E67YR:0 LISTENING + TCP [::]:9107 R9E67YR:0 LISTENING + TCP [::]:9352 R9E67YR:0 LISTENING + TCP [::]:9360 R9E67YR:0 LISTENING + TCP [::]:9361 R9E67YR:0 LISTENING + TCP [::]:9362 R9E67YR:0 LISTENING + TCP [::]:9363 R9E67YR:0 LISTENING + TCP [::]:9448 R9E67YR:0 LISTENING + TCP [::]:9449 R9E67YR:0 LISTENING + TCP [::]:9809 R9E67YR:0 LISTENING + TCP [::]:9904 R9E67YR:0 LISTENING + TCP [::]:10243 R9E67YR:0 LISTENING + TCP [::]:16992 R9E67YR:0 LISTENING + TCP [::]:49152 R9E67YR:0 LISTENING + TCP [::]:49153 R9E67YR:0 LISTENING + TCP [::]:49154 R9E67YR:0 LISTENING + TCP [::]:49155 R9E67YR:0 LISTENING + TCP [::]:49185 R9E67YR:0 LISTENING + TCP [::]:59264 R9E67YR:0 LISTENING + TCP [::1]:61037 R9E67YR:61039 ESTABLISHED + TCP [::1]:61039 R9E67YR:61037 ESTABLISHED + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:5004 *:* + UDP 0.0.0.0:5005 *:* + UDP 0.0.0.0:5006 *:* + UDP 0.0.0.0:5007 *:* + UDP 0.0.0.0:50004 *:* + UDP 0.0.0.0:50005 *:* + UDP 0.0.0.0:52311 *:* + UDP 0.0.0.0:65260 *:* + UDP 9.20.239.247:137 *:* + UDP 9.20.239.247:138 *:* + UDP 9.20.239.247:1900 *:* + UDP 9.20.239.247:63340 *:* + UDP 127.0.0.1:1900 *:* + UDP 127.0.0.1:48000 *:* + UDP 127.0.0.1:51613 *:* + UDP 127.0.0.1:57484 *:* + UDP 127.0.0.1:60769 *:* + UDP 127.0.0.1:63341 *:* + UDP [::]:500 *:* + UDP [::]:3702 *:* + UDP [::]:3702 *:* + UDP [::]:4500 *:* + UDP [::]:5004 *:* + UDP [::]:5005 *:* + UDP [::]:5006 *:* + UDP [::]:5007 *:* + UDP [::]:50004 *:* + UDP [::]:50005 *:* + UDP [::]:52311 *:* + UDP [::]:65261 *:* + UDP [::1]:1900 *:* + UDP [::1]:63339 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:546 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:1900 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:63338 *:* diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/running-start.txt b/sandbox/slaws/jms-osgi/jms-osgi-client/running-start.txt new file mode 100644 index 0000000000..31a7f950e7 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/running-start.txt @@ -0,0 +1,241 @@ + +Active Connections + + Proto Local Address Foreign Address State + TCP 0.0.0.0:135 R9E67YR:0 LISTENING + TCP 0.0.0.0:445 R9E67YR:0 LISTENING + TCP 0.0.0.0:554 R9E67YR:0 LISTENING + TCP 0.0.0.0:623 R9E67YR:0 LISTENING + TCP 0.0.0.0:1099 R9E67YR:0 LISTENING + TCP 0.0.0.0:2816 R9E67YR:0 LISTENING + TCP 0.0.0.0:2817 R9E67YR:0 LISTENING + TCP 0.0.0.0:2818 R9E67YR:0 LISTENING + TCP 0.0.0.0:2819 R9E67YR:0 LISTENING + TCP 0.0.0.0:2869 R9E67YR:0 LISTENING + TCP 0.0.0.0:5157 R9E67YR:0 LISTENING + TCP 0.0.0.0:5357 R9E67YR:0 LISTENING + TCP 0.0.0.0:7274 R9E67YR:0 LISTENING + TCP 0.0.0.0:7275 R9E67YR:0 LISTENING + TCP 0.0.0.0:7277 R9E67YR:0 LISTENING + TCP 0.0.0.0:7777 R9E67YR:0 LISTENING + TCP 0.0.0.0:7778 R9E67YR:0 LISTENING + TCP 0.0.0.0:8879 R9E67YR:0 LISTENING + TCP 0.0.0.0:8886 R9E67YR:0 LISTENING + TCP 0.0.0.0:8887 R9E67YR:0 LISTENING + TCP 0.0.0.0:8888 R9E67YR:0 LISTENING + TCP 0.0.0.0:8889 R9E67YR:0 LISTENING + TCP 0.0.0.0:9043 R9E67YR:0 LISTENING + TCP 0.0.0.0:9060 R9E67YR:0 LISTENING + TCP 0.0.0.0:9085 R9E67YR:0 LISTENING + TCP 0.0.0.0:9086 R9E67YR:0 LISTENING + TCP 0.0.0.0:9100 R9E67YR:0 LISTENING + TCP 0.0.0.0:9106 R9E67YR:0 LISTENING + TCP 0.0.0.0:9107 R9E67YR:0 LISTENING + TCP 0.0.0.0:9352 R9E67YR:0 LISTENING + TCP 0.0.0.0:9360 R9E67YR:0 LISTENING + TCP 0.0.0.0:9361 R9E67YR:0 LISTENING + TCP 0.0.0.0:9362 R9E67YR:0 LISTENING + TCP 0.0.0.0:9363 R9E67YR:0 LISTENING + TCP 0.0.0.0:9448 R9E67YR:0 LISTENING + TCP 0.0.0.0:9449 R9E67YR:0 LISTENING + TCP 0.0.0.0:9809 R9E67YR:0 LISTENING + TCP 0.0.0.0:9904 R9E67YR:0 LISTENING + TCP 0.0.0.0:10243 R9E67YR:0 LISTENING + TCP 0.0.0.0:16992 R9E67YR:0 LISTENING + TCP 0.0.0.0:49152 R9E67YR:0 LISTENING + TCP 0.0.0.0:49153 R9E67YR:0 LISTENING + TCP 0.0.0.0:49154 R9E67YR:0 LISTENING + TCP 0.0.0.0:49155 R9E67YR:0 LISTENING + TCP 0.0.0.0:49185 R9E67YR:0 LISTENING + TCP 0.0.0.0:59264 R9E67YR:0 LISTENING + TCP 0.0.0.0:62479 R9E67YR:0 LISTENING + TCP 9.20.239.247:139 R9E67YR:0 LISTENING + TCP 9.20.239.247:2869 dhcp-9-20-239-174:50983 ESTABLISHED + TCP 9.20.239.247:2869 dhcp-9-20-239-197:54494 ESTABLISHED + TCP 9.20.239.247:61070 d03im308:1533 ESTABLISHED + TCP 9.20.239.247:62455 fra07s07-in-f18:https ESTABLISHED + TCP 9.20.239.247:62471 fra07s07-in-f83:https ESTABLISHED + TCP 9.20.239.247:62481 R9E67YR:62479 TIME_WAIT + TCP 127.0.0.1:2559 R9E67YR:0 LISTENING + TCP 127.0.0.1:2817 example:59331 ESTABLISHED + TCP 127.0.0.1:2818 example:59328 ESTABLISHED + TCP 127.0.0.1:8879 example:62472 TIME_WAIT + TCP 127.0.0.1:8879 example:62473 TIME_WAIT + TCP 127.0.0.1:8879 example:62474 TIME_WAIT + TCP 127.0.0.1:8879 example:62475 TIME_WAIT + TCP 127.0.0.1:9106 example:59265 ESTABLISHED + TCP 127.0.0.1:9106 example:59332 ESTABLISHED + TCP 127.0.0.1:9107 example:59330 ESTABLISHED + TCP 127.0.0.1:9352 example:59101 ESTABLISHED + TCP 127.0.0.1:9352 example:59177 ESTABLISHED + TCP 127.0.0.1:9352 example:59273 ESTABLISHED + TCP 127.0.0.1:9352 example:59298 ESTABLISHED + TCP 127.0.0.1:9360 example:59175 ESTABLISHED + TCP 127.0.0.1:9360 example:59271 ESTABLISHED + TCP 127.0.0.1:9360 example:59297 ESTABLISHED + TCP 127.0.0.1:9361 example:59295 ESTABLISHED + TCP 127.0.0.1:9363 example:59272 ESTABLISHED + TCP 127.0.0.1:9363 example:59296 ESTABLISHED + TCP 127.0.0.1:9627 R9E67YR:0 LISTENING + TCP 127.0.0.1:9627 example:59104 ESTABLISHED + TCP 127.0.0.1:9627 example:61025 ESTABLISHED + TCP 127.0.0.1:9630 R9E67YR:0 LISTENING + TCP 127.0.0.1:9630 example:59181 ESTABLISHED + TCP 127.0.0.1:9630 example:61024 ESTABLISHED + TCP 127.0.0.1:9632 R9E67YR:0 LISTENING + TCP 127.0.0.1:9632 example:59106 ESTABLISHED + TCP 127.0.0.1:9632 example:59184 ESTABLISHED + TCP 127.0.0.1:9632 example:59799 ESTABLISHED + TCP 127.0.0.1:9632 example:60160 ESTABLISHED + TCP 127.0.0.1:9638 R9E67YR:0 LISTENING + TCP 127.0.0.1:9638 example:61020 ESTABLISHED + TCP 127.0.0.1:9639 R9E67YR:0 LISTENING + TCP 127.0.0.1:9639 example:61021 ESTABLISHED + TCP 127.0.0.1:9904 example:59290 ESTABLISHED + TCP 127.0.0.1:9904 example:59329 ESTABLISHED + TCP 127.0.0.1:49317 example:49318 ESTABLISHED + TCP 127.0.0.1:49318 example:49317 ESTABLISHED + TCP 127.0.0.1:49319 example:49320 ESTABLISHED + TCP 127.0.0.1:49320 example:49319 ESTABLISHED + TCP 127.0.0.1:51023 R9E67YR:0 LISTENING + TCP 127.0.0.1:51024 example:51025 ESTABLISHED + TCP 127.0.0.1:51025 example:51024 ESTABLISHED + TCP 127.0.0.1:52075 R9E67YR:0 LISTENING + TCP 127.0.0.1:53176 example:53177 ESTABLISHED + TCP 127.0.0.1:53177 example:53176 ESTABLISHED + TCP 127.0.0.1:53179 R9E67YR:0 LISTENING + TCP 127.0.0.1:59068 example:59069 ESTABLISHED + TCP 127.0.0.1:59069 example:59068 ESTABLISHED + TCP 127.0.0.1:59070 example:59071 ESTABLISHED + TCP 127.0.0.1:59071 example:59070 ESTABLISHED + TCP 127.0.0.1:59094 example:59095 ESTABLISHED + TCP 127.0.0.1:59095 example:59094 ESTABLISHED + TCP 127.0.0.1:59096 example:59097 ESTABLISHED + TCP 127.0.0.1:59097 example:59096 ESTABLISHED + TCP 127.0.0.1:59101 example:9352 ESTABLISHED + TCP 127.0.0.1:59104 example:9627 ESTABLISHED + TCP 127.0.0.1:59106 example:9632 ESTABLISHED + TCP 127.0.0.1:59171 example:59172 ESTABLISHED + TCP 127.0.0.1:59172 example:59171 ESTABLISHED + TCP 127.0.0.1:59173 example:59174 ESTABLISHED + TCP 127.0.0.1:59174 example:59173 ESTABLISHED + TCP 127.0.0.1:59175 example:9360 ESTABLISHED + TCP 127.0.0.1:59177 example:9352 ESTABLISHED + TCP 127.0.0.1:59181 example:9630 ESTABLISHED + TCP 127.0.0.1:59184 example:9632 ESTABLISHED + TCP 127.0.0.1:59264 example:59333 ESTABLISHED + TCP 127.0.0.1:59265 example:9106 ESTABLISHED + TCP 127.0.0.1:59266 example:59267 ESTABLISHED + TCP 127.0.0.1:59267 example:59266 ESTABLISHED + TCP 127.0.0.1:59268 example:59269 ESTABLISHED + TCP 127.0.0.1:59269 example:59268 ESTABLISHED + TCP 127.0.0.1:59271 example:9360 ESTABLISHED + TCP 127.0.0.1:59272 example:9363 ESTABLISHED + TCP 127.0.0.1:59273 example:9352 ESTABLISHED + TCP 127.0.0.1:59290 example:9904 ESTABLISHED + TCP 127.0.0.1:59291 example:59292 ESTABLISHED + TCP 127.0.0.1:59292 example:59291 ESTABLISHED + TCP 127.0.0.1:59293 example:59294 ESTABLISHED + TCP 127.0.0.1:59294 example:59293 ESTABLISHED + TCP 127.0.0.1:59295 example:9361 ESTABLISHED + TCP 127.0.0.1:59296 example:9363 ESTABLISHED + TCP 127.0.0.1:59297 example:9360 ESTABLISHED + TCP 127.0.0.1:59298 example:9352 ESTABLISHED + TCP 127.0.0.1:59328 example:2818 ESTABLISHED + TCP 127.0.0.1:59329 example:9904 ESTABLISHED + TCP 127.0.0.1:59330 example:9107 ESTABLISHED + TCP 127.0.0.1:59331 example:2817 ESTABLISHED + TCP 127.0.0.1:59332 example:9106 ESTABLISHED + TCP 127.0.0.1:59333 example:59264 ESTABLISHED + TCP 127.0.0.1:59449 R9E67YR:0 LISTENING + TCP 127.0.0.1:59799 example:9632 ESTABLISHED + TCP 127.0.0.1:60160 example:9632 ESTABLISHED + TCP 127.0.0.1:61020 example:9638 ESTABLISHED + TCP 127.0.0.1:61021 example:9639 ESTABLISHED + TCP 127.0.0.1:61024 example:9630 ESTABLISHED + TCP 127.0.0.1:61025 example:9627 ESTABLISHED + TCP 127.0.0.1:61049 R9E67YR:0 LISTENING + TCP 127.0.0.1:62480 example:1099 TIME_WAIT + TCP [::]:135 R9E67YR:0 LISTENING + TCP [::]:445 R9E67YR:0 LISTENING + TCP [::]:554 R9E67YR:0 LISTENING + TCP [::]:623 R9E67YR:0 LISTENING + TCP [::]:1099 R9E67YR:0 LISTENING + TCP [::]:2816 R9E67YR:0 LISTENING + TCP [::]:2817 R9E67YR:0 LISTENING + TCP [::]:2818 R9E67YR:0 LISTENING + TCP [::]:2819 R9E67YR:0 LISTENING + TCP [::]:2869 R9E67YR:0 LISTENING + TCP [::]:5357 R9E67YR:0 LISTENING + TCP [::]:7274 R9E67YR:0 LISTENING + TCP [::]:7275 R9E67YR:0 LISTENING + TCP [::]:7277 R9E67YR:0 LISTENING + TCP [::]:8879 R9E67YR:0 LISTENING + TCP [::]:8886 R9E67YR:0 LISTENING + TCP [::]:8887 R9E67YR:0 LISTENING + TCP [::]:8888 R9E67YR:0 LISTENING + TCP [::]:8889 R9E67YR:0 LISTENING + TCP [::]:9043 R9E67YR:0 LISTENING + TCP [::]:9060 R9E67YR:0 LISTENING + TCP [::]:9085 R9E67YR:0 LISTENING + TCP [::]:9086 R9E67YR:0 LISTENING + TCP [::]:9100 R9E67YR:0 LISTENING + TCP [::]:9106 R9E67YR:0 LISTENING + TCP [::]:9107 R9E67YR:0 LISTENING + TCP [::]:9352 R9E67YR:0 LISTENING + TCP [::]:9360 R9E67YR:0 LISTENING + TCP [::]:9361 R9E67YR:0 LISTENING + TCP [::]:9362 R9E67YR:0 LISTENING + TCP [::]:9363 R9E67YR:0 LISTENING + TCP [::]:9448 R9E67YR:0 LISTENING + TCP [::]:9449 R9E67YR:0 LISTENING + TCP [::]:9809 R9E67YR:0 LISTENING + TCP [::]:9904 R9E67YR:0 LISTENING + TCP [::]:10243 R9E67YR:0 LISTENING + TCP [::]:16992 R9E67YR:0 LISTENING + TCP [::]:49152 R9E67YR:0 LISTENING + TCP [::]:49153 R9E67YR:0 LISTENING + TCP [::]:49154 R9E67YR:0 LISTENING + TCP [::]:49155 R9E67YR:0 LISTENING + TCP [::]:49185 R9E67YR:0 LISTENING + TCP [::]:59264 R9E67YR:0 LISTENING + TCP [::]:62479 R9E67YR:0 LISTENING + TCP [::1]:61037 R9E67YR:61039 ESTABLISHED + TCP [::1]:61039 R9E67YR:61037 ESTABLISHED + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:5004 *:* + UDP 0.0.0.0:5005 *:* + UDP 0.0.0.0:5006 *:* + UDP 0.0.0.0:5007 *:* + UDP 0.0.0.0:50004 *:* + UDP 0.0.0.0:50005 *:* + UDP 0.0.0.0:52311 *:* + UDP 0.0.0.0:65260 *:* + UDP 9.20.239.247:137 *:* + UDP 9.20.239.247:138 *:* + UDP 9.20.239.247:1900 *:* + UDP 9.20.239.247:63340 *:* + UDP 127.0.0.1:1900 *:* + UDP 127.0.0.1:48000 *:* + UDP 127.0.0.1:51613 *:* + UDP 127.0.0.1:57484 *:* + UDP 127.0.0.1:60769 *:* + UDP 127.0.0.1:63341 *:* + UDP [::]:500 *:* + UDP [::]:3702 *:* + UDP [::]:3702 *:* + UDP [::]:4500 *:* + UDP [::]:5004 *:* + UDP [::]:5005 *:* + UDP [::]:5006 *:* + UDP [::]:5007 *:* + UDP [::]:50004 *:* + UDP [::]:50005 *:* + UDP [::]:52311 *:* + UDP [::]:65261 *:* + UDP [::1]:1900 *:* + UDP [::1]:63339 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:546 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:1900 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:63338 *:* diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/running.txt b/sandbox/slaws/jms-osgi/jms-osgi-client/running.txt new file mode 100644 index 0000000000..84e39b9d08 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/running.txt @@ -0,0 +1,239 @@ + +Active Connections + + Proto Local Address Foreign Address State + TCP 0.0.0.0:135 R9E67YR:0 LISTENING + TCP 0.0.0.0:445 R9E67YR:0 LISTENING + TCP 0.0.0.0:554 R9E67YR:0 LISTENING + TCP 0.0.0.0:623 R9E67YR:0 LISTENING + TCP 0.0.0.0:1099 R9E67YR:0 LISTENING + TCP 0.0.0.0:2816 R9E67YR:0 LISTENING + TCP 0.0.0.0:2817 R9E67YR:0 LISTENING + TCP 0.0.0.0:2818 R9E67YR:0 LISTENING + TCP 0.0.0.0:2819 R9E67YR:0 LISTENING + TCP 0.0.0.0:2869 R9E67YR:0 LISTENING + TCP 0.0.0.0:5157 R9E67YR:0 LISTENING + TCP 0.0.0.0:5357 R9E67YR:0 LISTENING + TCP 0.0.0.0:7274 R9E67YR:0 LISTENING + TCP 0.0.0.0:7275 R9E67YR:0 LISTENING + TCP 0.0.0.0:7277 R9E67YR:0 LISTENING + TCP 0.0.0.0:7777 R9E67YR:0 LISTENING + TCP 0.0.0.0:7778 R9E67YR:0 LISTENING + TCP 0.0.0.0:8879 R9E67YR:0 LISTENING + TCP 0.0.0.0:8886 R9E67YR:0 LISTENING + TCP 0.0.0.0:8887 R9E67YR:0 LISTENING + TCP 0.0.0.0:8888 R9E67YR:0 LISTENING + TCP 0.0.0.0:8889 R9E67YR:0 LISTENING + TCP 0.0.0.0:9043 R9E67YR:0 LISTENING + TCP 0.0.0.0:9060 R9E67YR:0 LISTENING + TCP 0.0.0.0:9085 R9E67YR:0 LISTENING + TCP 0.0.0.0:9086 R9E67YR:0 LISTENING + TCP 0.0.0.0:9100 R9E67YR:0 LISTENING + TCP 0.0.0.0:9106 R9E67YR:0 LISTENING + TCP 0.0.0.0:9107 R9E67YR:0 LISTENING + TCP 0.0.0.0:9352 R9E67YR:0 LISTENING + TCP 0.0.0.0:9360 R9E67YR:0 LISTENING + TCP 0.0.0.0:9361 R9E67YR:0 LISTENING + TCP 0.0.0.0:9362 R9E67YR:0 LISTENING + TCP 0.0.0.0:9363 R9E67YR:0 LISTENING + TCP 0.0.0.0:9448 R9E67YR:0 LISTENING + TCP 0.0.0.0:9449 R9E67YR:0 LISTENING + TCP 0.0.0.0:9809 R9E67YR:0 LISTENING + TCP 0.0.0.0:9904 R9E67YR:0 LISTENING + TCP 0.0.0.0:10243 R9E67YR:0 LISTENING + TCP 0.0.0.0:16992 R9E67YR:0 LISTENING + TCP 0.0.0.0:49152 R9E67YR:0 LISTENING + TCP 0.0.0.0:49153 R9E67YR:0 LISTENING + TCP 0.0.0.0:49154 R9E67YR:0 LISTENING + TCP 0.0.0.0:49155 R9E67YR:0 LISTENING + TCP 0.0.0.0:49185 R9E67YR:0 LISTENING + TCP 0.0.0.0:59264 R9E67YR:0 LISTENING + TCP 0.0.0.0:62101 R9E67YR:0 LISTENING + TCP 9.20.239.247:139 R9E67YR:0 LISTENING + TCP 9.20.239.247:2869 dhcp-9-20-239-197:54413 ESTABLISHED + TCP 9.20.239.247:61070 d03im308:1533 ESTABLISHED + TCP 9.20.239.247:62417 fra07s07-in-f83:https ESTABLISHED + TCP 9.20.239.247:62432 fra07s07-in-f83:https ESTABLISHED + TCP 127.0.0.1:2559 R9E67YR:0 LISTENING + TCP 127.0.0.1:2817 example:59331 ESTABLISHED + TCP 127.0.0.1:2818 example:59328 ESTABLISHED + TCP 127.0.0.1:8879 example:62433 TIME_WAIT + TCP 127.0.0.1:8879 example:62434 TIME_WAIT + TCP 127.0.0.1:8879 example:62435 TIME_WAIT + TCP 127.0.0.1:8879 example:62436 TIME_WAIT + TCP 127.0.0.1:9106 example:59265 ESTABLISHED + TCP 127.0.0.1:9106 example:59332 ESTABLISHED + TCP 127.0.0.1:9107 example:59330 ESTABLISHED + TCP 127.0.0.1:9352 example:59101 ESTABLISHED + TCP 127.0.0.1:9352 example:59177 ESTABLISHED + TCP 127.0.0.1:9352 example:59273 ESTABLISHED + TCP 127.0.0.1:9352 example:59298 ESTABLISHED + TCP 127.0.0.1:9360 example:59175 ESTABLISHED + TCP 127.0.0.1:9360 example:59271 ESTABLISHED + TCP 127.0.0.1:9360 example:59297 ESTABLISHED + TCP 127.0.0.1:9361 example:59295 ESTABLISHED + TCP 127.0.0.1:9363 example:59272 ESTABLISHED + TCP 127.0.0.1:9363 example:59296 ESTABLISHED + TCP 127.0.0.1:9627 R9E67YR:0 LISTENING + TCP 127.0.0.1:9627 example:59104 ESTABLISHED + TCP 127.0.0.1:9627 example:61025 ESTABLISHED + TCP 127.0.0.1:9630 R9E67YR:0 LISTENING + TCP 127.0.0.1:9630 example:59181 ESTABLISHED + TCP 127.0.0.1:9630 example:61024 ESTABLISHED + TCP 127.0.0.1:9632 R9E67YR:0 LISTENING + TCP 127.0.0.1:9632 example:59106 ESTABLISHED + TCP 127.0.0.1:9632 example:59184 ESTABLISHED + TCP 127.0.0.1:9632 example:59799 ESTABLISHED + TCP 127.0.0.1:9632 example:60160 ESTABLISHED + TCP 127.0.0.1:9638 R9E67YR:0 LISTENING + TCP 127.0.0.1:9638 example:61020 ESTABLISHED + TCP 127.0.0.1:9639 R9E67YR:0 LISTENING + TCP 127.0.0.1:9639 example:61021 ESTABLISHED + TCP 127.0.0.1:9904 example:59290 ESTABLISHED + TCP 127.0.0.1:9904 example:59329 ESTABLISHED + TCP 127.0.0.1:49317 example:49318 ESTABLISHED + TCP 127.0.0.1:49318 example:49317 ESTABLISHED + TCP 127.0.0.1:49319 example:49320 ESTABLISHED + TCP 127.0.0.1:49320 example:49319 ESTABLISHED + TCP 127.0.0.1:51023 R9E67YR:0 LISTENING + TCP 127.0.0.1:51024 example:51025 ESTABLISHED + TCP 127.0.0.1:51025 example:51024 ESTABLISHED + TCP 127.0.0.1:52075 R9E67YR:0 LISTENING + TCP 127.0.0.1:53176 example:53177 ESTABLISHED + TCP 127.0.0.1:53177 example:53176 ESTABLISHED + TCP 127.0.0.1:53179 R9E67YR:0 LISTENING + TCP 127.0.0.1:59068 example:59069 ESTABLISHED + TCP 127.0.0.1:59069 example:59068 ESTABLISHED + TCP 127.0.0.1:59070 example:59071 ESTABLISHED + TCP 127.0.0.1:59071 example:59070 ESTABLISHED + TCP 127.0.0.1:59094 example:59095 ESTABLISHED + TCP 127.0.0.1:59095 example:59094 ESTABLISHED + TCP 127.0.0.1:59096 example:59097 ESTABLISHED + TCP 127.0.0.1:59097 example:59096 ESTABLISHED + TCP 127.0.0.1:59101 example:9352 ESTABLISHED + TCP 127.0.0.1:59104 example:9627 ESTABLISHED + TCP 127.0.0.1:59106 example:9632 ESTABLISHED + TCP 127.0.0.1:59171 example:59172 ESTABLISHED + TCP 127.0.0.1:59172 example:59171 ESTABLISHED + TCP 127.0.0.1:59173 example:59174 ESTABLISHED + TCP 127.0.0.1:59174 example:59173 ESTABLISHED + TCP 127.0.0.1:59175 example:9360 ESTABLISHED + TCP 127.0.0.1:59177 example:9352 ESTABLISHED + TCP 127.0.0.1:59181 example:9630 ESTABLISHED + TCP 127.0.0.1:59184 example:9632 ESTABLISHED + TCP 127.0.0.1:59264 example:59333 ESTABLISHED + TCP 127.0.0.1:59265 example:9106 ESTABLISHED + TCP 127.0.0.1:59266 example:59267 ESTABLISHED + TCP 127.0.0.1:59267 example:59266 ESTABLISHED + TCP 127.0.0.1:59268 example:59269 ESTABLISHED + TCP 127.0.0.1:59269 example:59268 ESTABLISHED + TCP 127.0.0.1:59271 example:9360 ESTABLISHED + TCP 127.0.0.1:59272 example:9363 ESTABLISHED + TCP 127.0.0.1:59273 example:9352 ESTABLISHED + TCP 127.0.0.1:59290 example:9904 ESTABLISHED + TCP 127.0.0.1:59291 example:59292 ESTABLISHED + TCP 127.0.0.1:59292 example:59291 ESTABLISHED + TCP 127.0.0.1:59293 example:59294 ESTABLISHED + TCP 127.0.0.1:59294 example:59293 ESTABLISHED + TCP 127.0.0.1:59295 example:9361 ESTABLISHED + TCP 127.0.0.1:59296 example:9363 ESTABLISHED + TCP 127.0.0.1:59297 example:9360 ESTABLISHED + TCP 127.0.0.1:59298 example:9352 ESTABLISHED + TCP 127.0.0.1:59328 example:2818 ESTABLISHED + TCP 127.0.0.1:59329 example:9904 ESTABLISHED + TCP 127.0.0.1:59330 example:9107 ESTABLISHED + TCP 127.0.0.1:59331 example:2817 ESTABLISHED + TCP 127.0.0.1:59332 example:9106 ESTABLISHED + TCP 127.0.0.1:59333 example:59264 ESTABLISHED + TCP 127.0.0.1:59449 R9E67YR:0 LISTENING + TCP 127.0.0.1:59799 example:9632 ESTABLISHED + TCP 127.0.0.1:60160 example:9632 ESTABLISHED + TCP 127.0.0.1:61020 example:9638 ESTABLISHED + TCP 127.0.0.1:61021 example:9639 ESTABLISHED + TCP 127.0.0.1:61024 example:9630 ESTABLISHED + TCP 127.0.0.1:61025 example:9627 ESTABLISHED + TCP 127.0.0.1:61049 R9E67YR:0 LISTENING + TCP [::]:135 R9E67YR:0 LISTENING + TCP [::]:445 R9E67YR:0 LISTENING + TCP [::]:554 R9E67YR:0 LISTENING + TCP [::]:623 R9E67YR:0 LISTENING + TCP [::]:1099 R9E67YR:0 LISTENING + TCP [::]:2816 R9E67YR:0 LISTENING + TCP [::]:2817 R9E67YR:0 LISTENING + TCP [::]:2818 R9E67YR:0 LISTENING + TCP [::]:2819 R9E67YR:0 LISTENING + TCP [::]:2869 R9E67YR:0 LISTENING + TCP [::]:5357 R9E67YR:0 LISTENING + TCP [::]:7274 R9E67YR:0 LISTENING + TCP [::]:7275 R9E67YR:0 LISTENING + TCP [::]:7277 R9E67YR:0 LISTENING + TCP [::]:8879 R9E67YR:0 LISTENING + TCP [::]:8886 R9E67YR:0 LISTENING + TCP [::]:8887 R9E67YR:0 LISTENING + TCP [::]:8888 R9E67YR:0 LISTENING + TCP [::]:8889 R9E67YR:0 LISTENING + TCP [::]:9043 R9E67YR:0 LISTENING + TCP [::]:9060 R9E67YR:0 LISTENING + TCP [::]:9085 R9E67YR:0 LISTENING + TCP [::]:9086 R9E67YR:0 LISTENING + TCP [::]:9100 R9E67YR:0 LISTENING + TCP [::]:9106 R9E67YR:0 LISTENING + TCP [::]:9107 R9E67YR:0 LISTENING + TCP [::]:9352 R9E67YR:0 LISTENING + TCP [::]:9360 R9E67YR:0 LISTENING + TCP [::]:9361 R9E67YR:0 LISTENING + TCP [::]:9362 R9E67YR:0 LISTENING + TCP [::]:9363 R9E67YR:0 LISTENING + TCP [::]:9448 R9E67YR:0 LISTENING + TCP [::]:9449 R9E67YR:0 LISTENING + TCP [::]:9809 R9E67YR:0 LISTENING + TCP [::]:9904 R9E67YR:0 LISTENING + TCP [::]:10243 R9E67YR:0 LISTENING + TCP [::]:16992 R9E67YR:0 LISTENING + TCP [::]:49152 R9E67YR:0 LISTENING + TCP [::]:49153 R9E67YR:0 LISTENING + TCP [::]:49154 R9E67YR:0 LISTENING + TCP [::]:49155 R9E67YR:0 LISTENING + TCP [::]:49185 R9E67YR:0 LISTENING + TCP [::]:59264 R9E67YR:0 LISTENING + TCP [::]:62101 R9E67YR:0 LISTENING + TCP [::1]:61037 R9E67YR:61039 ESTABLISHED + TCP [::1]:61039 R9E67YR:61037 ESTABLISHED + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:5004 *:* + UDP 0.0.0.0:5005 *:* + UDP 0.0.0.0:5006 *:* + UDP 0.0.0.0:5007 *:* + UDP 0.0.0.0:50004 *:* + UDP 0.0.0.0:50005 *:* + UDP 0.0.0.0:52311 *:* + UDP 0.0.0.0:65260 *:* + UDP 9.20.239.247:137 *:* + UDP 9.20.239.247:138 *:* + UDP 9.20.239.247:1900 *:* + UDP 9.20.239.247:63340 *:* + UDP 127.0.0.1:1900 *:* + UDP 127.0.0.1:48000 *:* + UDP 127.0.0.1:51613 *:* + UDP 127.0.0.1:57484 *:* + UDP 127.0.0.1:60769 *:* + UDP 127.0.0.1:63341 *:* + UDP [::]:500 *:* + UDP [::]:3702 *:* + UDP [::]:3702 *:* + UDP [::]:4500 *:* + UDP [::]:5004 *:* + UDP [::]:5005 *:* + UDP [::]:5006 *:* + UDP [::]:5007 *:* + UDP [::]:50004 *:* + UDP [::]:50005 *:* + UDP [::]:52311 *:* + UDP [::]:65261 *:* + UDP [::1]:1900 *:* + UDP [::1]:63339 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:546 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:546 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:1900 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:63338 *:* diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/running1.txt b/sandbox/slaws/jms-osgi/jms-osgi-client/running1.txt new file mode 100644 index 0000000000..bcc668fba2 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/running1.txt @@ -0,0 +1,253 @@ + +Active Connections + + Proto Local Address Foreign Address State + TCP 0.0.0.0:135 R9E67YR:0 LISTENING + TCP 0.0.0.0:445 R9E67YR:0 LISTENING + TCP 0.0.0.0:554 R9E67YR:0 LISTENING + TCP 0.0.0.0:623 R9E67YR:0 LISTENING + TCP 0.0.0.0:1099 R9E67YR:0 LISTENING + TCP 0.0.0.0:2816 R9E67YR:0 LISTENING + TCP 0.0.0.0:2817 R9E67YR:0 LISTENING + TCP 0.0.0.0:2818 R9E67YR:0 LISTENING + TCP 0.0.0.0:2819 R9E67YR:0 LISTENING + TCP 0.0.0.0:2869 R9E67YR:0 LISTENING + TCP 0.0.0.0:5157 R9E67YR:0 LISTENING + TCP 0.0.0.0:5357 R9E67YR:0 LISTENING + TCP 0.0.0.0:7274 R9E67YR:0 LISTENING + TCP 0.0.0.0:7275 R9E67YR:0 LISTENING + TCP 0.0.0.0:7277 R9E67YR:0 LISTENING + TCP 0.0.0.0:7777 R9E67YR:0 LISTENING + TCP 0.0.0.0:7778 R9E67YR:0 LISTENING + TCP 0.0.0.0:8879 R9E67YR:0 LISTENING + TCP 0.0.0.0:8886 R9E67YR:0 LISTENING + TCP 0.0.0.0:8887 R9E67YR:0 LISTENING + TCP 0.0.0.0:8888 R9E67YR:0 LISTENING + TCP 0.0.0.0:8889 R9E67YR:0 LISTENING + TCP 0.0.0.0:9043 R9E67YR:0 LISTENING + TCP 0.0.0.0:9060 R9E67YR:0 LISTENING + TCP 0.0.0.0:9085 R9E67YR:0 LISTENING + TCP 0.0.0.0:9086 R9E67YR:0 LISTENING + TCP 0.0.0.0:9100 R9E67YR:0 LISTENING + TCP 0.0.0.0:9106 R9E67YR:0 LISTENING + TCP 0.0.0.0:9107 R9E67YR:0 LISTENING + TCP 0.0.0.0:9352 R9E67YR:0 LISTENING + TCP 0.0.0.0:9360 R9E67YR:0 LISTENING + TCP 0.0.0.0:9361 R9E67YR:0 LISTENING + TCP 0.0.0.0:9362 R9E67YR:0 LISTENING + TCP 0.0.0.0:9363 R9E67YR:0 LISTENING + TCP 0.0.0.0:9448 R9E67YR:0 LISTENING + TCP 0.0.0.0:9449 R9E67YR:0 LISTENING + TCP 0.0.0.0:9809 R9E67YR:0 LISTENING + TCP 0.0.0.0:9904 R9E67YR:0 LISTENING + TCP 0.0.0.0:10243 R9E67YR:0 LISTENING + TCP 0.0.0.0:16992 R9E67YR:0 LISTENING + TCP 0.0.0.0:49152 R9E67YR:0 LISTENING + TCP 0.0.0.0:49153 R9E67YR:0 LISTENING + TCP 0.0.0.0:49154 R9E67YR:0 LISTENING + TCP 0.0.0.0:49155 R9E67YR:0 LISTENING + TCP 0.0.0.0:49185 R9E67YR:0 LISTENING + TCP 0.0.0.0:59264 R9E67YR:0 LISTENING + TCP 0.0.0.0:62101 R9E67YR:0 LISTENING + TCP 0.0.0.0:62456 R9E67YR:0 LISTENING + TCP 0.0.0.0:62460 R9E67YR:0 LISTENING + TCP 9.20.239.247:139 R9E67YR:0 LISTENING + TCP 9.20.239.247:61070 d03im308:1533 ESTABLISHED + TCP 9.20.239.247:62417 fra07s07-in-f83:https TIME_WAIT + TCP 9.20.239.247:62432 fra07s07-in-f83:https ESTABLISHED + TCP 9.20.239.247:62440 R9E67YR:62101 TIME_WAIT + TCP 9.20.239.247:62455 fra07s07-in-f18:https ESTABLISHED + TCP 9.20.239.247:62463 R9E67YR:62460 TIME_WAIT + TCP 127.0.0.1:2559 R9E67YR:0 LISTENING + TCP 127.0.0.1:2817 example:59331 ESTABLISHED + TCP 127.0.0.1:2818 example:59328 ESTABLISHED + TCP 127.0.0.1:8879 example:62446 TIME_WAIT + TCP 127.0.0.1:8879 example:62447 TIME_WAIT + TCP 127.0.0.1:8879 example:62464 TIME_WAIT + TCP 127.0.0.1:8879 example:62465 TIME_WAIT + TCP 127.0.0.1:9106 example:59265 ESTABLISHED + TCP 127.0.0.1:9106 example:59332 ESTABLISHED + TCP 127.0.0.1:9107 example:59330 ESTABLISHED + TCP 127.0.0.1:9352 example:59101 ESTABLISHED + TCP 127.0.0.1:9352 example:59177 ESTABLISHED + TCP 127.0.0.1:9352 example:59273 ESTABLISHED + TCP 127.0.0.1:9352 example:59298 ESTABLISHED + TCP 127.0.0.1:9360 example:59175 ESTABLISHED + TCP 127.0.0.1:9360 example:59271 ESTABLISHED + TCP 127.0.0.1:9360 example:59297 ESTABLISHED + TCP 127.0.0.1:9361 example:59295 ESTABLISHED + TCP 127.0.0.1:9363 example:59272 ESTABLISHED + TCP 127.0.0.1:9363 example:59296 ESTABLISHED + TCP 127.0.0.1:9627 R9E67YR:0 LISTENING + TCP 127.0.0.1:9627 example:59104 ESTABLISHED + TCP 127.0.0.1:9627 example:61025 ESTABLISHED + TCP 127.0.0.1:9630 R9E67YR:0 LISTENING + TCP 127.0.0.1:9630 example:59181 ESTABLISHED + TCP 127.0.0.1:9630 example:61024 ESTABLISHED + TCP 127.0.0.1:9632 R9E67YR:0 LISTENING + TCP 127.0.0.1:9632 example:59106 ESTABLISHED + TCP 127.0.0.1:9632 example:59184 ESTABLISHED + TCP 127.0.0.1:9632 example:59799 ESTABLISHED + TCP 127.0.0.1:9632 example:60160 ESTABLISHED + TCP 127.0.0.1:9638 R9E67YR:0 LISTENING + TCP 127.0.0.1:9638 example:61020 ESTABLISHED + TCP 127.0.0.1:9639 R9E67YR:0 LISTENING + TCP 127.0.0.1:9639 example:61021 ESTABLISHED + TCP 127.0.0.1:9904 example:59290 ESTABLISHED + TCP 127.0.0.1:9904 example:59329 ESTABLISHED + TCP 127.0.0.1:49317 example:49318 ESTABLISHED + TCP 127.0.0.1:49318 example:49317 ESTABLISHED + TCP 127.0.0.1:49319 example:49320 ESTABLISHED + TCP 127.0.0.1:49320 example:49319 ESTABLISHED + TCP 127.0.0.1:51023 R9E67YR:0 LISTENING + TCP 127.0.0.1:51024 example:51025 ESTABLISHED + TCP 127.0.0.1:51025 example:51024 ESTABLISHED + TCP 127.0.0.1:52075 R9E67YR:0 LISTENING + TCP 127.0.0.1:53176 example:53177 ESTABLISHED + TCP 127.0.0.1:53177 example:53176 ESTABLISHED + TCP 127.0.0.1:53179 R9E67YR:0 LISTENING + TCP 127.0.0.1:59068 example:59069 ESTABLISHED + TCP 127.0.0.1:59069 example:59068 ESTABLISHED + TCP 127.0.0.1:59070 example:59071 ESTABLISHED + TCP 127.0.0.1:59071 example:59070 ESTABLISHED + TCP 127.0.0.1:59094 example:59095 ESTABLISHED + TCP 127.0.0.1:59095 example:59094 ESTABLISHED + TCP 127.0.0.1:59096 example:59097 ESTABLISHED + TCP 127.0.0.1:59097 example:59096 ESTABLISHED + TCP 127.0.0.1:59101 example:9352 ESTABLISHED + TCP 127.0.0.1:59104 example:9627 ESTABLISHED + TCP 127.0.0.1:59106 example:9632 ESTABLISHED + TCP 127.0.0.1:59171 example:59172 ESTABLISHED + TCP 127.0.0.1:59172 example:59171 ESTABLISHED + TCP 127.0.0.1:59173 example:59174 ESTABLISHED + TCP 127.0.0.1:59174 example:59173 ESTABLISHED + TCP 127.0.0.1:59175 example:9360 ESTABLISHED + TCP 127.0.0.1:59177 example:9352 ESTABLISHED + TCP 127.0.0.1:59181 example:9630 ESTABLISHED + TCP 127.0.0.1:59184 example:9632 ESTABLISHED + TCP 127.0.0.1:59264 example:59333 ESTABLISHED + TCP 127.0.0.1:59265 example:9106 ESTABLISHED + TCP 127.0.0.1:59266 example:59267 ESTABLISHED + TCP 127.0.0.1:59267 example:59266 ESTABLISHED + TCP 127.0.0.1:59268 example:59269 ESTABLISHED + TCP 127.0.0.1:59269 example:59268 ESTABLISHED + TCP 127.0.0.1:59271 example:9360 ESTABLISHED + TCP 127.0.0.1:59272 example:9363 ESTABLISHED + TCP 127.0.0.1:59273 example:9352 ESTABLISHED + TCP 127.0.0.1:59290 example:9904 ESTABLISHED + TCP 127.0.0.1:59291 example:59292 ESTABLISHED + TCP 127.0.0.1:59292 example:59291 ESTABLISHED + TCP 127.0.0.1:59293 example:59294 ESTABLISHED + TCP 127.0.0.1:59294 example:59293 ESTABLISHED + TCP 127.0.0.1:59295 example:9361 ESTABLISHED + TCP 127.0.0.1:59296 example:9363 ESTABLISHED + TCP 127.0.0.1:59297 example:9360 ESTABLISHED + TCP 127.0.0.1:59298 example:9352 ESTABLISHED + TCP 127.0.0.1:59328 example:2818 ESTABLISHED + TCP 127.0.0.1:59329 example:9904 ESTABLISHED + TCP 127.0.0.1:59330 example:9107 ESTABLISHED + TCP 127.0.0.1:59331 example:2817 ESTABLISHED + TCP 127.0.0.1:59332 example:9106 ESTABLISHED + TCP 127.0.0.1:59333 example:59264 ESTABLISHED + TCP 127.0.0.1:59449 R9E67YR:0 LISTENING + TCP 127.0.0.1:59799 example:9632 ESTABLISHED + TCP 127.0.0.1:60160 example:9632 ESTABLISHED + TCP 127.0.0.1:61020 example:9638 ESTABLISHED + TCP 127.0.0.1:61021 example:9639 ESTABLISHED + TCP 127.0.0.1:61024 example:9630 ESTABLISHED + TCP 127.0.0.1:61025 example:9627 ESTABLISHED + TCP 127.0.0.1:61049 R9E67YR:0 LISTENING + TCP 127.0.0.1:62445 example:62444 TIME_WAIT + TCP 127.0.0.1:62456 example:62459 ESTABLISHED + TCP 127.0.0.1:62457 example:62458 ESTABLISHED + TCP 127.0.0.1:62458 example:62457 ESTABLISHED + TCP 127.0.0.1:62459 example:62456 ESTABLISHED + TCP 127.0.0.1:62461 example:1099 TIME_WAIT + TCP [::]:135 R9E67YR:0 LISTENING + TCP [::]:445 R9E67YR:0 LISTENING + TCP [::]:554 R9E67YR:0 LISTENING + TCP [::]:623 R9E67YR:0 LISTENING + TCP [::]:1099 R9E67YR:0 LISTENING + TCP [::]:2816 R9E67YR:0 LISTENING + TCP [::]:2817 R9E67YR:0 LISTENING + TCP [::]:2818 R9E67YR:0 LISTENING + TCP [::]:2819 R9E67YR:0 LISTENING + TCP [::]:2869 R9E67YR:0 LISTENING + TCP [::]:5357 R9E67YR:0 LISTENING + TCP [::]:7274 R9E67YR:0 LISTENING + TCP [::]:7275 R9E67YR:0 LISTENING + TCP [::]:7277 R9E67YR:0 LISTENING + TCP [::]:8879 R9E67YR:0 LISTENING + TCP [::]:8886 R9E67YR:0 LISTENING + TCP [::]:8887 R9E67YR:0 LISTENING + TCP [::]:8888 R9E67YR:0 LISTENING + TCP [::]:8889 R9E67YR:0 LISTENING + TCP [::]:9043 R9E67YR:0 LISTENING + TCP [::]:9060 R9E67YR:0 LISTENING + TCP [::]:9085 R9E67YR:0 LISTENING + TCP [::]:9086 R9E67YR:0 LISTENING + TCP [::]:9100 R9E67YR:0 LISTENING + TCP [::]:9106 R9E67YR:0 LISTENING + TCP [::]:9107 R9E67YR:0 LISTENING + TCP [::]:9352 R9E67YR:0 LISTENING + TCP [::]:9360 R9E67YR:0 LISTENING + TCP [::]:9361 R9E67YR:0 LISTENING + TCP [::]:9362 R9E67YR:0 LISTENING + TCP [::]:9363 R9E67YR:0 LISTENING + TCP [::]:9448 R9E67YR:0 LISTENING + TCP [::]:9449 R9E67YR:0 LISTENING + TCP [::]:9809 R9E67YR:0 LISTENING + TCP [::]:9904 R9E67YR:0 LISTENING + TCP [::]:10243 R9E67YR:0 LISTENING + TCP [::]:16992 R9E67YR:0 LISTENING + TCP [::]:49152 R9E67YR:0 LISTENING + TCP [::]:49153 R9E67YR:0 LISTENING + TCP [::]:49154 R9E67YR:0 LISTENING + TCP [::]:49155 R9E67YR:0 LISTENING + TCP [::]:49185 R9E67YR:0 LISTENING + TCP [::]:59264 R9E67YR:0 LISTENING + TCP [::]:62101 R9E67YR:0 LISTENING + TCP [::]:62456 R9E67YR:0 LISTENING + TCP [::]:62460 R9E67YR:0 LISTENING + TCP [::1]:61037 R9E67YR:61039 ESTABLISHED + TCP [::1]:61039 R9E67YR:61037 ESTABLISHED + TCP [fe80::d41c:2e63:2a0:b236%13]:2869 [fe80::a450:bcbc:7f25:3b14%13]:58150 TIME_WAIT + TCP [fe80::d41c:2e63:2a0:b236%13]:2869 [fe80::a450:bcbc:7f25:3b14%13]:58172 ESTABLISHED + UDP 0.0.0.0:68 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:5004 *:* + UDP 0.0.0.0:5005 *:* + UDP 0.0.0.0:5006 *:* + UDP 0.0.0.0:5007 *:* + UDP 0.0.0.0:50004 *:* + UDP 0.0.0.0:50005 *:* + UDP 0.0.0.0:52311 *:* + UDP 0.0.0.0:65260 *:* + UDP 9.20.239.247:137 *:* + UDP 9.20.239.247:138 *:* + UDP 9.20.239.247:1900 *:* + UDP 9.20.239.247:63340 *:* + UDP 127.0.0.1:1900 *:* + UDP 127.0.0.1:48000 *:* + UDP 127.0.0.1:51613 *:* + UDP 127.0.0.1:57484 *:* + UDP 127.0.0.1:60769 *:* + UDP 127.0.0.1:63341 *:* + UDP [::]:500 *:* + UDP [::]:3702 *:* + UDP [::]:3702 *:* + UDP [::]:4500 *:* + UDP [::]:5004 *:* + UDP [::]:5005 *:* + UDP [::]:5006 *:* + UDP [::]:5007 *:* + UDP [::]:50004 *:* + UDP [::]:50005 *:* + UDP [::]:52311 *:* + UDP [::]:65261 *:* + UDP [::1]:1900 *:* + UDP [::1]:63339 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:546 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:1900 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:63338 *:* diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/src/main/java/client/HelloworldActivator.java b/sandbox/slaws/jms-osgi/jms-osgi-client/src/main/java/client/HelloworldActivator.java new file mode 100644 index 0000000000..d321a2c359 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/src/main/java/client/HelloworldActivator.java @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package client; + + + +import java.util.Properties; +import java.util.logging.Logger; + +import javax.jms.Connection; +import javax.jms.ConnectionFactory; +import javax.jms.Destination; +import javax.jms.JMSException; +import javax.jms.MessageProducer; +import javax.jms.Session; +import javax.naming.Context; +import javax.naming.InitialContext; +import javax.naming.NamingException; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + + +/** + * + */ +public class HelloworldActivator implements BundleActivator { + private Logger logger = Logger.getLogger(HelloworldActivator.class.getName()); + + public void start(BundleContext context) throws Exception { + logger.info("Starting " + context.getBundle()); + sendTextMessage("HelloworldService", "Fred"); + } + + public void stop(BundleContext context) throws Exception { + logger.info("Stopping " + context.getBundle()); + } + + protected void sendTextMessage(String destName, String payload) throws JMSException, NamingException { + Properties props = new Properties(); + props.setProperty("java.naming.factory.initial", "org.apache.activemq.jndi.ActiveMQInitialContextFactory"); + props.setProperty("java.naming.provider.url", "vm://localhost?broker.persistent=false"); + props.setProperty("connectionFactoryNames", "ConnectionFactory"); + props.setProperty("queue.HelloworldService", "HelloworldService"); + Context context = new InitialContext(props); + Object o = null; + try { + o = context.lookup("ConnectionFactory"); + } catch (Exception ex) { + logger.info("Connection factory not found " + ex.toString()); + } + ConnectionFactory connectionFactory = (ConnectionFactory)o; + Connection connection = connectionFactory.createConnection(); + Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); + + try { + o = context.lookup(destName); + } catch (Exception ex) { + logger.info("Destination not found " + ex.toString()); + } + Destination dest = (Destination)o; + MessageProducer p = session.createProducer(dest); + + connection.start(); + session.run(); + p.send(session.createTextMessage(payload)); + connection.close(); + } + +} diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/stopped.txt b/sandbox/slaws/jms-osgi/jms-osgi-client/stopped.txt new file mode 100644 index 0000000000..375a04f9e2 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/stopped.txt @@ -0,0 +1,236 @@ + +Active Connections + + Proto Local Address Foreign Address State + TCP 0.0.0.0:135 R9E67YR:0 LISTENING + TCP 0.0.0.0:445 R9E67YR:0 LISTENING + TCP 0.0.0.0:554 R9E67YR:0 LISTENING + TCP 0.0.0.0:623 R9E67YR:0 LISTENING + TCP 0.0.0.0:2816 R9E67YR:0 LISTENING + TCP 0.0.0.0:2817 R9E67YR:0 LISTENING + TCP 0.0.0.0:2818 R9E67YR:0 LISTENING + TCP 0.0.0.0:2819 R9E67YR:0 LISTENING + TCP 0.0.0.0:2869 R9E67YR:0 LISTENING + TCP 0.0.0.0:5157 R9E67YR:0 LISTENING + TCP 0.0.0.0:5357 R9E67YR:0 LISTENING + TCP 0.0.0.0:7274 R9E67YR:0 LISTENING + TCP 0.0.0.0:7275 R9E67YR:0 LISTENING + TCP 0.0.0.0:7277 R9E67YR:0 LISTENING + TCP 0.0.0.0:7777 R9E67YR:0 LISTENING + TCP 0.0.0.0:7778 R9E67YR:0 LISTENING + TCP 0.0.0.0:8879 R9E67YR:0 LISTENING + TCP 0.0.0.0:8886 R9E67YR:0 LISTENING + TCP 0.0.0.0:8887 R9E67YR:0 LISTENING + TCP 0.0.0.0:8888 R9E67YR:0 LISTENING + TCP 0.0.0.0:8889 R9E67YR:0 LISTENING + TCP 0.0.0.0:9043 R9E67YR:0 LISTENING + TCP 0.0.0.0:9060 R9E67YR:0 LISTENING + TCP 0.0.0.0:9085 R9E67YR:0 LISTENING + TCP 0.0.0.0:9086 R9E67YR:0 LISTENING + TCP 0.0.0.0:9100 R9E67YR:0 LISTENING + TCP 0.0.0.0:9106 R9E67YR:0 LISTENING + TCP 0.0.0.0:9107 R9E67YR:0 LISTENING + TCP 0.0.0.0:9352 R9E67YR:0 LISTENING + TCP 0.0.0.0:9360 R9E67YR:0 LISTENING + TCP 0.0.0.0:9361 R9E67YR:0 LISTENING + TCP 0.0.0.0:9362 R9E67YR:0 LISTENING + TCP 0.0.0.0:9363 R9E67YR:0 LISTENING + TCP 0.0.0.0:9448 R9E67YR:0 LISTENING + TCP 0.0.0.0:9449 R9E67YR:0 LISTENING + TCP 0.0.0.0:9809 R9E67YR:0 LISTENING + TCP 0.0.0.0:9904 R9E67YR:0 LISTENING + TCP 0.0.0.0:10243 R9E67YR:0 LISTENING + TCP 0.0.0.0:16992 R9E67YR:0 LISTENING + TCP 0.0.0.0:49152 R9E67YR:0 LISTENING + TCP 0.0.0.0:49153 R9E67YR:0 LISTENING + TCP 0.0.0.0:49154 R9E67YR:0 LISTENING + TCP 0.0.0.0:49155 R9E67YR:0 LISTENING + TCP 0.0.0.0:49185 R9E67YR:0 LISTENING + TCP 0.0.0.0:59264 R9E67YR:0 LISTENING + TCP 9.20.239.247:139 R9E67YR:0 LISTENING + TCP 9.20.239.247:61070 d03im308:1533 ESTABLISHED + TCP 9.20.239.247:62432 fra07s07-in-f83:https TIME_WAIT + TCP 9.20.239.247:62455 fra07s07-in-f18:https ESTABLISHED + TCP 9.20.239.247:62471 fra07s07-in-f83:https ESTABLISHED + TCP 127.0.0.1:2559 R9E67YR:0 LISTENING + TCP 127.0.0.1:2817 example:59331 ESTABLISHED + TCP 127.0.0.1:2818 example:59328 ESTABLISHED + TCP 127.0.0.1:8879 example:62466 TIME_WAIT + TCP 127.0.0.1:8879 example:62467 TIME_WAIT + TCP 127.0.0.1:8879 example:62468 TIME_WAIT + TCP 127.0.0.1:8879 example:62469 TIME_WAIT + TCP 127.0.0.1:9106 example:59265 ESTABLISHED + TCP 127.0.0.1:9106 example:59332 ESTABLISHED + TCP 127.0.0.1:9107 example:59330 ESTABLISHED + TCP 127.0.0.1:9352 example:59101 ESTABLISHED + TCP 127.0.0.1:9352 example:59177 ESTABLISHED + TCP 127.0.0.1:9352 example:59273 ESTABLISHED + TCP 127.0.0.1:9352 example:59298 ESTABLISHED + TCP 127.0.0.1:9360 example:59175 ESTABLISHED + TCP 127.0.0.1:9360 example:59271 ESTABLISHED + TCP 127.0.0.1:9360 example:59297 ESTABLISHED + TCP 127.0.0.1:9361 example:59295 ESTABLISHED + TCP 127.0.0.1:9363 example:59272 ESTABLISHED + TCP 127.0.0.1:9363 example:59296 ESTABLISHED + TCP 127.0.0.1:9627 R9E67YR:0 LISTENING + TCP 127.0.0.1:9627 example:59104 ESTABLISHED + TCP 127.0.0.1:9627 example:61025 ESTABLISHED + TCP 127.0.0.1:9630 R9E67YR:0 LISTENING + TCP 127.0.0.1:9630 example:59181 ESTABLISHED + TCP 127.0.0.1:9630 example:61024 ESTABLISHED + TCP 127.0.0.1:9632 R9E67YR:0 LISTENING + TCP 127.0.0.1:9632 example:59106 ESTABLISHED + TCP 127.0.0.1:9632 example:59184 ESTABLISHED + TCP 127.0.0.1:9632 example:59799 ESTABLISHED + TCP 127.0.0.1:9632 example:60160 ESTABLISHED + TCP 127.0.0.1:9638 R9E67YR:0 LISTENING + TCP 127.0.0.1:9638 example:61020 ESTABLISHED + TCP 127.0.0.1:9639 R9E67YR:0 LISTENING + TCP 127.0.0.1:9639 example:61021 ESTABLISHED + TCP 127.0.0.1:9904 example:59290 ESTABLISHED + TCP 127.0.0.1:9904 example:59329 ESTABLISHED + TCP 127.0.0.1:49317 example:49318 ESTABLISHED + TCP 127.0.0.1:49318 example:49317 ESTABLISHED + TCP 127.0.0.1:49319 example:49320 ESTABLISHED + TCP 127.0.0.1:49320 example:49319 ESTABLISHED + TCP 127.0.0.1:51023 R9E67YR:0 LISTENING + TCP 127.0.0.1:51024 example:51025 ESTABLISHED + TCP 127.0.0.1:51025 example:51024 ESTABLISHED + TCP 127.0.0.1:52075 R9E67YR:0 LISTENING + TCP 127.0.0.1:53176 example:53177 ESTABLISHED + TCP 127.0.0.1:53177 example:53176 ESTABLISHED + TCP 127.0.0.1:53179 R9E67YR:0 LISTENING + TCP 127.0.0.1:59068 example:59069 ESTABLISHED + TCP 127.0.0.1:59069 example:59068 ESTABLISHED + TCP 127.0.0.1:59070 example:59071 ESTABLISHED + TCP 127.0.0.1:59071 example:59070 ESTABLISHED + TCP 127.0.0.1:59094 example:59095 ESTABLISHED + TCP 127.0.0.1:59095 example:59094 ESTABLISHED + TCP 127.0.0.1:59096 example:59097 ESTABLISHED + TCP 127.0.0.1:59097 example:59096 ESTABLISHED + TCP 127.0.0.1:59101 example:9352 ESTABLISHED + TCP 127.0.0.1:59104 example:9627 ESTABLISHED + TCP 127.0.0.1:59106 example:9632 ESTABLISHED + TCP 127.0.0.1:59171 example:59172 ESTABLISHED + TCP 127.0.0.1:59172 example:59171 ESTABLISHED + TCP 127.0.0.1:59173 example:59174 ESTABLISHED + TCP 127.0.0.1:59174 example:59173 ESTABLISHED + TCP 127.0.0.1:59175 example:9360 ESTABLISHED + TCP 127.0.0.1:59177 example:9352 ESTABLISHED + TCP 127.0.0.1:59181 example:9630 ESTABLISHED + TCP 127.0.0.1:59184 example:9632 ESTABLISHED + TCP 127.0.0.1:59264 example:59333 ESTABLISHED + TCP 127.0.0.1:59265 example:9106 ESTABLISHED + TCP 127.0.0.1:59266 example:59267 ESTABLISHED + TCP 127.0.0.1:59267 example:59266 ESTABLISHED + TCP 127.0.0.1:59268 example:59269 ESTABLISHED + TCP 127.0.0.1:59269 example:59268 ESTABLISHED + TCP 127.0.0.1:59271 example:9360 ESTABLISHED + TCP 127.0.0.1:59272 example:9363 ESTABLISHED + TCP 127.0.0.1:59273 example:9352 ESTABLISHED + TCP 127.0.0.1:59290 example:9904 ESTABLISHED + TCP 127.0.0.1:59291 example:59292 ESTABLISHED + TCP 127.0.0.1:59292 example:59291 ESTABLISHED + TCP 127.0.0.1:59293 example:59294 ESTABLISHED + TCP 127.0.0.1:59294 example:59293 ESTABLISHED + TCP 127.0.0.1:59295 example:9361 ESTABLISHED + TCP 127.0.0.1:59296 example:9363 ESTABLISHED + TCP 127.0.0.1:59297 example:9360 ESTABLISHED + TCP 127.0.0.1:59298 example:9352 ESTABLISHED + TCP 127.0.0.1:59328 example:2818 ESTABLISHED + TCP 127.0.0.1:59329 example:9904 ESTABLISHED + TCP 127.0.0.1:59330 example:9107 ESTABLISHED + TCP 127.0.0.1:59331 example:2817 ESTABLISHED + TCP 127.0.0.1:59332 example:9106 ESTABLISHED + TCP 127.0.0.1:59333 example:59264 ESTABLISHED + TCP 127.0.0.1:59449 R9E67YR:0 LISTENING + TCP 127.0.0.1:59799 example:9632 ESTABLISHED + TCP 127.0.0.1:60160 example:9632 ESTABLISHED + TCP 127.0.0.1:61020 example:9638 ESTABLISHED + TCP 127.0.0.1:61021 example:9639 ESTABLISHED + TCP 127.0.0.1:61024 example:9630 ESTABLISHED + TCP 127.0.0.1:61025 example:9627 ESTABLISHED + TCP 127.0.0.1:61049 R9E67YR:0 LISTENING + TCP 127.0.0.1:62458 example:62457 TIME_WAIT + TCP 127.0.0.1:62459 example:62456 TIME_WAIT + TCP [::]:135 R9E67YR:0 LISTENING + TCP [::]:445 R9E67YR:0 LISTENING + TCP [::]:554 R9E67YR:0 LISTENING + TCP [::]:623 R9E67YR:0 LISTENING + TCP [::]:2816 R9E67YR:0 LISTENING + TCP [::]:2817 R9E67YR:0 LISTENING + TCP [::]:2818 R9E67YR:0 LISTENING + TCP [::]:2819 R9E67YR:0 LISTENING + TCP [::]:2869 R9E67YR:0 LISTENING + TCP [::]:5357 R9E67YR:0 LISTENING + TCP [::]:7274 R9E67YR:0 LISTENING + TCP [::]:7275 R9E67YR:0 LISTENING + TCP [::]:7277 R9E67YR:0 LISTENING + TCP [::]:8879 R9E67YR:0 LISTENING + TCP [::]:8886 R9E67YR:0 LISTENING + TCP [::]:8887 R9E67YR:0 LISTENING + TCP [::]:8888 R9E67YR:0 LISTENING + TCP [::]:8889 R9E67YR:0 LISTENING + TCP [::]:9043 R9E67YR:0 LISTENING + TCP [::]:9060 R9E67YR:0 LISTENING + TCP [::]:9085 R9E67YR:0 LISTENING + TCP [::]:9086 R9E67YR:0 LISTENING + TCP [::]:9100 R9E67YR:0 LISTENING + TCP [::]:9106 R9E67YR:0 LISTENING + TCP [::]:9107 R9E67YR:0 LISTENING + TCP [::]:9352 R9E67YR:0 LISTENING + TCP [::]:9360 R9E67YR:0 LISTENING + TCP [::]:9361 R9E67YR:0 LISTENING + TCP [::]:9362 R9E67YR:0 LISTENING + TCP [::]:9363 R9E67YR:0 LISTENING + TCP [::]:9448 R9E67YR:0 LISTENING + TCP [::]:9449 R9E67YR:0 LISTENING + TCP [::]:9809 R9E67YR:0 LISTENING + TCP [::]:9904 R9E67YR:0 LISTENING + TCP [::]:10243 R9E67YR:0 LISTENING + TCP [::]:16992 R9E67YR:0 LISTENING + TCP [::]:49152 R9E67YR:0 LISTENING + TCP [::]:49153 R9E67YR:0 LISTENING + TCP [::]:49154 R9E67YR:0 LISTENING + TCP [::]:49155 R9E67YR:0 LISTENING + TCP [::]:49185 R9E67YR:0 LISTENING + TCP [::]:59264 R9E67YR:0 LISTENING + TCP [::1]:61037 R9E67YR:61039 ESTABLISHED + TCP [::1]:61039 R9E67YR:61037 ESTABLISHED + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:5004 *:* + UDP 0.0.0.0:5005 *:* + UDP 0.0.0.0:5006 *:* + UDP 0.0.0.0:5007 *:* + UDP 0.0.0.0:50004 *:* + UDP 0.0.0.0:50005 *:* + UDP 0.0.0.0:52311 *:* + UDP 0.0.0.0:65260 *:* + UDP 9.20.239.247:137 *:* + UDP 9.20.239.247:138 *:* + UDP 9.20.239.247:1900 *:* + UDP 9.20.239.247:63340 *:* + UDP 127.0.0.1:1900 *:* + UDP 127.0.0.1:48000 *:* + UDP 127.0.0.1:51613 *:* + UDP 127.0.0.1:57484 *:* + UDP 127.0.0.1:60769 *:* + UDP 127.0.0.1:63341 *:* + UDP [::]:500 *:* + UDP [::]:3702 *:* + UDP [::]:3702 *:* + UDP [::]:4500 *:* + UDP [::]:5004 *:* + UDP [::]:5005 *:* + UDP [::]:5006 *:* + UDP [::]:5007 *:* + UDP [::]:50004 *:* + UDP [::]:50005 *:* + UDP [::]:52311 *:* + UDP [::]:65261 *:* + UDP [::1]:1900 *:* + UDP [::1]:63339 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:546 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:1900 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:63338 *:* diff --git a/sandbox/slaws/jms-osgi/jms-osgi-client/stopped1.txt b/sandbox/slaws/jms-osgi/jms-osgi-client/stopped1.txt new file mode 100644 index 0000000000..4c1f11194a --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi-client/stopped1.txt @@ -0,0 +1,242 @@ + +Active Connections + + Proto Local Address Foreign Address State + TCP 0.0.0.0:135 R9E67YR:0 LISTENING + TCP 0.0.0.0:445 R9E67YR:0 LISTENING + TCP 0.0.0.0:554 R9E67YR:0 LISTENING + TCP 0.0.0.0:623 R9E67YR:0 LISTENING + TCP 0.0.0.0:1099 R9E67YR:0 LISTENING + TCP 0.0.0.0:2816 R9E67YR:0 LISTENING + TCP 0.0.0.0:2817 R9E67YR:0 LISTENING + TCP 0.0.0.0:2818 R9E67YR:0 LISTENING + TCP 0.0.0.0:2819 R9E67YR:0 LISTENING + TCP 0.0.0.0:2869 R9E67YR:0 LISTENING + TCP 0.0.0.0:5157 R9E67YR:0 LISTENING + TCP 0.0.0.0:5357 R9E67YR:0 LISTENING + TCP 0.0.0.0:7274 R9E67YR:0 LISTENING + TCP 0.0.0.0:7275 R9E67YR:0 LISTENING + TCP 0.0.0.0:7277 R9E67YR:0 LISTENING + TCP 0.0.0.0:7777 R9E67YR:0 LISTENING + TCP 0.0.0.0:7778 R9E67YR:0 LISTENING + TCP 0.0.0.0:8879 R9E67YR:0 LISTENING + TCP 0.0.0.0:8886 R9E67YR:0 LISTENING + TCP 0.0.0.0:8887 R9E67YR:0 LISTENING + TCP 0.0.0.0:8888 R9E67YR:0 LISTENING + TCP 0.0.0.0:8889 R9E67YR:0 LISTENING + TCP 0.0.0.0:9043 R9E67YR:0 LISTENING + TCP 0.0.0.0:9060 R9E67YR:0 LISTENING + TCP 0.0.0.0:9085 R9E67YR:0 LISTENING + TCP 0.0.0.0:9086 R9E67YR:0 LISTENING + TCP 0.0.0.0:9100 R9E67YR:0 LISTENING + TCP 0.0.0.0:9106 R9E67YR:0 LISTENING + TCP 0.0.0.0:9107 R9E67YR:0 LISTENING + TCP 0.0.0.0:9352 R9E67YR:0 LISTENING + TCP 0.0.0.0:9360 R9E67YR:0 LISTENING + TCP 0.0.0.0:9361 R9E67YR:0 LISTENING + TCP 0.0.0.0:9362 R9E67YR:0 LISTENING + TCP 0.0.0.0:9363 R9E67YR:0 LISTENING + TCP 0.0.0.0:9448 R9E67YR:0 LISTENING + TCP 0.0.0.0:9449 R9E67YR:0 LISTENING + TCP 0.0.0.0:9809 R9E67YR:0 LISTENING + TCP 0.0.0.0:9904 R9E67YR:0 LISTENING + TCP 0.0.0.0:10243 R9E67YR:0 LISTENING + TCP 0.0.0.0:16992 R9E67YR:0 LISTENING + TCP 0.0.0.0:49152 R9E67YR:0 LISTENING + TCP 0.0.0.0:49153 R9E67YR:0 LISTENING + TCP 0.0.0.0:49154 R9E67YR:0 LISTENING + TCP 0.0.0.0:49155 R9E67YR:0 LISTENING + TCP 0.0.0.0:49185 R9E67YR:0 LISTENING + TCP 0.0.0.0:59264 R9E67YR:0 LISTENING + TCP 0.0.0.0:62101 R9E67YR:0 LISTENING + TCP 9.20.239.247:139 R9E67YR:0 LISTENING + TCP 9.20.239.247:61070 d03im308:1533 ESTABLISHED + TCP 9.20.239.247:62432 fra07s07-in-f83:https ESTABLISHED + TCP 9.20.239.247:62455 fra07s07-in-f18:https ESTABLISHED + TCP 9.20.239.247:62463 R9E67YR:62460 TIME_WAIT + TCP 127.0.0.1:2559 R9E67YR:0 LISTENING + TCP 127.0.0.1:2817 example:59331 ESTABLISHED + TCP 127.0.0.1:2818 example:59328 ESTABLISHED + TCP 127.0.0.1:8879 example:62464 TIME_WAIT + TCP 127.0.0.1:8879 example:62465 TIME_WAIT + TCP 127.0.0.1:8879 example:62466 TIME_WAIT + TCP 127.0.0.1:8879 example:62467 TIME_WAIT + TCP 127.0.0.1:9106 example:59265 ESTABLISHED + TCP 127.0.0.1:9106 example:59332 ESTABLISHED + TCP 127.0.0.1:9107 example:59330 ESTABLISHED + TCP 127.0.0.1:9352 example:59101 ESTABLISHED + TCP 127.0.0.1:9352 example:59177 ESTABLISHED + TCP 127.0.0.1:9352 example:59273 ESTABLISHED + TCP 127.0.0.1:9352 example:59298 ESTABLISHED + TCP 127.0.0.1:9360 example:59175 ESTABLISHED + TCP 127.0.0.1:9360 example:59271 ESTABLISHED + TCP 127.0.0.1:9360 example:59297 ESTABLISHED + TCP 127.0.0.1:9361 example:59295 ESTABLISHED + TCP 127.0.0.1:9363 example:59272 ESTABLISHED + TCP 127.0.0.1:9363 example:59296 ESTABLISHED + TCP 127.0.0.1:9627 R9E67YR:0 LISTENING + TCP 127.0.0.1:9627 example:59104 ESTABLISHED + TCP 127.0.0.1:9627 example:61025 ESTABLISHED + TCP 127.0.0.1:9630 R9E67YR:0 LISTENING + TCP 127.0.0.1:9630 example:59181 ESTABLISHED + TCP 127.0.0.1:9630 example:61024 ESTABLISHED + TCP 127.0.0.1:9632 R9E67YR:0 LISTENING + TCP 127.0.0.1:9632 example:59106 ESTABLISHED + TCP 127.0.0.1:9632 example:59184 ESTABLISHED + TCP 127.0.0.1:9632 example:59799 ESTABLISHED + TCP 127.0.0.1:9632 example:60160 ESTABLISHED + TCP 127.0.0.1:9638 R9E67YR:0 LISTENING + TCP 127.0.0.1:9638 example:61020 ESTABLISHED + TCP 127.0.0.1:9639 R9E67YR:0 LISTENING + TCP 127.0.0.1:9639 example:61021 ESTABLISHED + TCP 127.0.0.1:9904 example:59290 ESTABLISHED + TCP 127.0.0.1:9904 example:59329 ESTABLISHED + TCP 127.0.0.1:49317 example:49318 ESTABLISHED + TCP 127.0.0.1:49318 example:49317 ESTABLISHED + TCP 127.0.0.1:49319 example:49320 ESTABLISHED + TCP 127.0.0.1:49320 example:49319 ESTABLISHED + TCP 127.0.0.1:51023 R9E67YR:0 LISTENING + TCP 127.0.0.1:51024 example:51025 ESTABLISHED + TCP 127.0.0.1:51025 example:51024 ESTABLISHED + TCP 127.0.0.1:52075 R9E67YR:0 LISTENING + TCP 127.0.0.1:53176 example:53177 ESTABLISHED + TCP 127.0.0.1:53177 example:53176 ESTABLISHED + TCP 127.0.0.1:53179 R9E67YR:0 LISTENING + TCP 127.0.0.1:59068 example:59069 ESTABLISHED + TCP 127.0.0.1:59069 example:59068 ESTABLISHED + TCP 127.0.0.1:59070 example:59071 ESTABLISHED + TCP 127.0.0.1:59071 example:59070 ESTABLISHED + TCP 127.0.0.1:59094 example:59095 ESTABLISHED + TCP 127.0.0.1:59095 example:59094 ESTABLISHED + TCP 127.0.0.1:59096 example:59097 ESTABLISHED + TCP 127.0.0.1:59097 example:59096 ESTABLISHED + TCP 127.0.0.1:59101 example:9352 ESTABLISHED + TCP 127.0.0.1:59104 example:9627 ESTABLISHED + TCP 127.0.0.1:59106 example:9632 ESTABLISHED + TCP 127.0.0.1:59171 example:59172 ESTABLISHED + TCP 127.0.0.1:59172 example:59171 ESTABLISHED + TCP 127.0.0.1:59173 example:59174 ESTABLISHED + TCP 127.0.0.1:59174 example:59173 ESTABLISHED + TCP 127.0.0.1:59175 example:9360 ESTABLISHED + TCP 127.0.0.1:59177 example:9352 ESTABLISHED + TCP 127.0.0.1:59181 example:9630 ESTABLISHED + TCP 127.0.0.1:59184 example:9632 ESTABLISHED + TCP 127.0.0.1:59264 example:59333 ESTABLISHED + TCP 127.0.0.1:59265 example:9106 ESTABLISHED + TCP 127.0.0.1:59266 example:59267 ESTABLISHED + TCP 127.0.0.1:59267 example:59266 ESTABLISHED + TCP 127.0.0.1:59268 example:59269 ESTABLISHED + TCP 127.0.0.1:59269 example:59268 ESTABLISHED + TCP 127.0.0.1:59271 example:9360 ESTABLISHED + TCP 127.0.0.1:59272 example:9363 ESTABLISHED + TCP 127.0.0.1:59273 example:9352 ESTABLISHED + TCP 127.0.0.1:59290 example:9904 ESTABLISHED + TCP 127.0.0.1:59291 example:59292 ESTABLISHED + TCP 127.0.0.1:59292 example:59291 ESTABLISHED + TCP 127.0.0.1:59293 example:59294 ESTABLISHED + TCP 127.0.0.1:59294 example:59293 ESTABLISHED + TCP 127.0.0.1:59295 example:9361 ESTABLISHED + TCP 127.0.0.1:59296 example:9363 ESTABLISHED + TCP 127.0.0.1:59297 example:9360 ESTABLISHED + TCP 127.0.0.1:59298 example:9352 ESTABLISHED + TCP 127.0.0.1:59328 example:2818 ESTABLISHED + TCP 127.0.0.1:59329 example:9904 ESTABLISHED + TCP 127.0.0.1:59330 example:9107 ESTABLISHED + TCP 127.0.0.1:59331 example:2817 ESTABLISHED + TCP 127.0.0.1:59332 example:9106 ESTABLISHED + TCP 127.0.0.1:59333 example:59264 ESTABLISHED + TCP 127.0.0.1:59449 R9E67YR:0 LISTENING + TCP 127.0.0.1:59799 example:9632 ESTABLISHED + TCP 127.0.0.1:60160 example:9632 ESTABLISHED + TCP 127.0.0.1:61020 example:9638 ESTABLISHED + TCP 127.0.0.1:61021 example:9639 ESTABLISHED + TCP 127.0.0.1:61024 example:9630 ESTABLISHED + TCP 127.0.0.1:61025 example:9627 ESTABLISHED + TCP 127.0.0.1:61049 R9E67YR:0 LISTENING + TCP 127.0.0.1:62458 example:62457 TIME_WAIT + TCP 127.0.0.1:62459 example:62456 TIME_WAIT + TCP 127.0.0.1:62461 example:1099 TIME_WAIT + TCP [::]:135 R9E67YR:0 LISTENING + TCP [::]:445 R9E67YR:0 LISTENING + TCP [::]:554 R9E67YR:0 LISTENING + TCP [::]:623 R9E67YR:0 LISTENING + TCP [::]:1099 R9E67YR:0 LISTENING + TCP [::]:2816 R9E67YR:0 LISTENING + TCP [::]:2817 R9E67YR:0 LISTENING + TCP [::]:2818 R9E67YR:0 LISTENING + TCP [::]:2819 R9E67YR:0 LISTENING + TCP [::]:2869 R9E67YR:0 LISTENING + TCP [::]:5357 R9E67YR:0 LISTENING + TCP [::]:7274 R9E67YR:0 LISTENING + TCP [::]:7275 R9E67YR:0 LISTENING + TCP [::]:7277 R9E67YR:0 LISTENING + TCP [::]:8879 R9E67YR:0 LISTENING + TCP [::]:8886 R9E67YR:0 LISTENING + TCP [::]:8887 R9E67YR:0 LISTENING + TCP [::]:8888 R9E67YR:0 LISTENING + TCP [::]:8889 R9E67YR:0 LISTENING + TCP [::]:9043 R9E67YR:0 LISTENING + TCP [::]:9060 R9E67YR:0 LISTENING + TCP [::]:9085 R9E67YR:0 LISTENING + TCP [::]:9086 R9E67YR:0 LISTENING + TCP [::]:9100 R9E67YR:0 LISTENING + TCP [::]:9106 R9E67YR:0 LISTENING + TCP [::]:9107 R9E67YR:0 LISTENING + TCP [::]:9352 R9E67YR:0 LISTENING + TCP [::]:9360 R9E67YR:0 LISTENING + TCP [::]:9361 R9E67YR:0 LISTENING + TCP [::]:9362 R9E67YR:0 LISTENING + TCP [::]:9363 R9E67YR:0 LISTENING + TCP [::]:9448 R9E67YR:0 LISTENING + TCP [::]:9449 R9E67YR:0 LISTENING + TCP [::]:9809 R9E67YR:0 LISTENING + TCP [::]:9904 R9E67YR:0 LISTENING + TCP [::]:10243 R9E67YR:0 LISTENING + TCP [::]:16992 R9E67YR:0 LISTENING + TCP [::]:49152 R9E67YR:0 LISTENING + TCP [::]:49153 R9E67YR:0 LISTENING + TCP [::]:49154 R9E67YR:0 LISTENING + TCP [::]:49155 R9E67YR:0 LISTENING + TCP [::]:49185 R9E67YR:0 LISTENING + TCP [::]:59264 R9E67YR:0 LISTENING + TCP [::]:62101 R9E67YR:0 LISTENING + TCP [::1]:61037 R9E67YR:61039 ESTABLISHED + TCP [::1]:61039 R9E67YR:61037 ESTABLISHED + UDP 0.0.0.0:68 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:3702 *:* + UDP 0.0.0.0:5004 *:* + UDP 0.0.0.0:5005 *:* + UDP 0.0.0.0:5006 *:* + UDP 0.0.0.0:5007 *:* + UDP 0.0.0.0:50004 *:* + UDP 0.0.0.0:50005 *:* + UDP 0.0.0.0:52311 *:* + UDP 0.0.0.0:65260 *:* + UDP 9.20.239.247:137 *:* + UDP 9.20.239.247:138 *:* + UDP 9.20.239.247:1900 *:* + UDP 9.20.239.247:63340 *:* + UDP 127.0.0.1:1900 *:* + UDP 127.0.0.1:48000 *:* + UDP 127.0.0.1:51613 *:* + UDP 127.0.0.1:57484 *:* + UDP 127.0.0.1:60769 *:* + UDP 127.0.0.1:63341 *:* + UDP [::]:500 *:* + UDP [::]:3702 *:* + UDP [::]:3702 *:* + UDP [::]:4500 *:* + UDP [::]:5004 *:* + UDP [::]:5005 *:* + UDP [::]:5006 *:* + UDP [::]:5007 *:* + UDP [::]:50004 *:* + UDP [::]:50005 *:* + UDP [::]:52311 *:* + UDP [::]:65261 *:* + UDP [::1]:1900 *:* + UDP [::1]:63339 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:546 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:1900 *:* + UDP [fe80::d41c:2e63:2a0:b236%13]:63338 *:* diff --git a/sandbox/slaws/jms-osgi/jms-osgi/META-INF/MANIFEST.MF b/sandbox/slaws/jms-osgi/jms-osgi/META-INF/MANIFEST.MF index 616766a3a7..e035a688b2 100644 --- a/sandbox/slaws/jms-osgi/jms-osgi/META-INF/MANIFEST.MF +++ b/sandbox/slaws/jms-osgi/jms-osgi/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 -Bundle-Version: 2.0.0 +Bundle-Version: 1.0.0 Bundle-Name: JMS OSGi -Bundle-Activator: calculator.CalculatorActivator +Bundle-Activator: sample.HelloworldActivator Bundle-ManifestVersion: 2 Import-Package: org.oasisopen.sca.annotation;version="2.0.0", org.oasisopen.sca;version="2.0.0", @@ -10,7 +10,9 @@ Import-Package: org.oasisopen.sca.annotation;version="2.0.0", org.osgi.framework, org.osgi.service.component;resolution:=optional, org.osgi.service.packageadmin, - org.osgi.util.tracker + org.osgi.util.tracker, + javax.naming, + javax.jms Bundle-SymbolicName: jms.osgi Bundle-Vendor: The Apache Software Foundation Eclipse-LazyStart: true diff --git a/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.componentType b/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.componentType new file mode 100644 index 0000000000..fd8c5ed793 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.componentType @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.composite b/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.composite new file mode 100644 index 0000000000..4f40da9868 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi/OSGI-INF/sca/bundle.composite @@ -0,0 +1,34 @@ + + + + + + + + + + + + + diff --git a/sandbox/slaws/jms-osgi/jms-osgi/pom.xml b/sandbox/slaws/jms-osgi/jms-osgi/pom.xml index fbd6be20c5..e81705f9bc 100644 --- a/sandbox/slaws/jms-osgi/jms-osgi/pom.xml +++ b/sandbox/slaws/jms-osgi/jms-osgi/pom.xml @@ -31,7 +31,7 @@ sample-jms-osgi 2.0-SNAPSHOT - Apache Tuscany SCA Sample Calculator OSGi + Apache Tuscany SCA Sample JMS OSGi ${project.version} diff --git a/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/calculator/CalculatorActivator.java b/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/calculator/CalculatorActivator.java index 5e65623761..1c7a9bec51 100644 --- a/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/calculator/CalculatorActivator.java +++ b/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/calculator/CalculatorActivator.java @@ -35,8 +35,8 @@ public class CalculatorActivator implements BundleActivator { public void start(BundleContext context) throws Exception { logger.info("Starting " + context.getBundle()); - Node node = TuscanyRuntime.runComposite("Calculator.composite", context.getBundle().getLocation()); - node.stop(); + //Node node = TuscanyRuntime.runComposite("Calculator.composite", context.getBundle().getLocation()); + //node.stop(); } public void stop(BundleContext context) throws Exception { diff --git a/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/Helloworld.java b/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/Helloworld.java new file mode 100644 index 0000000000..f4e8c50448 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/Helloworld.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package sample; + +import org.oasisopen.sca.annotation.Remotable; + +@Remotable +public interface Helloworld { + + String sayHello(String name); + +} diff --git a/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/HelloworldActivator.java b/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/HelloworldActivator.java new file mode 100644 index 0000000000..46f74c0f68 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/HelloworldActivator.java @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package sample; + + +import java.util.Dictionary; +import java.util.Hashtable; +import java.util.logging.Logger; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +/** + * + */ +public class HelloworldActivator implements BundleActivator { + private Logger logger = Logger.getLogger(HelloworldActivator.class.getName()); + + public void start(BundleContext context) throws Exception { + logger.info("Starting " + context.getBundle()); + + Dictionary props = new Hashtable(); + + logger.info("Registering " + Helloworld.class.getName()); + props.put("sca.service", "HelloworldComponent#service-name(HelloworldService)"); + context.registerService(Helloworld.class.getName(), new HelloworldImpl(), props); + } + + public void stop(BundleContext context) throws Exception { + logger.info("Stopping " + context.getBundle()); + // Registered services will be automatically unregistered + } +} diff --git a/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/HelloworldImpl.java b/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/HelloworldImpl.java new file mode 100644 index 0000000000..01b2b1197d --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi/src/main/java/sample/HelloworldImpl.java @@ -0,0 +1,29 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package sample; + +public class HelloworldImpl implements Helloworld { + + public String sayHello(String name) { + String returnString = "Hello " + name; + System.out.println(returnString); + return returnString; + } + +} diff --git a/sandbox/slaws/jms-osgi/jms-osgi/src/main/resources/Calculator.composite b/sandbox/slaws/jms-osgi/jms-osgi/src/main/resources/Calculator.composite deleted file mode 100644 index 36ef198015..0000000000 --- a/sandbox/slaws/jms-osgi/jms-osgi/src/main/resources/Calculator.composite +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sandbox/slaws/jms-osgi/jms-osgi/src/test/java/calculator/CalculatorTestCase.java b/sandbox/slaws/jms-osgi/jms-osgi/src/test/java/calculator/CalculatorTestCase.java index a81b58bced..eb9fa883fe 100644 --- a/sandbox/slaws/jms-osgi/jms-osgi/src/test/java/calculator/CalculatorTestCase.java +++ b/sandbox/slaws/jms-osgi/jms-osgi/src/test/java/calculator/CalculatorTestCase.java @@ -34,9 +34,9 @@ public class CalculatorTestCase { @Test public void testCalculate() throws NoSuchServiceException { - +/* // Run the SCA composite in a Tuscany runtime - Node node = TuscanyRuntime.runComposite("Calculator.composite", "target/classes"); + Node node = TuscanyRuntime.runComposite("OSGI-INF/sca/bundle.composite", "target/classes"); try { @@ -45,5 +45,6 @@ public class CalculatorTestCase { // Stop the Tuscany runtime Node node.stop(); } +*/ } } diff --git a/sandbox/slaws/jms-osgi/jms-osgi/src/test/java/sample/HelloworldTestCase.java b/sandbox/slaws/jms-osgi/jms-osgi/src/test/java/sample/HelloworldTestCase.java new file mode 100644 index 0000000000..2ca6bde1c6 --- /dev/null +++ b/sandbox/slaws/jms-osgi/jms-osgi/src/test/java/sample/HelloworldTestCase.java @@ -0,0 +1,34 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package sample; + +import org.junit.Assert; + +import org.apache.tuscany.sca.Node; +import org.apache.tuscany.sca.TuscanyRuntime; +import org.junit.Test; +import org.oasisopen.sca.NoSuchServiceException; + +public class HelloworldTestCase { + + @Test + public void testCalculate() throws NoSuchServiceException { + // TODO + } +} -- cgit v1.2.3