A much smaller repro case: http://ataxia.io7m.com/2017/02/03/remote.zip http://ataxia.io7m.com/2017/02/03/remote.zip.asc
$ ./run.sh This simply installs: org.apache.felix.gogo.command-0.16.0.jar org.apache.felix.gogo.runtime-0.16.2.jar org.apache.felix.gogo.shell-0.10.0.jar org.apache.felix.shell.remote-1.2.0.jar ... into a Felix instance started from org.apache.felix.main-5.6.1.jar and provides a small config that enables the telnet server listening on 127.0.0.1:2323. Trying to connect to the telnet server results in: Exception in thread "telnetconsole.shell remote=/127.0.0.1:48246" java.lang.NoClassDefFoundError: org/apache/felix/service/command/CommandProcessor at org.apache.felix.shell.remote.Shell.run(Shell.java:78) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: *** Class 'org.apache.felix.service.command.CommandProcessor' was not found because bundle org.apache.felix.shell.remote [5] does not import 'org.apache.felix.service.command' even though bundle [org.apache.felix.gogo.runtime [2](R 2.0)] osgi.wiring.package; {bundle-symbolic-name=org.apache.felix.gogo.runtime, bundle-version=0.16.2, version=0.16.2, osgi.wiring.package=org.apache.felix.service.command, status=provisional} does export it. To resolve this issue, add an import for 'org.apache.felix.service.command' to bundle org.apache.felix.shell.remote [5]. *** at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2031) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 2 more Caused by: java.lang.ClassNotFoundException: org.apache.felix.service.command.CommandProcessor not found by org.apache.felix.shell.remote [5] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1574) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018) ... 3 more ... appearing on the local gogo shell. This certainly seems like a bug to me. M
pgp9jvlYl5zvx.pgp
Description: OpenPGP digital signature