Posts

Showing posts with the label instanceof

Tomcat Apache ServiceMix integration issue

Image
Clash Royale CLAN TAG #URR8PPP Tomcat Apache ServiceMix integration issue We are trying to integrate a web application running on Apache Tomcat 8.5.3 with Apache ServiceMix 7.0.1 using Apache Felix bridge (org.apache.felix.http.bridge-4.0.0.jar). All the steps listed here are done http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html But we are now getting a 503 Service unavailable error. On debugging, we identified that this error is thrown via org.apache.felix.http.proxy.ProxyServlet (org.apache.felix.http.proxy-3.0.2.jar) final HttpServlet dispatcher = this.tracker.getDispatcher(); if (dispatcher != null) { final HttpServletRequest r = (this.servletContext == null ? req : new BridgeHttpServletRequest(req, this.servletContext)); dispatcher.service(r, res); } else { res.sendError(HttpServletResponse.SC_SERVICE_UNAVAILABLE); } Now the reason 'dispatcher' is null because in tracker (org.apache.felix.http.proxy.DispatcherTracker), it is not ...