1 Reply Latest reply on Aug 22, 2015 2:39 PM by wdfink

    Script twiddle.sh

    manti

      I copied scripts on Linux(fedora) with Windows (Jboss 5.1)

      run:

      ./twiddle.sh -uadmin -ppass -s 192.168.12.66 get "jboss.system:type=ServerInfo" FreeMemory |awk '{split($1,a,"="); print a[2]}'

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@59fdef61

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@32b2ee9a, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@787e0ef9, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@b6ea337, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@349319f9, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@7fe4e47f, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@7102beb7, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@504a89f7, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@30c01f1c, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@75b7e189, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@1d272e52, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@12b2bde5, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@28d49111, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@7bff6a5f, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@115607b7, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@4586793e, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@371eaf4e, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@61257dba, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@64617029, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@6caa5123, cause: Could not initialize class org.apache.log4j.LogManager

      Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@474b1500, cause: Could not initialize class org.apache.log4j.LogManager

      105369496 <-- manually start work and is the result.

      But how to remove these errors?

        • 1. Re: Script twiddle.sh
          wdfink

          I don't undestand what you try to do. the twiddle script is available for windows and linux as .bat and .sh

           

          The difference is the CR/LF - ; vs : - / vs \

          So simple copy will not work.