2 Replies Latest reply on Feb 28, 2011 8:20 AM by mhdez

    IMPORTANT FOR DEPLOYMENT!

    mhdez

      I write this again because I have not answers yet. I have a Tomcat application with a mysql database. Well, the trouble is if I change the connection string in the context.xml in the deployed app any changes take place. The changes don´t take place until the seam project be compiled again. I need to change this like I have done in ASP project changing only global.asa file, is not necessary to do anything else.
      This is important when a client have an application deployed in a server and he wants to change his database server location by changing only the context.xml file.

        • 1. Re: IMPORTANT FOR DEPLOYMENT!
          monkeyden

          So what is it that you want Seam to do here?  It has no authority over that file.  The fact that the changes are only seen after the app is compiled again likely has more to do with the app being deployed again.  That Tomcat apparently doesn't monitor the file should tell you that it's not meant to be edited on the fly.

          • 2. Re: IMPORTANT FOR DEPLOYMENT!
            mhdez

            Ummm...this is a trouble, the client needs to contact me for compiling and deployment again when he wants to change his app web server. Ok, I think it should be like ASP, PHP way.


            Thank for answer back