Setting jboss '-mp' and '-jaxpmodule' start parameters in intellij
Answered
Hello
When i run JBoss from eclipse, i set start params as follows and it works fine

However when i try to use intellij instead i get an error using the following settings

The only settings that don't work in the intellij version is the -mp and -jaxpmodule settings.
The response i get from intellij when trying to run with those are similar to:
JBAS015801: Invalid option '-jaxpmodule'
or
JBAS015801: Invalid option '-mp'
I can circumvent this by modifying the standalone.bat directly, but i feel this is a much uglier approach (especially when adding more paths for other servers). And i feel there should be a way to do this in intellij. So my question is, is there?
Please sign in to leave a comment.
Answered the question in support request. Duplicating here.
Please see JBoss Run/Debug Configuration reference for the corresponding options available. You specify the parameters for the application server startup script in Startup/Connection tab of the JBoss Run/Debug Configuration Startup script input box.
Make sure to overwrite it for the appropriate mode (Run or Debug).