You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Karthick (Jira)" <ji...@apache.org> on 2023/01/06 09:32:00 UTC
[jira] [Created] (KARAF-7632) Servlet Initialization does not happen with pax-web whiteboard 8.0.6
Karthick created KARAF-7632:
-------------------------------
Summary: Servlet Initialization does not happen with pax-web whiteboard 8.0.6
Key: KARAF-7632
URL: https://issues.apache.org/jira/browse/KARAF-7632
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.4.1
Environment: Karaf 4.4.1 and SUSE SLES 15.4
Reporter: Karthick
We have a server where we host HTTP APIs using pax-web whiteboard (7.3.25) and it works fine till Karaf 4.3.7. But when we step up Karaf 4.4.1 which uses pax-web 8.0.6, the services fails to initialize and as a result we get Service Unavailable error.
From the system point of view, following is what we observed
# Registration of servlet is entirely changed in this new version of pax-web.
# There are no logs indicating the reason for failure in initializing the servlet.
# On adding custom logs paxweb servlet handler, we get to see that the holder instance indicating that the servlet instance is null. Following are the generated logs {color:#242424}"message": "[paxweb-config-1-thread-1] o.o.p.w.s.j.i.PaxWebServletHandler:189 setServlets servletHolder ApplicationConfiguration API==javax.servlet.Servlet@29742c80{jsp=null,order=-1,{*}inst=false{*},async=false,src=EMBEDDED:null,STARTED}"}{color}
{color:#242424}{color:#242424}"[Refresh Thread: Equinox Container: 0fec2cbb-3a01-4301-9ab9-d6b2b4752e0e] o.o.p.w.s.i.WebElementEventDispatcher:107 registrationEvent Sending web element event *DEPLOYING* (TestBundle/1.0.0): org.ops4j.pax.web.service.spi.model.events.ServletEventData@71257086 for bundle TestBundle"{color}{color}
{color:#242424}{color:#242424}{color:#242424} "[paxweb-config-1-thread-1] o.o.p.w.s.i.WebElementEventDispatcher:107 registrationEvent Sending web element event DEPLOYED (TestBundle/1.0.0): org.ops4j.pax.web.service.spi.model.events.ServletEventData@478a967 for bundle TestBundle"{color}{color}{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)