felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-345) Telnetd bundle does not respect the OSGi life cycle model
Date Wed, 22 Aug 2007 19:54:30 GMT
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.

View raw message