Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6008

Logging transformers do not work

    XMLWordPrintable

Details

    Description

      Trying to debug an issue in logging transformers when an old slave is connected to master's DC I noticed that SubsystemParsing11TestCase contains the transformers test. As mentioned in AS7-6007 this test was disabled and the parser does not work. It makes more sense to parse the latest xml and test transformation there, as I attempted to do in https://github.com/kabir/jboss-as/tree/logging-transformers-for-james. However, there are still some issues with the transformers there which needs to be fixed. The current stumbling block is:

      [~/sourcecontrol/jboss-as7/git/jboss-as]
      $more logging/target/surefire-reports/org.jboss.as.logging.LoggingSubsystemTestCase.txt 
      -------------------------------------------------------------------------------
      Test set: org.jboss.as.logging.LoggingSubsystemTestCase
      -------------------------------------------------------------------------------
      Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.816 sec <<< FAILURE!
      testTransformers_1_1(org.jboss.as.logging.LoggingSubsystemTestCase)  Time elapsed: 0.309 sec  <<< ERROR!
      java.lang.IllegalArgumentException: JBAS014880: No operation entry called 'add' registered at '[
          ("subsystem" => "logging"),
          ("logging-profile" => "test-profile"),
          ("console-handler" => "CONSOLE")
      ]'
              at org.jboss.as.controller.operations.validation.OperationValidator.throwOrWarnAboutDescriptorProblem(OperationValidator.java:552)
              at org.jboss.as.controller.operations.validation.OperationValidator.validateOperation(OperationValidator.java:123)
              at org.jboss.as.controller.operations.validation.OperationValidator.validateOperations(OperationValidator.java:95)
              at org.jboss.as.model.test.ModelTestModelControllerService.boot(ModelTestModelControllerService.java:136)
              at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:217)
              at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:185)
              at java.lang.Thread.run(Thread.java:680)
      

      The above error is when booting up the controller containing the old version

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            kkhan1@redhat.com Kabir Khan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: