2 Replies Latest reply on Sep 2, 2011 1:52 PM by FREDERIC JAOUEN

    Which profile to use?


      I would like to use a minimal server configuration with my JBoss 5.0.1 server and I try tu use JBoss 'web' profile.


      In this profile I deploy a EAR file. First I am not sure if it is correct because there is no ear deploy script?


      Then I encountered a class loading problem. I don't have the problem with 'default' profile. So I have modified the jboss-service.xml to add the section Class loading based on the same content that 'default' profile. But I still have th same problem.


      So I add the ear deployer script (ear-deployer-jboss-beans.xml) in the deployers and it solve my problem.


      My question is, is it correct to do that or not ? Or do I need to use the 'default' one ?


      Thank you!

        • 1. Re: Which profile to use?
          Wolf-Dieter Fink Master

          First I recommend that you use JBoss 5.1 instead of 5.0.1 version.


          Whether you use minimal or default is your decision but from my point of view it is easier to start with default in your case because you need some services that are not included in minimal profile.

          A wiki page for tuning/sliming exists but no one to enrich the minimal configuration.


          See http://community.jboss.org/wiki/JBoss5xTuningSlimming.

          You can do it step by step and restart the server after each to ensure a error free startup.

          But remember that some steps will not have a big effect, for me there it is often only a security reason to remove a service, not a performance issue.

          • 2. Re: Which profile to use?
            FREDERIC JAOUEN Newbie

            Thanks, I would also like to use version 5.1 but I have a limitation with a third party product.


            I already have a look at the link you gave me but I did not found exactly the answer to my question.


            In fact what I would like to know is if JBoss have specific guidelines to use and modify default server configuration (all, default, minimal, standard and web) ?


            I also read http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/pdf/Installation_And_Getting_Started_Guide.pdf but the section about profiles is very short.


            In other words, I have a EAR to deploy so can I modify the web profile to add a ear deployer or am I better to use default or standard and then remove stuff ?


            I think it would be more logic to use a profile containing ear deployer (default,standard) because I assume that JBoss have made a correct setup in the sens of deploying a EAR file. Instead of using a profile wihtout ear deployer and trying to rebuild a valid one.


            I just want to be sure that I don't forget anything which could have impact on my deployment.


            Thanks again !