We have war application that we need to deploy to Tomcat with different resources such as database connections or services endpoints each time. How we may pass env variables from deployment plan to configure these resources?
Well, i have tired to describe our environments. We need to switch to current avalaible partner services while deployemnt as shown on image. Now, we generate environment dependent META-INF/context.xml while building our app, but is not flexible. Environment description (endpoints, urls, users, passwords, etc) is stored in maven profiles in pom.xml.
schema.jpg
Community moderators have prevented the ability to post new answers.
Can you please describe your current Deployment configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.