When renaming (moving) a page that has couple of subpages I encounter a problem that makes impossible for any other similar jobs to be executed. Trying to move it again results with blank “loading screen” (see screenshot below): Restarting Tomcat allows to perform this action.
I’d like to investigate it in more detail as I presume that after successful migration of our previous wiki to XWiki many users are going to move and rename various pages. I’d be grateful for the guidance on which loggers should I enable if it’s necessary.
In the catalina.out
I can see some exceptions related to encoding in JRE. Please take a look at the snippet from the moment when I was trying to move one of the pages from Sport to Sport2 (numbers can be different though).
28-Aug-2018 11:52:37.890 WARNING [http://XX.XX.XX.XX:8080/download/FlamingoThemes/Iceberg/logo_wiki.svg] org.apache.catalina.connector.Response.setCharacterEncoding The encoding [] is not recognised by the JRE
java.io.UnsupportedEncodingException: The character encoding [] is not supported
at org.apache.tomcat.util.buf.B2CConverter.getCharset(B2CConverter.java:79)
at org.apache.coyote.Response.setCharacterEncoding(Response.java:496)
at org.apache.catalina.connector.Response.setCharacterEncoding(Response.java:802)
at org.apache.catalina.connector.ResponseFacade.setCharacterEncoding(ResponseFacade.java:623)
at javax.servlet.ServletResponseWrapper.setCharacterEncoding(ServletResponseWrapper.java:82)
at javax.servlet.ServletResponseWrapper.setCharacterEncoding(ServletResponseWrapper.java:82)
at com.xpn.xwiki.web.XWikiServletResponse.setCharacterEncoding(XWikiServletResponse.java:154)
at com.xpn.xwiki.web.DownloadAction.setCommonHeaders(DownloadAction.java:446)
at com.xpn.xwiki.web.DownloadAction.sendContent(DownloadAction.java:301)
at com.xpn.xwiki.web.DownloadAction.render(DownloadAction.java:183)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:459)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:209)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
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)
2018-08-28 11:52:37,925 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 14: invalid property id. Caused by: [ , class: "xuake-console hidden"]
2018-08-28 11:52:37,925 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 48, column 6: syntax error. Caused by: [ });]
2018-08-28 11:52:37,926 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 51, column 14: invalid property id. Caused by: [ , class: "consoleInput"]
2018-08-28 11:52:37,926 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 52, column 6: syntax error. Caused by: [ })]
2018-08-28 11:52:37,926 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 53, column 10: syntax error. Caused by: [ this.executeButton = new Element("input", {]
2018-08-28 11:52:37,926 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 54, column 12: syntax error. Caused by: [ id: "xuake-execute-button"]
2018-08-28 11:52:37,926 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 55, column 14: identifier is a reserved word. Caused by: [ , class: "btn btn-info button"]
2018-08-28 11:52:37,926 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 57, column 15: missing ; before statement. Caused by: [ , value: "Execute (CTRL + E)" ]
2018-08-28 11:52:37,927 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 58, column 6: syntax error. Caused by: [ })]
2018-08-28 11:52:37,927 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 59, column 10: syntax error. Caused by: [ this.console.insert(this.input);]
2018-08-28 11:52:37,927 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 10 syntax errors.
2018-08-28 11:52:37,927 [http://XX.XX.XX.XX:8080/jsx/XWiki/Xuake?language=pl&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null
28-Aug-2018 11:52:38.170 WARNING [http://XX.XX.XX.XX:8080/download/XWiki/Ace/ace.zip/ace.js] org.apache.catalina.connector.Response.setCharacterEncoding The encoding [] is not recognised by the JRE
java.io.UnsupportedEncodingException: The character encoding [] is not supported
at org.apache.tomcat.util.buf.B2CConverter.getCharset(B2CConverter.java:79)
at org.apache.coyote.Response.setCharacterEncoding(Response.java:496)
at org.apache.catalina.connector.Response.setCharacterEncoding(Response.java:802)
at org.apache.catalina.connector.ResponseFacade.setCharacterEncoding(ResponseFacade.java:623)
at javax.servlet.ServletResponseWrapper.setCharacterEncoding(ServletResponseWrapper.java:82)
at javax.servlet.ServletResponseWrapper.setCharacterEncoding(ServletResponseWrapper.java:82)
at com.xpn.xwiki.web.XWikiServletResponse.setCharacterEncoding(XWikiServletResponse.java:154)
at com.xpn.xwiki.web.DownloadAction.setCommonHeaders(DownloadAction.java:446)
at com.xpn.xwiki.web.DownloadAction.sendContent(DownloadAction.java:301)
at com.xpn.xwiki.web.DownloadAction.render(DownloadAction.java:183)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:459)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:209)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
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)
We’re running XWiki 10.6.1
on CentOs 7 in Tomcat. Should we update to 10.7?
Regarding Java we have:
openjdk version "1.8.0_171" \ OpenJDK Runtime Environment (build 1.8.0_171-b10) \ OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)