[ https://issues.apache.org/jira/browse/KARAF-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438486#comment-13438486 ]
Freeman Fang commented on KARAF-1174: ------------------------------------- I believe CCE the java.lang.ClassCastException: org.ops4j.pax.web.service.internal.HttpServiceProxy cannot be cast to org.osgi.service.http.HttpService is caused by when we refresh pax-web bundles(pax-web-jsp, pax-web-runtime, pax-web-extender-whiteboard), the HttpSerivceTracker from pax-web-extender-whiteboard not get closed explicitly, so pax-web-runtime may use out-of-data HttpServiceTracker when publish HttpService, which cause this CCE. PAXWEB-412[1] tracked it. Btw, this CCE is harmless but just annonying as pax-web-extender-whiteboard will find the HttpService anyway when init a new HttpServiceTracker after refresh. [1]http://team.ops4j.org/browse/PAXWEB-412 > war feature cannot be installed after the cxf > --------------------------------------------- > > Key: KARAF-1174 > URL: https://issues.apache.org/jira/browse/KARAF-1174 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.2.5 > Reporter: Alexey Markevich > Assignee: Christian Schneider > Fix For: 2.2.6, 3.0.0 > > Attachments: karaf.log > > > features:addurl mvn:org.apache.cxf.karaf/apache-cxf/2.5.2/xml/features > features:install cxf > features:install war -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira