Forums

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

error installing confluence

phil ayre February 27, 2018

Hi

 

Error:

On installing confluence I can successfully test the connection to my postgresql 9.5 database, when I click next on the installation screen, confluence begins working creating the database, however after a minute I see the following message:

HTTP Status 500 - Cannot call sendError() after the response has been committed

type Exception report

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

description The server encountered an internal error that prevented it from fulfilling this request.

 

a large dump of on error trace follows.

 

I am currently running:

ubuntu 16.04,

postgresql 9.5,

confluence 6.7.1

 

I have tried using mysql and the confluence trial database, however the error persists.  I have also tried 3 different versions of confluence (6.0.3, 6.6.0 and 6.7.1) but the error persists.  I am uninstalling confluence using the uninstall script in the confluence directory between every change.

 

Tonight I even spun up a fresh VM with ubuntu 16.04 mini and installed postgress and confluence from scratch, however the error persists.

 

I've came across the knowledgebase document concerning Confluence generates Confluence is vacant error on install but as far as I can tell my server is configured correctly. - running

ping `cat /etc/hostname`

returns

root@hostserver:/opt/atlassian/confluence/logs# ping `cat /etc/hostname`
PING hostserver (127.0.0.1) 56(84) bytes of data.
64 bytes from hostserver (127.0.0.1): icmp_seq=1 ttl=64 time=0.030 ms

 

I've checked my file permissions also but everything looks OK.

the error I'm seeing in catalina.out is:

ERROR: Unable to start system bundle. (org.osgi.framework.BundleException: Unable to cache bundle: file:/opt/atlassian/confluence/confluence/WEB-INF/osgi-framework-bundles/gemini-blueprint-core-2.0.5.BUILD-atlassian-m002.jar)
java.util.zip.ZipException: error in opening zip file

 

the error i'm seeing in catalina.2018-02-27.log is:

27-Feb-2018 21:33:59.484 WARNING [main] org.apache.catalina.core.StandardServer.await StandardServer.await: Invalid command '' received
27-Feb-2018 21:36:33.097 SEVERE [http-nio-8090-exec-5] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage[errorCode=500, location=/500page.jsp]

 

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.

 

any help greatly appreciated - I'm at my wits end.

Phil

 

2 answers

1 vote
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 1, 2018

It isn't clear why, but Phil's issue was resolved when he designated a Confluence Home path on local storage instead of an NFS location.

This article has some tips on how to possibly use NAS for a Confluence data directory for anyone who sees this thread: Is it Possible to House Confluence or Its Home Directory on an NAS Device Instead of a Local Drive?

phil ayre March 2, 2018

Thanks for your help with this Ann.  Yes, I was having issues when using an NFS share, and separately also a when using mergerFS disk pool in ubuntu.

 

Moving the confluence media directory onto a local disk directly resolved the issue

 

THANKS!

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2018

Hi Phil,

Thanks for checking catalina.out and making sure the hostname is resolvable. 

The error we are seeing is basically saying we have another error that is keeping Tomcat from displaying the error page: Tomcat exception Cannot call sendError() after the response has been committed?

This error is a symptom of some other problem, not the root cause you're looking for.

This error explains why the user can't be redirected to the error page.

To shed more light on the issue, please check errors in the <confluence_home>/atlassian-confluence.log to see if there is a more helpful entry.

The error: 

error in opening zip file 

could indicate file system permission errors so please make sure the user running Confluence has full permissions on the install and home folders.

I look forward to hearing what you find

Thanks,

Ann

phil ayre February 28, 2018

Hi Ann, thanks for your reply.

 

warnings and errors in my atlassain-confluence log: ?something to do with osgi?

 

Thanks!!

 

 

2018-02-27 21:33:49,581 WARN [localhost-startStop-1] [com.atlassian.config.ApplicationConfig] setApplicationHome Application home does not exist. Creating directory: /media/servershare/Documents/Confluence/shared-home
2018-02-27 21:33:49,585 WARN [localhost-startStop-1] [atlassian.confluence.cluster.DefaultClusterConfigurationHelper] lambda$populateExistingClusterSetupConfig$1 Could not find shared config file.
2018-02-27 21:36:29,249 WARN [http-nio-8090-exec-5] [osgi.container.felix.ExportsBuilder] getUrlClassPath Cannot deep scan non file 'http://felix.extensions:9/'
2018-02-27 21:36:32,239 WARN [http-nio-8090-exec-5] [confluence.impl.vcache.SynchronousExternalCache] lambda$get$11 Failed to read entry from cache 'com.atlassian.bandana.BandanaPersister': Failed due to UNCLASSIFIED_FAILURE
2018-02-27 21:36:32,264 WARN [http-nio-8090-exec-5] [confluence.impl.vcache.SynchronousExternalCache] lambda$get$11 Failed to read entry from cache 'com.atlassian.bandana.BandanaPersister': Failed due to UNCLASSIFIED_FAILURE
2018-02-27 21:36:33,093 WARN [http-nio-8090-exec-5] [confluence.impl.vcache.SynchronousExternalCache] lambda$get$11 Failed to read entry from cache 'com.atlassian.bandana.BandanaPersister': Failed due to UNCLASSIFIED_FAILURE
2018-02-27 22:03:26,551 WARN [localhost-startStop-3] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextDestroyed Failed to shut down plugin system during ServletContext shutdown: Cannot go from State: STARTING to: SHUTTING_DOWN
2018-02-27 22:04:43,791 WARN [localhost-startStop-1] [atlassian.confluence.cluster.DefaultClusterConfigurationHelper] lambda$populateExistingClusterSetupConfig$1 Could not find shared config file.
2018-02-27 22:06:16,194 WARN [http-nio-8090-exec-1] [osgi.container.felix.ExportsBuilder] getUrlClassPath Cannot deep scan non file 'http://felix.extensions:9/'
2018-02-27 22:06:19,839 WARN [http-nio-8090-exec-1] [confluence.impl.vcache.SynchronousExternalCache] lambda$get$11 Failed to read entry from cache 'com.atlassian.bandana.BandanaPersister': Failed due to UNCLASSIFIED_FAILURE
2018-02-27 22:06:19,861 WARN [http-nio-8090-exec-1] [confluence.impl.vcache.SynchronousExternalCache] lambda$get$11 Failed to read entry from cache 'com.atlassian.bandana.BandanaPersister': Failed due to UNCLASSIFIED_FAILURE
2018-02-27 22:06:19,934 WARN [http-nio-8090-exec-1] [confluence.impl.vcache.SynchronousExternalCache] lambda$get$11 Failed to read entry from cache 'com.atlassian.bandana.BandanaPersister': Failed due to UNCLASSIFIED_FAILURE

ERRORS:

lots and lots of this:

2018-02-27 21:36:30,401 ERROR [http-nio-8090-exec-5] [atlassian.plugin.loaders.ScanningPluginLoader] deployPluginFromUnit Unable to deploy plugin 'com.atlassian.confluence.image.effects.ImageEffectsPlugin' from 'Unit: /opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins/ImageEffectsPlugin-1.6.0.ja$
-- referer: http://192.168.1.102:8090/setup/setupdbtype-start.action | url: /setup/setupdbtype.action | traceId: 0071c5a8b1f506e6 | userName: anonymous | action: setupdbtype
2018-02-27 21:36:30,402 ERROR [http-nio-8090-exec-5] [atlassian.plugin.loaders.ScanningPluginLoader] deployPluginFromUnit Because of the following exception:
-- referer: http://192.168.1.102:8090/setup/setupdbtype-start.action | url: /setup/setupdbtype.action | traceId: 0071c5a8b1f506e6 | userName: anonymous | action: setupdbtype
java.lang.IllegalStateException: Unable to create a tracker when osgi is not running
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:490)

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2018

Phil, I am opening a support ticket now so we can examine your logs. Please stay tuned for an email with the ticket number, etc.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events