Error on Project Import

Hi All

I am trying to perform a project import, and it always fails with this error (note all other projects imports fine). Can anyone help me please?

On front end i get this error

The import was aborted because there were too many errors. Some errors are listed below. For full details about the errors please see your logs. Please note that some elements have been created. You may want to consult your logs to see what caused the errors, delete the project, and perform the import again.

In the logs i get this:

2013-05-28 08:33:08,052 ProjectImport: CreateIssueRelatedData-6 ERROR aich 503x41120x1 115x5dk 127.0.0.1 /secure/admin/ProjectImportSummary.jspa [jira.imports.project.DefaultProjectImportPersister] DataAccessException occured while trying to create Entity type 'ChangeGroup' . {id=null, author=gxxx, created=2012-07-30 07:06:29.0, issue=8885}
com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericDataSourceException: Exception while inserting the following entity: [GenericEntity:ChangeGroup][id,51332][author,gxxx][created,2012-07-30 07:06:29.0][issue,8885] (Unable to esablish a connection with the database. (Could not create connection to database server. Attempted reconnect 3 times. Giving up.))
at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:366)
at com.atlassian.jira.imports.project.DefaultProjectImportPersister.createEntity(DefaultProjectImportPersister.java:177)
at com.atlassian.jira.imports.project.handler.ChangeGroupPersisterHandler$1.run(ChangeGroupPersisterHandler.java:58)
at com.atlassian.jira.util.concurrent.BoundedExecutor$1.run(BoundedExecutor.java:42)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.ofbiz.core.entity.GenericDataSourceException: Exception while inserting the following entity: [GenericEntity:ChangeGroup][id,51332][author,gxxx][created,2012-07-30 07:06:29.0][issue,8885] (Unable to esablish a connection with the database. (Could not create connection to database server. Attempted reconnect 3 times. Giving up.))
at org.ofbiz.core.entity.GenericDAO.insert(GenericDAO.java:117)
at org.ofbiz.core.entity.GenericHelperDAO.create(GenericHelperDAO.java:63)
at org.ofbiz.core.entity.GenericDelegator.create(GenericDelegator.java:480)
at org.ofbiz.core.entity.GenericDelegator.create(GenericDelegator.java:460)
at org.ofbiz.core.entity.GenericValue.create(GenericValue.java:77)
at com.atlassian.core.ofbiz.util.EntityUtils.createValue(EntityUtils.java:64)
at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:362)
... 6 more

1 answer

Hi Rahul,

I see this message in this stack trace "Unable to esablish a connection with the database", it seems to me related to a database connection issue. Do you have a validation query set in your instance? You may want to see this documentation.

Cheers

Hi Tiago...i am on 4.1.2 so i have server.xml and in it i have validationQuery="select 1"/>.

What else can be the source of the issue.

Rahul

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,300 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot