Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-288

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.DR12
    • 7.0.0.DR3
    • CLI, Installer
    • None
    • Regression, Blocks Testing
    • Workaround Exists
    • Hide

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

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

      Get a fresh installation of Windows server 2k8 (uninstalling Visual C++ on existing installation should be sufficient to reproduce) , download JDK and set JAVA_HOME.

      • start standalone server
      • C:\jboss-eap-7.0\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 (uninstalling Visual C++ on existing installation should be sufficient to reproduce) , download JDK and set JAVA_HOME. start standalone server C:\jboss-eap-7.0\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 . . .

      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:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: