Hello we are trying to install confluence on our server and we keep getting an error message that it wont start. We've looked around all the articles and have been unable to find out what the issue is. Has anyone seen this before?
The issue is that Confluence won't start. It gives the following error:
The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set
Cause
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
caused by: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
I've gone through all the troubleshooting steps in their documentation, and even reinstalled and still receive this error. I've attached additional logs for you as well.
System information:
[root@oraclerx-welsh abitting]# cat /etc/*release && uname -r
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
3.10.0-957.5.1.el7.x86_64
Hey Andrew,
I've noticed a discrepancy in the permissions test:
[root@oraclerx-welsh WEB-INF]# pwd ; ls -hal|grep classes && ls -hal classes/confluence-init.properties
/opt/atlassian/confluence/confluence/WEB-INF
drwxr-xr-x 3 confluence confluence 4.0K Aug 7 07:22 classes
-rwxr-xr-x 1 confluence confluence 1.1K Aug 6 02:35 classes/confluence-init.properties
(shows both the parent directory and the file are writable and readable by confluence user.)
This checked the confluence-init.properties file, but it didn't check Confluence's home directory (which is defined within a property in this file). This might be something like "/opt/atlassian/confluence-home" - by reading the contents of that file, you can find what it's set to by looking for the confluence.home property. By default it's the only un-commented line in that file and is the very last line, so it should be easy to find.
Once you learn what Confluence's home directory is, you want to check that the entire directory is writable by the Confluence user. For that directory, if in doubt you can repair it with a
chown -R confluence:confluence </your-confluence-home-dir>
(as the parent and all its subdirectories and files need to be writable to Confluence) and then ensure the correct any issues with the permissions as well:
chmod -R 755 </your-confluence-home-dir>
Have a run at that and let us know if you get different errors afterwards when trying to start Confluence.
Thanks,
Daniel
Andrew,
Thank you for contacting us. This error can be any number of things, and usually points to a configuration issue.
Please have a look at Confluence does not start due to Spring Application context has not been set.
There are about 10 causes and solutions for this problem, so I would encourage you to go through them individually in order to determine the cause for your issue.
If you have any trouble, please let us know.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response!
We did have a look at that article when we initially ran into the problems and we tried all of the suggestions and it still giving us the error message above. Are there any recommened next steps when these do not work?
Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do have the additonal logs metioned above, but it made the article over 20,000 characters so I did not include them.
Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
at com.atlassian.confluence.tenant.TenantGate$3.call(TenantGate.java:145)
at com.atlassian.confluence.tenant.TenantGateFilter.doFilter(TenantGateFilter.java:37)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.internal.web.filter.spring.IgnoreWebAsyncManagerFilter.doFilter(IgnoreWebAsyncManagerFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter.doFilter(RequestParamValidationFilter.java:51)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.web.filter.TranslationModeFilter.doFilter(TranslationModeFilter.java:39)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.plugin.servlet.filter.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:72)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:49)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextFilter.doFilter(VCacheRequestContextFilter.java:58)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:33)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.web.filter.ZipkinTracingFilter.doFilter(ZipkinTracingFilter.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.web.filter.ResponseOutputStreamFilter.doFilter(ResponseOutputStreamFilter.java:25)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:59)
at com.atlassian.confluence.web.ConfluenceJohnsonFilter.doFilter(ConfluenceJohnsonFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.setup.ConfluenceEncodingFilter.doFilterInternal(ConfluenceEncodingFilter.java:35)
at com.atlassian.confluence.web.filter.AbstractStaticResourceAwareFilter.doFilter(AbstractStaticResourceAwareFilter.java:43)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.impl.servlet.HoldingUntilStartedFilter.doFilter(HoldingUntilStartedFilter.java:88)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:64)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1152)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)
at com.atlassian.confluence.util.LazyComponentReference$Accessor.get(LazyComponentReference.java:42)
at com.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:85)
at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325)
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)
... 200 more
I've gone through all the troubleshooting steps in their documentation, and even reinstalled and still receive this error. I've attached additional logs for you as well.
System information:
[root@oraclerx-welsh abitting]# cat /etc/*release && uname -r
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
3.10.0-957.5.1.el7.x86_64
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
he issue is that Confluence won't start. It gives the following error:
The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set
Cause
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
caused by: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
Stack Trace:[hide]
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)
at com.atlassian.confluence.setup.webwork.ConfluenceXWorkTransactionInterceptor.getTransactionManager(ConfluenceXWorkTransactionInterceptor.java:28)
at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:56)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.atlassian.confluence.xwork.SetupIncompleteInterceptor.intercept(SetupIncompleteInterceptor.java:38)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.atlassian.confluence.security.interceptors.SecurityHeadersInterceptor.intercept(SecurityHeadersInterceptor.java:39)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.atlassian.confluence.setup.actions.SetupCheckInterceptor.intercept(SetupCheckInterceptor.java:27)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
at com.atlassian.confluence.servlet.ConfluenceServletDispatcher.serviceAction(ConfluenceServletDispatcher.java:56)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andrew,
Thanks for providing the logs and additional information around your system. We’re going to need some further information to find the cause of this generic error. Could you please provide the following for us:
An additional item to attempt would be to remove your confluence.cfg.xml file and then start the Confluence service. This will allow you to reconfigure Confluence fresh.
We look forward to hearing back to help get Confluence started.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Java is java-1.8.0-openjdk
System has 2 CPU and 7.5 GB RAM.
Confluence is set to work under user confluence.
under these groups:
]# groups confluence
confluence : confluence
[root@oraclerx-welsh abi
Database is MySQL 5.7. The JDBC driver is mysql-connector-java-8.0.17-1
I've already removed the XML file that they've suggested to as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andrew,
We will be going over the rest of the setup you mentioned here, but you should be aware that Confluence is not compatible with OpenJDK.
Per our Supported Platforms (this is the latest, assuming you are on Confluence 6.15):
You can only run Confluence with AdoptOpenJDK or Oracle JRE/JDK.
Some Oracle Java versions have bugs that impact Confluence. You can't run Confluence on Java 1.8.0_25 and 1.8.0_31 (see JDK-8059299) or Java 1.8.0_45 (see JDK-8068400).
Some AdoptOpenJDK versions have bugs that impact Confluence. We recommend version jdk8u192 or later.
You can't run Confluence on the OPENJ9 JVM from AdoptOpenJDK. Use the HotSpot JVM.
You will want to make sure to get Confluence onto a supported Java version.
Let me know if you have any questions about that.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Ah Sorry I believe that was a typographic error on our part. The server is configured by default to run OpenJDK:
[root@oraclerx-welsh bin]# /usr/bin/java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
However, the confluence installer set its own java version
[root@oraclerx-welsh bin]# /opt/atlassian/confluence/jre//bin/java -version
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
which is set as the Java home in the bin/setjre.sh file for confluence.
you can acutally see it is executing the Hotspot version of Java by see how it is invoked as the process:
[root@oraclerx-welsh bin]# ps aux | grep java
conflue+ 15464 0.2 13.4 3603668 1006868 ? Sl Aug07 49:14 conflue+ 15464 0.2 13.4 3603668 1006868 ? Sl Aug07 49:14 /opt/atlassian/confluence/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dconfluence.context.path= -Datlassian.plugins.startup.options= -Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 -Dsynchrony.enable.xhr.fallback=true -Xms1024m -Xmx1024m -XX:+UseG1GC -Datlassian.plugins.enable.wait=300 -Djava.awt.headless=true -XX:G1ReservePercent=20 -Xloggc:/opt/atlassian/confluence/logs/gc-2019-08-07_07-41-37.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution -Dignore.endorsed.dirs= -classpath /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/confluence -Dcatalina.home=/opt/atlassian/confluence -Djava.io.tmpdir=/opt/atlassian/confluence/temp org.apache.catalina.startup.Bootstrap start
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew,
Thank you for your patience. We've had a look at your setup and it looks good. Therefore, we've determined that it is one of the causes in the article I sent you earlier. (Confluence does not start due to Spring Application context has not been set)
As Stephen mentioned, the errors you are sending us from your logs are very generic, and they all point to something in that article. I understand that you already reviewed the causes, but I would encourage you to go over it again.
If you are still stuck then please let us know the exact steps you took to install Confluence, and we can see if there was an issue with your setup.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is what I got back from my team on it:
Sorry about the delay, Andrew. Please find below:
Confirmed it does:
[root@oraclerx-welsh WEB-INF]# ps waxu|grep confluence
conflue+ 15464 0.2 13.4 3603668 1006880 ? Sl Aug07 67:56 /opt/atlassian/confluence/jre//bin/java
-Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.man
ager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs
=org.apache.catalina.webresources -Dconfluence.context.path= -Datlassian.plugins.startup.options= -Dorg.a
pache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 -Dsynchrony.enable.xhr.fallback=true -Xms1024m -Xmx1024m
-XX:+UseG1GC -Datlassian.plugins.enable.wait=300 -Djava.awt.headless=true -XX:G1ReservePercent=20 -Xlogg
c:/opt/atlassian/confluence/logs/gc-2019-08-07_07-41-37.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFi
les=5 -XX:GCLogFileSize=2M -XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution -Dig
nore.endorsed.dirs= -classpath /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/
tomcat-juli.jar -Dcatalina.base=/opt/atlassian/confluence -Dcatalina.home=/opt/atlassian/confluence -Djav
a.io.tmpdir=/opt/atlassian/confluence/temp org.apache.catalina.startup.Bootstrap start
(shows that the process is running as user confluence)
[root@oraclerx-welsh WEB-INF]# pwd ; ls -hal|grep classes && ls -hal classes/confluence-init.properties
/opt/atlassian/confluence/confluence/WEB-INF
drwxr-xr-x 3 confluence confluence 4.0K Aug 7 07:22 classes
-rwxr-xr-x 1 confluence confluence 1.1K Aug 6 02:35 classes/confluence-init.properties
(shows both the parent directory and the file are writable and readable by confluence user.)
[root@oraclerx-welsh WEB-INF]# ps waxu|grep confluence
conflue+ 15464 0.2 13.4 3603668 1006880 ? Sl Aug07 67:56 /opt/atlassian/confluence/jre//bin/java
-Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.man
ager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs
=org.apache.catalina.webresources -Dconfluence.context.path= -Datlassian.plugins.startup.options= -Dorg.a
pache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 -Dsynchrony.enable.xhr.fallback=true -Xms1024m -Xmx1024m
-XX:+UseG1GC -Datlassian.plugins.enable.wait=300 -Djava.awt.headless=true -XX:G1ReservePercent=20 -Xlogg
c:/opt/atlassian/confluence/logs/gc-2019-08-07_07-41-37.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFi
les=5 -XX:GCLogFileSize=2M -XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution -Dig
nore.endorsed.dirs= -classpath /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/
tomcat-juli.jar -Dcatalina.base=/opt/atlassian/confluence -Dcatalina.home=/opt/atlassian/confluence -Djav
a.io.tmpdir=/opt/atlassian/confluence/temp org.apache.catalina.startup.Bootstrap start
(shows that the process is running as user confluence)
[root@oraclerx-welsh WEB-INF]# getenforce
Disabled
(SeLinux is disabled)
[root@oraclerx-welsh WEB-INF]# yum list installed|grep -i apparmor
[root@oraclerx-welsh WEB-INF]#
(AppArmor is not installed.)
3.The database driver is not located in the <install>/confluence/WEB-INF/lib folder or you are using a database version that is incompatible with the bundled driver.
It is:
[root@oraclerx-welsh WEB-INF]# ll lib | grep -i mysql
-rwxr-xr-x 1 confluence confluence 2314066 Aug 7 07:34 mysql-connector-java.jar
If they can recommend a specific one I can install that instead.
[root@oraclerx-welsh WEB-INF]# grep oraclerx-welsh.vmracks.com /etc/hosts
10.138.0.87 oraclerx-welsh.vmracks.com oraclerx-welsh
[root@oraclerx-welsh WEB-INF]# ping $HOSTNAME
PING oraclerx-welsh.vmracks.com (10.138.0.87) 56(84) bytes of data.
mysql> show grants for 'confluser'@'10.138.0.87';
+----------------------------------------------------------------------+
| Grants for confluser@10.138.0.87 |
+----------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'confluser'@'10.138.0.87' |
| GRANT ALL PRIVILEGES ON `confluence`.* TO 'confluser'@'10.138.0.87' |
| GRANT ALL PRIVILEGES ON `confluence2`.* TO 'confluser'@'10.138.0.87' |
+----------------------------------------------------------------------+
As a note, a full reinstall of the packages to different directories, and confirming the above steps as well resulted in the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew,
Thank you so much for having your team run through those checks. I'm comparing notes with my colleagues here. My teammate @Daniel Eads had a look and has replied to you with a few more tests you can run since there was a discrepancy in your permissions test.
Have a look at that and reply to him if you have any trouble with that.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! We were able to get it to start. It turns out it was a RAM issue. As soon as we turned that up it started. Now we have a different problem where it won't create a page due to end of life cycle and to upgrade confluence :/ Which is so strange because I far as I can tell its the most recent version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's great news, Andrew.
Glad to hear you were able to determine the issue and get Confluence up and running.
The latest version of Confluence is 6.15.x, and we will be releasing Confluence 7.0 soon. (See Preparing for Confluence 7.0). You appear to be on Confluence 6.6.x. That version is still valid and won't reach End of Life until December of this year. You can still upgrade now if you so choose.
I would recommend for now that you compare your license to the one on your account by logging into my.atlassian.com. If you continue to have issues, please screenshot the error and create a new thread for that issue.
I'll be watching for your new thread so don't worry about us not seeing it.
Let me know if you have any trouble.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.