Hi,
I have the bundles installed and started... I seemingly only needed to grab and install
"commons.collection"; I have config admin running, although I'm not sure about
metatype... everything resolved, but that doesn't necessarily mean I'm 100%
operational... speaking of operational...
OK, I apologize but I may need a bit of hand holding here...
So, I was doing netstat -a and I don't seem to find a listen port for which to
connect to a la telnet... I noticed a config xml with a port default of 23... I
tried that to no avail... I noticed you mention a management utility like
webconsole, which I also have no knowledge of myself...
If someone out there can give me a hand / pointer, that would be greatly
appreciated...
here's my bundle list in config.properties:
felix.auto.start.1= file:bundle/commons-collections-3.2.1.jar
file:bundle/telnetd-osgi.jar file:bundle/org.apache.felix.shellconsole.jar
file:bundle/org.osgi.compendium-1.0.1.jar
file:bundle/org.apache.felix.shell-1.0.1.jar
file:bundle/org.apache.felix.shell.tui-1.0.1.jar
file:bundle/org.apache.felix.configadmin-1.0.1.jar
file:bundle/org.apache.felix.bundlerepository-1.0.3.jar
file:bundle/org.apache.felix.scr-1.0.0.jar
file:bundle/pax-logging-api-1.0.0.jar file:bundle/pax-logging-service-1.0.0.jar
file:bundle/pax-confman-propsloader-0.2.1.jar file:bundle/example00.jar
Thanks again, Craig Phillips
From: Dieter Wimberger
Sent: Tue 6/24/2008 1:54 AM
To: [email protected]
Subject: Re: Telnet bundle
Richard, Craig:
I spend some hours to hack together:
1) a telnetd-osgi bundle with the min requirements (including SSH; but
no templates, Beanshell etc.).
Imports:
org.osgi.framework,org.osgi.service.cm,javax.crypto,javax.crypto.spec,org.slf4j,org.apache.commons.collections,org.apache.commons.collections.buffer,org.apache.commons.collections.list
You'll need the metatype and the configuration admin bundles, as well
as a commons-collections bundle.
2) a shellconsole bundle that registers a simple shell that represents
a glue to the Felix Shell Service (cleanroom, no old code used at all)
You can temporally find the two bundles here:
http://www.karanet.at/~wimpi/felix/org.apache.felix.shellconsole.jar
http://www.karanet.at/~wimpi/felix/telnetd-osgi.jar
Note that the listeners are actually configured through the CM, which
means you need some management utility (like the webconsole, which I
honestly don't manage to run in felix yet).
The configuration for the start shell is:
org.apache.felix.shellconsole.ConsoleShell
Also, character mode is required for the telnet listener to behave
correctly.
Hope that you can run it; feedback is welcome.
Regards,
Dieter