There are 5 comments.
 
 
XWiki Commons / cid:jira-generated-image-avatar-68963f79-6112-4011-bf79-6117534a2e47 XCOMMONS-3615 In Progress

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

 
View issue   ยท   Add comment
 

5 comments

 
cid:jira-generated-image-avatar-f215af52-30a7-40dd-bdf4-e6e263c079fa Ilie Andriuta on 07/Apr/26 09:51
 
Hi! I've tested with single backslash:

{{environment.servlet.allowedRealPaths=D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki
\ }}

 

and with single slash:

 
{{environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps/xwiki/}}
 

and with double slashes before the end, since this is how I configure my LibreOffice in the {{xwiki.properties}} file: {{C:/Program Files//LibreOffice}}

 
{{environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps//xwiki}}

The issue still reproduces.

 

(It seems I cannot format the text as Code, since after saving the comment it gets messed up, in the Code format includes also other text that it was not included in edit mode, maybe a bug on the Jira side)
 
cid:jira-generated-image-avatar-a0650281-0495-434a-9c84-1590aac1e2da Marius Dumitru Florea on 07/Apr/26 09:53
 
Hi! I've tested with single backslash:

{
{ noformat}
environment.servlet.allowedRealPaths=D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\
{noformat
} }

 

and with single slash:

 
{ { noformat}
environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps/xwiki/
{noformat
} }
 

and with double slashes before the end, since this is how I configure my LibreOffice in the {{xwiki.properties}} file: {{C:/Program Files//LibreOffice}}

{noformat}  
{{ environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps//xwiki
{noformat
} }

The issue still reproduces.

 

(It seems I cannot format the text as Code, since after saving the comment it gets messed up, in the Code format includes also other text that it was not included in edit mode, maybe a bug on the Jira side)
 
cid:jira-generated-image-avatar-a0650281-0495-434a-9c84-1590aac1e2da Marius Dumitru Florea on 07/Apr/26 09:54
 
Hi! I've tested with single backslash:

{noformat}
environment.servlet.allowedRealPaths=D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\
{noformat}

and with single slash:

{noformat}
environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps/xwiki/
{noformat}
 
and with double slashes before the end, since this is how I configure my LibreOffice in the {{xwiki.properties}} file: {{C:/Program Files//LibreOffice}}

{noformat}
 
environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps//xwiki
{noformat}

The issue still reproduces.

(It seems I cannot format the text as Code, since after saving the comment it gets messed up, in the Code format includes also other text that it was not included in edit mode, maybe a bug on the Jira side)
 
cid:jira-generated-image-avatar-ceb894e8-440b-4f04-81b5-ec0eb99d8bef Nikita Petrenko on 07/Apr/26 09:57
 
{quote}Ilie Andriuta Nikita Petrenko you can try setting environment.servlet.allowedRealPaths to your XWiki instance path as a workaround, in xwiki.properties. Something like:
{noformat}
environment.servlet.allowedRealPaths=D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\
{noformat}
Replace with your actual path that appears in the logs, making sure to leave a single backslash at the end. Please confirm.
{quote}
I'll try later this evening, yesterday pasting exact the same as path to permanent directory with
{noformat}
\webapps\xwiki
\ {noformat}

in the end, didn't resolve it.
 
cid:jira-generated-image-avatar-ceb894e8-440b-4f04-81b5-ec0eb99d8bef Nikita Petrenko on 07/Apr/26 09:58
 
{quote}Ilie Andriuta Nikita Petrenko you can try setting environment.servlet.allowedRealPaths to your XWiki instance path as a workaround, in xwiki.properties. Something like:
{noformat}
environment.servlet.allowedRealPaths=D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\
{noformat}
Replace with your actual path that appears in the logs, making sure to leave a single backslash at the end. Please confirm.
{quote}
I'll try later this evening, yesterday pasting exact the same as path to permanent directory with
{noformat}
\webapps\xwiki\ {noformat}

in the end, didn't resolve it.