Crowd installation fails with a 404 error

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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

 

The following appears in the atlassian-jira.log:

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

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.