6 Replies Latest reply on Aug 30, 2008 9:12 AM by gurkanerdogdu

    Jboss5 looks very slow to start

    jc7442

      I have tried to start JBoss on a Windows XP. I use the default configuration. I do not add my app, I just start downloaded JBoss. Server takes 1m30s to start. That's much longer than with JBoss 4.2.2 with the same configuration.

      It looks like it block for a 50 seconds on EJB3 interceptors

      11:40:08,063 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@a606e6 for BaseClassLoader@1876a6d{vfsfile:/D:/jboss/jboss-5.0.0.CR
      1_original/server/default/deploy/ejb3-interceptors-aop.xml}
      11:40:54,406 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector


      I use the same install on a mac with a VMWare for Windows XP, styarting jboss only takes 55s and it does not block?

      Any idea what's may going wrong ?

        • 1. Re: Jboss5 looks very slow to start
          wdrai

          I have the same problem on my XP laptop.
          An empty JBoss 5 in default configuration starts in more than 1 mn and spends most of its startup time in AspectDeployer.
          JBoss 4.2.2 started in less than 30 s.

          Is there something to configure ?

          • 2. Re: Jboss5 looks very slow to start
            alesj

            Current trunk is much more optimized.
            We fixed some issues with Reflect, MDR, Deployers, VFS and (Opt)AnnotationMetaDataDeployer - all will be included in CR2.
            On my machine it again takes just 30sec to start.

            • 3. Re: Jboss5 looks very slow to start
              henk53

               

              "alesj" wrote:
              Current trunk is much more optimized.
              We fixed some issues with Reflect, MDR, Deployers, VFS and (Opt)AnnotationMetaDataDeployer - all will be included in CR2.
              On my machine it again takes just 30sec to start.


              I know you guys hate this kind of question, but any idea when CR2 will be released? I think you originally mentioned early August, but that's probably not going to happen ;)

              • 4. Re: Jboss5 looks very slow to start
                georges.goebel

                Hi,

                I hope the CR2 is much faster because the CR1 takes 1 minute on a dual processor dual core machine. If there are 10-20 applications installed, it's even slower.

                So restarting a production JBoss instance will be a major problem if the startup time is so slow

                Georges Goebel

                • 5. Re: Jboss5 looks very slow to start
                  peterj

                  On my desktop at work, it takes around 2 minutes to boot CR1, but the latest trunk (pre-CR2) I pulled a day or two ago from Subversion takes about 30 seconds. (My desktop at work is an ancient Pentium IV.)

                  For comparison, 4.2.x and 4.0.x all take about 30 seconds to start on that same box.

                  • 6. Re: Jboss5 looks very slow to start
                    gurkanerdogdu

                    I just downloaded CR 1 from SVN branch, build it and run it in my Linux machine ubuntu. My machine is dual core intel CPU 1.73 Ghz with 1 GB RAM,

                    It takes 1m:40s:482ms

                    Cheers;