JBoss Shutdown 4.0.5

I set the security password on the jmx console etc, so I have to specify them on the shutdown command.
The following command works fine from the command line:
D:\ManualInstall\JBoss\jboss-4.0.5.GA\bin\shutdown.bat -s jnp://localhost:1099 -S -u admin -p admin
When I alter the shutdown script (startup/connection tab) to this value, the shutdown fails with:
com.intellij.execution.ExecutionException: Cannot start process, the working directory D:\ManualInstall\JBoss\jboss-4.0.5.GA\bin\shutdown.bat -s jnp: does not exist
at com.intellij.execution.configurations.GeneralCommandLine.checkWorkingDirectory(GeneralCommandLine.java:122)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:103)
Excuse the pun but any ideas?

1 comment
Comment actions Permalink

You have to configure the script and the parameters separately. Enter only the shutdown script itself in the text field and then open the Parameters... dialog to specify the parameters.

By the way: IDEA 6.0.2 will have the possibility to configure user and password, so you won't need to specify the shutdown command manually anymore.


Please sign in to leave a comment.