tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Leung" <tom.le...@netage.com.hk>
Subject Fail to run "calculator-bundle" from the OSGi demo "distributed-osgi-static" with Equinox Framework
Date Wed, 08 May 2013 03:26:01 GMT
I follow the instruction to run OSGi sample "distributed-osgi-static" with Equinox Framework, but encounter the following error:

 

I have created an instance for " operations-bundle " and then create another instance for " calculator-bundle"

then I get the following error:

 

Caused by: java.lang.ClassNotFoundException: javax.xml.transform.Result

        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)

        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)

        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)

        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

        ... 36 more

 

Any suggestion to solve the problem.

 

 

Best Regds,

 

Tom

 

 

The steps I did are as follow:

 

Step #1: Create an OSGi instance for "operations-bundle"

 

cd  .\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\operations-bundle

 

operations-bundle>mvn

 

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Apache Tuscany SCA Sample OSGi Remote Services Calculator Operations 2.0

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-plugin-versions) @ sample-operations-bundle ---

[INFO] The requirePluginVersions rule is currently not compatible with Maven3.

[INFO]

[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ sample-operations-bundle ---

[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoad

er'.

[INFO] Setting property: velocimacro.messages.on => 'false'.

[INFO] Setting property: resource.loader => 'classpath'.

[INFO] Setting property: resource.manager.logwhenfound => 'false'.

[INFO]

[INFO] --- maven-resources-plugin:2.4.2:resources (default-resources) @ sample-operations-bundle ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 1 resource

[INFO] Copying 8 resources

[INFO] Copying 3 resources

[INFO]

[INFO] --- maven-compiler-plugin:2.2:compile (default-compile) @ sample-operations-bundle ---

[INFO] Compiling 9 source files to C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-

static\operations-bundle\target\classes

[INFO]

[INFO] --- maven-resources-plugin:2.4.2:testResources (default-testResources) @ sample-operations-bundle ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 0 resource

[INFO] Copying 3 resources

[INFO]

[INFO] --- maven-compiler-plugin:2.2:testCompile (default-testCompile) @ sample-operations-bundle ---

[INFO] Compiling 3 source files to C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-

static\operations-bundle\target\test-classes

[INFO]

[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ sample-operations-bundle ---

[INFO] Surefire report directory: C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-s

tatic\operations-bundle\target\surefire-reports

 

-------------------------------------------------------

T E S T S

-------------------------------------------------------

Running calculator.dosgi.operations.test.OperationsOSGiNodeTestCase

2013ª~5ñδ8ñΘ ñWñ╚11:10:27 org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost start

╕Ω░T: Checking for manfiests customized by Tuscany in node-launcher-equinox/resources

1 org.apache.tuscany.sca.node.launcher.equinox ACTIVE

2 org.apache.tuscany.sca.node.launcher.equinox.libraries.wsdl4j ACTIVE

3 org.apache.tuscany.sca.node.launcher.equinox.libraries.servlet-api ACTIVE

4 org.apache.tuscany.sca.node.launcher.equinox.libraries.surefirebooter2948292494009633635 ACTIVE

5 org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-api ACTIVE

6 org.apache.tuscany.sca.node.launcher.equinox.libraries.junit ACTIVE

7 org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-booter ACTIVE

8 org.apache.tuscany.sca.node.launcher.equinox.libraries.cglib ACTIVE

9 org.apache.tuscany.sca.node.launcher.equinox.libraries.asm ACTIVE

11 org.apache.tuscany.sca.builder ACTIVE

12 org.apache.tuscany.sca.node.api ACTIVE

13 org.apache.tuscany.sca.launcher ACTIVE

14 org.apache.tuscany.sca.implementation.osgi.runtime ACTIVE

15 org.apache.tuscany.sca.monitor ACTIVE

17 org.apache.tuscany.sca.binding.rmi ACTIVE

18 org.apache.tuscany.sca.implementation.python ACTIVE

19 org.apache.tuscany.sca.domain.node ACTIVE

20 org.apache.tuscany.sca.binding.jsonrpc ACTIVE

21 org.apache.tuscany.sca.binding.ws ACTIVE

22 org.apache.tuscany.sca.binding.ws.jaxws ACTIVE

23 org.apache.tuscany.sca.contribution.osgi ACTIVE

25 org.apache.tuscany.sca.binding.jms ACTIVE

26 org.apache.tuscany.sca.implementation.java ACTIVE

27 org.apache.tuscany.sca.interface.wsdl ACTIVE

29 org.apache.tuscany.sca.binding.sca.runtime ACTIVE

30 org.apache.tuscany.sca.binding.ejb ACTIVE

31 org.apache.tuscany.sca.core.databinding ACTIVE

32 org.apache.tuscany.sca.implementation.widget ACTIVE

33 org.apache.tuscany.sca.api ACTIVE

34 org.apache.tuscany.sca.implementation.web ACTIVE

org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.ap

ache.tuscany.sca.implementation.web.runtime.utils; version="2.0.0"

35 org.apache.tuscany.sca.databinding.jaxb ACTIVE

37 org.apache.tuscany.sca.binding.ws.wsdlgen ACTIVE

38 org.apache.tuscany.sca.binding.rest ACTIVE

Error for bundle: org.apache.tuscany.sca.wink

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:129

7)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at calculator.dosgi.operations.test.OperationsOSGiNodeTestCase.setUpBeforeClass(OperationsOSGiNodeTestCase.java:

61)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140

)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)

        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)

39 org.apache.tuscany.sca.wink INSTALLED

40 org.apache.tuscany.sca.extensibility.equinox ACTIVE

41 org.apache.tuscany.sca.assembly.xml ACTIVE

Error for bundle: org.apache.tuscany.sca.host.jetty

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)

        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.mo

rtbay.component; version="6.1.19"

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:129

7)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at calculator.dosgi.operations.test.OperationsOSGiNodeTestCase.setUpBeforeClass(OperationsOSGiNodeTestCase.java:

61)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140

)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)

        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)

        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

42 org.apache.tuscany.sca.host.jetty INSTALLED

43 org.apache.tuscany.sca.assembly.xsd ACTIVE

44 org.apache.tuscany.sca.host.corba ACTIVE

45 org.apache.tuscany.sca.node.osgi.impl ACTIVE

47 org.apache.tuscany.sca.interface.java.jaxws ACTIVE

48 org.apache.tuscany.sca.deployment ACTIVE

49 org.apache.tuscany.sca.implementation.java.runtime ACTIVE

50 org.apache.tuscany.sca.databinding ACTIVE

53 org.apache.tuscany.sca.implementation.spring ACTIVE

55 org.apache.tuscany.sca.binding.ws.jaxws.ri ACTIVE

56 org.apache.tuscany.sca.assembly ACTIVE

57 org.apache.tuscany.sca.core.spi ACTIVE

58 org.apache.tuscany.sca.host.rmi ACTIVE

59 org.apache.tuscany.sca.implementation.bpel ACTIVE

60 org.apache.tuscany.sca.core ACTIVE

61 org.apache.tuscany.sca.client.impl ACTIVE

62 org.apache.tuscany.sca.contribution ACTIVE

63 org.apache.tuscany.sca.binding.http ACTIVE

64 org.apache.tuscany.sca.shell ACTIVE

65 org.apache.tuscany.sca.implementation.osgi ACTIVE

66 org.apache.tuscany.sca.data.api ACTIVE

68 org.eclipse.equinox.ds ACTIVE

69 org.apache.tuscany.sca.node.impl ACTIVE

70 org.apache.tuscany.sca.policy.security ACTIVE

71 org.apache.tuscany.sca.binding.corba ACTIVE

org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.

servlet.jsp; version="0.0.0"

72 org.apache.tuscany.sca.host.http ACTIVE

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)

74 org.apache.tuscany.sca.implementation.script ACTIVE

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:129

7)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)

75 org.apache.tuscany.sca.xsd ACTIVE

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

76 org.apache.tuscany.sca.common.java ACTIVE

77 org.apache.tuscany.sca.implementation.jaxrs ACTIVE

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

79 org.apache.tuscany.sca.binding.rmi.runtime ACTIVE

        at calculator.dosgi.operations.test.OperationsOSGiNodeTestCase.setUpBeforeClass(OperationsOSGiNodeTestCase.java:

61)

80 org.apache.tuscany.sca.host.webapp ACTIVE

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

81 org.apache.tuscany.sca.binding.comet ACTIVE

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

82 org.apache.tuscany.sca.interface.java ACTIVE

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Error for bundle: org.apache.tuscany.sca.implementation.web.runtime

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140

)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)

        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)

83 org.apache.tuscany.sca.implementation.web.runtime INSTALLED

        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

84 org.apache.tuscany.sca.common.xml ACTIVE

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Starting calculator.dosgi.operations_1.0.0 [28]

85 org.apache.tuscany.sca.common.http ACTIVE

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 calculator.dosgi.operations.impl.OperationsActivator start

86 org.apache.tuscany.sca.binding.jsonp ACTIVE

╕Ω░T: Registering calculator.dosgi.operations.AddService

87 org.apache.tuscany.sca.binding.atom ACTIVE

88 org.apache.tuscany.sca.extensibility ACTIVE

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Registering calculator.dosgi.operations.SubtractService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Registering calculator.dosgi.operations.MultiplyService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Registering calculator.dosgi.operations.DivideService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 calculator.dosgi.operations.impl.OperationsActivator getBundle

╕Ω░T: calculator.dosgi.operations.AddService is loaded by bundle: calculator.dosgi.operations

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.node.impl.NodeImpl start

╕Ω░T: Starting node: calculator.dosgi.operations domain: default

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContributions

╕Ω░T: Loading contribution: bundleentry://28.fwk899205949/

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1 run

─╡ºi: Unresolved resource META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory found in bundl

e: 83 org.apache.tuscany.sca.implementation.web.runtime INSTALLED

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1 run

─Y¡½¬║: Bundle: org.apache.tuscany.sca.implementation.web.runtime - The bundle could not be resolved. Reason: Missing Co

nstraint: Import-Package: javax.servlet.jsp; version="0.0.0"

org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.

servlet.jsp; version="0.0.0"

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:129

7)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1.run(EquinoxServiceDiscoverer.java:305

)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1.run(EquinoxServiceDiscoverer.java:264

)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer.getServiceDeclarations(EquinoxServiceDi

scoverer.java:264)

        at org.apache.tuscany.sca.extensibility.ServiceDiscovery.getServiceDeclarations(ServiceDiscovery.java:107)

        at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.loadProviderFactories(DefaultProviderFac

toryExtensionPoint.java:149)

        at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.loadProviderFactories(DefaultProviderFac

toryExtensionPoint.java:129)

        at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.getProviderFactory(DefaultProviderFactor

yExtensionPoint.java:92)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.addImplementationProvider(CompositeActivator

Impl.java:175)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activateComponent(CompositeActivatorImpl.jav

a:125)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:92)

        at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:146)

        at org.apache.tuscany.sca.node.osgi.impl.NodeManager.bundleStarted(NodeManager.java:117)

        at org.apache.tuscany.sca.node.osgi.impl.NodeManager.bundleChanged(NodeManager.java:139)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)

        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)

        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)

        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1350)

        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1301)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:362)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at calculator.dosgi.operations.test.OperationsOSGiNodeTestCase.setUpBeforeClass(OperationsOSGiNodeTestCase.java:

75)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140

)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)

        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)

        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService

╕Ω░T: RMI service registered: rmi://localhost:8085/AddService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.rmi - rmi://localhost:8085/AddService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService

╕Ω░T: RMI service registered: rmi://localhost:8085/SubtractService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.rmi - rmi://localhost:8085/SubtractService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService

╕Ω░T: RMI service registered: rmi://localhost:8085/MultiplyService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.rmi - rmi://localhost:8085/MultiplyService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService

╕Ω░T: RMI service registered: rmi://localhost:8085/DivideService

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.rmi - rmi://localhost:8085/DivideService

28 calculator.dosgi.operations ACTIVE

2013ª~5ñδ8ñΘ ñWñ╚11:10:28 calculator.dosgi.operations.impl.AddServiceImpl add

╕Ω░T: Adding 1.0 and 2.0

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.node.impl.NodeImpl stop

╕Ω░T: Stopping node: calculator.dosgi.operations

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint

╕Ω░T: Remove endpoint - binding.rmi - rmi://localhost:8085/AddService

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService

╕Ω░T: RMI service unregistered: rmi://localhost:8085/AddService

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint

╕Ω░T: Remove endpoint - binding.rmi - rmi://localhost:8085/SubtractService

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService

╕Ω░T: RMI service unregistered: rmi://localhost:8085/SubtractService

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint

╕Ω░T: Remove endpoint - binding.rmi - rmi://localhost:8085/MultiplyService

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService

╕Ω░T: RMI service unregistered: rmi://localhost:8085/MultiplyService

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint

╕Ω░T: Remove endpoint - binding.rmi - rmi://localhost:8085/DivideService

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService

╕Ω░T: RMI service unregistered: rmi://localhost:8085/DivideService

2013ª~5ñδ8ñΘ ñWñ╚11:10:29 calculator.dosgi.operations.impl.OperationsActivator stop

╕Ω░T: Stopping calculator.dosgi.operations_1.0.0 [28]

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.125 sec

 

Results :

 

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

 

[INFO]

[INFO] --- maven-jar-plugin:2.1:jar (default-jar) @ sample-operations-bundle ---

[INFO] Building jar: C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\operati

ons-bundle\target\sample-operations-bundle.jar

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ sample-operations-bundle ---

[INFO] Installing C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\operations

-bundle\target\sample-operations-bundle.jar to C:\Users\leungchaksun\.m2\repository\org\apache\tuscany\sca\samples\sampl

e-operations-bundle\2.0\sample-operations-bundle-2.0.jar

[INFO] Installing C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\operations

-bundle\pom.xml to C:\Users\leungchaksun\.m2\repository\org\apache\tuscany\sca\samples\sample-operations-bundle\2.0\samp

le-operations-bundle-2.0.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 9.383s

[INFO] Finished at: Wed May 08 11:10:29 GMT+08:00 2013

[INFO] Final Memory: 13M/183M

[INFO] ------------------------------------------------------------------------

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\operations-bundle>

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\operations-bundle>

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\operations-bundle>java -jar

..\..\..\..\modules\osgi-3.5.0-v20090520.jar -configuration ..\..\..\..\features\configuration -clean -console

 

osgi> ss

 

Framework is launched.

 

id      State       Bundle

0       ACTIVE      org.eclipse.osgi_3.5.0.v20090520

1       ACTIVE      org.aspectj.aspectjrt_1.6.8

2       ACTIVE      org.apache.tuscany.sca.host.corba.jse.tns_2.0.0

3       ACTIVE      aopalliance.aopalliance_1.0.0

4       ACTIVE      org.apache.tuscany.sca.implementation.osgi.runtime_2.0.0

5       ACTIVE      org.apache.wink.server_1.2.0.incubating

6       ACTIVE      org.apache.tuscany.sca.policy.logging_2.0.0

7       ACTIVE      org.springframework.context.support_3.0.5.RELEASE

8       ACTIVE      org.apache.tuscany.sca.domain.node_2.0.0

9       ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800

10      ACTIVE      org.apache.tuscany.sca.binding.jsonp_2.0.0

11      ACTIVE      org.apache.tuscany.sca.endpoint.tribes_2.0.0

12      ACTIVE      org.apache.wink.common_1.2.0.incubating

13      ACTIVE      com.hazelcast.hazelcast-client_1.9.2.2

14      ACTIVE      org.apache.ode.ode-bpel-obj_1.3.2

15      ACTIVE      commons-digester.commons-digester_1.8.0

16      INSTALLED   org.apache.tuscany.sca.wink_2.0.0

17      ACTIVE      org.apache.tuscany.sca.binding.jms.runtime_2.0.0

18      ACTIVE      org.apache.tuscany.sca.host.corba.jse_2.0.0

19      ACTIVE      tranql.tranql-connector_1.1.0

20      ACTIVE      org.apache.myfaces.core.myfaces-api_1.2.2

21      ACTIVE      org.apache.tomcat.tribes_6.0.26

22      ACTIVE      org.eclipse.xsd_2.2.3.v200705141058

23      ACTIVE      org.apache.tuscany.sca.binding.corba_2.0.0

24      ACTIVE      org.apache.wink.wink-client-apache-httpclient_1.2.0.incubating

25      ACTIVE      org.apache.tuscany.sca.binding.atom_2.0.0

26      ACTIVE      org.apache.tuscany.sca.databinding.sdo.axiom_2.0.0

27      ACTIVE      org.eclipse.osgi.services_3.2.0.v20090520-1800

28      ACTIVE      org.apache.tuscany.sca.binding.corba.runtime_2.0.0

29      ACTIVE      commons-collections.commons-collections_3.2.0

30      ACTIVE      org.eclipse.emf.common_2.2.1.v200705141058

31      ACTIVE      org.apache.tuscany.sca.data.api_2.0.0

32      ACTIVE      jaxen.jaxen_1.1.1

33      ACTIVE      org.apache.ode.ode-bpel-dao_1.3.2

34      ACTIVE      org.apache.tuscany.sca.binding.jms_2.0.0

35      ACTIVE      org.apache.tuscany.sca.interface.wsdl_2.0.0

36      ACTIVE      org.apache.tuscany.sca.assembly.xsd_2.0.0

37      ACTIVE      org.apache.ode.ode-dao-hibernate_1.3.2

38      ACTIVE      xalan.xalan_2.7.0

39      ACTIVE      org.eclipse.core.jobs_3.4.0.v20080512

40      ACTIVE      org.apache.ode.ode-bpel-store_1.3.2

41      ACTIVE      jackson-core-asl_1.9.4

42      ACTIVE      org.apache.ode.ode-jacob_1.3.2

43      ACTIVE      org.apache.tuscany.sca.host.http_2.0.0

44      ACTIVE      org.apache.tuscany.sca.binding.rest.runtime_2.0.0

45      INSTALLED   org.apache.tuscany.sca.implementation.web.runtime_2.0.0

46      ACTIVE      org.apache.tuscany.sca.shell_2.0.0

47      ACTIVE      org.jruby.jruby_1.5.5

48      ACTIVE      org.apache.tuscany.sca.policy.security_2.0.0

49      ACTIVE      dom4j.dom4j_1.6.1

50      ACTIVE      backport-util-concurrent.backport-util-concurrent_3.1.0

51      ACTIVE      net.sourceforge.stripes.stripes_1.5.2

52      ACTIVE      org.springframework.beans_3.0.5.RELEASE

53      STARTING    org.apache.tuscany.sca.node.osgi.impl_2.0.0

54      RESOLVED    org.apache.tuscany.sca.aspectj_2.0.0

55      ACTIVE      org.eclipse.core.runtime_3.4.0.v20080512

56      ACTIVE      org.apache.tuscany.sca.contribution_2.0.0

57      RESOLVED    org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec_2.0.0

58      RESOLVED    org.apache.ode.ode-bpel-epr_1.3.2

59      RESOLVED    net.sourceforge.saxon.saxon_9.1.0.8

60      RESOLVED    org.apache.tuscany.sca.binding.rest_2.0.0

61      RESOLVED    org.apache.axis2.axis2-mtompolicy_1.5.4

62      RESOLVED    cglib.cglib_2.2.0

63      RESOLVED    slf4j.jdk14_1.6.1

                    Master=103

64      RESOLVED    org.eclipse.core.contenttype_3.3.0.v20080604-1400

65      RESOLVED    org.apache.tuscany.sca.binding.ws.jaxws_2.0.0

66      RESOLVED    org.apache.tuscany.sdo.lib_1.0.0

67      RESOLVED    org.eclipse.emf.ecore.xmi_2.2.3.v200705141058

68      RESOLVED    org.apache.axis2.mex_1.5.4

69      RESOLVED    net.sourceforge.serp.serp_1.13.1

70      RESOLVED    org.apache.ode.ode-dao-jpa_1.3.2

71      RESOLVED    org.apache.tuscany.sca.binding.http.runtime_2.0.0

72      RESOLVED    org.apache.tuscany.sca.host.corba.jee_2.0.0

73      RESOLVED    org.apache.tuscany.sca.binding.ejb_2.0.0

74      RESOLVED    org.objectweb.howl.howl_1.0.1

75      INSTALLED   org.apache.abdera.core_1.1.1

76      RESOLVED    org.apache.tuscany.sca.binding.ws.wsdlgen_2.0.0

77      RESOLVED    org.springframework.expression_3.0.5.RELEASE

78      RESOLVED    org.apache.geronimo.components.geronimo-connector_2.1.4

79      RESOLVED    rhino.js_1.0.0.7R2

80      RESOLVED    org.springframework.web.servlet_3.0.5.RELEASE

81      RESOLVED    org.apache.tuscany.sca.binding.jsonrpc.runtime_0.0.0

82      RESOLVED    org.apache.tuscany.sca.api_2.0.0

83      RESOLVED    org.apache.ws.commons.schema_1.4.3

84      RESOLVED    org.apache.tuscany.sca.implementation.widget.runtime_2.0.0

85      RESOLVED    commons-beanutils.commons-beanutils_1.7.0

86      RESOLVED    org.springframework.web_3.0.5.RELEASE

87      RESOLVED    asm.asm_3.1.0

88      RESOLVED    org.apache.tuscany.sca.implementation.jaxrs_2.0.0

89      RESOLVED    org.apache.wink.client_1.2.0.incubating

90      RESOLVED    org.apache.tuscany.sca.host.jetty_2.0.0

91      INSTALLED   org.apache.abdera.client_1.1.1

92      RESOLVED    commons-httpclient.commons-httpclient_3.1.0

93      RESOLVED    org.apache.tuscany.sca.host.rmi_2.0.0

94      RESOLVED    org.apache.tuscany.sca.databinding.sdo_2.0.0

95      RESOLVED    org.apache.tuscany.sca.implementation.script.runtime_2.0.0

96      RESOLVED    jackson-module-json-org_0.9.1

97      RESOLVED    org.apache.tuscany.sca.policy.wspolicy_2.0.0

98      RESOLVED    org.apache.tuscany.sca.binding.sca.runtime_2.0.0

100     RESOLVED    javax.servlet.servlet-api_2.5.0

101     RESOLVED    org.apache.tuscany.sca.implementation.java.runtime_2.0.0

102     RESOLVED    org.apache.tuscany.sca.implementation.java_2.0.0

103     RESOLVED    slf4j.api_1.6.1

                    Fragments=63

105     RESOLVED    org.apache.tuscany.sca.databinding.json_2.0.0

106     RESOLVED    org.apache.tuscany.sca.binding.ws_2.0.0

107     RESOLVED    org.apache.tuscany.sca.implementation.jaxrs.runtime_2.0.0

108     ACTIVE      org.apache.tuscany.sca.extensibility.equinox_2.0.0

109     RESOLVED    org.apache.ode.ode-bpel-runtime_1.3.2

110     RESOLVED    xerces.xercesImpl_2.8.1

111     RESOLVED    org.apache.tuscany.sca.databinding.axiom_2.0.0

112     INSTALLED   org.apache.tuscany.sca.binding.atom.abdera_2.0.0

113     RESOLVED    org.apache.tuscany.sca.implementation.widget_2.0.0

114     RESOLVED    org.apache.santuario.xmlsec_1.4.4

115     RESOLVED    org.apache.tuscany.sca.monitor_2.0.0

116     INSTALLED   org.apache.tuscany.sca.stripes_2.0.0

117     RESOLVED    org.apache.tuscany.sca.common.java_2.0.0

118     RESOLVED    hazelcast_1.9.2.2

119     INSTALLED   org.apache.abdera.extensions-main_1.1.1

120     RESOLVED    org.apache.myfaces.core.myfaces-impl_1.2.2

121     RESOLVED    jcl.over.slf4j_1.6.1

122     RESOLVED    org.apache.tuscany.sca.host.corba_2.0.0

123     RESOLVED    org.apache.tuscany.sca.deployment_2.0.0

124     RESOLVED    org.json.json_20090211.0.0

125     RESOLVED    org.apache.ws.commons.axiom.axiom-api_1.2.10

126     RESOLVED    org.apache.tuscany.sca.common.xml_2.0.0

127     RESOLVED    javax.ws.rs.jsr311-api_1.1.1

128     RESOLVED    org.apache.axis2.osgi_1.0.0.3

129     RESOLVED    org.apache.neethi_2.0.4

130     RESOLVED    org.apache.tuscany.sca.client.impl_2.0.0

131     RESOLVED    org.apache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1

132     RESOLVED    org.apache.tuscany.sca.implementation.spring.runtime_2.0.0

133     RESOLVED    org.apache.httpcomponents.httpclient_4.1.3

134     RESOLVED    org.apache.tuscany.sca.xsd_2.0.0

135     RESOLVED    org.apache.tuscany.sca.binding.rmi.runtime_2.0.0

136     ACTIVE      org.apache.tuscany.sca.assembly_2.0.0

137     RESOLVED    org.apache.tuscany.sca.node.api_2.0.0

138     RESOLVED    org.opensaml.xmltooling_1.3.1

139     RESOLVED    org.apache.tuscany.sca.binding.ws.axis2_2.0.0

140     RESOLVED    org.apache.tuscany.sca.core.web.javascript_2.0.0

141     RESOLVED    org.apache.ode.ode-bpel-compiler_1.3.2

142     RESOLVED    org.apache.tuscany.sca.binding.rmi_2.0.0

143     RESOLVED    org.apache.tuscany.sca.interface.java.jaxws_2.0.0

144     RESOLVED    org.apache.tuscany.sca.host.webapp_2.0.0

145     INSTALLED   org.apache.abdera.server_1.1.1

146     RESOLVED    org.apache.tuscany.sca.launcher_2.0.0

147     RESOLVED    org.apache.openjpa.openjpa_1.2.1

148     RESOLVED    org.apache.geronimo.specs.geronimo-javamail_1.4_spec_1.6.0

149     RESOLVED    org.codehaus.jettison.jettison_1.2.0

150     RESOLVED    groovy-all_1.7.1

151     RESOLVED    org.opensaml.opensaml_2.4.1

152     RESOLVED    nu.validator.htmlparser.htmlparser_1.0.5

153     RESOLVED    org.apache.tuscany.sca.gateway_2.0.0

154     RESOLVED    org.apache.tuscany.sca.core.web.javascript.dojo_2.0.0

155     RESOLVED    org.opensaml.openws_1.4.1

156     RESOLVED    org.apache.tuscany.sca.interface.java.jaxrs_2.0.0

157     RESOLVED    org.apache.tuscany.sca.binding.jsonrpc_2.0.0

158     RESOLVED    org.apache.ws.security.wss4j_1.5.10

159     RESOLVED    org.apache.tuscany.sca.binding.comet_2.0.0

160     RESOLVED    org.apache.tuscany.sca.binding.http_2.0.0

161     RESOLVED    org.aspectj.aspectjweaver_1.6.8

162     RESOLVED    org.apache.tuscany.sca.domain.hazelcast_2.0.0

163     RESOLVED    org.apache.commons.codec_1.4.0

164     RESOLVED    org.apache.tuscany.sca.interface.java_2.0.0

165     RESOLVED    jackson-xc_1.9.4

166     RESOLVED    org.apache.tuscany.sca.databinding_2.0.0

167     RESOLVED    org.apache.ode.ode-bpel-schemas_1.3.2

168     RESOLVED    org.apache.rampart.rampart-core_1.5.1

169     RESOLVED    org.apache.tuscany.sca.databinding.jaxb.axiom_2.0.0

170     ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800

171     RESOLVED    javax.mail.mail_1.4.0

173     INSTALLED   org.apache.tuscany.sca.implementation.web.client_2.0.0

174     RESOLVED    org.apache.tuscany.sca.implementation.bpel_2.0.0

175     INSTALLED   org.apache.abdera.parser_1.1.1

176     RESOLVED    org.apache.rampart.rampart-policy_1.5.1

177     RESOLVED    org.apache.ode.ode-scheduler-simple_1.3.2

178     RESOLVED    log4j.log4j_1.2.15

179     ACTIVE      org.apache.tuscany.sca.implementation.osgi_2.0.0

180     RESOLVED    org.apache.tuscany.sca.databinding.jaxb_2.0.0

181     RESOLVED    org.directwebremoting.dwr_2.0.3

182     RESOLVED    org.apache.ws.commons.axiom.axiom-dom_1.2.10

183     RESOLVED    org.eclipse.emf.ecore.change_2.2.1.v200705141058

184     RESOLVED    regexp.regexp_1.3.0

185     RESOLVED    org.apache.tuscany.sca.implementation.script_2.0.0

186     RESOLVED    commons-logging.commons-logging_1.1.1

187     RESOLVED    javax.servlet.jstl_1.1.2

188     RESOLVED    org.apache.tuscany.sca.binding.ejb.runtime_2.0.0

189     RESOLVED    org.apache.xmlbeans.xmlbeans_2.3.0

190     RESOLVED    org.apache.tuscany.sca.implementation.python_2.0.0

191     RESOLVED    commons-lang.commons-lang_2.3.0

192     RESOLVED    org.springframework.asm_3.0.5.RELEASE

193     RESOLVED    org.apache.geronimo.modules.geronimo-kernel_2.0.1

194     RESOLVED    org.apache.tuscany.sca.implementation.spring.webapp_2.0.0

195     ACTIVE      org.eclipse.equinox.common_3.5.0.v20090520-1800

196     RESOLVED    jdom.jdom_1.0.0

197     RESOLVED    org.springframework.context_3.0.5.RELEASE

198     ACTIVE      org.apache.tuscany.sca.extensibility_2.0.0

199     RESOLVED    org.apache.geronimo.specs.geronimo-jms_1.1_spec_1.1.1

200     RESOLVED    org.apache.ode.ode-agents_1.3.2

201     RESOLVED    org.python.jython_2.5.2.beta1

202     RESOLVED    org.apache.geronimo.components.geronimo-transaction_2.1.4

203     RESOLVED    org.apache.tuscany.sca.builder_2.0.0

204     INSTALLED   org.apache.abdera.extensions-json_1.1.1

205     ACTIVE      org.apache.tuscany.sca.core_2.0.0

206     RESOLVED    org.apache.tuscany.sca.implementation.widget.runtime.dojo_2.0.0

207     RESOLVED    org.apache.ode.ode-jacob-ap_1.3.2

208     RESOLVED    org.apache.geronimo.specs.geronimo-jpa_3.0_spec_1.1.1

209     RESOLVED    org.apache.tuscany.sca.core.spi_2.0.0

210     INSTALLED   org.apache.tuscany.sca.myfaces_2.0.0

211     INSTALLED   org.apache.abdera.extensions-html_1.1.1

212     RESOLVED    org.apache.rampart.rampart-trust_1.5.1

213     RESOLVED    org.apache.tuscany.sca.contribution.osgi_2.0.0

214     RESOLVED    org.apache.tuscany.sca.implementation.spring_2.0.0

215     RESOLVED    org.apache.ode.ode-utils_1.3.2

216     RESOLVED    org.apache.ws.commons.axiom.axiom-impl_1.2.10

217     RESOLVED    org.apache.tuscany.sca.binding.ws.jaxws.ri_2.0.0

218     RESOLVED    org.apache.abdera.i18n_1.1.1

219     RESOLVED    org.apache.tuscany.sdo.tuscany-sdo-impl_1.1.1

220     RESOLVED    org.apache.tuscany.sca.node.impl_2.0.0

221     RESOLVED    org.apache.geronimo.specs.geronimo-ejb_3.0_spec_1.0.1

222     RESOLVED    org.apache.tomcat.juli_6.0.26

223     RESOLVED    wsdl4j.wsdl4j_1.6.2

224     RESOLVED    org.mortbay.jetty.util_6.1.26

225     RESOLVED    org.apache.tuscany.sca.common.http_2.0.0

226     RESOLVED    org.apache.tuscany.sca.implementation.python.runtime_2.0.0

227     RESOLVED    jackson-mapper-asl_1.9.4

228     RESOLVED    org.apache.tuscany.sca.implementation.web_2.0.0

229     RESOLVED    org.apache.httpcomponents.httpcore_4.1.4

230     RESOLVED    org.springframework.aop_3.0.5.RELEASE

231     RESOLVED    org.apache.ode.ode-bpel-api_1.3.2

232     RESOLVED    org.apache.tuscany.sca.binding.jsonp.runtime_2.0.0

233     RESOLVED    org.apache.tuscany.sca.core.databinding_2.0.0

234     RESOLVED    org.apache.derby.derby_10.4.1.3

235     RESOLVED    org.apache.bsf.bsf-utils_3.1.0

236     RESOLVED    org.springframework.core_3.0.5.RELEASE

237     RESOLVED    org.apache.tuscany.sca.assembly.xml_2.0.0

238     RESOLVED    commons-discovery.commons-discovery_0.4.0

239     RESOLVED    org.apache.tuscany.sdo.spec_2.1.0

240     RESOLVED    org.apache.tuscany.sca.implementation.bpel.runtime_2.0.0

241     RESOLVED    org.apache.tuscany.sca.node.launcher.equinox_2.0.0

242     RESOLVED    org.apache.geronimo.specs.geronimo-annotation_1.1_spec_1.0.0

243     RESOLVED    org.eclipse.emf.ecore_2.2.3.v200705141058

244     ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800

245     RESOLVED    commons-pool.commons-pool_1.3.0

246     RESOLVED    org.apache.commons.cli_1.2.0

247     RESOLVED    org.mortbay.jetty.server_6.1.26

 

osgi> install file:./target/sample-operations-bundle.jar

Bundle id is 248

 

osgi> ss

 

Framework is launched.

 

id      State       Bundle

0       ACTIVE      org.eclipse.osgi_3.5.0.v20090520

1       ACTIVE      org.aspectj.aspectjrt_1.6.8

2       ACTIVE      org.apache.tuscany.sca.host.corba.jse.tns_2.0.0

3       ACTIVE      aopalliance.aopalliance_1.0.0

4       ACTIVE      org.apache.tuscany.sca.implementation.osgi.runtime_2.0.0

5       ACTIVE      org.apache.wink.server_1.2.0.incubating

6       ACTIVE      org.apache.tuscany.sca.policy.logging_2.0.0

7       ACTIVE      org.springframework.context.support_3.0.5.RELEASE

8       ACTIVE      org.apache.tuscany.sca.domain.node_2.0.0

9       ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800

10      ACTIVE      org.apache.tuscany.sca.binding.jsonp_2.0.0

11      ACTIVE      org.apache.tuscany.sca.endpoint.tribes_2.0.0

12      ACTIVE      org.apache.wink.common_1.2.0.incubating

13      ACTIVE      com.hazelcast.hazelcast-client_1.9.2.2

14      ACTIVE      org.apache.ode.ode-bpel-obj_1.3.2

15      ACTIVE      commons-digester.commons-digester_1.8.0

16      INSTALLED   org.apache.tuscany.sca.wink_2.0.0

17      ACTIVE      org.apache.tuscany.sca.binding.jms.runtime_2.0.0

18      ACTIVE      org.apache.tuscany.sca.host.corba.jse_2.0.0

19      ACTIVE      tranql.tranql-connector_1.1.0

20      ACTIVE      org.apache.myfaces.core.myfaces-api_1.2.2

21      ACTIVE      org.apache.tomcat.tribes_6.0.26

22      ACTIVE      org.eclipse.xsd_2.2.3.v200705141058

23      ACTIVE      org.apache.tuscany.sca.binding.corba_2.0.0

24      ACTIVE      org.apache.wink.wink-client-apache-httpclient_1.2.0.incubating

25      ACTIVE      org.apache.tuscany.sca.binding.atom_2.0.0

26      ACTIVE      org.apache.tuscany.sca.databinding.sdo.axiom_2.0.0

27      ACTIVE      org.eclipse.osgi.services_3.2.0.v20090520-1800

28      ACTIVE      org.apache.tuscany.sca.binding.corba.runtime_2.0.0

29      ACTIVE      commons-collections.commons-collections_3.2.0

30      ACTIVE      org.eclipse.emf.common_2.2.1.v200705141058

31      ACTIVE      org.apache.tuscany.sca.data.api_2.0.0

32      ACTIVE      jaxen.jaxen_1.1.1

33      ACTIVE      org.apache.ode.ode-bpel-dao_1.3.2

34      ACTIVE      org.apache.tuscany.sca.binding.jms_2.0.0

35      ACTIVE      org.apache.tuscany.sca.interface.wsdl_2.0.0

36      ACTIVE      org.apache.tuscany.sca.assembly.xsd_2.0.0

37      ACTIVE      org.apache.ode.ode-dao-hibernate_1.3.2

38      ACTIVE      xalan.xalan_2.7.0

39      ACTIVE      org.eclipse.core.jobs_3.4.0.v20080512

40      ACTIVE      org.apache.ode.ode-bpel-store_1.3.2

41      ACTIVE      jackson-core-asl_1.9.4

42      ACTIVE      org.apache.ode.ode-jacob_1.3.2

43      ACTIVE      org.apache.tuscany.sca.host.http_2.0.0

44      ACTIVE      org.apache.tuscany.sca.binding.rest.runtime_2.0.0

45      INSTALLED   org.apache.tuscany.sca.implementation.web.runtime_2.0.0

46      ACTIVE      org.apache.tuscany.sca.shell_2.0.0

47      ACTIVE      org.jruby.jruby_1.5.5

48      ACTIVE      org.apache.tuscany.sca.policy.security_2.0.0

49      ACTIVE      dom4j.dom4j_1.6.1

50      ACTIVE      backport-util-concurrent.backport-util-concurrent_3.1.0

51      ACTIVE      net.sourceforge.stripes.stripes_1.5.2

52      ACTIVE      org.springframework.beans_3.0.5.RELEASE

53      ACTIVE      org.apache.tuscany.sca.node.osgi.impl_2.0.0

54      ACTIVE      org.apache.tuscany.sca.aspectj_2.0.0

55      ACTIVE      org.eclipse.core.runtime_3.4.0.v20080512

56      ACTIVE      org.apache.tuscany.sca.contribution_2.0.0

57      ACTIVE      org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec_2.0.0

58      ACTIVE      org.apache.ode.ode-bpel-epr_1.3.2

59      ACTIVE      net.sourceforge.saxon.saxon_9.1.0.8

60      ACTIVE      org.apache.tuscany.sca.binding.rest_2.0.0

61      ACTIVE      org.apache.axis2.axis2-mtompolicy_1.5.4

62      ACTIVE      cglib.cglib_2.2.0

63      RESOLVED    slf4j.jdk14_1.6.1

                    Master=103

64      ACTIVE      org.eclipse.core.contenttype_3.3.0.v20080604-1400

65      ACTIVE      org.apache.tuscany.sca.binding.ws.jaxws_2.0.0

66      ACTIVE      org.apache.tuscany.sdo.lib_1.0.0

67      ACTIVE      org.eclipse.emf.ecore.xmi_2.2.3.v200705141058

68      ACTIVE      org.apache.axis2.mex_1.5.4

69      ACTIVE      net.sourceforge.serp.serp_1.13.1

70      ACTIVE      org.apache.ode.ode-dao-jpa_1.3.2

71      ACTIVE      org.apache.tuscany.sca.binding.http.runtime_2.0.0

72      ACTIVE      org.apache.tuscany.sca.host.corba.jee_2.0.0

73      ACTIVE      org.apache.tuscany.sca.binding.ejb_2.0.0

74      ACTIVE      org.objectweb.howl.howl_1.0.1

75      INSTALLED   org.apache.abdera.core_1.1.1

76      ACTIVE      org.apache.tuscany.sca.binding.ws.wsdlgen_2.0.0

77      ACTIVE      org.springframework.expression_3.0.5.RELEASE

78      ACTIVE      org.apache.geronimo.components.geronimo-connector_2.1.4

79      ACTIVE      rhino.js_1.0.0.7R2

80      ACTIVE      org.springframework.web.servlet_3.0.5.RELEASE

81      ACTIVE      org.apache.tuscany.sca.binding.jsonrpc.runtime_0.0.0

82      ACTIVE      org.apache.tuscany.sca.api_2.0.0

83      ACTIVE      org.apache.ws.commons.schema_1.4.3

84      ACTIVE      org.apache.tuscany.sca.implementation.widget.runtime_2.0.0

85      ACTIVE      commons-beanutils.commons-beanutils_1.7.0

86      ACTIVE      org.springframework.web_3.0.5.RELEASE

87      ACTIVE      asm.asm_3.1.0

88      ACTIVE      org.apache.tuscany.sca.implementation.jaxrs_2.0.0

89      ACTIVE      org.apache.wink.client_1.2.0.incubating

90      ACTIVE      org.apache.tuscany.sca.host.jetty_2.0.0

91      INSTALLED   org.apache.abdera.client_1.1.1

92      ACTIVE      commons-httpclient.commons-httpclient_3.1.0

93      ACTIVE      org.apache.tuscany.sca.host.rmi_2.0.0

94      ACTIVE      org.apache.tuscany.sca.databinding.sdo_2.0.0

95      ACTIVE      org.apache.tuscany.sca.implementation.script.runtime_2.0.0

96      ACTIVE      jackson-module-json-org_0.9.1

97      ACTIVE      org.apache.tuscany.sca.policy.wspolicy_2.0.0

98      ACTIVE      org.apache.tuscany.sca.binding.sca.runtime_2.0.0

100     ACTIVE      javax.servlet.servlet-api_2.5.0

101     ACTIVE      org.apache.tuscany.sca.implementation.java.runtime_2.0.0

102     ACTIVE      org.apache.tuscany.sca.implementation.java_2.0.0

103     ACTIVE      slf4j.api_1.6.1

                    Fragments=63

105     ACTIVE      org.apache.tuscany.sca.databinding.json_2.0.0

106     ACTIVE      org.apache.tuscany.sca.binding.ws_2.0.0

107     ACTIVE      org.apache.tuscany.sca.implementation.jaxrs.runtime_2.0.0

108     ACTIVE      org.apache.tuscany.sca.extensibility.equinox_2.0.0

109     ACTIVE      org.apache.ode.ode-bpel-runtime_1.3.2

110     ACTIVE      xerces.xercesImpl_2.8.1

111     ACTIVE      org.apache.tuscany.sca.databinding.axiom_2.0.0

112     INSTALLED   org.apache.tuscany.sca.binding.atom.abdera_2.0.0

113     ACTIVE      org.apache.tuscany.sca.implementation.widget_2.0.0

114     ACTIVE      org.apache.santuario.xmlsec_1.4.4

115     ACTIVE      org.apache.tuscany.sca.monitor_2.0.0

116     INSTALLED   org.apache.tuscany.sca.stripes_2.0.0

117     ACTIVE      org.apache.tuscany.sca.common.java_2.0.0

118     ACTIVE      hazelcast_1.9.2.2

119     INSTALLED   org.apache.abdera.extensions-main_1.1.1

120     ACTIVE      org.apache.myfaces.core.myfaces-impl_1.2.2

121     ACTIVE      jcl.over.slf4j_1.6.1

122     ACTIVE      org.apache.tuscany.sca.host.corba_2.0.0

123     ACTIVE      org.apache.tuscany.sca.deployment_2.0.0

124     ACTIVE      org.json.json_20090211.0.0

125     ACTIVE      org.apache.ws.commons.axiom.axiom-api_1.2.10

126     ACTIVE      org.apache.tuscany.sca.common.xml_2.0.0

127     ACTIVE      javax.ws.rs.jsr311-api_1.1.1

128     ACTIVE      org.apache.axis2.osgi_1.0.0.3

129     ACTIVE      org.apache.neethi_2.0.4

130     ACTIVE      org.apache.tuscany.sca.client.impl_2.0.0

131     ACTIVE      org.apache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1

132     ACTIVE      org.apache.tuscany.sca.implementation.spring.runtime_2.0.0

133     ACTIVE      org.apache.httpcomponents.httpclient_4.1.3

134     ACTIVE      org.apache.tuscany.sca.xsd_2.0.0

135     ACTIVE      org.apache.tuscany.sca.binding.rmi.runtime_2.0.0

136     ACTIVE      org.apache.tuscany.sca.assembly_2.0.0

137     ACTIVE      org.apache.tuscany.sca.node.api_2.0.0

138     ACTIVE      org.opensaml.xmltooling_1.3.1

139     ACTIVE      org.apache.tuscany.sca.binding.ws.axis2_2.0.0

140     ACTIVE      org.apache.tuscany.sca.core.web.javascript_2.0.0

141     ACTIVE      org.apache.ode.ode-bpel-compiler_1.3.2

142     ACTIVE      org.apache.tuscany.sca.binding.rmi_2.0.0

143     ACTIVE      org.apache.tuscany.sca.interface.java.jaxws_2.0.0

144     ACTIVE      org.apache.tuscany.sca.host.webapp_2.0.0

145     INSTALLED   org.apache.abdera.server_1.1.1

146     ACTIVE      org.apache.tuscany.sca.launcher_2.0.0

147     ACTIVE      org.apache.openjpa.openjpa_1.2.1

148     ACTIVE      org.apache.geronimo.specs.geronimo-javamail_1.4_spec_1.6.0

149     ACTIVE      org.codehaus.jettison.jettison_1.2.0

150     ACTIVE      groovy-all_1.7.1

151     ACTIVE      org.opensaml.opensaml_2.4.1

152     ACTIVE      nu.validator.htmlparser.htmlparser_1.0.5

153     ACTIVE      org.apache.tuscany.sca.gateway_2.0.0

154     ACTIVE      org.apache.tuscany.sca.core.web.javascript.dojo_2.0.0

155     ACTIVE      org.opensaml.openws_1.4.1

156     ACTIVE      org.apache.tuscany.sca.interface.java.jaxrs_2.0.0

157     ACTIVE      org.apache.tuscany.sca.binding.jsonrpc_2.0.0

158     ACTIVE      org.apache.ws.security.wss4j_1.5.10

159     ACTIVE      org.apache.tuscany.sca.binding.comet_2.0.0

160     ACTIVE      org.apache.tuscany.sca.binding.http_2.0.0

161     ACTIVE      org.aspectj.aspectjweaver_1.6.8

162     ACTIVE      org.apache.tuscany.sca.domain.hazelcast_2.0.0

163     ACTIVE      org.apache.commons.codec_1.4.0

164     ACTIVE      org.apache.tuscany.sca.interface.java_2.0.0

165     ACTIVE      jackson-xc_1.9.4

166     ACTIVE      org.apache.tuscany.sca.databinding_2.0.0

167     ACTIVE      org.apache.ode.ode-bpel-schemas_1.3.2

168     ACTIVE      org.apache.rampart.rampart-core_1.5.1

169     ACTIVE      org.apache.tuscany.sca.databinding.jaxb.axiom_2.0.0

170     ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800

171     ACTIVE      javax.mail.mail_1.4.0

173     INSTALLED   org.apache.tuscany.sca.implementation.web.client_2.0.0

174     ACTIVE      org.apache.tuscany.sca.implementation.bpel_2.0.0

175     INSTALLED   org.apache.abdera.parser_1.1.1

176     ACTIVE      org.apache.rampart.rampart-policy_1.5.1

177     ACTIVE      org.apache.ode.ode-scheduler-simple_1.3.2

178     ACTIVE      log4j.log4j_1.2.15

179     ACTIVE      org.apache.tuscany.sca.implementation.osgi_2.0.0

180     ACTIVE      org.apache.tuscany.sca.databinding.jaxb_2.0.0

181     ACTIVE      org.directwebremoting.dwr_2.0.3

182     ACTIVE      org.apache.ws.commons.axiom.axiom-dom_1.2.10

183     ACTIVE      org.eclipse.emf.ecore.change_2.2.1.v200705141058

184     ACTIVE      regexp.regexp_1.3.0

185     ACTIVE      org.apache.tuscany.sca.implementation.script_2.0.0

186     ACTIVE      commons-logging.commons-logging_1.1.1

187     ACTIVE      javax.servlet.jstl_1.1.2

188     ACTIVE      org.apache.tuscany.sca.binding.ejb.runtime_2.0.0

189     ACTIVE      org.apache.xmlbeans.xmlbeans_2.3.0

190     ACTIVE      org.apache.tuscany.sca.implementation.python_2.0.0

191     ACTIVE      commons-lang.commons-lang_2.3.0

192     ACTIVE      org.springframework.asm_3.0.5.RELEASE

193     ACTIVE      org.apache.geronimo.modules.geronimo-kernel_2.0.1

194     ACTIVE      org.apache.tuscany.sca.implementation.spring.webapp_2.0.0

195     ACTIVE      org.eclipse.equinox.common_3.5.0.v20090520-1800

196     ACTIVE      jdom.jdom_1.0.0

197     ACTIVE      org.springframework.context_3.0.5.RELEASE

198     ACTIVE      org.apache.tuscany.sca.extensibility_2.0.0

199     ACTIVE      org.apache.geronimo.specs.geronimo-jms_1.1_spec_1.1.1

200     ACTIVE      org.apache.ode.ode-agents_1.3.2

201     ACTIVE      org.python.jython_2.5.2.beta1

202     ACTIVE      org.apache.geronimo.components.geronimo-transaction_2.1.4

203     ACTIVE      org.apache.tuscany.sca.builder_2.0.0

204     INSTALLED   org.apache.abdera.extensions-json_1.1.1

205     ACTIVE      org.apache.tuscany.sca.core_2.0.0

206     ACTIVE      org.apache.tuscany.sca.implementation.widget.runtime.dojo_2.0.0

207     ACTIVE      org.apache.ode.ode-jacob-ap_1.3.2

208     ACTIVE      org.apache.geronimo.specs.geronimo-jpa_3.0_spec_1.1.1

209     ACTIVE      org.apache.tuscany.sca.core.spi_2.0.0

210     INSTALLED   org.apache.tuscany.sca.myfaces_2.0.0

211     INSTALLED   org.apache.abdera.extensions-html_1.1.1

212     ACTIVE      org.apache.rampart.rampart-trust_1.5.1

213     ACTIVE      org.apache.tuscany.sca.contribution.osgi_2.0.0

214     ACTIVE      org.apache.tuscany.sca.implementation.spring_2.0.0

215     ACTIVE      org.apache.ode.ode-utils_1.3.2

216     ACTIVE      org.apache.ws.commons.axiom.axiom-impl_1.2.10

217     ACTIVE      org.apache.tuscany.sca.binding.ws.jaxws.ri_2.0.0

218     ACTIVE      org.apache.abdera.i18n_1.1.1

219     ACTIVE      org.apache.tuscany.sdo.tuscany-sdo-impl_1.1.1

220     ACTIVE      org.apache.tuscany.sca.node.impl_2.0.0

221     ACTIVE      org.apache.geronimo.specs.geronimo-ejb_3.0_spec_1.0.1

222     ACTIVE      org.apache.tomcat.juli_6.0.26

223     ACTIVE      wsdl4j.wsdl4j_1.6.2

224     ACTIVE      org.mortbay.jetty.util_6.1.26

225     ACTIVE      org.apache.tuscany.sca.common.http_2.0.0

226     ACTIVE      org.apache.tuscany.sca.implementation.python.runtime_2.0.0

227     ACTIVE      jackson-mapper-asl_1.9.4

228     ACTIVE      org.apache.tuscany.sca.implementation.web_2.0.0

229     ACTIVE      org.apache.httpcomponents.httpcore_4.1.4

230     ACTIVE      org.springframework.aop_3.0.5.RELEASE

231     ACTIVE      org.apache.ode.ode-bpel-api_1.3.2

232     ACTIVE      org.apache.tuscany.sca.binding.jsonp.runtime_2.0.0

233     ACTIVE      org.apache.tuscany.sca.core.databinding_2.0.0

234     ACTIVE      org.apache.derby.derby_10.4.1.3

235     ACTIVE      org.apache.bsf.bsf-utils_3.1.0

236     ACTIVE      org.springframework.core_3.0.5.RELEASE

237     ACTIVE      org.apache.tuscany.sca.assembly.xml_2.0.0

238     ACTIVE      commons-discovery.commons-discovery_0.4.0

239     ACTIVE      org.apache.tuscany.sdo.spec_2.1.0

240     ACTIVE      org.apache.tuscany.sca.implementation.bpel.runtime_2.0.0

241     ACTIVE      org.apache.tuscany.sca.node.launcher.equinox_2.0.0

242     ACTIVE      org.apache.geronimo.specs.geronimo-annotation_1.1_spec_1.0.0

243     ACTIVE      org.eclipse.emf.ecore_2.2.3.v200705141058

244     ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800

245     ACTIVE      commons-pool.commons-pool_1.3.0

246     ACTIVE      org.apache.commons.cli_1.2.0

247     ACTIVE      org.mortbay.jetty.server_6.1.26

248     INSTALLED   calculator.dosgi.operations_1.0.0

 

osgi> start 248

2013ª~5ñδ8ñΘ ñWñ╚11:11:12 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Starting calculator.dosgi.operations_1.0.0 [248]

2013ª~5ñδ8ñΘ ñWñ╚11:11:12 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Registering calculator.dosgi.operations.AddService

2013ª~5ñδ8ñΘ ñWñ╚11:11:12 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Registering calculator.dosgi.operations.SubtractService

2013ª~5ñδ8ñΘ ñWñ╚11:11:12 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Registering calculator.dosgi.operations.MultiplyService

2013ª~5ñδ8ñΘ ñWñ╚11:11:12 calculator.dosgi.operations.impl.OperationsActivator start

╕Ω░T: Registering calculator.dosgi.operations.DivideService

2013ª~5ñδ8ñΘ ñWñ╚11:11:12 calculator.dosgi.operations.impl.OperationsActivator getBundle

╕Ω░T: calculator.dosgi.operations.AddService is loaded by bundle: calculator.dosgi.operations

2013ª~5ñδ8ñΘ ñWñ╚11:11:12 org.apache.tuscany.sca.node.impl.NodeImpl start

╕Ω░T: Starting node: calculator.dosgi.operations domain: default

2013ª~5ñδ8ñΘ ñWñ╚11:11:12 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContributions

╕Ω░T: Loading contribution: bundleentry://248.fwk2021372560/

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1 run

─╡ºi: Unresolved resource META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory found in bundle: 112

org.apache.tuscany.sca.binding.atom.abdera INSTALLED

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1 run

─Y¡½¬║: Bundle: org.apache.tuscany.sca.binding.atom.abdera - The bundle could not be resolved. Reason: Missing Constrain

t: Import-Package: org.apache.abdera; version="0.0.0"

org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.ap

ache.abdera; version="0.0.0"

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:129

7)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1.run(EquinoxServiceDiscoverer.java:305

)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1.run(EquinoxServiceDiscoverer.java:264

)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer.getServiceDeclarations(EquinoxServiceDi

scoverer.java:264)

        at org.apache.tuscany.sca.extensibility.ServiceDiscovery.getServiceDeclarations(ServiceDiscovery.java:107)

       at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.loadProviderFactories(DefaultProviderFac

toryExtensionPoint.java:149)

        at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.loadProviderFactories(DefaultProviderFac

toryExtensionPoint.java:128)

        at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.getProviderFactory(DefaultProviderFactor

yExtensionPoint.java:92)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.addImplementationProvider(CompositeActivator

Impl.java:175)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activateComponent(CompositeActivatorImpl.jav

a:125)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:92)

        at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:146)

        at org.apache.tuscany.sca.node.osgi.impl.NodeManager.bundleStarted(NodeManager.java:117)

        at org.apache.tuscany.sca.node.osgi.impl.NodeManager.bundleChanged(NodeManager.java:139)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)

        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)

        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)

        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1350)

        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1301)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:362)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:253)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java

:155)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:224)

        at java.lang.Thread.run(Thread.java:662)

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1 run

─╡ºi: Unresolved resource META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory found in bundl

e: 45 org.apache.tuscany.sca.implementation.web.runtime INSTALLED

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1 run

─Y¡½¬║: Bundle: org.apache.tuscany.sca.implementation.web.runtime - The bundle could not be resolved. Reason: Missing Co

nstraint: Import-Package: javax.servlet.jsp; version="0.0.0"

org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.

servlet.jsp; version="0.0.0"

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:129

7)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1.run(EquinoxServiceDiscoverer.java:305

)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer$1.run(EquinoxServiceDiscoverer.java:264

)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer.getServiceDeclarations(EquinoxServiceDi

scoverer.java:264)

        at org.apache.tuscany.sca.extensibility.ServiceDiscovery.getServiceDeclarations(ServiceDiscovery.java:107)

        at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.loadProviderFactories(DefaultProviderFac

toryExtensionPoint.java:149)

        at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.loadProviderFactories(DefaultProviderFac

toryExtensionPoint.java:129)

        at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint.getProviderFactory(DefaultProviderFactor

yExtensionPoint.java:92)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.addImplementationProvider(CompositeActivator

Impl.java:175)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activateComponent(CompositeActivatorImpl.jav

a:125)

        at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:92)

        at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:146)

        at org.apache.tuscany.sca.node.osgi.impl.NodeManager.bundleStarted(NodeManager.java:117)

        at org.apache.tuscany.sca.node.osgi.impl.NodeManager.bundleChanged(NodeManager.java:139)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)

        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)

        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)

        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1350)

        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1301)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:362)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:253)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java

:155)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:224)

        at java.lang.Thread.run(Thread.java:662)

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService

╕Ω░T: RMI service registered: rmi://localhost:8085/AddService

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.rmi - rmi://localhost:8085/AddService

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService

╕Ω░T: RMI service registered: rmi://localhost:8085/SubtractService

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.rmi - rmi://localhost:8085/SubtractService

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService

╕Ω░T: RMI service registered: rmi://localhost:8085/MultiplyService

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.rmi - rmi://localhost:8085/MultiplyService

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService

╕Ω░T: RMI service registered: rmi://localhost:8085/DivideService

2013ª~5ñδ8ñΘ ñWñ╚11:11:13 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.rmi - rmi://localhost:8085/DivideService

 

osgi> ss

 

Framework is launched.

 

id      State       Bundle

0       ACTIVE      org.eclipse.osgi_3.5.0.v20090520

1       ACTIVE      org.aspectj.aspectjrt_1.6.8

2       ACTIVE      org.apache.tuscany.sca.host.corba.jse.tns_2.0.0

3       ACTIVE      aopalliance.aopalliance_1.0.0

4       ACTIVE      org.apache.tuscany.sca.implementation.osgi.runtime_2.0.0

5       ACTIVE      org.apache.wink.server_1.2.0.incubating

6       ACTIVE      org.apache.tuscany.sca.policy.logging_2.0.0

7       ACTIVE      org.springframework.context.support_3.0.5.RELEASE

8       ACTIVE      org.apache.tuscany.sca.domain.node_2.0.0

9       ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800

10      ACTIVE      org.apache.tuscany.sca.binding.jsonp_2.0.0

11      ACTIVE      org.apache.tuscany.sca.endpoint.tribes_2.0.0

12      ACTIVE      org.apache.wink.common_1.2.0.incubating

13      ACTIVE      com.hazelcast.hazelcast-client_1.9.2.2

14      ACTIVE      org.apache.ode.ode-bpel-obj_1.3.2

15      ACTIVE      commons-digester.commons-digester_1.8.0

16      INSTALLED   org.apache.tuscany.sca.wink_2.0.0

17      ACTIVE      org.apache.tuscany.sca.binding.jms.runtime_2.0.0

18      ACTIVE      org.apache.tuscany.sca.host.corba.jse_2.0.0

19      ACTIVE      tranql.tranql-connector_1.1.0

20      ACTIVE      org.apache.myfaces.core.myfaces-api_1.2.2

21      ACTIVE      org.apache.tomcat.tribes_6.0.26

22      ACTIVE      org.eclipse.xsd_2.2.3.v200705141058

23      ACTIVE      org.apache.tuscany.sca.binding.corba_2.0.0

24      ACTIVE      org.apache.wink.wink-client-apache-httpclient_1.2.0.incubating

25      ACTIVE      org.apache.tuscany.sca.binding.atom_2.0.0

26      ACTIVE      org.apache.tuscany.sca.databinding.sdo.axiom_2.0.0

27      ACTIVE      org.eclipse.osgi.services_3.2.0.v20090520-1800

28      ACTIVE      org.apache.tuscany.sca.binding.corba.runtime_2.0.0

29      ACTIVE      commons-collections.commons-collections_3.2.0

30      ACTIVE      org.eclipse.emf.common_2.2.1.v200705141058

31      ACTIVE      org.apache.tuscany.sca.data.api_2.0.0

32      ACTIVE      jaxen.jaxen_1.1.1

33      ACTIVE      org.apache.ode.ode-bpel-dao_1.3.2

34      ACTIVE      org.apache.tuscany.sca.binding.jms_2.0.0

35      ACTIVE      org.apache.tuscany.sca.interface.wsdl_2.0.0

36      ACTIVE      org.apache.tuscany.sca.assembly.xsd_2.0.0

37      ACTIVE      org.apache.ode.ode-dao-hibernate_1.3.2

38      ACTIVE      xalan.xalan_2.7.0

39      ACTIVE      org.eclipse.core.jobs_3.4.0.v20080512

40      ACTIVE      org.apache.ode.ode-bpel-store_1.3.2

41      ACTIVE      jackson-core-asl_1.9.4

42      ACTIVE      org.apache.ode.ode-jacob_1.3.2

43      ACTIVE      org.apache.tuscany.sca.host.http_2.0.0

44      ACTIVE      org.apache.tuscany.sca.binding.rest.runtime_2.0.0

45      INSTALLED   org.apache.tuscany.sca.implementation.web.runtime_2.0.0

46      ACTIVE      org.apache.tuscany.sca.shell_2.0.0

47      ACTIVE      org.jruby.jruby_1.5.5

48      ACTIVE      org.apache.tuscany.sca.policy.security_2.0.0

49      ACTIVE      dom4j.dom4j_1.6.1

50      ACTIVE      backport-util-concurrent.backport-util-concurrent_3.1.0

51      ACTIVE      net.sourceforge.stripes.stripes_1.5.2

52      ACTIVE      org.springframework.beans_3.0.5.RELEASE

53      ACTIVE      org.apache.tuscany.sca.node.osgi.impl_2.0.0

54      ACTIVE      org.apache.tuscany.sca.aspectj_2.0.0

55      ACTIVE      org.eclipse.core.runtime_3.4.0.v20080512

56      ACTIVE      org.apache.tuscany.sca.contribution_2.0.0

57      ACTIVE      org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec_2.0.0

58      ACTIVE      org.apache.ode.ode-bpel-epr_1.3.2

59      ACTIVE      net.sourceforge.saxon.saxon_9.1.0.8

60      ACTIVE      org.apache.tuscany.sca.binding.rest_2.0.0

61      ACTIVE      org.apache.axis2.axis2-mtompolicy_1.5.4

62      ACTIVE      cglib.cglib_2.2.0

63      RESOLVED    slf4j.jdk14_1.6.1

                    Master=103

64      ACTIVE      org.eclipse.core.contenttype_3.3.0.v20080604-1400

65      ACTIVE      org.apache.tuscany.sca.binding.ws.jaxws_2.0.0

66      ACTIVE      org.apache.tuscany.sdo.lib_1.0.0

67      ACTIVE      org.eclipse.emf.ecore.xmi_2.2.3.v200705141058

68      ACTIVE      org.apache.axis2.mex_1.5.4

69      ACTIVE      net.sourceforge.serp.serp_1.13.1

70      ACTIVE      org.apache.ode.ode-dao-jpa_1.3.2

71      ACTIVE      org.apache.tuscany.sca.binding.http.runtime_2.0.0

72      ACTIVE      org.apache.tuscany.sca.host.corba.jee_2.0.0

73      ACTIVE      org.apache.tuscany.sca.binding.ejb_2.0.0

74      ACTIVE      org.objectweb.howl.howl_1.0.1

75      INSTALLED   org.apache.abdera.core_1.1.1

76      ACTIVE      org.apache.tuscany.sca.binding.ws.wsdlgen_2.0.0

77      ACTIVE      org.springframework.expression_3.0.5.RELEASE

78      ACTIVE      org.apache.geronimo.components.geronimo-connector_2.1.4

79      ACTIVE      rhino.js_1.0.0.7R2

80      ACTIVE      org.springframework.web.servlet_3.0.5.RELEASE

81      ACTIVE      org.apache.tuscany.sca.binding.jsonrpc.runtime_0.0.0

82      ACTIVE      org.apache.tuscany.sca.api_2.0.0

83      ACTIVE      org.apache.ws.commons.schema_1.4.3

84      ACTIVE      org.apache.tuscany.sca.implementation.widget.runtime_2.0.0

85      ACTIVE      commons-beanutils.commons-beanutils_1.7.0

86      ACTIVE      org.springframework.web_3.0.5.RELEASE

87      ACTIVE      asm.asm_3.1.0

88      ACTIVE      org.apache.tuscany.sca.implementation.jaxrs_2.0.0

89      ACTIVE      org.apache.wink.client_1.2.0.incubating

90      ACTIVE      org.apache.tuscany.sca.host.jetty_2.0.0

91      INSTALLED   org.apache.abdera.client_1.1.1

92      ACTIVE      commons-httpclient.commons-httpclient_3.1.0

93      ACTIVE      org.apache.tuscany.sca.host.rmi_2.0.0

94      ACTIVE      org.apache.tuscany.sca.databinding.sdo_2.0.0

95      ACTIVE      org.apache.tuscany.sca.implementation.script.runtime_2.0.0

96      ACTIVE      jackson-module-json-org_0.9.1

97      ACTIVE      org.apache.tuscany.sca.policy.wspolicy_2.0.0

98      ACTIVE      org.apache.tuscany.sca.binding.sca.runtime_2.0.0

100     ACTIVE      javax.servlet.servlet-api_2.5.0

101     ACTIVE      org.apache.tuscany.sca.implementation.java.runtime_2.0.0

102     ACTIVE      org.apache.tuscany.sca.implementation.java_2.0.0

103     ACTIVE      slf4j.api_1.6.1

                    Fragments=63

105     ACTIVE      org.apache.tuscany.sca.databinding.json_2.0.0

106     ACTIVE      org.apache.tuscany.sca.binding.ws_2.0.0

107     ACTIVE      org.apache.tuscany.sca.implementation.jaxrs.runtime_2.0.0

108     ACTIVE      org.apache.tuscany.sca.extensibility.equinox_2.0.0

109     ACTIVE      org.apache.ode.ode-bpel-runtime_1.3.2

110     ACTIVE      xerces.xercesImpl_2.8.1

111     ACTIVE      org.apache.tuscany.sca.databinding.axiom_2.0.0

112     INSTALLED   org.apache.tuscany.sca.binding.atom.abdera_2.0.0

113     ACTIVE      org.apache.tuscany.sca.implementation.widget_2.0.0

114     ACTIVE      org.apache.santuario.xmlsec_1.4.4

115     ACTIVE      org.apache.tuscany.sca.monitor_2.0.0

116     INSTALLED   org.apache.tuscany.sca.stripes_2.0.0

117     ACTIVE      org.apache.tuscany.sca.common.java_2.0.0

118     ACTIVE      hazelcast_1.9.2.2

119     INSTALLED   org.apache.abdera.extensions-main_1.1.1

120     ACTIVE      org.apache.myfaces.core.myfaces-impl_1.2.2

121     ACTIVE      jcl.over.slf4j_1.6.1

122     ACTIVE      org.apache.tuscany.sca.host.corba_2.0.0

123     ACTIVE      org.apache.tuscany.sca.deployment_2.0.0

124     ACTIVE      org.json.json_20090211.0.0

125     ACTIVE      org.apache.ws.commons.axiom.axiom-api_1.2.10

126     ACTIVE      org.apache.tuscany.sca.common.xml_2.0.0

127     ACTIVE      javax.ws.rs.jsr311-api_1.1.1

128     ACTIVE      org.apache.axis2.osgi_1.0.0.3

129     ACTIVE      org.apache.neethi_2.0.4

130     ACTIVE      org.apache.tuscany.sca.client.impl_2.0.0

131     ACTIVE      org.apache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1

132     ACTIVE      org.apache.tuscany.sca.implementation.spring.runtime_2.0.0

133     ACTIVE      org.apache.httpcomponents.httpclient_4.1.3

134     ACTIVE      org.apache.tuscany.sca.xsd_2.0.0

135     ACTIVE      org.apache.tuscany.sca.binding.rmi.runtime_2.0.0

136     ACTIVE      org.apache.tuscany.sca.assembly_2.0.0

137     ACTIVE      org.apache.tuscany.sca.node.api_2.0.0

138     ACTIVE      org.opensaml.xmltooling_1.3.1

139     ACTIVE      org.apache.tuscany.sca.binding.ws.axis2_2.0.0

140     ACTIVE      org.apache.tuscany.sca.core.web.javascript_2.0.0

141     ACTIVE      org.apache.ode.ode-bpel-compiler_1.3.2

142     ACTIVE      org.apache.tuscany.sca.binding.rmi_2.0.0

143     ACTIVE      org.apache.tuscany.sca.interface.java.jaxws_2.0.0

144     ACTIVE      org.apache.tuscany.sca.host.webapp_2.0.0

145     INSTALLED   org.apache.abdera.server_1.1.1

146     ACTIVE      org.apache.tuscany.sca.launcher_2.0.0

147     ACTIVE      org.apache.openjpa.openjpa_1.2.1

148     ACTIVE      org.apache.geronimo.specs.geronimo-javamail_1.4_spec_1.6.0

149     ACTIVE      org.codehaus.jettison.jettison_1.2.0

150     ACTIVE      groovy-all_1.7.1

151     ACTIVE      org.opensaml.opensaml_2.4.1

152     ACTIVE      nu.validator.htmlparser.htmlparser_1.0.5

153     ACTIVE      org.apache.tuscany.sca.gateway_2.0.0

154     ACTIVE      org.apache.tuscany.sca.core.web.javascript.dojo_2.0.0

155     ACTIVE      org.opensaml.openws_1.4.1

156     ACTIVE      org.apache.tuscany.sca.interface.java.jaxrs_2.0.0

157     ACTIVE      org.apache.tuscany.sca.binding.jsonrpc_2.0.0

158     ACTIVE      org.apache.ws.security.wss4j_1.5.10

159     ACTIVE      org.apache.tuscany.sca.binding.comet_2.0.0

160     ACTIVE      org.apache.tuscany.sca.binding.http_2.0.0

161     ACTIVE      org.aspectj.aspectjweaver_1.6.8

162     ACTIVE      org.apache.tuscany.sca.domain.hazelcast_2.0.0

163     ACTIVE      org.apache.commons.codec_1.4.0

164     ACTIVE      org.apache.tuscany.sca.interface.java_2.0.0

165     ACTIVE      jackson-xc_1.9.4

166     ACTIVE      org.apache.tuscany.sca.databinding_2.0.0

167     ACTIVE      org.apache.ode.ode-bpel-schemas_1.3.2

168     ACTIVE      org.apache.rampart.rampart-core_1.5.1

169     ACTIVE      org.apache.tuscany.sca.databinding.jaxb.axiom_2.0.0

170     ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800

171     ACTIVE      javax.mail.mail_1.4.0

173     INSTALLED   org.apache.tuscany.sca.implementation.web.client_2.0.0

174     ACTIVE      org.apache.tuscany.sca.implementation.bpel_2.0.0

175     INSTALLED   org.apache.abdera.parser_1.1.1

176     ACTIVE      org.apache.rampart.rampart-policy_1.5.1

177     ACTIVE      org.apache.ode.ode-scheduler-simple_1.3.2

178     ACTIVE      log4j.log4j_1.2.15

179     ACTIVE      org.apache.tuscany.sca.implementation.osgi_2.0.0

180     ACTIVE      org.apache.tuscany.sca.databinding.jaxb_2.0.0

181     ACTIVE      org.directwebremoting.dwr_2.0.3

182     ACTIVE      org.apache.ws.commons.axiom.axiom-dom_1.2.10

183     ACTIVE      org.eclipse.emf.ecore.change_2.2.1.v200705141058

184     ACTIVE      regexp.regexp_1.3.0

185     ACTIVE      org.apache.tuscany.sca.implementation.script_2.0.0

186     ACTIVE      commons-logging.commons-logging_1.1.1

187     ACTIVE      javax.servlet.jstl_1.1.2

188     ACTIVE      org.apache.tuscany.sca.binding.ejb.runtime_2.0.0

189     ACTIVE      org.apache.xmlbeans.xmlbeans_2.3.0

190     ACTIVE      org.apache.tuscany.sca.implementation.python_2.0.0

191     ACTIVE      commons-lang.commons-lang_2.3.0

192     ACTIVE      org.springframework.asm_3.0.5.RELEASE

193     ACTIVE      org.apache.geronimo.modules.geronimo-kernel_2.0.1

194     ACTIVE      org.apache.tuscany.sca.implementation.spring.webapp_2.0.0

195     ACTIVE      org.eclipse.equinox.common_3.5.0.v20090520-1800

196     ACTIVE      jdom.jdom_1.0.0

197     ACTIVE      org.springframework.context_3.0.5.RELEASE

198     ACTIVE      org.apache.tuscany.sca.extensibility_2.0.0

199     ACTIVE      org.apache.geronimo.specs.geronimo-jms_1.1_spec_1.1.1

200     ACTIVE      org.apache.ode.ode-agents_1.3.2

201     ACTIVE      org.python.jython_2.5.2.beta1

202     ACTIVE      org.apache.geronimo.components.geronimo-transaction_2.1.4

203     ACTIVE      org.apache.tuscany.sca.builder_2.0.0

204     INSTALLED   org.apache.abdera.extensions-json_1.1.1

205     ACTIVE      org.apache.tuscany.sca.core_2.0.0

206     ACTIVE      org.apache.tuscany.sca.implementation.widget.runtime.dojo_2.0.0

207     ACTIVE      org.apache.ode.ode-jacob-ap_1.3.2

208     ACTIVE      org.apache.geronimo.specs.geronimo-jpa_3.0_spec_1.1.1

209     ACTIVE      org.apache.tuscany.sca.core.spi_2.0.0

210     INSTALLED   org.apache.tuscany.sca.myfaces_2.0.0

211     INSTALLED   org.apache.abdera.extensions-html_1.1.1

212     ACTIVE      org.apache.rampart.rampart-trust_1.5.1

213     ACTIVE      org.apache.tuscany.sca.contribution.osgi_2.0.0

214     ACTIVE      org.apache.tuscany.sca.implementation.spring_2.0.0

215     ACTIVE      org.apache.ode.ode-utils_1.3.2

216     ACTIVE      org.apache.ws.commons.axiom.axiom-impl_1.2.10

217     ACTIVE      org.apache.tuscany.sca.binding.ws.jaxws.ri_2.0.0

218     ACTIVE      org.apache.abdera.i18n_1.1.1

219     ACTIVE      org.apache.tuscany.sdo.tuscany-sdo-impl_1.1.1

220     ACTIVE      org.apache.tuscany.sca.node.impl_2.0.0

221     ACTIVE      org.apache.geronimo.specs.geronimo-ejb_3.0_spec_1.0.1

222     ACTIVE      org.apache.tomcat.juli_6.0.26

223     ACTIVE      wsdl4j.wsdl4j_1.6.2

224     ACTIVE      org.mortbay.jetty.util_6.1.26

225     ACTIVE      org.apache.tuscany.sca.common.http_2.0.0

226     ACTIVE      org.apache.tuscany.sca.implementation.python.runtime_2.0.0

227     ACTIVE      jackson-mapper-asl_1.9.4

228     ACTIVE      org.apache.tuscany.sca.implementation.web_2.0.0

229     ACTIVE      org.apache.httpcomponents.httpcore_4.1.4

230     ACTIVE      org.springframework.aop_3.0.5.RELEASE

231     ACTIVE      org.apache.ode.ode-bpel-api_1.3.2

232     ACTIVE      org.apache.tuscany.sca.binding.jsonp.runtime_2.0.0

233     ACTIVE      org.apache.tuscany.sca.core.databinding_2.0.0

234     ACTIVE      org.apache.derby.derby_10.4.1.3

235     ACTIVE      org.apache.bsf.bsf-utils_3.1.0

236     ACTIVE      org.springframework.core_3.0.5.RELEASE

237     ACTIVE      org.apache.tuscany.sca.assembly.xml_2.0.0

238     ACTIVE      commons-discovery.commons-discovery_0.4.0

239     ACTIVE      org.apache.tuscany.sdo.spec_2.1.0

240     ACTIVE      org.apache.tuscany.sca.implementation.bpel.runtime_2.0.0

241     ACTIVE      org.apache.tuscany.sca.node.launcher.equinox_2.0.0

242     ACTIVE      org.apache.geronimo.specs.geronimo-annotation_1.1_spec_1.0.0

243     ACTIVE      org.eclipse.emf.ecore_2.2.3.v200705141058

244     ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800

245     ACTIVE      commons-pool.commons-pool_1.3.0

246     ACTIVE      org.apache.commons.cli_1.2.0

247     ACTIVE      org.mortbay.jetty.server_6.1.26

248     ACTIVE      calculator.dosgi.operations_1.0.0

 

osgi> 2013ª~5ñδ8ñΘ ñWñ╚11:12:10 calculator.dosgi.operations.impl.AddServiceImpl add

╕Ω░T: Adding 2.0 and 1.0

2013ª~5ñδ8ñΘ ñWñ╚11:12:10 calculator.dosgi.operations.impl.SubtractServiceImpl subtract

╕Ω░T: Subtracting 2.0 from 1.0

2013ª~5ñδ8ñΘ ñWñ╚11:12:10 calculator.dosgi.operations.impl.MultiplyServiceImpl multiply

╕Ω░T: Multiplying 2.0 with 1.0

2013ª~5ñδ8ñΘ ñWñ╚11:12:10 calculator.dosgi.operations.impl.DivideServiceImpl divide

╕Ω░T: Dividing 2.0 with 1.0

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 calculator.dosgi.operations.impl.AddServiceImpl add

╕Ω░T: Adding 2.0 and 1.0

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 calculator.dosgi.operations.impl.SubtractServiceImpl subtract

╕Ω░T: Subtracting 2.0 from 1.0

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 calculator.dosgi.operations.impl.MultiplyServiceImpl multiply

╕Ω░T: Multiplying 2.0 with 1.0

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 calculator.dosgi.operations.impl.DivideServiceImpl divide

╕Ω░T: Dividing 2.0 with 1.0

 

 

Step #2: Create another OSGi instance for "calculator-bundle"

 

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator-bundle>

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator-bundle>mvn

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Apache Tuscany SCA Sample OSGi Remote Services Calculator 2.0

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.opensaml:openws:jar:1.2.2 is invalid, transitive dependencies (if any) will not be available,

enable debug logging for more details

[INFO]

[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-plugin-versions) @ sample-calculator-bundle ---

[INFO] The requirePluginVersions rule is currently not compatible with Maven3.

[INFO]

[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ sample-calculator-bundle ---

[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoad

er'.

[INFO] Setting property: velocimacro.messages.on => 'false'.

[INFO] Setting property: resource.loader => 'classpath'.

[INFO] Setting property: resource.manager.logwhenfound => 'false'.

[WARNING] Invalid POM for org.opensaml:openws:jar:1.2.2, transitive dependencies (if any) will not be available, enable

debug logging for more details

[INFO]

[INFO] --- maven-resources-plugin:2.4.2:resources (default-resources) @ sample-calculator-bundle ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 1 resource

[INFO] Copying 5 resources

[INFO] Copying 3 resources

[INFO]

[INFO] --- maven-compiler-plugin:2.2:compile (default-compile) @ sample-calculator-bundle ---

[INFO] Compiling 11 source files to C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi

-static\calculator-bundle\target\classes

[INFO]

[INFO] --- maven-resources-plugin:2.4.2:testResources (default-testResources) @ sample-calculator-bundle ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 0 resource

[INFO] Copying 3 resources

[INFO]

[INFO] --- maven-compiler-plugin:2.2:testCompile (default-testCompile) @ sample-calculator-bundle ---

[INFO] Compiling 3 source files to C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-

static\calculator-bundle\target\test-classes

[INFO]

[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ sample-calculator-bundle ---

[INFO] Surefire report directory: C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-s

tatic\calculator-bundle\target\surefire-reports

 

-------------------------------------------------------

T E S T S

-------------------------------------------------------

Running calculator.dosgi.test.CalculatorOSGiNodeTestCase

Starting the RMI server for calculator operations...

java.rmi.server.ExportException: Port already in use: 8085; nested exception is:

        java.net.BindException: Address already in use: JVM_Bind

        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)

        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)

        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)

        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)

        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188)

        at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:100)

        at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:86)

        at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186)

        at calculator.rmi.OperationsRMIServer$1.run(OperationsRMIServer.java:63)

Caused by: java.net.BindException: Address already in use: JVM_Bind

        at java.net.PlainSocketImpl.socketBind(Native Method)

        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)

        at java.net.ServerSocket.bind(ServerSocket.java:328)

        at java.net.ServerSocket.<init>(ServerSocket.java:194)

        at java.net.ServerSocket.<init>(ServerSocket.java:106)

        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)

        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)

        at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)

        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)

        ... 8 more

2013ª~5ñδ8ñΘ ñWñ╚11:12:06 org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost start

╕Ω░T: Checking for manfiests customized by Tuscany in node-launcher-equinox/resources

org.eclipse.osgi_3.5.0.v20090520 [0]

0 org.eclipse.osgi ACTIVE

org.apache.tuscany.sca.node.launcher.equinox_2.0.0 [1]

1 org.apache.tuscany.sca.node.launcher.equinox ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.servlet-api_2.5.0 [2]

2 org.apache.tuscany.sca.node.launcher.equinox.libraries.servlet-api ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.wsdl4j_1.6.2 [3]

3 org.apache.tuscany.sca.node.launcher.equinox.libraries.wsdl4j ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.bsf-utils_3.1.0 [4]

4 org.apache.tuscany.sca.node.launcher.equinox.libraries.bsf-utils ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-lang_2.3.0 [5]

5 org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-lang ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.hazelcast-client_1.9.2 [6]

6 org.apache.tuscany.sca.node.launcher.equinox.libraries.hazelcast-client ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.junit_4.8.1 [7]

7 org.apache.tuscany.sca.node.launcher.equinox.libraries.junit ACTIVE

org.apache.ws.commons.axiom.axiom-impl_1.2.10 [8]

8 org.apache.ws.commons.axiom.axiom-impl RESOLVED

org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-core_1.5.1 [9]

9 org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-core ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.jaxen_1.1.1 [10]

10 org.apache.tuscany.sca.node.launcher.equinox.libraries.jaxen ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.wink-client-apache-httpclient_1.2.0 [11]

11 org.apache.tuscany.sca.node.launcher.equinox.libraries.wink-client-apache-httpclient ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-codec_1.2.0 [12]

12 org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-codec ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.httpclient_4.1.3 [13]

13 org.apache.tuscany.sca.node.launcher.equinox.libraries.httpclient ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.xmlsec_1.4.4 [14]

14 org.apache.tuscany.sca.node.launcher.equinox.libraries.xmlsec ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.jython_2.5.2 [15]

15 org.apache.tuscany.sca.node.launcher.equinox.libraries.jython ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.asm_3.1.0 [16]

16 org.apache.tuscany.sca.node.launcher.equinox.libraries.asm ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.wstx-asl_3.2.9 [17]

17 org.apache.tuscany.sca.node.launcher.equinox.libraries.wstx-asl ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.opensaml_2.4.1 [18]

18 org.apache.tuscany.sca.node.launcher.equinox.libraries.opensaml ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.js_1.7.0 [19]

19 org.apache.tuscany.sca.node.launcher.equinox.libraries.js ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-logging_1.1.1 [20]

20 org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-logging ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-api_2.4.3 [21]

21 org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-api ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.activation_1.1.0 [22]

22 org.apache.tuscany.sca.node.launcher.equinox.libraries.activation ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-booter_2.4.3 [23]

23 org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-booter ACTIVE

org.apache.ws.commons.axiom.axiom-api_1.2.10 [24]

24 org.apache.ws.commons.axiom.axiom-api RESOLVED

org.apache.tuscany.sca.node.launcher.equinox.libraries.xml-apis_1.3.4 [25]

25 org.apache.tuscany.sca.node.launcher.equinox.libraries.xml-apis ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.httpcore_4.1.4 [26]

26 org.apache.tuscany.sca.node.launcher.equinox.libraries.httpcore ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.xmltooling_1.3.1 [27]

27 org.apache.tuscany.sca.node.launcher.equinox.libraries.xmltooling ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-httpclient_3.1.0 [28]

28 org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-httpclient ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.aopalliance_1.0.0 [29]

29 org.apache.tuscany.sca.node.launcher.equinox.libraries.aopalliance ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.json_20090211.0.0 [30]

30 org.apache.tuscany.sca.node.launcher.equinox.libraries.json ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-trust_1.5.1 [31]

31 org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-trust ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.mex_1.5.4 [32]

32 org.apache.tuscany.sca.node.launcher.equinox.libraries.mex ACTIVE

org.apache.axis2.osgi_1.5.3 [33]

33 org.apache.axis2.osgi RESOLVED

org.apache.tuscany.sca.node.launcher.equinox.libraries.xercesImpl_2.9.1 [34]

34 org.apache.tuscany.sca.node.launcher.equinox.libraries.xercesImpl ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.cglib_2.2.0 [35]

35 org.apache.tuscany.sca.node.launcher.equinox.libraries.cglib ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-policy_1.5.1 [36]

36 org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-policy ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.axis2-mtompolicy_1.5.4 [37]

37 org.apache.tuscany.sca.node.launcher.equinox.libraries.axis2-mtompolicy ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.surefirebooter3390838973105024576_0.0.0 [38]

38 org.apache.tuscany.sca.node.launcher.equinox.libraries.surefirebooter3390838973105024576 ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.openws_1.4.1 [39]

39 org.apache.tuscany.sca.node.launcher.equinox.libraries.openws ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.howl_1.0.1 [40]

40 org.apache.tuscany.sca.node.launcher.equinox.libraries.howl ACTIVE

org.apache.tuscany.sca.gateway_0.0.0 [41]

41 org.apache.tuscany.sca.gateway ACTIVE

org.apache.ws.commons.schema_1.4.3 [42]

42 org.apache.ws.commons.schema RESOLVED

org.apache.tuscany.sca.builder_2.0.0 [43]

43 org.apache.tuscany.sca.builder ACTIVE

org.apache.tuscany.sca.implementation.osgi.runtime_2.0.0 [44]

44 org.apache.tuscany.sca.implementation.osgi.runtime ACTIVE

org.apache.tuscany.sca.domain.hazelcast_2.0.0 [45]

45 org.apache.tuscany.sca.domain.hazelcast ACTIVE

org.apache.tuscany.sca.monitor_2.0.0 [46]

46 org.apache.tuscany.sca.monitor ACTIVE

org.apache.tuscany.sca.binding.rmi_2.0.0 [47]

47 org.apache.tuscany.sca.binding.rmi ACTIVE

org.apache.tuscany.sca.domain.node_2.0.0 [48]

48 org.apache.tuscany.sca.domain.node ACTIVE

org.apache.tuscany.sca.host.corba.jee_2.0.0 [49]

49 org.apache.tuscany.sca.host.corba.jee ACTIVE

org.apache.tuscany.sca.contribution.osgi_2.0.0 [50]

50 org.apache.tuscany.sca.contribution.osgi ACTIVE

org.apache.tuscany.sca.databinding.json_2.0.0 [51]

51 org.apache.tuscany.sca.databinding.json ACTIVE

org.apache.tuscany.sca.implementation.java_2.0.0 [52]

52 org.apache.tuscany.sca.implementation.java ACTIVE

org.apache.geronimo.specs.geronimo-javamail_1.4_spec_1.6.0 [53]

53 org.apache.geronimo.specs.geronimo-javamail_1.4_spec RESOLVED

org.apache.geronimo.specs.geronimo-stax-api_1.0_spec_1.0.1 [54]

54 org.apache.geronimo.specs.geronimo-stax-api_1.0_spec RESOLVED

org.mortbay.jetty.server_6.1.26 [55]

55 org.mortbay.jetty.server RESOLVED

groovy-all_1.7.1 [56]

56 groovy-all STARTING

slf4j.jdk14_1.6.1 [57]

57 slf4j.jdk14 RESOLVED

org.springframework.beans_3.0.5.RELEASE [58]

58 org.springframework.beans RESOLVED

jackson-module-json-org_0.9.1 [59]

59 jackson-module-json-org RESOLVED

org.apache.tuscany.sca.binding.ws.wsdlgen_2.0.0 [60]

60 org.apache.tuscany.sca.binding.ws.wsdlgen ACTIVE

org.apache.tuscany.sca.binding.rest_2.0.0 [61]

61 org.apache.tuscany.sca.binding.rest ACTIVE

org.apache.wink.server_1.2.0.incubating [62]

62 org.apache.wink.server RESOLVED

org.apache.tuscany.sca.extensibility.equinox_2.0.0 [63]

63 org.apache.tuscany.sca.extensibility.equinox ACTIVE

org.apache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1 [64]

64 org.apache.geronimo.specs.geronimo-jta_1.1_spec RESOLVED

org.apache.geronimo.specs.geronimo-annotation_1.1_spec_1.0.0 [65]

65 org.apache.geronimo.specs.geronimo-annotation_1.1_spec RESOLVED

org.apache.tuscany.sca.host.jetty_2.0.0 [66]

66 org.apache.tuscany.sca.host.jetty ACTIVE

org.apache.tuscany.sca.assembly.xsd_2.0.0 [67]

67 org.apache.tuscany.sca.assembly.xsd ACTIVE

org.apache.neethi_2.0.4 [68]

68 org.apache.neethi RESOLVED

org.springframework.aop_3.0.5.RELEASE [69]

69 org.springframework.aop RESOLVED

org.apache.wink.client_1.2.0.incubating [70]

70 org.apache.wink.client RESOLVED

jackson-core-asl_1.9.4 [71]

71 jackson-core-asl RESOLVED

org.apache.tuscany.sca.implementation.jaxrs.runtime_2.0.0 [72]

72 org.apache.tuscany.sca.implementation.jaxrs.runtime ACTIVE

org.apache.tuscany.sca.policy.transaction.runtime.geronimo_2.0.0 [73]

73 org.apache.tuscany.sca.policy.transaction.runtime.geronimo ACTIVE

org.apache.tuscany.sca.node.osgi.impl_2.0.0 [74]

74 org.apache.tuscany.sca.node.osgi.impl ACTIVE

javax.ws.rs.jsr311-api_1.1.1 [75]

75 javax.ws.rs.jsr311-api RESOLVED

org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec_2.0.0 [76]

76 org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec RESOLVED

org.apache.tuscany.sca.databinding_2.0.0 [77]

77 org.apache.tuscany.sca.databinding ACTIVE

org.apache.tuscany.sca.implementation.java.runtime_2.0.0 [78]

78 org.apache.tuscany.sca.implementation.java.runtime ACTIVE

org.eclipse.core.runtime_3.4.0.v20080512 [79]

79 org.eclipse.core.runtime STARTING

org.apache.tuscany.sca.implementation.spring_2.0.0 [80]

80 org.apache.tuscany.sca.implementation.spring ACTIVE

org.eclipse.osgi.services_3.2.0.v20090520-1800 [81]

81 org.eclipse.osgi.services RESOLVED

org.apache.tuscany.sca.policy.transaction.runtime_2.0.0 [82]

82 org.apache.tuscany.sca.policy.transaction.runtime ACTIVE

hazelcast_1.9.2.2 [83]

83 hazelcast RESOLVED

org.apache.tuscany.sca.host.corba.jse.tns_2.0.0 [84]

84 org.apache.tuscany.sca.host.corba.jse.tns ACTIVE

jcl.over.slf4j_1.6.1 [85]

85 jcl.over.slf4j RESOLVED

org.apache.tuscany.sca.assembly_2.0.0 [86]

86 org.apache.tuscany.sca.assembly ACTIVE

org.apache.tuscany.sca.core.spi_2.0.0 [87]

87 org.apache.tuscany.sca.core.spi ACTIVE

org.apache.tuscany.sca.core_2.0.0 [88]

88 org.apache.tuscany.sca.core ACTIVE

org.apache.tuscany.sca.client.impl_2.0.0 [89]

89 org.apache.tuscany.sca.client.impl ACTIVE

org.apache.ws.commons.axiom.axiom-dom_1.2.10 [90]

90 org.apache.ws.commons.axiom.axiom-dom RESOLVED

org.apache.tuscany.sca.contribution_2.0.0 [91]

91 org.apache.tuscany.sca.contribution ACTIVE

org.apache.commons.cli_1.2.0 [92]

92 org.apache.commons.cli RESOLVED

org.apache.tuscany.sca.binding.corba_2.0.0 [93]

93 org.apache.tuscany.sca.binding.corba ACTIVE

org.apache.tuscany.sca.host.http_2.0.0 [94]

94 org.apache.tuscany.sca.host.http ACTIVE

org.eclipse.equinox.app_1.2.0.v20090520-1800 [95]

95 org.eclipse.equinox.app STARTING

org.apache.tuscany.sca.interface.java.jaxrs_2.0.0 [96]

96 org.apache.tuscany.sca.interface.java.jaxrs ACTIVE

org.apache.tuscany.sca.binding.rmi.runtime_2.0.0 [97]

97 org.apache.tuscany.sca.binding.rmi.runtime ACTIVE

org.apache.tuscany.sca.host.corba.jse_2.0.0 [98]

98 org.apache.tuscany.sca.host.corba.jse ACTIVE

org.apache.tuscany.sca.common.xml_2.0.0 [99]

99 org.apache.tuscany.sca.common.xml ACTIVE

org.apache.tuscany.sca.binding.corba.runtime_2.0.0 [100]

100 org.apache.tuscany.sca.binding.corba.runtime ACTIVE

org.eclipse.equinox.util_1.0.100.v20090520-1800 [101]

101 org.eclipse.equinox.util STARTING

org.apache.tuscany.sca.extensibility_2.0.0 [102]

102 org.apache.tuscany.sca.extensibility ACTIVE

org.apache.tuscany.sca.binding.rest.runtime_2.0.0 [103]

103 org.apache.tuscany.sca.binding.rest.runtime ACTIVE

org.apache.tuscany.sca.policy.wspolicy_2.0.0 [104]

104 org.apache.tuscany.sca.policy.wspolicy ACTIVE

org.codehaus.jettison.jettison_1.2.0 [105]

105 org.codehaus.jettison.jettison RESOLVED

org.apache.tuscany.sca.node.api_2.0.0 [106]

106 org.apache.tuscany.sca.node.api ACTIVE

org.eclipse.core.jobs_3.4.0.v20080512 [107]

107 org.eclipse.core.jobs STARTING

org.apache.tuscany.sca.policy.transaction_2.0.0 [108]

108 org.apache.tuscany.sca.policy.transaction ACTIVE

org.springframework.context_3.0.5.RELEASE [109]

109 org.springframework.context RESOLVED

org.apache.tuscany.sca.binding.ws.axis2_2.0.0 [110]

110 org.apache.tuscany.sca.binding.ws.axis2 ACTIVE

org.apache.tuscany.sca.binding.ws_2.0.0 [111]

111 org.apache.tuscany.sca.binding.ws ACTIVE

org.eclipse.equinox.preferences_3.2.300.v20090520-1800 [112]

112 org.eclipse.equinox.preferences STARTING

org.apache.tuscany.sca.node.launcher_2.0.0 [113]

113 org.apache.tuscany.sca.node.launcher ACTIVE

org.springframework.core_3.0.5.RELEASE [114]

114 org.springframework.core RESOLVED

org.apache.tuscany.sca.interface.wsdl_2.0.0 [115]

115 org.apache.tuscany.sca.interface.wsdl ACTIVE

org.apache.tuscany.sca.binding.sca.runtime_2.0.0 [116]

116 org.apache.tuscany.sca.binding.sca.runtime ACTIVE

org.apache.tuscany.sca.core.databinding_2.0.0 [117]

117 org.apache.tuscany.sca.core.databinding ACTIVE

org.apache.tuscany.sca.databinding.axiom_2.0.0 [118]

118 org.apache.tuscany.sca.databinding.axiom ACTIVE

org.apache.tuscany.sca.api_2.0.0 [119]

119 org.apache.tuscany.sca.api ACTIVE

calculator.dosgi_1.0.0 [120]

120 calculator.dosgi STARTING

jackson-mapper-asl_1.9.4 [121]

121 jackson-mapper-asl RESOLVED

org.apache.tuscany.sca.core.web.javascript_2.0.0 [122]

122 org.apache.tuscany.sca.core.web.javascript ACTIVE

org.apache.geronimo.components.geronimo-transaction_2.1.4 [123]

123 org.apache.geronimo.components.geronimo-transaction RESOLVED

org.apache.tuscany.sca.databinding.jaxb_2.0.0 [124]

124 org.apache.tuscany.sca.databinding.jaxb ACTIVE

org.eclipse.core.contenttype_3.3.0.v20080604-1400 [125]

125 org.eclipse.core.contenttype STARTING

org.apache.tuscany.sca.assembly.xml_2.0.0 [126]

126 org.apache.tuscany.sca.assembly.xml ACTIVE

org.mortbay.jetty.util_6.1.26 [127]

127 org.mortbay.jetty.util RESOLVED

org.apache.geronimo.specs.geronimo-activation_1.1_spec_1.0.2 [128]

128 org.apache.geronimo.specs.geronimo-activation_1.1_spec RESOLVED

org.springframework.asm_3.0.5.RELEASE [129]

129 org.springframework.asm RESOLVED

org.apache.tuscany.sca.host.corba_2.0.0 [130]

130 org.apache.tuscany.sca.host.corba ACTIVE

org.apache.tuscany.sca.interface.java.jaxws_2.0.0 [131]

131 org.apache.tuscany.sca.interface.java.jaxws ACTIVE

org.apache.tuscany.sca.deployment_2.0.0 [132]

132 org.apache.tuscany.sca.deployment ACTIVE

org.eclipse.equinox.registry_3.4.100.v20090520-1800 [133]

133 org.eclipse.equinox.registry STARTING

slf4j.api_1.6.1 [134]

134 slf4j.api RESOLVED

org.apache.tuscany.sca.implementation.spring.runtime_2.0.0 [135]

135 org.apache.tuscany.sca.implementation.spring.runtime ACTIVE

org.apache.geronimo.components.geronimo-connector_2.1.4 [136]

136 org.apache.geronimo.components.geronimo-connector RESOLVED

org.apache.tuscany.sca.host.rmi_2.0.0 [137]

137 org.apache.tuscany.sca.host.rmi ACTIVE

jackson-xc_1.9.4 [138]

138 jackson-xc RESOLVED

org.springframework.expression_3.0.5.RELEASE [139]

139 org.springframework.expression RESOLVED

org.apache.tuscany.sca.shell_2.0.0 [140]

140 org.apache.tuscany.sca.shell ACTIVE

org.apache.tuscany.sca.implementation.osgi_2.0.0 [141]

141 org.apache.tuscany.sca.implementation.osgi ACTIVE

org.apache.tuscany.sca.data.api_2.0.0 [142]

142 org.apache.tuscany.sca.data.api ACTIVE

org.eclipse.equinox.ds_1.1.0.v20090601 [143]

143 org.eclipse.equinox.ds ACTIVE

org.apache.tuscany.sca.node.impl_2.0.0 [144]

144 org.apache.tuscany.sca.node.impl ACTIVE

org.apache.tuscany.sca.policy.security_2.0.0 [145]

145 org.apache.tuscany.sca.policy.security ACTIVE

org.apache.ws.security.wss4j_1.5.10 [146]

146 org.apache.ws.security.wss4j RESOLVED

org.apache.tuscany.sca.implementation.script.runtime_2.0.0 [147]

147 org.apache.tuscany.sca.implementation.script.runtime ACTIVE

org.apache.tuscany.sca.implementation.script_2.0.0 [148]

148 org.apache.tuscany.sca.implementation.script ACTIVE

org.apache.tuscany.sca.xsd_2.0.0 [149]

149 org.apache.tuscany.sca.xsd ACTIVE

org.apache.tuscany.sca.implementation.jaxrs_2.0.0 [150]

150 org.apache.tuscany.sca.implementation.jaxrs ACTIVE

org.apache.tuscany.sca.common.java_2.0.0 [151]

151 org.apache.tuscany.sca.common.java ACTIVE

org.eclipse.equinox.common_3.5.0.v20090520-1800 [152]

152 org.eclipse.equinox.common STARTING

org.apache.tuscany.sca.interface.java_2.0.0 [153]

153 org.apache.tuscany.sca.interface.java ACTIVE

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 calculator.dosgi.impl.CalculatorActivator start

╕Ω░T: Starting calculator.dosgi_1.0.0 [120]

org.apache.tuscany.sca.databinding.jaxb.axiom_2.0.0 [154]

154 org.apache.tuscany.sca.databinding.jaxb.axiom ACTIVE

org.apache.wink.common_1.2.0.incubating [155]

155 org.apache.wink.common RESOLVED

org.apache.tuscany.sca.common.http_2.0.0 [156]

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 calculator.dosgi.impl.CalculatorActivator start

156 org.apache.tuscany.sca.common.http ACTIVE

╕Ω░T: Registering calculator.dosgi.CalculatorService

org.jruby.jruby_1.5.5 [157]

157 org.jruby.jruby RESOLVED

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 calculator.dosgi.impl.CalculatorActivator getBundle

╕Ω░T: calculator.dosgi.operations.AddService is loaded by bundle: calculator.dosgi

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 org.apache.tuscany.sca.node.impl.NodeImpl start

╕Ω░T: Starting node: calculator.dosgi domain: default

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContributions

╕Ω░T: Loading contribution: bundleentry://120.fwk88416491/

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 org.mortbay.log.Slf4jLog info

╕Ω░T: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 org.apache.tuscany.sca.http.jetty.JettyLogger info

╕Ω░T: jetty-6.1.x

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 org.apache.tuscany.sca.http.jetty.JettyLogger info

╕Ω░T: Started SelectChannelConnector@localhost:8086

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

╕Ω░T: Added Servlet mapping: http://localhost:8086/CalculatorService

2013ª~5ñδ8ñΘ ñWñ╚11:12:09 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.ws - http://localhost:8086/CalculatorService

120 calculator.dosgi ACTIVE

Remote service: [Proxy - org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler@4fff395a]

2.0 + 1.0 = 3.0

Remote service: [Proxy - org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler@37d3ac6e]

2.0 - 1.0 = 1.0

Remote service: [Proxy - org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler@3b2ab74f]

2.0 * 1.0 = 2.0

Remote service: [Proxy - org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler@f2e5ce6]

2.0 / 1.0 = 2.0

<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions name="CalculatorServiceService" targetNamespace="http://dosgi.calculator/" xmlns="http://dosgi.calcula

tor/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP="http://schem

as.xmlsoap.org/wsdl/soap/" xmlns:SOAP11="http://schemas.xmlsoap.org/wsdl/soap/">

  <wsdl:types>

    <xs:schema targetNamespace="http://dosgi.calculator/" version="1.0" xmlns:tns="http://dosgi.calculator/" xmlns:xs="h

ttp://www.w3.org/2001/XMLSchema">

<xs:element name="add" type="tns:add"/>

<xs:element name="addResponse" type="tns:addResponse"/>

<xs:element name="divide" type="tns:divide"/>

<xs:element name="divideResponse" type="tns:divideResponse"/>

<xs:element name="multiply" type="tns:multiply"/>

<xs:element name="multiplyResponse" type="tns:multiplyResponse"/>

<xs:element name="subtract" type="tns:subtract"/>

<xs:element name="subtractResponse" type="tns:subtractResponse"/>

<xs:complexType name="divide"><xs:sequence><xs:element name="arg0" type="xs:double"/><xs:element name="arg1" type="xs:do

uble"/></xs:sequence></xs:complexType>

<xs:complexType name="multiplyResponse"><xs:sequence><xs:element name="return" type="xs:double"/></xs:sequence></xs:comp

lexType>

<xs:complexType name="multiply"><xs:sequence><xs:element name="arg0" type="xs:double"/><xs:element name="arg1" type="xs:

double"/></xs:sequence></xs:complexType>

<xs:complexType name="subtract"><xs:sequence><xs:element name="arg0" type="xs:double"/><xs:element name="arg1" type="xs:

double"/></xs:sequence></xs:complexType>

<xs:complexType name="subtractResponse"><xs:sequence><xs:element name="return" type="xs:double"/></xs:sequence></xs:comp

lexType>

<xs:complexType name="add"><xs:sequence><xs:element name="arg0" type="xs:double"/><xs:element name="arg1" type="xs:doubl

e"/></xs:sequence></xs:complexType>

<xs:complexType name="addResponse"><xs:sequence><xs:element name="return" type="xs:double"/></xs:sequence></xs:complexTy

pe>

<xs:complexType name="divideResponse"><xs:sequence><xs:element name="return" type="xs:double"/></xs:sequence></xs:comple

xType>

</xs:schema>

  </wsdl:types>

  <wsdl:message name="multiplyResponse">

    <wsdl:part name="multiplyResponse" element="multiplyResponse">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="subtract">

    <wsdl:part name="subtract" element="subtract">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="addResponse">

    <wsdl:part name="addResponse" element="addResponse">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="add">

    <wsdl:part name="add" element="add">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="subtractResponse">

    <wsdl:part name="subtractResponse" element="subtractResponse">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="divideResponse">

    <wsdl:part name="divideResponse" element="divideResponse">

    </wsdl:part>

  </wsdl:message>

2013ª~5ñδ8ñΘ ñWñ╚11:12:10 calculator.dosgi.impl.CalculatorActivator stop

╕Ω░T: Stopping calculator.dosgi_1.0.0 [120]

  <wsdl:message name="multiply">

    <wsdl:part name="multiply" element="multiply">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="divide">

    <wsdl:part name="divide" element="divide">

    </wsdl:part>

  </wsdl:message>

  <wsdl:portType name="CalculatorService">

    <wsdl:operation name="add">

      <wsdl:input message="add">

    </wsdl:input>

      <wsdl:output message="addResponse">

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="divide">

      <wsdl:input message="divide">

    </wsdl:input>

      <wsdl:output message="divideResponse">

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="multiply">

      <wsdl:input message="multiply">

    </wsdl:input>

      <wsdl:output message="multiplyResponse">

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="subtract">

      <wsdl:input message="subtract">

    </wsdl:input>

      <wsdl:output message="subtractResponse">

    </wsdl:output>

    </wsdl:operation>

  </wsdl:portType>

2013ª~5ñδ8ñΘ ñWñ╚11:12:10 org.apache.tuscany.sca.node.impl.NodeImpl stop

╕Ω░T: Stopping node: calculator.dosgi

  <wsdl:binding name="CalculatorServiceBinding" type="CalculatorService">

2013ª~5ñδ8ñΘ ñWñ╚11:12:10 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint

╕Ω░T: Remove endpoint - binding.ws - http://localhost:8086/CalculatorService

    <SOAP:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

2013ª~5ñδ8ñΘ ñWñ╚11:12:10 org.apache.tuscany.sca.http.jetty.JettyServer removeServletMapping

    <wsdl:operation name="add">

      <SOAP:operation soapAction=""/>

╕Ω░T: Removed Servlet mapping: /CalculatorService

2013ª~5ñδ8ñΘ ñWñ╚11:12:10 org.apache.tuscany.sca.http.jetty.JettyLogger info

      <wsdl:input>

        <SOAP:body use="literal"/>

      </wsdl:input>

      <wsdl:output>

        <SOAP:body use="literal"/>

╕Ω░T: Stopped SelectChannelConnector@localhost:8086

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="divide">

      <SOAP:operation soapAction=""/>

      <wsdl:input>

        <SOAP:body use="literal"/>

      </wsdl:input>

      <wsdl:output>

        <SOAP:body use="literal"/>

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="multiply">

      <SOAP:operation soapAction=""/>

      <wsdl:input>

        <SOAP:body use="literal"/>

      </wsdl:input>

      <wsdl:output>

        <SOAP:body use="literal"/>

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="subtract">

      <SOAP:operation soapAction=""/>

      <wsdl:input>

        <SOAP:body use="literal"/>

      </wsdl:input>

      <wsdl:output>

        <SOAP:body use="literal"/>

      </wsdl:output>

    </wsdl:operation>

  </wsdl:binding>

  <wsdl:service name="CalculatorComponent_CalculatorService">

    <wsdl:port name="CalculatorServiceSOAP11Port" binding="CalculatorServiceBinding">

      <SOAP:address location="http://localhost:8086/CalculatorService"/>

    </wsdl:port>

  </wsdl:service>

</wsdl:definitions>

 

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.283 sec

 

Results :

 

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

 

[INFO]

[INFO] --- maven-osgi-junit-plugin:1.0:test (osgi-test) @ sample-calculator-bundle ---

[INFO] Generating C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator

-bundle\target\sample-calculator-bundle-osgi.jar

[INFO] Generating C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator

-bundle\target\sample-calculator-bundle-osgi-tests.jar

[INFO] Surefire report directory: C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-s

tatic\calculator-bundle\target\surefire-osgi-reports

2013ª~5ñδ8ñΘ ñWñ╚11:12:12 org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost start

╕Ω░T: Checking for manfiests customized by Tuscany in node-launcher-equinox/resources

2013ª~5ñδ8ñΘ ñWñ╚11:12:13 calculator.dosgi.impl.CalculatorActivator start

╕Ω░T: Starting calculator.dosgi_1.0.0 [135]

2013ª~5ñδ8ñΘ ñWñ╚11:12:13 calculator.dosgi.impl.CalculatorActivator start

╕Ω░T: Registering calculator.dosgi.CalculatorService

2013ª~5ñδ8ñΘ ñWñ╚11:12:13 calculator.dosgi.impl.CalculatorActivator getBundle

╕Ω░T: calculator.dosgi.operations.AddService is loaded by bundle: calculator.dosgi

 

-------------------------------------------------------

T E S T S

-------------------------------------------------------

Running calculator.dosgi.test.CalculatorOSGiNodeTestCase

Starting the RMI server for calculator operations...

2013ª~5ñδ8ñΘ ñWñ╚11:12:13 org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost start

╕Ω░T: Checking for manfiests customized by Tuscany in node-launcher-equinox/resources

org.eclipse.osgi_3.5.0.v20090520 [0]

0 org.eclipse.osgi ACTIVE

org.apache.tuscany.sca.node.launcher.equinox_2.0.0 [1]

1 org.apache.tuscany.sca.node.launcher.equinox ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.wsdl4j_1.6.2 [2]

2 org.apache.tuscany.sca.node.launcher.equinox.libraries.wsdl4j ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.servlet-api_2.5.0 [3]

3 org.apache.tuscany.sca.node.launcher.equinox.libraries.servlet-api ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.bsf-utils_3.1.0 [4]

4 org.apache.tuscany.sca.node.launcher.equinox.libraries.bsf-utils ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-lang_2.3.0 [5]

5 org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-lang ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.hazelcast-client_1.9.2 [6]

6 org.apache.tuscany.sca.node.launcher.equinox.libraries.hazelcast-client ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.junit_4.8.1 [7]

7 org.apache.tuscany.sca.node.launcher.equinox.libraries.junit ACTIVE

org.apache.ws.commons.axiom.axiom-impl_1.2.10 [8]

8 org.apache.ws.commons.axiom.axiom-impl RESOLVED

org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-core_1.5.1 [9]

9 org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-core ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.jaxen_1.1.1 [10]

10 org.apache.tuscany.sca.node.launcher.equinox.libraries.jaxen ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.wink-client-apache-httpclient_1.2.0 [11]

11 org.apache.tuscany.sca.node.launcher.equinox.libraries.wink-client-apache-httpclient ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-codec_1.2.0 [12]

12 org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-codec ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.httpclient_4.1.3 [13]

13 org.apache.tuscany.sca.node.launcher.equinox.libraries.httpclient ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.xmlsec_1.4.4 [14]

14 org.apache.tuscany.sca.node.launcher.equinox.libraries.xmlsec ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.jython_2.5.2 [15]

15 org.apache.tuscany.sca.node.launcher.equinox.libraries.jython ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.asm_3.1.0 [16]

16 org.apache.tuscany.sca.node.launcher.equinox.libraries.asm ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.wstx-asl_3.2.9 [17]

17 org.apache.tuscany.sca.node.launcher.equinox.libraries.wstx-asl ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.opensaml_2.4.1 [18]

18 org.apache.tuscany.sca.node.launcher.equinox.libraries.opensaml ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.js_1.7.0 [19]

19 org.apache.tuscany.sca.node.launcher.equinox.libraries.js ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-logging_1.1.1 [20]

20 org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-logging ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-api_2.4.3 [21]

21 org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-api ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.activation_1.1.0 [22]

22 org.apache.tuscany.sca.node.launcher.equinox.libraries.activation ACTIVE

org.apache.ws.commons.axiom.axiom-api_1.2.10 [23]

23 org.apache.ws.commons.axiom.axiom-api RESOLVED

org.apache.tuscany.sca.node.launcher.equinox.libraries.xml-apis_1.3.4 [24]

24 org.apache.tuscany.sca.node.launcher.equinox.libraries.xml-apis ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.httpcore_4.1.4 [25]

25 org.apache.tuscany.sca.node.launcher.equinox.libraries.httpcore ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-junit4_2.4.3 [26]

26 org.apache.tuscany.sca.node.launcher.equinox.libraries.surefire-junit4 ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.xmltooling_1.3.1 [27]

27 org.apache.tuscany.sca.node.launcher.equinox.libraries.xmltooling ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.aopalliance_1.0.0 [28]

28 org.apache.tuscany.sca.node.launcher.equinox.libraries.aopalliance ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-httpclient_3.1.0 [29]

29 org.apache.tuscany.sca.node.launcher.equinox.libraries.commons-httpclient ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.json_20090211.0.0 [30]

java.rmi.server.ExportException: Port already in use: 8085; nested exception is:

30 org.apache.tuscany.sca.node.launcher.equinox.libraries.json ACTIVE

        java.net.BindException: Address already in use: JVM_Bind

org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-trust_1.5.1 [31]

        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)

        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)

31 org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-trust ACTIVE

org.apache.axis2.osgi_1.5.3 [32]

32 org.apache.axis2.osgi RESOLVED

        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)

        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)

        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188)

org.apache.tuscany.sca.node.launcher.equinox.libraries.mex_1.5.4 [33]

        at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:100)

33 org.apache.tuscany.sca.node.launcher.equinox.libraries.mex ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.xercesImpl_2.9.1 [34]

34 org.apache.tuscany.sca.node.launcher.equinox.libraries.xercesImpl ACTIVE

        at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:86)

org.apache.tuscany.sca.node.launcher.equinox.libraries.cglib_2.2.0 [35]

        at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186)

35 org.apache.tuscany.sca.node.launcher.equinox.libraries.cglib ACTIVE

org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-policy_1.5.1 [36]

36 org.apache.tuscany.sca.node.launcher.equinox.libraries.rampart-policy ACTIVE

        at calculator.rmi.OperationsRMIServer$1.run(OperationsRMIServer.java:63)

Caused by: java.net.BindException: Address already in use: JVM_Bind

org.apache.tuscany.sca.node.launcher.equinox.libraries.axis2-mtompolicy_1.5.4 [37]

        at java.net.PlainSocketImpl.socketBind(Native Method)

37 org.apache.tuscany.sca.node.launcher.equinox.libraries.axis2-mtompolicy ACTIVE

        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)

org.apache.tuscany.sca.node.launcher.equinox.libraries.openws_1.4.1 [38]

38 org.apache.tuscany.sca.node.launcher.equinox.libraries.openws ACTIVE

        at java.net.ServerSocket.bind(ServerSocket.java:328)

org.apache.tuscany.sca.node.launcher.equinox.libraries.howl_1.0.1 [39]

        at java.net.ServerSocket.<init>(ServerSocket.java:194)

        at java.net.ServerSocket.<init>(ServerSocket.java:106)

        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)

        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)

        at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)

39 org.apache.tuscany.sca.node.launcher.equinox.libraries.howl ACTIVE

org.apache.tuscany.sca.gateway_0.0.0 [40]

40 org.apache.tuscany.sca.gateway ACTIVE

org.apache.ws.commons.schema_1.4.3 [41]

41 org.apache.ws.commons.schema RESOLVED

org.apache.tuscany.sca.builder_2.0.0 [42]

42 org.apache.tuscany.sca.builder ACTIVE

org.apache.tuscany.sca.implementation.osgi.runtime_2.0.0 [43]

43 org.apache.tuscany.sca.implementation.osgi.runtime ACTIVE

org.apache.tuscany.sca.domain.hazelcast_2.0.0 [44]

44 org.apache.tuscany.sca.domain.hazelcast ACTIVE

        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)

org.apache.tuscany.sca.monitor_2.0.0 [45]

        ... 8 more

45 org.apache.tuscany.sca.monitor ACTIVE

calculator.dosgi.tests_1.0.0 [46]

46 calculator.dosgi.tests RESOLVED

org.apache.tuscany.sca.binding.rmi_2.0.0 [47]

47 org.apache.tuscany.sca.binding.rmi ACTIVE

org.apache.tuscany.sca.domain.node_2.0.0 [48]

48 org.apache.tuscany.sca.domain.node ACTIVE

org.apache.tuscany.sca.host.corba.jee_2.0.0 [49]

49 org.apache.tuscany.sca.host.corba.jee ACTIVE

org.apache.tuscany.sca.contribution.osgi_2.0.0 [50]

50 org.apache.tuscany.sca.contribution.osgi ACTIVE

org.apache.tuscany.sca.databinding.json_2.0.0 [51]

51 org.apache.tuscany.sca.databinding.json ACTIVE

org.apache.tuscany.sca.implementation.java_2.0.0 [52]

52 org.apache.tuscany.sca.implementation.java ACTIVE

org.apache.geronimo.specs.geronimo-javamail_1.4_spec_1.6.0 [53]

53 org.apache.geronimo.specs.geronimo-javamail_1.4_spec RESOLVED

org.apache.geronimo.specs.geronimo-stax-api_1.0_spec_1.0.1 [54]

54 org.apache.geronimo.specs.geronimo-stax-api_1.0_spec RESOLVED

org.mortbay.jetty.server_6.1.26 [55]

55 org.mortbay.jetty.server RESOLVED

groovy-all_1.7.1 [56]

56 groovy-all STARTING

org.springframework.beans_3.0.5.RELEASE [57]

57 org.springframework.beans RESOLVED

slf4j.jdk14_1.6.1 [58]

58 slf4j.jdk14 RESOLVED

jackson-module-json-org_0.9.1 [59]

59 jackson-module-json-org RESOLVED

org.apache.tuscany.sca.binding.ws.wsdlgen_2.0.0 [60]

60 org.apache.tuscany.sca.binding.ws.wsdlgen ACTIVE

org.apache.tuscany.sca.binding.rest_2.0.0 [61]

61 org.apache.tuscany.sca.binding.rest ACTIVE

org.apache.wink.server_1.2.0.incubating [62]

62 org.apache.wink.server RESOLVED

org.apache.tuscany.sca.extensibility.equinox_2.0.0 [63]

63 org.apache.tuscany.sca.extensibility.equinox ACTIVE

org.apache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1 [64]

64 org.apache.geronimo.specs.geronimo-jta_1.1_spec RESOLVED

org.apache.geronimo.specs.geronimo-annotation_1.1_spec_1.0.0 [65]

65 org.apache.geronimo.specs.geronimo-annotation_1.1_spec RESOLVED

org.apache.tuscany.sca.host.jetty_2.0.0 [66]

66 org.apache.tuscany.sca.host.jetty ACTIVE

org.apache.tuscany.sca.assembly.xsd_2.0.0 [67]

67 org.apache.tuscany.sca.assembly.xsd ACTIVE

org.apache.neethi_2.0.4 [68]

68 org.apache.neethi RESOLVED

org.springframework.aop_3.0.5.RELEASE [69]

69 org.springframework.aop RESOLVED

jackson-core-asl_1.9.4 [70]

70 jackson-core-asl RESOLVED

org.apache.wink.client_1.2.0.incubating [71]

71 org.apache.wink.client RESOLVED

org.apache.tuscany.sca.implementation.jaxrs.runtime_2.0.0 [72]

72 org.apache.tuscany.sca.implementation.jaxrs.runtime ACTIVE

org.apache.tuscany.sca.node.osgi.impl_2.0.0 [73]

2013ª~5ñδ8ñΘ ñWñ╚11:12:13 org.apache.tuscany.sca.node.impl.NodeImpl start

╕Ω░T: Starting node: calculator.dosgi domain: default

2013ª~5ñδ8ñΘ ñWñ╚11:12:13 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContributions

╕Ω░T: Loading contribution: bundleentry://135.fwk918077175/

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.mortbay.log.Slf4jLog info

╕Ω░T: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.apache.tuscany.sca.http.jetty.JettyLogger info

╕Ω░T: jetty-6.1.x

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.apache.tuscany.sca.http.jetty.JettyLogger info

╕Ω░T: Started SelectChannelConnector@localhost:8086

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

╕Ω░T: Added Servlet mapping: http://localhost:8086/CalculatorService

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint

╕Ω░T: Add endpoint - binding.ws - http://localhost:8086/CalculatorService

73 org.apache.tuscany.sca.node.osgi.impl ACTIVE

org.apache.tuscany.sca.policy.transaction.runtime.geronimo_2.0.0 [74]

74 org.apache.tuscany.sca.policy.transaction.runtime.geronimo ACTIVE

javax.ws.rs.jsr311-api_1.1.1 [75]

75 javax.ws.rs.jsr311-api RESOLVED

org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec_2.0.0 [76]

76 org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec RESOLVED

org.apache.tuscany.sca.databinding_2.0.0 [77]

77 org.apache.tuscany.sca.databinding ACTIVE

org.apache.tuscany.sca.implementation.java.runtime_2.0.0 [78]

78 org.apache.tuscany.sca.implementation.java.runtime ACTIVE

org.eclipse.core.runtime_3.4.0.v20080512 [79]

79 org.eclipse.core.runtime STARTING

org.apache.tuscany.sca.implementation.spring_2.0.0 [80]

80 org.apache.tuscany.sca.implementation.spring ACTIVE

org.apache.tuscany.sca.policy.transaction.runtime_2.0.0 [81]

81 org.apache.tuscany.sca.policy.transaction.runtime ACTIVE

org.eclipse.osgi.services_3.2.0.v20090520-1800 [82]

82 org.eclipse.osgi.services RESOLVED

hazelcast_1.9.2.2 [83]

83 hazelcast RESOLVED

jcl.over.slf4j_1.6.1 [84]

84 jcl.over.slf4j RESOLVED

org.apache.tuscany.sca.host.corba.jse.tns_2.0.0 [85]

85 org.apache.tuscany.sca.host.corba.jse.tns ACTIVE

org.apache.tuscany.sca.assembly_2.0.0 [86]

86 org.apache.tuscany.sca.assembly ACTIVE

org.apache.tuscany.sca.core.spi_2.0.0 [87]

87 org.apache.tuscany.sca.core.spi ACTIVE

org.apache.tuscany.sca.core_2.0.0 [88]

88 org.apache.tuscany.sca.core ACTIVE

org.apache.tuscany.sca.client.impl_2.0.0 [89]

89 org.apache.tuscany.sca.client.impl ACTIVE

org.apache.ws.commons.axiom.axiom-dom_1.2.10 [90]

90 org.apache.ws.commons.axiom.axiom-dom RESOLVED

org.apache.tuscany.sca.contribution_2.0.0 [91]

91 org.apache.tuscany.sca.contribution ACTIVE

org.apache.commons.cli_1.2.0 [92]

92 org.apache.commons.cli RESOLVED

org.apache.tuscany.sca.binding.corba_2.0.0 [93]

93 org.apache.tuscany.sca.binding.corba ACTIVE

org.apache.tuscany.sca.host.http_2.0.0 [94]

94 org.apache.tuscany.sca.host.http ACTIVE

org.eclipse.equinox.app_1.2.0.v20090520-1800 [95]

95 org.eclipse.equinox.app STARTING

org.apache.tuscany.sca.interface.java.jaxrs_2.0.0 [96]

96 org.apache.tuscany.sca.interface.java.jaxrs ACTIVE

org.apache.tuscany.sca.binding.rmi.runtime_2.0.0 [97]

97 org.apache.tuscany.sca.binding.rmi.runtime ACTIVE

org.apache.tuscany.sca.host.corba.jse_2.0.0 [98]

98 org.apache.tuscany.sca.host.corba.jse ACTIVE

org.apache.tuscany.sca.common.xml_2.0.0 [99]

99 org.apache.tuscany.sca.common.xml ACTIVE

org.apache.tuscany.sca.binding.corba.runtime_2.0.0 [100]

100 org.apache.tuscany.sca.binding.corba.runtime ACTIVE

org.apache.tuscany.sca.extensibility_2.0.0 [101]

101 org.apache.tuscany.sca.extensibility ACTIVE

org.apache.tuscany.sca.binding.rest.runtime_2.0.0 [102]

102 org.apache.tuscany.sca.binding.rest.runtime ACTIVE

org.eclipse.equinox.util_1.0.100.v20090520-1800 [103]

103 org.eclipse.equinox.util STARTING

org.apache.tuscany.sca.policy.wspolicy_2.0.0 [104]

104 org.apache.tuscany.sca.policy.wspolicy ACTIVE

org.codehaus.jettison.jettison_1.2.0 [105]

105 org.codehaus.jettison.jettison RESOLVED

org.apache.tuscany.sca.node.api_2.0.0 [106]

106 org.apache.tuscany.sca.node.api ACTIVE

org.eclipse.core.jobs_3.4.0.v20080512 [107]

107 org.eclipse.core.jobs STARTING

org.apache.tuscany.sca.policy.transaction_2.0.0 [108]

108 org.apache.tuscany.sca.policy.transaction ACTIVE

org.springframework.context_3.0.5.RELEASE [109]

109 org.springframework.context RESOLVED

org.apache.tuscany.sca.binding.ws.axis2_2.0.0 [110]

110 org.apache.tuscany.sca.binding.ws.axis2 ACTIVE

org.apache.tuscany.sca.binding.ws_2.0.0 [111]

111 org.apache.tuscany.sca.binding.ws ACTIVE

org.eclipse.equinox.preferences_3.2.300.v20090520-1800 [112]

112 org.eclipse.equinox.preferences STARTING

org.apache.tuscany.sca.node.launcher_2.0.0 [113]

113 org.apache.tuscany.sca.node.launcher ACTIVE

org.springframework.core_3.0.5.RELEASE [114]

114 org.springframework.core RESOLVED

org.apache.tuscany.sca.interface.wsdl_2.0.0 [115]

115 org.apache.tuscany.sca.interface.wsdl ACTIVE

org.apache.tuscany.sca.binding.sca.runtime_2.0.0 [116]

116 org.apache.tuscany.sca.binding.sca.runtime ACTIVE

org.apache.tuscany.sca.core.databinding_2.0.0 [117]

117 org.apache.tuscany.sca.core.databinding ACTIVE

org.apache.tuscany.sca.databinding.axiom_2.0.0 [118]

118 org.apache.tuscany.sca.databinding.axiom ACTIVE

org.apache.tuscany.sca.api_2.0.0 [119]

119 org.apache.tuscany.sca.api ACTIVE

jackson-mapper-asl_1.9.4 [120]

120 jackson-mapper-asl RESOLVED

org.apache.tuscany.sca.core.web.javascript_2.0.0 [121]

121 org.apache.tuscany.sca.core.web.javascript ACTIVE

org.apache.geronimo.components.geronimo-transaction_2.1.4 [122]

122 org.apache.geronimo.components.geronimo-transaction RESOLVED

org.apache.tuscany.sca.databinding.jaxb_2.0.0 [123]

123 org.apache.tuscany.sca.databinding.jaxb ACTIVE

org.eclipse.core.contenttype_3.3.0.v20080604-1400 [124]

124 org.eclipse.core.contenttype STARTING

org.apache.tuscany.sca.assembly.xml_2.0.0 [125]

125 org.apache.tuscany.sca.assembly.xml ACTIVE

org.mortbay.jetty.util_6.1.26 [126]

126 org.mortbay.jetty.util RESOLVED

org.apache.geronimo.specs.geronimo-activation_1.1_spec_1.0.2 [127]

127 org.apache.geronimo.specs.geronimo-activation_1.1_spec RESOLVED

org.springframework.asm_3.0.5.RELEASE [128]

128 org.springframework.asm RESOLVED

org.apache.tuscany.sca.host.corba_2.0.0 [129]

129 org.apache.tuscany.sca.host.corba ACTIVE

org.apache.tuscany.sca.interface.java.jaxws_2.0.0 [130]

130 org.apache.tuscany.sca.interface.java.jaxws ACTIVE

org.apache.tuscany.sca.deployment_2.0.0 [131]

131 org.apache.tuscany.sca.deployment ACTIVE

org.eclipse.equinox.registry_3.4.100.v20090520-1800 [132]

132 org.eclipse.equinox.registry STARTING

slf4j.api_1.6.1 [133]

133 slf4j.api RESOLVED

org.apache.tuscany.sca.implementation.spring.runtime_2.0.0 [134]

134 org.apache.tuscany.sca.implementation.spring.runtime ACTIVE

calculator.dosgi_1.0.0 [135]

135 calculator.dosgi ACTIVE

org.apache.geronimo.components.geronimo-connector_2.1.4 [136]

136 org.apache.geronimo.components.geronimo-connector RESOLVED

org.apache.tuscany.sca.host.rmi_2.0.0 [137]

137 org.apache.tuscany.sca.host.rmi ACTIVE

org.springframework.expression_3.0.5.RELEASE [138]

138 org.springframework.expression RESOLVED

jackson-xc_1.9.4 [139]

139 jackson-xc RESOLVED

org.apache.tuscany.sca.implementation.osgi_2.0.0 [140]

140 org.apache.tuscany.sca.implementation.osgi ACTIVE

org.apache.tuscany.sca.shell_2.0.0 [141]

141 org.apache.tuscany.sca.shell ACTIVE

org.apache.tuscany.sca.data.api_2.0.0 [142]

142 org.apache.tuscany.sca.data.api ACTIVE

org.eclipse.equinox.ds_1.1.0.v20090601 [143]

143 org.eclipse.equinox.ds ACTIVE

org.apache.tuscany.sca.node.impl_2.0.0 [144]

144 org.apache.tuscany.sca.node.impl ACTIVE

org.apache.tuscany.sca.policy.security_2.0.0 [145]

145 org.apache.tuscany.sca.policy.security ACTIVE

org.apache.ws.security.wss4j_1.5.10 [146]

146 org.apache.ws.security.wss4j RESOLVED

org.apache.tuscany.sca.implementation.script.runtime_2.0.0 [147]

147 org.apache.tuscany.sca.implementation.script.runtime ACTIVE

org.apache.tuscany.sca.implementation.script_2.0.0 [148]

148 org.apache.tuscany.sca.implementation.script ACTIVE

org.apache.tuscany.sca.xsd_2.0.0 [149]

149 org.apache.tuscany.sca.xsd ACTIVE

org.apache.tuscany.sca.common.java_2.0.0 [150]

150 org.apache.tuscany.sca.common.java ACTIVE

org.apache.tuscany.sca.implementation.jaxrs_2.0.0 [151]

151 org.apache.tuscany.sca.implementation.jaxrs ACTIVE

org.eclipse.equinox.common_3.5.0.v20090520-1800 [152]

152 org.eclipse.equinox.common STARTING

org.apache.tuscany.sca.interface.java_2.0.0 [153]

153 org.apache.tuscany.sca.interface.java ACTIVE

org.apache.tuscany.sca.databinding.jaxb.axiom_2.0.0 [154]

154 org.apache.tuscany.sca.databinding.jaxb.axiom ACTIVE

org.apache.wink.common_1.2.0.incubating [155]

155 org.apache.wink.common RESOLVED

org.apache.tuscany.sca.common.http_2.0.0 [156]

156 org.apache.tuscany.sca.common.http ACTIVE

org.jruby.jruby_1.5.5 [157]

157 org.jruby.jruby RESOLVED

135 calculator.dosgi ACTIVE

Remote service: [Proxy - org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler@3e9d9edd]

2.0 + 1.0 = 3.0

Remote service: [Proxy - org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler@6f461b5b]

2.0 - 1.0 = 1.0

Remote service: [Proxy - org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler@7e0c6692]

2.0 * 1.0 = 2.0

Remote service: [Proxy - org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler@7ef7bf2d]

2.0 / 1.0 = 2.0

<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions name="CalculatorServiceService" targetNamespace="http://dosgi.calculator/" xmlns="http://dosgi.calcula

tor/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP="http://schem

as.xmlsoap.org/wsdl/soap/" xmlns:SOAP11="http://schemas.xmlsoap.org/wsdl/soap/">

  <wsdl:types>

    <xs:schema targetNamespace="http://dosgi.calculator/" version="1.0" xmlns:tns="http://dosgi.calculator/" xmlns:xs="h

ttp://www.w3.org/2001/XMLSchema">

<xs:element name="add" type="tns:add"/>

<xs:element name="addResponse" type="tns:addResponse"/>

<xs:element name="divide" type="tns:divide"/>

<xs:element name="divideResponse" type="tns:divideResponse"/>

<xs:element name="multiply" type="tns:multiply"/>

<xs:element name="multiplyResponse" type="tns:multiplyResponse"/>

<xs:element name="subtract" type="tns:subtract"/>

<xs:element name="subtractResponse" type="tns:subtractResponse"/>

<xs:complexType name="subtractResponse"><xs:sequence><xs:element name="return" type="xs:double"/></xs:sequence></xs:comp

lexType>

<xs:complexType name="multiplyResponse"><xs:sequence><xs:element name="return" type="xs:double"/></xs:sequence></xs:comp

lexType>

<xs:complexType name="divideResponse"><xs:sequence><xs:element name="return" type="xs:double"/></xs:sequence></xs:comple

xType>

<xs:complexType name="multiply"><xs:sequence><xs:element name="arg0" type="xs:double"/><xs:element name="arg1" type="xs:

double"/></xs:sequence></xs:complexType>

<xs:complexType name="divide"><xs:sequence><xs:element name="arg0" type="xs:double"/><xs:element name="arg1" type="xs:do

uble"/></xs:sequence></xs:complexType>

<xs:complexType name="add"><xs:sequence><xs:element name="arg0" type="xs:double"/><xs:element name="arg1" type="xs:doubl

e"/></xs:sequence></xs:complexType>

<xs:complexType name="subtract"><xs:sequence><xs:element name="arg0" type="xs:double"/><xs:element name="arg1" type="xs:

double"/></xs:sequence></xs:complexType>

<xs:complexType name="addResponse"><xs:sequence><xs:element name="return" type="xs:double"/></xs:sequence></xs:complexTy

pe>

</xs:schema>

  </wsdl:types>

  <wsdl:message name="multiplyResponse">

    <wsdl:part name="multiplyResponse" element="multiplyResponse">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="subtract">

    <wsdl:part name="subtract" element="subtract">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="addResponse">

    <wsdl:part name="addResponse" element="addResponse">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="add">

    <wsdl:part name="add" element="add">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="subtractResponse">

    <wsdl:part name="subtractResponse" element="subtractResponse">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="divideResponse">

    <wsdl:part name="divideResponse" element="divideResponse">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="multiply">

    <wsdl:part name="multiply" element="multiply">

    </wsdl:part>

  </wsdl:message>

  <wsdl:message name="divide">

    <wsdl:part name="divide" element="divide">

    </wsdl:part>

  </wsdl:message>

  <wsdl:portType name="CalculatorService">

    <wsdl:operation name="add">

      <wsdl:input message="add">

    </wsdl:input>

      <wsdl:output message="addResponse">

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="divide">

      <wsdl:input message="divide">

    </wsdl:input>

      <wsdl:output message="divideResponse">

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="multiply">

      <wsdl:input message="multiply">

    </wsdl:input>

      <wsdl:output message="multiplyResponse">

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="subtract">

      <wsdl:input message="subtract">

    </wsdl:input>

      <wsdl:output message="subtractResponse">

    </wsdl:output>

    </wsdl:operation>

  </wsdl:portType>

  <wsdl:binding name="CalculatorServiceBinding" type="CalculatorService">

    <SOAP:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

    <wsdl:operation name="add">

      <SOAP:operation soapAction=""/>

      <wsdl:input>

        <SOAP:body use="literal"/>

      </wsdl:input>

      <wsdl:output>

        <SOAP:body use="literal"/>

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="divide">

      <SOAP:operation soapAction=""/>

      <wsdl:input>

        <SOAP:body use="literal"/>

      </wsdl:input>

      <wsdl:output>

        <SOAP:body use="literal"/>

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="multiply">

      <SOAP:operation soapAction=""/>

      <wsdl:input>

        <SOAP:body use="literal"/>

      </wsdl:input>

      <wsdl:output>

        <SOAP:body use="literal"/>

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="subtract">

      <SOAP:operation soapAction=""/>

      <wsdl:input>

        <SOAP:body use="literal"/>

      </wsdl:input>

      <wsdl:output>

        <SOAP:body use="literal"/>

      </wsdl:output>

    </wsdl:operation>

  </wsdl:binding>

  <wsdl:service name="CalculatorComponent_CalculatorService">

    <wsdl:port name="CalculatorServiceSOAP11Port" binding="CalculatorServiceBinding">

      <SOAP:address location="http://localhost:8086/CalculatorService"/>

    </wsdl:port>

  </wsdl:service>

</wsdl:definitions>

 

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.172 sec

 

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 calculator.dosgi.impl.CalculatorActivator stop

Results :

 

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

 

╕Ω░T: Stopping calculator.dosgi_1.0.0 [135]

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.apache.tuscany.sca.node.impl.NodeImpl stop

╕Ω░T: Stopping node: calculator.dosgi

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint

╕Ω░T: Remove endpoint - binding.ws - http://localhost:8086/CalculatorService

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.apache.tuscany.sca.http.jetty.JettyServer removeServletMapping

╕Ω░T: Removed Servlet mapping: /CalculatorService

2013ª~5ñδ8ñΘ ñWñ╚11:12:15 org.apache.tuscany.sca.http.jetty.JettyLogger info

╕Ω░T: Stopped SelectChannelConnector@localhost:8086

[INFO]

[INFO] --- maven-jar-plugin:2.1:jar (default-jar) @ sample-calculator-bundle ---

[INFO] Building jar: C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calcula

tor-bundle\target\sample-calculator-bundle.jar

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ sample-calculator-bundle ---

[INFO] Installing C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator

-bundle\target\sample-calculator-bundle.jar to C:\Users\leungchaksun\.m2\repository\org\apache\tuscany\sca\samples\sampl

e-calculator-bundle\2.0\sample-calculator-bundle-2.0.jar

[INFO] Installing C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator

-bundle\pom.xml to C:\Users\leungchaksun\.m2\repository\org\apache\tuscany\sca\samples\sample-calculator-bundle\2.0\samp

le-calculator-bundle-2.0.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 18.182s

[INFO] Finished at: Wed May 08 11:12:16 GMT+08:00 2013

[INFO] Final Memory: 18M/372M

[INFO] ------------------------------------------------------------------------

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator-bundle>

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator-bundle>

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator-bundle>install fi

le:./target/sample-calculator-bundle.jar

'install' is not recognized as an internal or external command,

operable program or batch file.

 

C:\Users\leungchaksun\Desktop\tuscany-sca-2.0\samples\learning-more\distributed-osgi-static\calculator-bundle>java -jar

..\..\..\..\modules\osgi-3.5.0-v20090520.jar -configuration ..\..\..\..\features\configuration -clean -console

 

osgi> ss

 

Framework is launched.

 

id      State       Bundle

0       ACTIVE      org.eclipse.osgi_3.5.0.v20090520

1       ACTIVE      org.aspectj.aspectjrt_1.6.8

2       ACTIVE      org.apache.tuscany.sca.host.corba.jse.tns_2.0.0

3       ACTIVE      aopalliance.aopalliance_1.0.0

4       ACTIVE      org.apache.tuscany.sca.implementation.osgi.runtime_2.0.0

5       ACTIVE      org.apache.wink.server_1.2.0.incubating

6       ACTIVE      org.apache.tuscany.sca.policy.logging_2.0.0

7       ACTIVE      org.springframework.context.support_3.0.5.RELEASE

8       ACTIVE      org.apache.tuscany.sca.domain.node_2.0.0

9       ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800

10      ACTIVE      org.apache.tuscany.sca.binding.jsonp_2.0.0

11      ACTIVE      org.apache.tuscany.sca.endpoint.tribes_2.0.0

12      ACTIVE      org.apache.wink.common_1.2.0.incubating

13      ACTIVE      com.hazelcast.hazelcast-client_1.9.2.2

14      ACTIVE      org.apache.ode.ode-bpel-obj_1.3.2

15      ACTIVE      commons-digester.commons-digester_1.8.0

16      INSTALLED   org.apache.tuscany.sca.wink_2.0.0

17      ACTIVE      org.apache.tuscany.sca.binding.jms.runtime_2.0.0

18      ACTIVE      org.apache.tuscany.sca.host.corba.jse_2.0.0

19      ACTIVE      tranql.tranql-connector_1.1.0

20      ACTIVE      org.apache.myfaces.core.myfaces-api_1.2.2

21      ACTIVE      org.apache.tomcat.tribes_6.0.26

22      ACTIVE      org.eclipse.xsd_2.2.3.v200705141058

23      ACTIVE      org.apache.tuscany.sca.binding.corba_2.0.0

24      ACTIVE      org.apache.wink.wink-client-apache-httpclient_1.2.0.incubating

25      ACTIVE      org.apache.tuscany.sca.binding.atom_2.0.0

26      ACTIVE      org.apache.tuscany.sca.databinding.sdo.axiom_2.0.0

27      ACTIVE      org.eclipse.osgi.services_3.2.0.v20090520-1800

28      ACTIVE      org.apache.tuscany.sca.binding.corba.runtime_2.0.0

29      ACTIVE      commons-collections.commons-collections_3.2.0

30      ACTIVE      org.eclipse.emf.common_2.2.1.v200705141058

31      ACTIVE      org.apache.tuscany.sca.data.api_2.0.0

32      ACTIVE      jaxen.jaxen_1.1.1

33      ACTIVE      org.apache.ode.ode-bpel-dao_1.3.2

