[jboss-jira] [JBoss JIRA] (WFLY-9635) jdr throws IllegalArgumentException if server is not started

Brad Maxwell (JIRA) issues at jboss.org
Mon Feb 5 16:20:00 EST 2018


     [ https://issues.jboss.org/browse/WFLY-9635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brad Maxwell reassigned WFLY-9635:
----------------------------------

    Assignee: Jean-Francois Denise  (was: Brad Maxwell)


> jdr throws IllegalArgumentException if server is not started
> ------------------------------------------------------------
>
>                 Key: WFLY-9635
>                 URL: https://issues.jboss.org/browse/WFLY-9635
>             Project: WildFly
>          Issue Type: Bug
>          Components: JDR
>            Reporter: Marek Kopecký
>            Assignee: Jean-Francois Denise
>            Priority: Blocker
>         Attachments: jboss-eap-7.1.0.log, wildfly-11.0.0.Final.log
>
>
> *Description of the issue:*
> jdr throws IllegalArgumentException if server is not started
> *Steps to reproduce:*
> # do *not* start the server
> # ./jdr.sh
> *Actual results:*
> {noformat}
> [mkopecky at 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 at 6631f5ca rejected from java.util.concurrent.ThreadPoolExecutor at 5ace1ed4[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
> Exception for stop-embedded-server: Task java.util.concurrent.FutureTask at 31e5415e rejected from java.util.concurrent.ThreadPoolExecutor at 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 at dhcp-10-40-4-226 bin]$
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list