2 Replies Latest reply on Apr 7, 2004 8:46 AM by richardzheng

    JBoss Production Configuration

    richardzheng

      When an application is released, how to config it as a real production.

      How to disable Jasper development mode?
      How to disable logging for the web container?
      How to disable access logging?

      I disabled Log4j Initialization in jboss-minimal.xml and jboss-service.xml, but there are still temporary files generated in C:\Documents and Settings\username\Local Settings\Temp such as Jetty__80__invoker, Jetty_0_0_0_0_80__jmx-console, Jetty_0_0_0_0_80__, Jetty_0_0_0_0_80__jbossmq-httpil and Jetty_0_0_0_0_80__web-console.

      Any suggestions are appreciated.

      Thanks in advance
      Richard

        • 1. Re: JBoss Production Configuration

          Jasper development mode is configured in the default web.xml
          in jbossweb-xxx.sar

          Access logging is configured in the server configuration in the same directory.

          Log4j is configured in conf/log4j.xml. You would be better off changing the level
          to WARN. Disabling the log4j service will just mean it uses the config from
          run.jar

          Regards,
          Adrian

          • 2. Re: JBoss Production Configuration
            richardzheng

            Hello Adrian,

            Thank you for your reply.

            I found webdefault.xml instead of web.xml in jbossweb-jetty.sar because I used JBoss3.2.1. But there are no settings for logging.

            Richard