3 Replies Latest reply on Apr 8, 2007 6:58 AM by christian.bauer

    Minimal JBoss configuration for seam

      JBoss seems to take way too long to start and restart (i.e. 1:40 minutes to 2:30 min are typical on my machine). This can make the development cycle a bit frustrating whenever JBoss needs to be restarted.


      Is there documentation of how to configure JBoss AS for a minimal Seam CRUD app?

      In the same vein, is there documentation on optimizing Seam performance? My initial snooping hasn't turned anything up.

      Thanks,
      Stephen

        • 1. Re: Minimal JBoss configuration for seam
          christian.bauer

          My JBoss AS 4.0.5 installed with EJB3 profile (Seam getting started guide...) takes, including my small application, 15 seconds from cache cold start. Redeploy takes about 5 seconds. So if you follow the getting started guidelines, you should see some other numbers already. 2:30 minutes can only be explained with a completely different setup/install, or a very very slow machine.

          • 2. Re: Minimal JBoss configuration for seam
            spambob

             

            "christian.bauer@jboss.com" wrote:
            ...15 seconds from cache cold start. Redeploy takes about 5 seconds. So if you follow the getting started guidelines, you should see some other numbers already...

            Whats the spec of this machine from hell you use? I use an Core 2 Duo (Merom) with 2,13 GHz & 1GB Ram and JBoss AS needs ~12s without any deployed applications. Even with the smallest seam app (e.g. seam-gen generated framework) it takes 30-35s to start.

            Further all getting started guides only say "Install JBoss AS with the EJB3 profile". Is this what you are referring to or did I miss something? I think he meant how to slime the EJB3 profile down a bit - e.g. no CORBA, ....

            • 3. Re: Minimal JBoss configuration for seam
              christian.bauer

              I'm using a plain JBoss AS 4.0.5 with the EJB 3 profile selected in the installer. My computer is a fast Macbook. Of course you can probably trim down the JBoss install some more, AFAIK there are some wiki pages about it somewhere.