[
https://issues.apache.org/jira/browse/FELIX-345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521921
]
Richard S. Hall commented on FELIX-345:
---------------------------------------
Interesting. I was just talking to Rob Walker about this bundle, thinking that
we need it or a replacement for it in Felix so we can get our installer
installing Felix as a daemon and running it headless. This issue will need to
be addressed for sure. Not sure if there is a better library out there.
> Telnetd bundle does not respect the OSGi life cycle model
> ---------------------------------------------------------
>
> Key: FELIX-345
> URL: https://issues.apache.org/jira/browse/FELIX-345
> Project: Felix
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Marcel Offermans
>
> If you install, uninstall and install the telnetd bundle, the second time it
> is installed, it will fail to start. It reports an error about a singleton
> already being instantiated.
> Steps to reproduce:
> 1. Start felix shell
> 2. obr start telnetd
> 3. uninstall 4 (assuming telnetd is installed as bundle 4)
> 4. obr start telnetd
> It remains resolved, if you explicitly try to start it, you get this
> exception:
> org.osgi.framework.BundleException: Activator start error.
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1580)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1470)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:348)
> at
> org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:82)
> at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:265)
> at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:167)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: dtw.telnetd.BootException: Singleton already instantiated.
> at dtw.telnetd.TelnetD.createTelnetD(TelnetD.java:280)
> at
> com.softsell.open.osgi.telnetd.TelnetActivator.start(TelnetActivator.java:169)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1536)
> ... 6 more
> dtw.telnetd.BootException: Singleton already instantiated.
> singletons are evil ;)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.