That's odd, since Felix includes the Service Tracker classes. Is the
bundle importing the package?
-> richard
Alexander Klimetschek (JIRA) wrote:
[ https://issues.apache.org/jira/browse/FELIX-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557284#action_12557284 ]
Alexander Klimetschek commented on FELIX-55:
--------------------------------------------
I tested the FELIX-55_jetty6.patch with Sling and it failed. Upon the starting
of the http.jetty bundle this exception came up:
09.01.2008 15:26:23 *ERROR* o.a.f.h.jetty: FrameworkEvent ERROR
(org.osgi.framework.BundleException: Activator start error.)
org.osgi.framework.BundleException: Activator start error.
at org.apache.felix.framework.Felix._startBundle(Felix.java:1615)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1505)
at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1100)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.NoClassDefFoundError: org/osgi/util/tracker/ServiceTracker
at org.apache.felix.http.jetty.Activator.start(Activator.java:117)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1571)
... 4 common frames omitted
09.01.2008 15:26:23 *ERROR* System Bundle: Error starting
slinginstall:org.apache.felix.http.jetty-0.9.0-SNAPSHOT.jar
(org.osgi.framework.BundleException: Activator start error.)
org.osgi.framework.BundleException: Activator start error.
at org.apache.felix.framework.Felix._startBundle(Felix.java:1615)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1505)
at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1100)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.NoClassDefFoundError: org/osgi/util/tracker/ServiceTracker
at org.apache.felix.http.jetty.Activator.start(Activator.java:117)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1571)
... 4 common frames omitted
Look at migration to more recent Jetty version
----------------------------------------------
Key: FELIX-55
URL: https://issues.apache.org/jira/browse/FELIX-55
Project: Felix
Issue Type: Improvement
Components: HTTP Service
Reporter: Rob Walker
Assignee: Rob Walker
Attachments: FELIX-55.patch, FELIX-55_jetty6.patch
- Look at the issues and effort involved in migrating to a more recent version
of Jetty. Most likely the latest Jetty6 would be considered, since this has
architectural changes over Jetty5 and hence we'd be upgrading to the latest
greatest Jetty internals and APIs
- Check backwards compatibility against existing (limited) set of cases in test
bundle
- enlist help from others with bundles using HttpService for more extensive
testing