>>>>> Jean-Baptiste Onofre <[email protected]>: > Hi, > It depends of the import range mostly.
> I would say that most of user scoped applications should run smoothly on > 4.2.x and 4.3.x if the import version ranges are large enough. > In your case, it seems you are registering the same servlet two times > with different alias. Hm... I don't think I do...? They may have the same base class(es), but each servlet that is a @Component, should have its own concrete class. Isn't that sufficent? Is deriving from the same base class a problem? > I have to check in Pax Web 7.3.x if we added some "checks" > there. However, it sounds like a fix in 4.3.x, and you "used" the bug > in 4.2.x by dual registration. Here is the failing servlet: https://github.com/steinarb/ukelonn/blob/master/ukelonn.web.services/src/main/java/no/priv/bang/ukelonn/api/UkelonnRestApiServlet.java#L30 Could it be a reload issue? Or could it be caused by e.g. this component? (which I know is loaded at this point in time) https://github.com/steinarb/authservice/blob/master/authservice.web.users.api/src/main/java/no/priv/bang/authservice/web/users/api/UserAdminWebApiServlet.java#L38 Here is the full log (different run, so the first failing servlet is a different one, but it is a servlet derived from JerseyServlet): https://gist.github.com/steinarb/da22602f1d626298143b880ebc5bab2a Hm... it's not a reload, either. The servlet starts here (seems like a successful activation): https://gist.github.com/steinarb/da22602f1d626298143b880ebc5bab2a#file-karaf-log-L897 Then it fails in the next line: https://gist.github.com/steinarb/da22602f1d626298143b880ebc5bab2a#file-karaf-log-L898 And this is the first time this exact servlet is mentioned in karaf.log.
