Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4147

the new EAP-based CLI is not yet compatibile with the old JDG CLI

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Out of Date
    • 7.0.0.Alpha1
    • None
    • CLI

    Description

      • Running JDG tests for CLI
        Fcli/standalone_caches_test.rb:84: warning: Insecure world writable dir /qa/tools in PATH, mode 040777
        Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/as/cli/CommandLineMain : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:345)
        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:423)
        at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)
        at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)
        at org.jboss.modules.Module.loadModuleClass(Module.java:548)
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:189)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:398)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:249)
        at org.jboss.modules.Module.run(Module.java:280)
        at org.jboss.modules.Main.main(Main.java:455)
      • ispn-cli --help
        Usage:
        jboss-cli.sh/jboss-cli.bat [--help] [--version] [--controller=host:port]
        [--connect] [--file=file_path]
        [--commands=command_or_operation1,command_or_operation2...]
        [--command=command_or_operation]
        [--user=username --password=password]
        [--no-local-auth]
        [--timeout=timeout]
        --help (-h) - prints (this) basic description of the command line utility.
        --version - prints the version info of the JBoss AS release, JVM and system environment.
        --controller - the default controller host and port to connect to when
        --connect option (described below) is specified or when the connect command is issued w/o the arguments. The default controller host is localhost and the port is 9999.
        --connect (-c) - instructs the CLI to connect to the controller on start-up (to avoid issuing a separate connect command later).
        --gui - GUI built on top of the CLI, the only difference is that it brings up a GUI instead of a command line. In this mode, the CLI will automatically connect during start-up. You can
        optionally specify --controller, if necessary.
        --file - specifies a path to a file which contains commands operations (one per line) that should be executed (in a non-interactive mode). The CLI will terminate the session
        immediately after the last command has been executed or if
        some command or operation failed.
        ... etc

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            vchepeli_jira Vitalii Chepeliuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: