Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1912

Twiddle launch IOException when info command is used in Log4j service

    XMLWordPrintable

Details

    • Documentation (Ref Guide, User Guide, etc.)

    Description

      Twiddle launch java.io.IOException: unknown protocol: resource
      when info command is used to get the Log4j MBean jboss.system:service=Logging,type=Log4jService

      To fix this problem add this code in the org.jboss.console.twiddle.Twiddle in the main class

      String handlerPkgs = System.getProperty("java.protocol.handler.pkgs");
      if (handlerPkgs != null)

      { handlerPkgs += "|org.jboss.net.protocol"; }

      else

      { handlerPkgs = "org.jboss.net.protocol"; }

      System.setProperty("java.protocol.handler.pkgs", handlerPkgs);

      Attachments

        Issue Links

          Activity

            People

              dandread1@redhat.com Dimitrios Andreadis
              fabcipriano_jira Fabiano C. de Oliveira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h