2 Replies Latest reply on Feb 25, 2011 8:36 AM by mhdez

    change the connection string

    mhdez

      Hello everyone, I have a seam application with a database string connection pointing to localhost, but when I deploy it in a different server (not localhost) and I change the string connection information if I don´t compile the project the changes are not set to new location. Can I change this without compile the project???

        • 1. Re: change the connection string
          amitev

          Sure it's possible. What application server do you use and how do you define the connection string now?

          • 2. Re: change the connection string
            mhdez

            Hello sorry for delayed me. 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.