5 Replies Latest reply on Oct 28, 2010 2:10 PM by madiga99

    Jboss 5.1.0. GA "default" cleanup

    madiga99

      Hi everyone!

       

      I am using jboss 5.1.0 GA and the default instance.  When I need to make changes, i do not use the admin console or jmx for anyting.

      Instead of  securing jmx-console, admin-console, web-console and possibly others, can I simply delete these folders and still function properly?

       

      Your input would be appreciated.

       

      Thanks!!!

       

      Ma

        • 1. Re: Jboss 5.1.0. GA "default" cleanup
          saradakrishna

          Hi ma diga,

           

          You can delete these folders and it will not give you any problem.

           

          you can also check the following link for jboss-slimming.

          http://community.jboss.org/wiki/jboss5xtuningslimming

          • 2. Re: Jboss 5.1.0. GA "default" cleanup
            f_marchioni

            If you are not using the newer admin console, then it's the first thing you need to remove as it accounts for a large part of start-up time and memory requirements. By the way if you meant to perform some clean up of files (tmp, logs, etc) here's a short tutorial that might help you: JBoss Storage faqs

            Regards,

            Francesco

            • 3. Re: Jboss 5.1.0. GA "default" cleanup
              wdfink

              For saving resources and startup time you might strip the configuration, but do not spend too much effort the effect is not as big as supposed.

              One of the jmx-console, web-console or admin-console might helpful in some cases. Jmx is simple and might used by scripts, admin console is more cuser friendly, AFAIK the web-console is more or less deprecated.

               

              Most heap used by:

              *console

              JMS

              UDDI

              WebServices

              EJB3

               

              For security and savety reasons some services might deleted:

              hypersonic => it is strongly recommeded NOT use in porduction

              hotdeployment and farming (also save CPU during runtime)

              JBossMessaging

              ejb2 or ejb3 deployer if not used (including the timer service)

              BeanShell deployer

              JBossMail

              HTTPinvoker

              • 4. Re: Jboss 5.1.0. GA "default" cleanup
                jaikiran

                Wolf-Dieter Fink wrote:

                 

                AFAIK the web-console is more or less deprecated.

                That's correct. Infact, the latest AS6 versions do not ship it.

                • 5. Re: Jboss 5.1.0. GA "default" cleanup
                  madiga99

                  Thanks everyone!

                  Very helpful information.  Exactly why I wanted to trim down the "default" server...

                  Quick startup time and unnecessary stuff that could be potential security concern.