1 Reply Latest reply on Sep 27, 2006 2:10 AM by Boon Churn Jap

    Apps running slower when deploy in Jboss AS compared to Apac

    Boon Churn Jap Newbie

      Hi,

      What are the possibilities that I can check when application that is running fast through Apache Tomcat is seem to be running slower when deploy in JBoss AS? I'm using Jboss AS 4.0.3SP1.

      Thank you.

        • 1. Re: Apps running slower when deploy in Jboss AS compared to
          Boon Churn Jap Newbie

          Hi,

          I have found out it is because I have "show_sql" set to true in my hibernate.cfg.xml file. After I set it to false, my application run faster.

          <property name="show_sql">true</property>


          Just that I don't understand, I also have "show_sql" set to true when deploy to Apache Tomcat, and the performance is still fast.

          Not sure why when deploy to Jboss AS, it seems like I have to disable the show_sql in order to boost up the performance.

          Any comment will be very much appreciated.

          Thank you.