how to make confluence work with localhost

net.sf.hibernate.engine.SessionFactoryImplementor.getConnectionProvider()] is not allowed.

When trying to connect to http://localhost:8090 Solution provided does not work.

Host is resolving just fine.

Is there another cause to this?


1 answer

This widget could not be displayed.

I'm afraid there's too little information here to help you.  You haven't told us anything more than "Server is running, confluence doesn't work, and here's one line of log, out of context".  You haven't told us what "solution provided" was, or how it has failed, or told us what the responses from the server are when you connect to it locally.

Could you tell us if Confluence is running, what the bottom of the log says, and what happens when you use a browser on the server to connect to localhost:8090

The server a redhat rhel7 machine.
Oracle is installed.
JAVA_HOME is defined properly.

The solution was provided on:

The solution fails because I can do "host localhost" and get the correct answer.

The browser is on the server, thus http://localhost:8090 does work and tomcat gives an error message.

Here is the full error message from /opt/atlassian/confluence/logs/catalina.out



Caused by: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract net.sf.hibernate.connection.ConnectionProvider net.sf.hibernate.engine.SessionFactoryImplementor.getConnectionProvider()] is not allowed.

    at com.atlassian.confluence.tenant.TenantGate$1.lambda$create$0(

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(

    at com.sun.proxy.$Proxy33.getConnectionProvider(Unknown Source)

    at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(

    at java.lang.reflect.Method.invoke(


    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(

    at com.sun.proxy.$Proxy33.getConnectionProvider(Unknown Source)

    at org.springframework.orm.hibernate.SessionFactoryUtils.getDataSource(

    at org.springframework.orm.hibernate.SessionFactoryUtils.newJdbcExceptionTranslator(

    at org.springframework.orm.hibernate.HibernateAccessor.getJdbcExceptionTranslator(

    at org.springframework.orm.hibernate.HibernateTemplate.getSession(

    at org.springframework.orm.hibernate.HibernateTemplate.execute(

    at org.springframework.orm.hibernate.HibernateTemplate.execute(

    at com.atlassian.confluence.setup.bandana.persistence.dao.hibernate.HibernateConfluenceBandanaRecordDao.getRecord(

    at com.atlassian.confluence.setup.bandana.ConfluenceDaoBandanaPersister.retrieve(

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(

    at java.lang.reflect.Method.invoke(


    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

    at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(

    at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(

    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(

    at com.sun.proxy.$Proxy34.retrieve(Unknown Source)

    at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.lambda$retrieve$0(

    at com.atlassian.confluence.impl.vcache.SynchronousExternalCache.lambda$get$11(

    at com.atlassian.confluence.impl.concurrency.CompletionStageUtils.lambda$foldResult$0(

    at java.util.concurrent.CompletableFuture.uniHandle(

    ... 85 more

If I am missing something, please let me know.

What do you get when you try "ping localhost" on the server?

[root@muc-conf01 opt]# ping localhost
PING localhost ( 56(84) bytes of data.
64 bytes from localhost ( icmp_seq=1 ttl=64 time=0.042 ms
64 bytes from localhost ( icmp_seq=2 ttl=64 time=0.050 ms
64 bytes from localhost ( icmp_seq=3 ttl=64 time=0.045 ms
64 bytes from localhost ( icmp_seq=4 ttl=64 time=0.049 ms

Could you post that as a new question, and with a full problem description?  Necroposting out of context reaches a limited audience and gives us too little to work with.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

603 views 8 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you