It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use bamboo to manager tomcat resource such as context.xml or server.xml while depoyemnt?

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.




1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes

Can you please describe your current Deployment configuration?

i have updated the original answer

Community showcase
Published in Training & Certification

Introducing Atlassian University Live!

Atlassian University is committed to providing the best training and certification for Atlassian products through on-demand classes, in-person team training, a world-class certification program, and ...

288 views 8 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you