2 Replies Latest reply on Jul 28, 2009 8:16 PM by joaobmonteiro

    What is the best strategy to deploy Seam app in production?

    joaobmonteiro

      Hi guys,


      I have many Seam app deplyed as war files. I am using jboss as 4.2.3GA. The problem is that sometimes I have to update some app and I am not able to restart app in production. I have already tried to 'hot deploy' those war files but jboss simply stops the app and doesn't start it again. Probably because I don't know exactly how to do this.


      So, I would like to know how do you deploy/update Seam app in production. What is your policy for deployment?


      Thanks a lot for any advice!


        • 1. Re: What is the best strategy to deploy Seam app in production?
          asookazian

          Typically you just copy your new version of foo.ear or foo.war into the %JBOSS_HOME%\server\foo\deploy directory. 


          If you're talking about a production clustered environment (multiple instances/nodes in a horizontal cluster, for example) then you can possibly use the farm directoy (which was removed in JBOss 5.0 and brought back in JBoss 5.1).  Otherwise you must copy your EAR/WAR and foo-ds.xml files into deploy.


          Have you tried deploying the Seam booking example project to see if your JBoss hot deploy actually works?  By default, hot deploy is enabled in JBoss AS.  Even jboss-log4j.xml is hot-deployable in the server\default\conf directory.

          • 2. Re: What is the best strategy to deploy Seam app in production?
            joaobmonteiro

            Hi Arbi,


            Our team is installing a lab to test hot deploy. Soon, I will post some results.