0 Replies Latest reply on Jul 17, 2004 11:12 AM by Ma Cheng

    ServletOutputStream's println() is slow

    Ma Cheng Newbie

      Using Tomcat in JBoss, the ServletOutputStream's println() can be slow. For example, to write a string of about 100K, the println(s) in the following takes more than 100 ms:

      ServletOutputStream out = _response.getOutputStream();
      ......
      out.println(s);
      ......

      Whereas the same statement takes 10 to 30 ms in Tomcat without JBoss.

      Tried "all" and "default", both behaved similarly.

      The JBoss version used is 3.2.3 which is installed in Linux. The machine installed JBoss has many IP addresses, don't if this can cause the problem.

      Are there JBoss configuration parameters to be used/tried to identify the problem?