Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,376
Community Members
 
Community Events
165
Community Groups

Unable to replace bamboo.cfg.xml

Hi team,

I am trying to develop a bamboo plugin and have setup the dev env for "myfirstplugin". However, I am encountering a "BUILD FAILURE" with the below error.

Unable to replace /vagrant/kittycapture/kitty/target/bamboo/home/bamboo.cfg.xml

I am on Vagrant - Ubuntu 18.04 and Adapt openJDK-8. 

 

[[1;31mERROR] Failed to execute goal com.atlassian.maven.plugins:bamboo-maven-plugin:8.1.0:run[m (default-cli) on project kitty: Unable to replace /vagrant/kittycapture/kitty/target/bamboo/home/bamboo.cfg.xml: /vagrant/kittycapture/kitty/target/bamboo/home/bamboo.cfg.xml (No such file or directory) -> [Help 1]
[[1;31mERROR]
[[1;31mERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[[1;31mERROR] Re-run Maven using the -X switch to enable full debug logging.
[[1;31mERROR]
[[1;31mERROR] For more information about the errors and possible solutions, please read the following articles:
[[1;31mERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 could you kindly help me with what could have gone wild?

1 answer

additional Information:

When I run `atlas-debug` the application starts. However, the below message is logged into the console and then I get an error `page cannot be displayed`

 

e[INFO] [talledLocalContainer] 2020-06-09 07:32:14,270 INFO [http-nio-6990-exec-4] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,313 INFO [http-nio-6990-exec-3] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/bootstrap/selectSetupStep.action 83268kb
[[1;34mINFO[m] [talledLocalContainer] 2020-06-09 07:32:14,341 INFO [http-nio-6990-exec-3] [SelectSetupStepAction] Current setup step is /setup/complete.action
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,381 INFO [http-nio-6990-exec-2] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/setup/complete.action 83012kb
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,428 INFO [http-nio-6990-exec-1] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,457 INFO [http-nio-6990-exec-6] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/bootstrap/selectSetupStep.action 82628kb
[[1;34mINFO[m] [talledLocalContainer] 2020-06-09 07:32:14,481 INFO [http-nio-6990-exec-6] [SelectSetupStepAction] Current setup step is /setup/complete.action
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,524 INFO [http-nio-6990-exec-8] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/setup/complete.action 82372kb
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,573 INFO [http-nio-6990-exec-7] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'
[[1;34mINFOm] [talledLocalContainer] 2020-06-09 07:32:14,587 INFO [http-nio-6990-exec-9] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/bootstrap/selectSetupStep.action 82116kb
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,605 INFO [http-nio-6990-exec-9] [SelectSetupStepAction] Current setup step is /setup/complete.action
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,630 INFO [http-nio-6990-exec-10] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/setup/complete.action 81860kb
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,673 INFO [http-nio-6990-exec-5] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'

Hi @Eshwar Prasad Yaddanapudi ,

It is not an error I have personally seen before, I can only suggest to delete the target directory and run the build again.

What command are you using, when the first error message happens? It looks like it is happening during the 'run' phase, but in your second log, it looks like you may have gotten past the original error message?

@Eshwar Prasad Yaddanapudi  I would suggest you are better asking this particular query in https://community.developer.atlassian.com/c/bamboo-development =

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

961 views 3 8
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