There is 1 comment.
 
 
XWiki Commons / cid:jira-generated-image-avatar-78f66cb3-475a-41a1-8ba7-b69890164cea XCOMMONS-3615 In Progress

XWiki fails to start on Tomcat on Windows because critical resource files cannot be loaded

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-0afaeaf4-abe3-48c0-bffe-f00055962751 Marius Dumitru Florea on 07/Apr/26 11:19
 

Actually, any workaround involving xwiki.properties can't work because XWiki fails to read it as well:

2026-04-06 13:07:20,453 [main] WARN  o.x.e.i.ServletEnvironment     - The resource path [/WEB-INF/xwiki.properties] is trying to access a resource outside of the resource root. It's expected to be located inside one of the allowed reallocations [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\\], but its real location is [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\WEB-INF\xwiki.properties]. If thisshould actually be an allowed location, you can add it to the property 'environment.servlet.allowedRealPaths' in the configuration file 'xwiki.properties'. 

So there's no workaround in the end. Windows users will have to use / upgrade to 17.10.7.