Running R-OSGI samples service/client code in eclipse -


i download sourcecode r-osgi svn.i tried run in eclipse examples download ,the service sample seems ok!then run client,it thrown:

org.osgi.framework.bundleexception: osgi remote service not present. @ ch.ethz.iks.r_osgi.sample.client.activator.start(activator.java:85) @ org.eclipse.osgi.framework.internal.core.bundlecontextimpl$1.run(bundlecontextimpl.java:711) @ java.security.accesscontroller.doprivileged(native method) @ org.eclipse.osgi.framework.internal.core.bundlecontextimpl.startactivator(bundlecontextimpl.java:702) @ org.eclipse.osgi.framework.internal.core.bundlecontextimpl.start(bundlecontextimpl.java:683) @ org.eclipse.osgi.framework.internal.core.bundlehost.startworker(bundlehost.java:381) @ org.eclipse.osgi.framework.internal.core.abstractbundle.start(abstractbundle.java:299) @ org.eclipse.osgi.framework.internal.core.abstractbundle.start(abstractbundle.java:291) @ org.eclipse.osgi.framework.internal.core.frameworkcommandprovider._start(frameworkcommandprovider.java:333) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.eclipse.osgi.framework.internal.core.frameworkcommandinterpreter.execute(frameworkcommandinterpreter.java:209) @ org.eclipse.osgi.framework.internal.core.frameworkconsole.docommand(frameworkconsole.java:155) @ org.eclipse.osgi.framework.internal.core.frameworkconsole.runconsole(frameworkconsole.java:140) @ org.eclipse.osgi.framework.internal.core.frameworkconsole.run(frameworkconsole.java:104) @ java.lang.thread.run(thread.java:662)

i think service not found client.

then tried ping port 127.0.0.1:9278,it not found , thrown mssage: ping request not find host 127.0.0.1:9278. please check name , t ry again.

what's wrong?

thanks

  • is server containing service still , running when starting client?
  • are there errors in server ? (check osgi log, not console!)
  • do have firewall running?
  • is port 9278 taken when start server?

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -