/**
 * @license
 * Copyright 2018 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

package foam.nanos.tomcat;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Subdomain Router
 * Used to route sub projects to a more easily accessible path
 */
public class SubdomainRouter
    extends HttpServlet
{
  @Override
  protected synchronized void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
    String path = getServletConfig().getInitParameter("path");
    RequestDispatcher view = req.getRequestDispatcher(path);
    view.forward(req, resp);
  }
}
@@ -559,21 +559,8 @@
 ted 
-synchronized 
 void
@@ -815,8 +815,9 @@
 );%0A  %7D%0A%7D
+%0A

Remove synchronization from SubdomainRouter.