5 Replies Latest reply on Oct 31, 2013 12:48 AM by jaikiran pai

    Why is Jboss web http connect so slow? - Over 250ms for a simple servlet/jsp

    Joshua van Aalst Newbie



      I have noticed that Jboss is insanely slow to render a servlet or a simple JSP (example below).


      I have tried jboss 6.1 as well as jboss 6.2 beta and wildfly 8.0.0 beta. The same issue occurs in all using 100% default configuration

      I have tried using apache mod_jk ajp as well as pure http direct to Jboss. The same issue occurs

      I have tried repeatedly calling so its definitely not the JSP compile issue.


      The following example renders in 250ms:



      The following example of an image file renders in 50ms (even though it has more content):



      Sample index.jsp code


      <%@page contentType="text/html" pageEncoding="UTF-8"%>

      <!DOCTYPE html>



              <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

              <title>JSP Page</title>



              <h1>Hello World!</h1>





      Any help would be greatly appreciated! We can't run like this