34      ACTIVE      org.apache.tuscany.sca.binding.jms_2.0.0

35      ACTIVE      org.apache.tuscany.sca.interface.wsdl_2.0.0

36      ACTIVE      org.apache.tuscany.sca.assembly.xsd_2.0.0

37      ACTIVE      org.apache.ode.ode-dao-hibernate_1.3.2

38      ACTIVE      xalan.xalan_2.7.0

39      ACTIVE      org.eclipse.core.jobs_3.4.0.v20080512

40      ACTIVE      org.apache.ode.ode-bpel-store_1.3.2

41      ACTIVE      jackson-core-asl_1.9.4

42      ACTIVE      org.apache.ode.ode-jacob_1.3.2

43      ACTIVE      org.apache.tuscany.sca.host.http_2.0.0

44      ACTIVE      org.apache.tuscany.sca.binding.rest.runtime_2.0.0

45      INSTALLED   org.apache.tuscany.sca.implementation.web.runtime_2.0.0

46      ACTIVE      org.apache.tuscany.sca.shell_2.0.0

47      ACTIVE      org.jruby.jruby_1.5.5

48      ACTIVE      org.apache.tuscany.sca.policy.security_2.0.0

49      ACTIVE      dom4j.dom4j_1.6.1

50      ACTIVE      backport-util-concurrent.backport-util-concurrent_3.1.0

51      ACTIVE      net.sourceforge.stripes.stripes_1.5.2

52      ACTIVE      org.springframework.beans_3.0.5.RELEASE

53      STARTING    org.apache.tuscany.sca.node.osgi.impl_2.0.0

54      RESOLVED    org.apache.tuscany.sca.aspectj_2.0.0

55      ACTIVE      org.eclipse.core.runtime_3.4.0.v20080512

56      RESOLVED    org.apache.tuscany.sca.contribution_2.0.0

57      RESOLVED    org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec_2.0.0

58      RESOLVED    org.apache.ode.ode-bpel-epr_1.3.2

59      RESOLVED    net.sourceforge.saxon.saxon_9.1.0.8

60      RESOLVED    org.apache.tuscany.sca.binding.rest_2.0.0

61      RESOLVED    org.apache.axis2.axis2-mtompolicy_1.5.4

62      RESOLVED    cglib.cglib_2.2.0

63      RESOLVED    slf4j.jdk14_1.6.1

                    Master=103

64      RESOLVED    org.eclipse.core.contenttype_3.3.0.v20080604-1400

65      RESOLVED    org.apache.tuscany.sca.binding.ws.jaxws_2.0.0

66      RESOLVED    org.apache.tuscany.sdo.lib_1.0.0

67      RESOLVED    org.eclipse.emf.ecore.xmi_2.2.3.v200705141058

68      RESOLVED    org.apache.axis2.mex_1.5.4

69      RESOLVED    net.sourceforge.serp.serp_1.13.1

70      RESOLVED    org.apache.ode.ode-dao-jpa_1.3.2

71      RESOLVED    org.apache.tuscany.sca.binding.http.runtime_2.0.0

72      RESOLVED    org.apache.tuscany.sca.host.corba.jee_2.0.0

73      RESOLVED    org.apache.tuscany.sca.binding.ejb_2.0.0

74      RESOLVED    org.objectweb.howl.howl_1.0.1

75      INSTALLED   org.apache.abdera.core_1.1.1

76      RESOLVED    org.apache.tuscany.sca.binding.ws.wsdlgen_2.0.0

77      RESOLVED    org.springframework.expression_3.0.5.RELEASE

78      RESOLVED    org.apache.geronimo.components.geronimo-connector_2.1.4

79      RESOLVED    rhino.js_1.0.0.7R2

80      RESOLVED    org.springframework.web.servlet_3.0.5.RELEASE

81      RESOLVED    org.apache.tuscany.sca.binding.jsonrpc.runtime_0.0.0

82      RESOLVED    org.apache.tuscany.sca.api_2.0.0

83      RESOLVED    org.apache.ws.commons.schema_1.4.3

84      RESOLVED    org.apache.tuscany.sca.implementation.widget.runtime_2.0.0

85      RESOLVED    commons-beanutils.commons-beanutils_1.7.0

86      RESOLVED    org.springframework.web_3.0.5.RELEASE

87      RESOLVED    asm.asm_3.1.0

88      RESOLVED    org.apache.tuscany.sca.implementation.jaxrs_2.0.0

89      RESOLVED    org.apache.wink.client_1.2.0.incubating

90      RESOLVED    org.apache.tuscany.sca.host.jetty_2.0.0

91      INSTALLED   org.apache.abdera.client_1.1.1

92      RESOLVED    commons-httpclient.commons-httpclient_3.1.0

93      RESOLVED    org.apache.tuscany.sca.host.rmi_2.0.0

94      RESOLVED    org.apache.tuscany.sca.databinding.sdo_2.0.0

95      RESOLVED    org.apache.tuscany.sca.implementation.script.runtime_2.0.0

96      RESOLVED    jackson-module-json-org_0.9.1

97      RESOLVED    org.apache.tuscany.sca.policy.wspolicy_2.0.0

98      RESOLVED    org.apache.tuscany.sca.binding.sca.runtime_2.0.0

100     RESOLVED    javax.servlet.servlet-api_2.5.0

101     RESOLVED    org.apache.tuscany.sca.implementation.java.runtime_2.0.0

102     RESOLVED    org.apache.tuscany.sca.implementation.java_2.0.0

103     RESOLVED    slf4j.api_1.6.1

                    Fragments=63

105     RESOLVED    org.apache.tuscany.sca.databinding.json_2.0.0

106     RESOLVED    org.apache.tuscany.sca.binding.ws_2.0.0

107     RESOLVED    org.apache.tuscany.sca.implementation.jaxrs.runtime_2.0.0

108     ACTIVE      org.apache.tuscany.sca.extensibility.equinox_2.0.0

109     RESOLVED    org.apache.ode.ode-bpel-runtime_1.3.2

110     RESOLVED    xerces.xercesImpl_2.8.1

111     RESOLVED    org.apache.tuscany.sca.databinding.axiom_2.0.0

112     INSTALLED   org.apache.tuscany.sca.binding.atom.abdera_2.0.0

113     RESOLVED    org.apache.tuscany.sca.implementation.widget_2.0.0

114     RESOLVED    org.apache.santuario.xmlsec_1.4.4

115     RESOLVED    org.apache.tuscany.sca.monitor_2.0.0

116     INSTALLED   org.apache.tuscany.sca.stripes_2.0.0

117     RESOLVED    org.apache.tuscany.sca.common.java_2.0.0

118     RESOLVED    hazelcast_1.9.2.2

119     INSTALLED   org.apache.abdera.extensions-main_1.1.1

120     RESOLVED    org.apache.myfaces.core.myfaces-impl_1.2.2

121     RESOLVED    jcl.over.slf4j_1.6.1

122     RESOLVED    org.apache.tuscany.sca.host.corba_2.0.0

123     RESOLVED    org.apache.tuscany.sca.deployment_2.0.0

124     RESOLVED    org.json.json_20090211.0.0

125     RESOLVED    org.apache.ws.commons.axiom.axiom-api_1.2.10

126     RESOLVED    org.apache.tuscany.sca.common.xml_2.0.0

127     RESOLVED    javax.ws.rs.jsr311-api_1.1.1

128     RESOLVED    org.apache.axis2.osgi_1.0.0.3

129     RESOLVED    org.apache.neethi_2.0.4

130     RESOLVED    org.apache.tuscany.sca.client.impl_2.0.0

131     RESOLVED    org.apache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1

132     RESOLVED    org.apache.tuscany.sca.implementation.spring.runtime_2.0.0

133     RESOLVED    org.apache.httpcomponents.httpclient_4.1.3

134     RESOLVED    org.apache.tuscany.sca.xsd_2.0.0

135     RESOLVED    org.apache.tuscany.sca.binding.rmi.runtime_2.0.0

136     RESOLVED    org.apache.tuscany.sca.assembly_2.0.0

137     RESOLVED    org.apache.tuscany.sca.node.api_2.0.0

138     RESOLVED    org.opensaml.xmltooling_1.3.1

139     RESOLVED    org.apache.tuscany.sca.binding.ws.axis2_2.0.0

140     RESOLVED    org.apache.tuscany.sca.core.web.javascript_2.0.0

141     RESOLVED    org.apache.ode.ode-bpel-compiler_1.3.2

142     RESOLVED    org.apache.tuscany.sca.binding.rmi_2.0.0

143     RESOLVED    org.apache.tuscany.sca.interface.java.jaxws_2.0.0

144     RESOLVED    org.apache.tuscany.sca.host.webapp_2.0.0

145     INSTALLED   org.apache.abdera.server_1.1.1

146     RESOLVED    org.apache.tuscany.sca.launcher_2.0.0

147     RESOLVED    org.apache.openjpa.openjpa_1.2.1

148     RESOLVED    org.apache.geronimo.specs.geronimo-javamail_1.4_spec_1.6.0

149     RESOLVED    org.codehaus.jettison.jettison_1.2.0

150     RESOLVED    groovy-all_1.7.1

151     RESOLVED    org.opensaml.opensaml_2.4.1

152     RESOLVED    nu.validator.htmlparser.htmlparser_1.0.5

153     RESOLVED    org.apache.tuscany.sca.gateway_2.0.0

154     RESOLVED    org.apache.tuscany.sca.core.web.javascript.dojo_2.0.0

155     RESOLVED    org.opensaml.openws_1.4.1

156     RESOLVED    org.apache.tuscany.sca.interface.java.jaxrs_2.0.0

157     RESOLVED    org.apache.tuscany.sca.binding.jsonrpc_2.0.0

158     RESOLVED    org.apache.ws.security.wss4j_1.5.10

159     RESOLVED    org.apache.tuscany.sca.binding.comet_2.0.0

160     RESOLVED    org.apache.tuscany.sca.binding.http_2.0.0

161     RESOLVED    org.aspectj.aspectjweaver_1.6.8

162     RESOLVED    org.apache.tuscany.sca.domain.hazelcast_2.0.0

163     RESOLVED    org.apache.commons.codec_1.4.0

164     RESOLVED    org.apache.tuscany.sca.interface.java_2.0.0

165     RESOLVED    jackson-xc_1.9.4

166     RESOLVED    org.apache.tuscany.sca.databinding_2.0.0

167     RESOLVED    org.apache.ode.ode-bpel-schemas_1.3.2

168     RESOLVED    org.apache.rampart.rampart-core_1.5.1

169     RESOLVED    org.apache.tuscany.sca.databinding.jaxb.axiom_2.0.0

170     ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800

171     RESOLVED    javax.mail.mail_1.4.0

173     INSTALLED   org.apache.tuscany.sca.implementation.web.client_2.0.0

174     RESOLVED    org.apache.tuscany.sca.implementation.bpel_2.0.0

175     INSTALLED   org.apache.abdera.parser_1.1.1

176     RESOLVED    org.apache.rampart.rampart-policy_1.5.1

177     RESOLVED    org.apache.ode.ode-scheduler-simple_1.3.2

178     RESOLVED    log4j.log4j_1.2.15

179     RESOLVED    org.apache.tuscany.sca.implementation.osgi_2.0.0

180     RESOLVED    org.apache.tuscany.sca.databinding.jaxb_2.0.0

181     RESOLVED    org.directwebremoting.dwr_2.0.3

182     RESOLVED    org.apache.ws.commons.axiom.axiom-dom_1.2.10

183     RESOLVED    org.eclipse.emf.ecore.change_2.2.1.v200705141058

184     RESOLVED    regexp.regexp_1.3.0

185     RESOLVED    org.apache.tuscany.sca.implementation.script_2.0.0

186     RESOLVED    commons-logging.commons-logging_1.1.1

187     RESOLVED    javax.servlet.jstl_1.1.2

188     RESOLVED    org.apache.tuscany.sca.binding.ejb.runtime_2.0.0

189     RESOLVED    org.apache.xmlbeans.xmlbeans_2.3.0

190     RESOLVED    org.apache.tuscany.sca.implementation.python_2.0.0

191     RESOLVED    commons-lang.commons-lang_2.3.0

192     RESOLVED    org.springframework.asm_3.0.5.RELEASE

193     RESOLVED    org.apache.geronimo.modules.geronimo-kernel_2.0.1

194     RESOLVED    org.apache.tuscany.sca.implementation.spring.webapp_2.0.0

195     ACTIVE      org.eclipse.equinox.common_3.5.0.v20090520-1800

196     RESOLVED    jdom.jdom_1.0.0

197     RESOLVED    org.springframework.context_3.0.5.RELEASE

198     ACTIVE      org.apache.tuscany.sca.extensibility_2.0.0

199     RESOLVED    org.apache.geronimo.specs.geronimo-jms_1.1_spec_1.1.1

200     RESOLVED    org.apache.ode.ode-agents_1.3.2

201     RESOLVED    org.python.jython_2.5.2.beta1

202     RESOLVED    org.apache.geronimo.components.geronimo-transaction_2.1.4

203     RESOLVED    org.apache.tuscany.sca.builder_2.0.0

204     INSTALLED   org.apache.abdera.extensions-json_1.1.1

205     RESOLVED    org.apache.tuscany.sca.core_2.0.0

206     RESOLVED    org.apache.tuscany.sca.implementation.widget.runtime.dojo_2.0.0

207     RESOLVED    org.apache.ode.ode-jacob-ap_1.3.2

208     RESOLVED    org.apache.geronimo.specs.geronimo-jpa_3.0_spec_1.1.1

209     RESOLVED    org.apache.tuscany.sca.core.spi_2.0.0

210     INSTALLED   org.apache.tuscany.sca.myfaces_2.0.0

211     INSTALLED   org.apache.abdera.extensions-html_1.1.1

212     RESOLVED    org.apache.rampart.rampart-trust_1.5.1

213     RESOLVED    org.apache.tuscany.sca.contribution.osgi_2.0.0

214     RESOLVED    org.apache.tuscany.sca.implementation.spring_2.0.0

215     RESOLVED    org.apache.ode.ode-utils_1.3.2

216     RESOLVED    org.apache.ws.commons.axiom.axiom-impl_1.2.10

217     RESOLVED    org.apache.tuscany.sca.binding.ws.jaxws.ri_2.0.0

218     RESOLVED    org.apache.abdera.i18n_1.1.1

219     RESOLVED    org.apache.tuscany.sdo.tuscany-sdo-impl_1.1.1

220     RESOLVED    org.apache.tuscany.sca.node.impl_2.0.0

221     RESOLVED    org.apache.geronimo.specs.geronimo-ejb_3.0_spec_1.0.1

222     RESOLVED    org.apache.tomcat.juli_6.0.26

223     RESOLVED    wsdl4j.wsdl4j_1.6.2

224     RESOLVED    org.mortbay.jetty.util_6.1.26

225     RESOLVED    org.apache.tuscany.sca.common.http_2.0.0

226     RESOLVED    org.apache.tuscany.sca.implementation.python.runtime_2.0.0

227     RESOLVED    jackson-mapper-asl_1.9.4

228     RESOLVED    org.apache.tuscany.sca.implementation.web_2.0.0

229     RESOLVED    org.apache.httpcomponents.httpcore_4.1.4

230     RESOLVED    org.springframework.aop_3.0.5.RELEASE

231     RESOLVED    org.apache.ode.ode-bpel-api_1.3.2

232     RESOLVED    org.apache.tuscany.sca.binding.jsonp.runtime_2.0.0

233     RESOLVED    org.apache.tuscany.sca.core.databinding_2.0.0

234     RESOLVED    org.apache.derby.derby_10.4.1.3

235     RESOLVED    org.apache.bsf.bsf-utils_3.1.0

236     RESOLVED    org.springframework.core_3.0.5.RELEASE

237     RESOLVED    org.apache.tuscany.sca.assembly.xml_2.0.0

238     RESOLVED    commons-discovery.commons-discovery_0.4.0

239     RESOLVED    org.apache.tuscany.sdo.spec_2.1.0

240     RESOLVED    org.apache.tuscany.sca.implementation.bpel.runtime_2.0.0

241     RESOLVED    org.apache.tuscany.sca.node.launcher.equinox_2.0.0

242     RESOLVED    org.apache.geronimo.specs.geronimo-annotation_1.1_spec_1.0.0

243     RESOLVED    org.eclipse.emf.ecore_2.2.3.v200705141058

244     ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800

245     RESOLVED    commons-pool.commons-pool_1.3.0

246     RESOLVED    org.apache.commons.cli_1.2.0

247     RESOLVED    org.mortbay.jetty.server_6.1.26

 

osgi> install file:./target/sample-calculator-bundle.jar

Bundle id is 248

 

osgi> start 248

2013ª~5ñδ8ñΘ ñWñ╚11:13:27 calculator.dosgi.impl.CalculatorActivator start

╕Ω░T: Starting calculator.dosgi_1.0.0 [248]

2013ª~5ñδ8ñΘ ñWñ╚11:13:27 calculator.dosgi.impl.CalculatorActivator start

╕Ω░T: Registering calculator.dosgi.CalculatorService

2013ª~5ñδ8ñΘ ñWñ╚11:13:27 calculator.dosgi.impl.CalculatorActivator getBundle

╕Ω░T: calculator.dosgi.operations.AddService is loaded by bundle: calculator.dosgi

2013ª~5ñδ8ñΘ ñWñ╚11:13:27 org.apache.tuscany.sca.node.impl.NodeImpl start

╕Ω░T: Starting node: calculator.dosgi domain: default

2013ª~5ñδ8ñΘ ñWñ╚11:13:27 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContributions

╕Ω░T: Loading contribution: bundleentry://248.fwk2021372560/

2013ª~5ñδ8ñΘ ñWñ╚11:13:27 org.apache.tuscany.sca.node.osgi.impl.NodeManager bundleStarted

─Y¡½¬║: java.lang.NoClassDefFoundError: javax/xml/transform/Result

java.lang.IllegalStateException: java.lang.NoClassDefFoundError: javax/xml/transform/Result

        at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:178)

        at org.apache.tuscany.sca.node.osgi.impl.NodeManager.bundleStarted(NodeManager.java:117)

        at org.apache.tuscany.sca.node.osgi.impl.NodeManager.bundleChanged(NodeManager.java:139)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)

        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)

        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)

        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1350)

        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1301)

        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:362)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)

        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)

        at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:253)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java

:155)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288)

        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:224)

        at java.lang.Thread.run(Thread.java:662)

Caused by: java.lang.NoClassDefFoundError: javax/xml/transform/Result

        at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.createWSDLInterface(BindingWSDLGenerator.java:

325)

        at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.createWSDLInterfaceContract(BindingWSDLGenerat

or.java:282)

        at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.createWSDLDocument(BindingWSDLGenerator.java:2

08)

        at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.generateWSDL(BindingWSDLGenerator.java:165)

        at org.apache.tuscany.sca.binding.ws.wsdlgen.WebServiceBindingBuilder.build(WebServiceBindingBuilder.java:71)

        at org.apache.tuscany.sca.binding.ws.wsdlgen.WebServiceBindingBuilder.build(WebServiceBindingBuilder.java:47)

        at org.apache.tuscany.sca.assembly.builder.DefaultBuilderExtensionPoint$LazyBindingBuilder.build(DefaultBuilderE

xtensionPoint.java:304)

        at org.apache.tuscany.sca.builder.impl.ComponentServiceBindingBuilderImpl.buildServiceBindings(ComponentServiceB

indingBuilderImpl.java:73)

        at org.apache.tuscany.sca.builder.impl.ComponentServiceBindingBuilderImpl.build(ComponentServiceBindingBuilderIm

pl.java:53)

        at org.apache.tuscany.sca.builder.impl.ModelBuilderImpl.build(ModelBuilderImpl.java:120)

        at org.apache.tuscany.sca.assembly.builder.DefaultBuilderExtensionPoint$LazyCompositeBuilder.build(DefaultBuilde

rExtensionPoint.java:256)

        at org.apache.tuscany.sca.deployment.impl.DeployerImpl.build(DeployerImpl.java:602)

        at org.apache.tuscany.sca.deployment.impl.DeployerImpl.build(DeployerImpl.java:500)

        at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.configureNode(NodeFactoryImpl.java:314)

        at org.apache.tuscany.sca.node.impl.NodeImpl.load(NodeImpl.java:202)

        at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:118)

        ... 20 more

Caused by: java.lang.ClassNotFoundException: javax.xml.transform.Result

        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)

        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)

        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)

        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

        ... 36 more

 

osgi>


Mime
View raw message