2 Replies Latest reply on Feb 12, 2009 5:02 PM by valatharv

    Configuring/ deploying Jboss Seam application on linux

    valatharv

      We have Jboss/ Seam application running fine on development (Windows).

      We need to configure Jboss/Seam the same on Linux box and deploy the ear.
      I am looking for any good configuration document or steps which should be taken care so that performance is optimal.
      Sort of Best practice.

      JBoss AS Version 4.2.3.GA, jboss-seam-2.0.2.SP1

      Please suggest.

        • 1. Re: Configuring/ deploying Jboss Seam application on linux
          kboutin

          1. Download the EAP version of JBoss (from Jboss.com not org) and start using that instead of the GA version as you should be using the EAP version for support reasons.

          2. Precompile JSPs and ensure that your web.xml does not run them in 'development' mode.

          3. Be careful with logging including console logging. Do not have System.out anywhere and tune your log4j configuration so you only receive what you need.

          4. Remove JBoss AS components that you are not using. Some examples are EJB, web-console, jmx-console, JMS, HAR deployer, CORBA, etc. There is documentation to help with this ... just search for it.

          5. Add the following java option to your run.conf file: -XX:+DisableExplicitGC

          These are just my suggestions off the top of my head. I would never take a JEE container to production without serious research on performance and tuning. You may want to even talk to Redhat about either Admin training or having a consultant assist in tuning.

          • 2. Re: Configuring/ deploying Jboss Seam application on linux
            valatharv

            Thanks a lot, it is very helpful.