Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Database: JIRA couldn't connect to your database

Alternative Technology August 5, 2020

Seems like our Jira is unable to connect with Database. I already stopped and started the Jira with bat. Still not working could you please suggest anything?

 

4 answers

0 votes
Alternative Technology August 11, 2020

Hi.. While the above issue wasn't resolved, I tried reinstalling and it worked fine in a new port. for few days. But again, I am having new issue starting the port. Here's the error in the log file:

"The web application [ROOT] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered."

I am using the default built in database in JIRA.

Please suggest.

Moses Thomas
Community Champion
August 12, 2020

@Alternative Technology   It looks like your are using the built in h2  embedded db  which is packed with your JIRA installation.  I suggest you install JIRA with your own self managed  database for stability Connecting Jira applications to a database 

 

Please reply in one thread  which  will be easier for  others  in the community to  follow

 

Kind regards,

Mo

Alternative Technology August 12, 2020

Yes.. I am using db packed with JIRA.. For now, it's working by changing the port in server.xml file inside conf folder.

0 votes
Moses Thomas
Community Champion
August 6, 2020

@Alternative Technology   The Catalina logs(Tomcat logs was just enough) After going through the logs,  i discovered that Tomcat tries to  bind a port already in use; port 8006

06-Aug-2020 11:27:44.215 SEVERE [main] org.apache.catalina.core.StandardServer.await StandardServer.await: create[localhost:8006]: 
java.net.BindException: Address already in use: JVM_Bind 

 Now follow carefully the resolution mentioned here to fix your issue.

Cannot start Tomcat on Windows Server Due to Address Already in Use: JVM_Bind 

 

Kind regards,

Moses

Alternative Technology August 6, 2020

I've tried stopping the service in port 8006 and restarted JIRA service. But it seems port 8006 is auto started upon starting JIRA. My JIRA service is running in port 8081. In today's log file, there is no 'port already in use' error. Still JIRA is showing the same error.

Here's the log file: https://we.tl/t-BbHR5jJrWB 

0 votes
Alternative Technology August 6, 2020

I am sending all the logs's record in a zip file. Please find it attachment with the messageLog files https://we.tl/t-yvFdH04w8w 

0 votes
Moses Thomas
Community Champion
August 6, 2020

@Alternative Technology  Please provide  the logs in /<JIRA_HOME_DIR>/log/

so that we can see what is really going on.

Best regards,

Moses

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events