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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Fatal error when attempting to secure Bitbucket Server with Tomcat using SSL

I followed the steps in the following link: First, I changed the base URL for the bitbucket server then I used an existing jks file and updated the as instructed. The problem is that when I use the new URL I get the following error: 

  • The database, as currently configured, is not accessible. Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-176]

Also to give some background I am using an internal H2 database and am unsure how to close all other connections. 


1 answer

1 accepted

0 votes
Answer accepted
Moses Thomas Community Leader May 06, 2020


Unix-Like Server

If you using unix like server (eg Centos, Linux etc..)try to kill the java process; type the below on terminal  to get the Bitbucket process id(PID)

  • ps aux | grep java
  • Kill -9  PID
  • Then restart the bit-bucket application

On Windows server to be specific 2012

  • Open task manager and right click on the process you want to kill, and select Go to details
  • Find the highlighted executable
  • Use it in your taskkill command, eg. taskkill /f /t /im process.exe
  • then restart the Bitbucket application

Try and give  feed back  and once you are able to  solve problem is time to have a self manage  database server.

Best regards,


Hi Moses,

Thanks for the help. I tried the steps and it works. I am going to move to a self managed database server soon. 


Nebeyu Daniel

Like Moses Thomas likes this
Moses Thomas Community Leader May 08, 2020

@Nebeyu_Daniel  Great to hear :),  please accept solution so others that fall in similar situation could use.

Have a pleasant weekend,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

464 views 4 4
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