Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vaadin 12 OSGi startup issue within Karaf framework #5024

Closed
RaimundBarbeln opened this issue Feb 5, 2019 · 1 comment
Closed

Vaadin 12 OSGi startup issue within Karaf framework #5024

RaimundBarbeln opened this issue Feb 5, 2019 · 1 comment

Comments

@RaimundBarbeln
Copy link

We have an issue with OSGi and Vaadin 12 we face when deploying a Vaadin-based UI bundle in Karaf 4.1.7. The issue is also described in the forum in following post: https://vaadin.com/forum/thread/17461537/bundlefilterinitializer-not-found-when-starting-vaadin-application-in-karaf.

When starting the bundle in Karaf, we always face the following problem:

java.util.ServiceConfigurationError: com.vaadin.flow.server.VaadinServiceInitListener: Provider com.vaadin.flow.server.startup.BundleFilterInitializer not found

Independent from how the Servlet is registered at the OSGi http service (http whiteboard as in the Vaadin OSGi starter project, or via @WebServlet annotation in a servlet class derived from VaadinServlet).

When starting the OSGi-Starter-Projekt from the Vaadin page (which starts a felix configuration), it works. Possibly it has to do with the detection of the BundleFilterInitializer via Java SPI (the felix configuration includes also a number of spifly bundles), but I’m not sure about this. The org.apache.aries.spifly.dynamic.bundle is also available in our Karaf environment.

@pleku pleku added the OSGi label Feb 6, 2019
@pleku
Copy link
Contributor

pleku commented Sep 23, 2019

I'm going to merge this issue into #6525 which is a later issue but for 14 and considered as an enhancement at this point.

@pleku pleku closed this as completed Sep 23, 2019
@pleku pleku added this to the Abandoned milestone Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants