Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to add H2 Database to Bamboo on Docker

Ahmet Melih Karağaçlı
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2024

I set up a Bamboo on Docker. After Bamboo service started, I chose the H2 database, and encountered the following error.

Screenshot 2024-02-28 at 14.11.03.png

After adding the h2.x.x.xxx.jar file to the server in <BAMBOO_INSTALL_DIR>/lib and restarting, the jar file gets deleted.

How can I connect the H2 database to Bamboo on Docker?

1 answer

1 vote
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2024

Hello Ahmet,

Welcome to Atlassian community.

In recent version of Bamboo H2 Jar has been removed by default as it poses security vulnerability, you can try the below steps to copy the jar if you wish. 

Below is an example to copy mysql-connector-java.x.y.z.jar to the lib directory here bamboo is the name of the container. 

docker cp mysql-connector-java.x.y.z.jar bambooo:/opt/atlassian/bamboo/lib
docker restart bamboo

Can you try the above steps and let me know if it works.

Regards,

Shashank Kumar

**please don't forget to Accept the answer if your query was answered**

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events