Crowd installation fails with a 404 error

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

While installing Crowd, you get the following 404 on the installation wizard :

(Auto-migrated image: description temporarily unavailable)

The following appears in the atlassian-jira.log:

1 2 3 4 5 6 7 8 9 2013-12-09 12:43:58,204 http-bio-8095-exec-22 ERROR [engine.jdbc.spi.SqlExceptionHelper] Violation of PRIMARY KEY constraint 'PK__cwd_appl__52393239625A9A57'. Cannot insert duplicate key in object 'dbo.cwd_application_address'. 2013-12-09 12:43:58,204 http-bio-8095-exec-22 ERROR [jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [could not perform addBatch] 2013-12-09 12:43:58,204 http-bio-8095-exec-22 ERROR [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.crowd.event.application.ApplicationDirectoryAddedEvent@4fe0b33c' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.crowd.event.StoringEventListener.handleEvent(com.atlassian.crowd.event.application.ApplicationDirectoryAddedEvent), listener=com.atlassian.crowd.event.StoringEventListener@7e92f537}'. java.lang.RuntimeException: could not perform addBatch at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) . . Caused by: java.sql.BatchUpdateException: Violation of PRIMARY KEY constraint 'PK__cwd_appl__52393239625A9A57'. Cannot insert duplicate key in object 'dbo.cwd_application_address'. at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.java:1077)

Diagnosis

The URL used to set up the instance is : http://mymachine:8095/crowd

Cause

Not known to us at this point.

Resolution

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.