1 Reply Latest reply on Jul 31, 2007 7:44 PM by Elias Ross

    Measuring deployment time for ear on JBOSS

    Buchun D'souza Newbie

      Hi,
      How do I measure Deployment time on JBOSS ?. Does any one have any sample scripts ?
      The only message I see on deployment is
      15:23:46,453 INFO [TomcatDeployer] deploy, ctxPath=/jaw, warUrl=.../tmp/deploy/tmp2061jaw-exp.war/

      How do I know when the deployment started and when it was complete ?
      How do I find the total deployment time taken ?.
      What goes beneath the deployment in JBOSS ?
      Thanks,
      Buchun

        • 1. Re: Measuring deployment time for ear on JBOSS
          Elias Ross Master

          If you turn on DEBUG logging, you should be able to see the time deployment started to completion based on the timestamp of the logging messages.

          JBoss does several things while deployment:
          * Unpacks .ear/.war deployments. (Use exploded jars to keep this from happening.)
          * Scans for various files, e.g. web.xml, in the file system
          * For EJB3, scans classes for annotations.
          * Sets up class loaders and other objects.