Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Distributing hello world example

Hi Scott,

thanks for explaining how the Hello example is supposed to be run (I could not figure this out by myself, and did not find any guidance in the ECF wiki...). Anyways, it does not work for me:

> /org.eclipse.ecf.examples.remoteservices.hello.host.rs/products/Hello Service Host RS.product
> (for host)

This gives me


osgi> WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279
IHello RemoteService registered

(even with a freshly launched Eclipse --- so why should the port be already in use?)

> org.eclipse.ecf.examples.remoteservices.hello.consumer.rs/products/Hello Service Consumer RS.product
> (for consumer)

This gives me the output listed below.

How can I get the Hello example to work?

Thanks in advance,

Nicole



osgi> WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9280
!SESSION 2011-03-29 10:13:41.005 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_22
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=de_DE
Framework arguments:  -application 
Command-line arguments:  -application  -data /Users/rauch/Developer/GitRepositories/org.eclipse.ecf/examples/bundles/../runtime-HelloServiceConsumerRS.product -dev file:/Users/rauch/Developer/GitRepositories/org.eclipse.ecf/examples/bundles/.metadata/.plugins/org.eclipse.pde.core/Hello Service Consumer RS.product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -os macosx -ws cocoa -arch x86_64 -os macosx -ws cocoa -arch x86_64 -console

!ENTRY org.eclipse.ecf.examples.remoteservices.hello.consumer.rs 4 0 2011-03-29 10:13:42.697
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.ecf.internal.examples.remoteservices.hello.consumer.rs.Activator.start() of bundle org.eclipse.ecf.examples.remoteservices.hello.consumer.rs.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
	at org.eclipse.ecf.internal.examples.remoteservices.hello.consumer.rs.Activator.start(Activator.java:50)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
	... 11 more
Root exception:
org.eclipse.core.runtime.AssertionFailedException: null argument:
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
	at org.eclipse.ecf.internal.examples.remoteservices.hello.consumer.rs.Activator.start(Activator.java:50)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.osgi 4 0 2011-03-29 10:13:42.703
!MESSAGE Bundle org.eclipse.ecf.examples.remoteservices.hello.consumer.rs_1.0.0.qualifier [16] is not active.



Back to the top