Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Http Timeout Config Not Working

Level 5
Level 5


I'm attempting to change the http timeout for my local AEM instance. I made the following change in the OSGI console:

Screen Shot 2019-04-02 at 22.38.48.png

I verified in


that it has indeed changed:

Screen Shot 2019-04-02 at 22.47.42.png

I am testing it using the following servlet:


   immediate = true,
   service = Servlet.class,
   property = {

   configurationPid = "TestServlet")

public class TestServlet extends SlingSafeMethodsServlet {

  protected void doGet(@Nonnull SlingHttpServletRequest request,
   @Nonnull SlingHttpServletResponse response) {

   try {

   //sleep for 10 seconds
   response.getWriter().write("<html>Should have timed out.</html>");
   } catch (Exception e) {

   throw new RuntimeException(e);



But it seems not to be working as it should have timed out but didn't:

Screen Shot 2019-04-02 at 22.48.33.png

Any help?

0 Replies