1 Reply Latest reply on Sep 1, 2011 1:57 AM by jaikiran

    path for standalone.xml in my war?

    jedierikb

      What is the path in my as7 war for my standalone.xml?

       

      As I am hoping to deploy to openshift, I hope I can specify the database information in the war and avoid logging into the server.

        • 1. Re: path for standalone.xml in my war?
          jaikiran

          Erik Blank wrote:

           

          What is the path in my as7 war for my standalone.xml?

           

           

          You want to access the standalone.xml in your application? That's not the right way to do it.

           

           

          Erik Blank wrote:

           

          As I am hoping to deploy to openshift, I hope I can specify the database information in the war and avoid logging into the server.

          The datasource information goes in the standalone.xml that comes in your <local_openshift_repo_home>/.openshift/config/standalone.xml. If it helps, see this (section Using the MySQL database available in OpenShift Express)