2 Replies Latest reply on Oct 12, 2004 8:39 AM by A.SathishKumar

    Start Up Performance

    A.SathishKumar Newbie

      Hi All,

      We are working on improving startup time of JBOSS(3.2.3) server. JBoss server takes

      37 sec - With an ear of 18 Stateless Session bean and limited services.
      25 sec - Pure jboss with limited services.

      While analyzing the time lag we found that class loading takes more time for an ear deployment. Is there any option available to tune startup performance, or option to load class in background.

      Thanks and Regards

        • 1. Re: Start Up Performance
          Elias Ross Master

          A lot of what JBoss does is "unjar" your .ear files and copy them to a temp directory. You can pre-"explode" them so that the unjar step is skipped.

          Is there way for you to profile what is taking 25 seconds?

          • 2. Re: Start Up Performance
            A.SathishKumar Newbie

            Dear Genman,

            Thanks for your reply. JProbe is used for profiling .Following classes takes more time. These readings are taken without any ear deployment.

            Please interpret in the following order : Class.methodName - Cumulative time - Method time in msec

            java.net.URLClassLoader.findClass - 3880 - 3720
            javax.management.DynamicBean.invoke - 31840 - 1240
            java.net.URLClassLoader.loadClass - 4970 - 1010
            java.net.URLClassLoader.getResource - 1172 - 732
            org.jboss.mx.loading.ClassLoaderUtils - 1400 - 1500
            org.jboss.mx.UnifiedClassLoader - 1247 - 450

            Thanks and Regards