TROUBLE: Confluence (self-hosted) failed to start, but now it works again

Maxim Shesterkin January 10, 2018

The confluence server (v6.5.1) was deploy on the test environment then I migrated data from our productive confluence (v.5.9.11) to test.

 After starting confluence on test, I see next trouble «Confluence failed to start, but now it works again» (on screen).

Our prod Confluence work excellent.

 image.png

  • Confluence (prod/test) work on Linux.
  • We use MySQL database.

 

Confluence logs:

2018-01-09 10:22:19,554 WARN [http-nio-8090-exec-6] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
->[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #585753841)
-- traceId: c7fc290beb95a53f
2018-01-09 10:22:19,598 WARN [http-nio-8090-exec-6] [confluence.util.profiling.ConfluenceSitemeshDecorator] render TransactionException prevented transaction from committing whilst rendering the decorator, the cause is likely a previously logged exception: Transaction rolled back because it has been marked as rollback-only
Cause :
-- traceId: c7fc290beb95a53f
2018-01-09 10:22:35,418 ERROR [http-nio-8090-exec-1] [ContainerBase.[Standalone].[localhost].[/]] log Unhandled exception occurred whilst decorating page
-- referer: http://mjiratest.bops.local:8090/ | url: /johnson/data | traceId: 52b59c64b6fa6e97 | userName: anonymous
java.lang.NullPointerException
2018-01-09 10:22:35,418 ERROR [http-nio-8090-exec-7] [ContainerBase.[Standalone].[localhost].[/]] log Unhandled exception occurred whilst decorating page
-- referer: http://10.64.64.155:8090/ | url: /johnson/data | traceId: 25ee737182ee0db3 | userName: anonymous
java.lang.NullPointerException
2018-01-09 10:22:35,421 ERROR [http-nio-8090-exec-1] [[Standalone].[localhost].[/].[johnson-data-servlet]] log Servlet.service() for servlet [johnson-data-servlet] in context with path [] threw exception
java.lang.NullPointerException
2018-01-09 10:22:35,422 ERROR [http-nio-8090-exec-7] [[Standalone].[localhost].[/].[johnson-data-servlet]] log Servlet.service() for servlet [johnson-data-servlet] in context with path [] threw exception
java.lang.NullPointerException
2018-01-09 10:22:35,424 INFO [http-nio-8090-exec-7] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : 6afa7814-1206-4c5b-b10e-f03142842647
--------------------------
JVM Stats
--------------------------
usedMemory = 777778288
usedMemoryInMegabytes = 741
availableHeap = 295963536
freeMemoryInMegabytes = 282
allocatedHeap = 1073741824
freeAllocatedHeap = 295963536
totalMemory = 1073741824
totalMemoryInMegabytes = 1024
availablePermGen = 0
maxPermGen = -1
maxHeap = 1073741824
usedHeap = 777778288
freeMemory = 295963536
usedPermGen = -1
--------------------------
Request Information
--------------------------
URL: http://10.64.64.155:8090/500page.jsp
Scheme: http
Server: 10.64.64.155
Port: 8090
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: null
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /johnson/data
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /johnson/data
javax.servlet.error.status_code: 500
com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@7336f108
com.opensymphony.sitemesh.APPLIED_ONCE: true
__cleanup_recursion_counter: 0
javax.servlet.error.message:
javax.servlet.error.servlet_name: johnson-data-servlet
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
atlassian.core.seraph.original.url: /500page.jsp
com.atlassian.labs.botkiller.BotKillerFilter: true
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
B3-TraceId: 9f8eb87881d5aa
loginfilter.already.filtered: true
javax.servlet.error.request_uri: /johnson/data
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true
javax.servlet.error.exception: java.lang.NullPointerException
os_securityfilter_already_filtered: true
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true
--------------------------
Parameters
--------------------------
caused by: java.lang.NullPointerException
at Unknown location

2018-01-09 10:22:35,424 INFO [http-nio-8090-exec-1] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : a91d6edf-52b1-41dc-b2df-eab94811c54d

1 answer

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

Hi Maxim,

I understand you imported a site backup from your Confluence 5.9.11 production instance to a newly installed test instance of Confluence 6.5.1. Please let me know the current state of your test instance. Is it accessible and serving pages as expected?

None of the errors you posted look like show stoppers, so I am curious what the symptoms are that we need to work on.

Please be aware that restoring a backup from a lower version of Confluence is not a viable upgrade strategy.

Here are some references that may help:

Upgrading Confluence

Restoring a Test Instance from Production

I look forward to hearing how I may help.

Cheers,

Ann

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events