Forums

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

Confluence startup error: Cannot call sendError() followed by Spring Application context not set

91378246
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2018

Prerequisites

  • Ubuntu Server 18.04
  • Confluence Server 6.12.1
  • PostgreSQL 10
  • Jira and Bitbucket are installed and running without problems

Installation

  • Database:
    • CREATE ROLE confluenceuser WITH LOGIN PASSWORD 'password' VALID UNTIL 'infinity';
    • CREATE DATABASE confluence WITH ENCODING='UTF8' OWNER=confluenceuser;
  • sudo ./atlassian-confluence-6.12.1-x64.bin
  • Default values

First exception (after clicking Next on the setup database step)

java.lang.IllegalStateException: Cannot call sendError() after the response has been committed

 Second exception (after stop-confluence, start-confluence)

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set

What I tried so far

  • Installing on different ports
  • Installing not as a service
  • Using the docker container provided by Atlassian (same error)
  • Reassigning ownership and rights to the install and home directory via chown and chmod
  • Installing with Jira and Bitbucket shut down
  • Disable JMX
  • Using the built in database

1 answer

1 accepted

0 votes
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 31, 2018

Hi Jan,

The following article has ten separate solutions, some of which you may have already tried. I recommend having a look at it, however, as it may help to correct your issue.

Please review it thoroughly and let us know how that goes and if you have any questions or problems regarding it.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events