Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issue to deploy confluence 6.15.7 with postgresql 9.4 : Cannot call sendError() after the response h

Hello,

We try to install a dockerized confluence version found on docker hub (version  6.15.7-ubuntu-18.04-adoptopenjdk8) with a DB postgresql 9.4.

Once container launch we follow the wizard to install properly confluence, we reach the test connection DB step successfully but when we click on next we face the following error :

État HTTP 500 – Erreur interne du serveur


Type Rapport d'exception

message Cannot call sendError() after the response has been committed

description Le serveur a rencontré une erreur interne qui l'a empêché de satisfaire la requête.

exception

java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
	org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:456)
	javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:120)
	com.atlassian.confluence.web.filter.DebugFilter$LoggingResponseWrapper.sendError(DebugFilter.java:132)
	javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:120)
	com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter$1.sendError(FourOhFourErrorLoggingFilter.java:52)

...

Looking to the DB we found that it is configured as expected :

Name | Owner | Encoding | Collate | Ctype | Access privileges
--------------+------------+----------+------------+------------+-----------------------
confluencedb | confdbuser | UTF8 | en_US.utf8 | en_US.utf8 |

our user iis dbowner and collate and ctype parameters are the expected one, moreover the postgre version is compatible with our confluence version.

Inside confluence logs we have some error  :

26-Aug-2020 08:41:24.586 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [12,513] milliseconds
26-Aug-2020 08:45:54.721 WARNING [Catalina-utility-4] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-nio-8090-exec-8] (id=[51]) has been active for [60,013] milliseconds (since [8/26/20 8:44 AM]) to serve the same request for [https://ci.mundiwebservices.com/confluence/setup/setupdbtype.action] and may be stuck (configured threshold for this StuckThreadDetectionValve is [60] seconds). There is/are [1] thread(s) in total that are monitored by this Valve and may be stuck.
 java.lang.Throwable
  at java.io.FileOutputStream.open0(Native Method)
  at java.io.FileOutputStream.open(FileOutputStream.java:270)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
[...]
26-Aug-2020 08:59:49.440 SEVERE [http-nio-8090-exec-3] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage[errorCode=500, location=/500page.jsp]
 org.apache.jasper.JasperException: An exception occurred processing [/500page.jsp] at line [123]120:           confluenceInfo = sysInfoService.getConfluenceInfo();
121:           memoryInfo = sysInfoService.getMemoryInfo();
122:           dbInfo = sysInfoService.getSafeDatabaseInfo();
123:                 sysinfo = GeneralUtil.convertBeanToMap(sysInfoService.getSystemProperties());
124:
125:        isOrion = "Orion".equals(sysinfo.get("appServer"));
126:          }
Stacktrace:
  at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:625)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:514)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
[...]
 Caused by: java.util.concurrent.CompletionException: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract org.hibernate.Session org.hibernate.SessionFactory.getCurrentSession() throws org.hibernate.HibernateException] is not allowed.
[...] 
 ... 73 more
 Caused by: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract org.hibernate.Session org.hibernate.SessionFactory.getCurrentSession() throws org.hibernate.HibernateException] is not allowed.
[...]
  ... 110 more

Is someone has face same issue and then can support us to deploy confluence ?

Thank you for your support!!

1 answer

Hello,

At the end we decided to installed last confluence dockerized version 7.7.2 with a postgresql 10 and issue hasn't been reproduced.

May be it is a known issue corrected in later version of confluence ?

As issue is solved for me I let you see if you close or not my post.

Thank you

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

156 views 0 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you