Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-751

Failed to initialize Aesh console while starting CLI on fresh Windows 2k8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.CR6
    • 2.0.0.Alpha4
    • CLI
    • None
    • Hide

      Get a fresh installation of Windows server 2k8, download JDK and set JAVA_HOME.

      • start standalone server
      • C:\wildfly-core-2.0.0.Alpha4\dist\target\wildfly-core-2.0.0.Alpha4\bin>jboss-cli.bat -c
        Failed to initialize Aesh console: Could not load library. Reasons: [no jansi64-1.9 in java.library.path, no jansi-1.9 in java.library.path, 
        no jansi in java.library.path, C:\Users\Administrator\AppData\Local\Temp\jansi-64-1.9.dll: The application has failed to start because its 
        side-by-side configuration is incorrect.  Please see the application event log for more detail]
        Press any key to continue . . .
      Show
      Get a fresh installation of Windows server 2k8, download JDK and set JAVA_HOME. start standalone server C:\wildfly-core-2.0.0.Alpha4\dist\target\wildfly-core-2.0.0.Alpha4\bin>jboss-cli.bat -c Failed to initialize Aesh console: Could not load library. Reasons: [no jansi64-1.9 in java.library.path, no jansi-1.9 in java.library.path, no jansi in java.library.path, C:\Users\Administrator\AppData\Local\Temp\jansi-64-1.9.dll: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail] Press any key to continue . . .
    • Workaround Exists
    • Hide

      Install Microsoft Visual C++ 2008 Redistributable Package solves the issue

      Show
      Install Microsoft Visual C++ 2008 Redistributable Package solves the issue

      Initializing interactive CLI session via jboss-cli.bat script fails during initializing of Aesh console. Non-interactive commands work.

      >jboss-cli.bat -c
      fails
      >jboss-cli.bat -c "echo test"
      works

      Installing Microsoft Visual C++ 2008 Redistributable Package solves the problem

      We encountered a similar issue in the past with EAP installer jar:
      Bug 1190789 - Installer: Installation of EAP with installation script fails on Windows W2k8 servers

              olubyans@redhat.com Alexey Loubyansky
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: