Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9635

jdr throws IllegalArgumentException if server is not started

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 12.0.0.CR1, 12.0.0.Final
    • None
    • JDR
    • None

    Description

      Description of the issue:
      jdr throws IllegalArgumentException if server is not started

      Steps to reproduce:

      1. do not start the server
      2. ./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]$
      

      Attachments

        Issue Links

          Activity

            People

              jdenise@redhat.com Jean Francois Denise
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: