-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
Description of the issue:
jdr throws IllegalArgumentException if server is not started
Steps to reproduce:
- do not start the server
- ./jdr.sh
Actual results:
[mkopecky@dhcp-10-40-4-226 bin]$ ./jdr.sh Initializing JBoss Diagnostic Reporter... Trying to connect to http-remoting localhost:9990 Starting embedded server Exception for embed-server --std-out=echo : Task java.util.concurrent.FutureTask@6631f5ca rejected from java.util.concurrent.ThreadPoolExecutor@5ace1ed4[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] Exception for stop-embedded-server: Task java.util.concurrent.FutureTask@31e5415e rejected from java.util.concurrent.ThreadPoolExecutor@5ace1ed4[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] Exception in thread "main" java.lang.IllegalArgumentException: Error handling command: /subsystem=jdr:generate-jdr-report() at org.jboss.as.cli.scriptsupport.CLI.cmd(CLI.java:248) at org.jboss.as.jdr.CommandLineMain.main(CommandLineMain.java:120) at org.jboss.modules.Module.run(Module.java:344) at org.jboss.modules.Main.main(Main.java:525) Caused by: org.jboss.as.cli.CommandLineException: The connection to the controller has not been established. at org.jboss.as.cli.impl.CommandContextImpl.execute(CommandContextImpl.java:804) at org.jboss.as.cli.impl.CommandContextImpl.execute(CommandContextImpl.java:823) at org.jboss.as.cli.scriptsupport.CLI.cmd(CLI.java:241) ... 3 more [mkopecky@dhcp-10-40-4-226 bin]$
- is caused by
-
WFCORE-3575 CLI, failed connect side effect
- Resolved