Marcel Offermans created ACE-336:
------------------------------------

             Summary: The target refuses to start correctly (target.bndrun)
                 Key: ACE-336
                 URL: https://issues.apache.org/jira/browse/ACE-336
             Project: ACE
          Issue Type: Bug
            Reporter: Marcel Offermans


As pointed out by Tang Yong on the dev mailing list, if you try to start a 
target, the management agent bundle fails to start because it's missing a class:

{code}
! Failed to start bundle org.apache.ace.managementagent-1.0.0, exception 
activator error org/osgi/service/cm/SynchronousConfigurationListener from: 
org.apache.felix.cm.impl.ConfigurationManager:start#228
____________________________
Welcome to Apache Felix Gogo

g! lb
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.0.3)
    1|Active     |    1|Apache Felix Gogo Command (0.12.0)
    2|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
    3|Resolved   |    1|org.apache.ace.managementagent (1.0.0)
    4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
g! start 3
org.osgi.framework.BundleException: Activator start error in bundle 
org.apache.ace.managementagent [3].
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2027)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1895)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
        at org.apache.felix.gogo.command.Basic.start(Basic.java:729)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
        at 
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
        at 
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at 
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.felix.gogo.shell.Console.run(Console.java:62)
        at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
        at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
        at 
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
        at 
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at 
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.NoClassDefFoundError: 
org/osgi/service/cm/SynchronousConfigurationListener
        at 
org.apache.felix.cm.impl.ConfigurationManager.start(ConfigurationManager.java:228)
        at org.apache.ace.managementagent.Activator.init(Activator.java:73)
        at 
org.apache.felix.dm.DependencyActivatorBase.start(DependencyActivatorBase.java:76)
        at 
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1977)
        ... 32 more
java.lang.NoClassDefFoundError: 
org/osgi/service/cm/SynchronousConfigurationListener
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to