Cannot run XWiki in debug mode via bat file on Windows 11 side

Hello there,

I’ve discovered some strange behavior. As a Windows user, I can start a demo XWiki 16.10.2 instance (Jetty-HSQLDB) via the start_xwiki.bat bat file, I can’t do the same to start debugging, running start_xwiki_debug.bat returns \NVIDIA was unexpected at this time.. This happens even after passing one or all the required parameters when calling the executable.

However, if I run the start_xwiki_debug.sh shell script via GitBash, the instance is started and available on the debug port.

I’ve looked into guides on website, and I only found this mention in Debugging - XWiki

  • use the start_xwiki_debug.sh executable if you’re using the Standalone packaging

Does this mean that the bat file was never intended to be used?

Hi Nikita,

I’m not sure how you conclude that? :slight_smile:

My conclusion is more that there’s a bug in start_xwiki_debug.bat that needs to be reported (could you report it?) and fixed.

Thx

reported [XWIKI-22753] Batch script start_xwiki_debug does not run on Windows 11

well, I haven’t found anything about bat file on XWiki side.

Thx

FTR, it’s here: xwiki-platform/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.bat at master · xwiki/xwiki-platform · GitHub

1 Like

The main reason there’s a bug is that nobody from the XWiki devs work on windows so we haven’t noticed the issue.

1 Like