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?

Artem K Sep 01, 2016

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

 

1 answer

0 votes
Krystian Brazulewicz Atlassian Team Sep 02, 2016

Can you please describe your current Deployment configuration?

Artem K Sep 02, 2016

i have updated the original answer

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Opsgenie

Introducing Postmortems for Opsgenie

When incidents happen, it is crucial to diagnose and solve the problem as fast as possible. Equally important to this, teams need a way to reflect on why the incident occurred and how they can improv...

224 views 3 6
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