[
https://issues.jboss.org/browse/AS7-6008?page=com.atlassian.jira.plugin.s...
]
Kabir Khan updated AS7-6008:
----------------------------
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:
{code}
[~/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)
{code}
The above error is when booting up the controller containing the old version
was:
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:
{code}
[~/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)
{code}
Logging transformers do not work
--------------------------------
Key: AS7-6008
URL:
https://issues.jboss.org/browse/AS7-6008
Project: Application Server 7
Issue Type: Bug
Components: Logging
Reporter: Kabir Khan
Assignee: James Perkins
Fix For: 7.2.0.Alpha1
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:
{code}
[~/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)
{code}
The above error is when booting up the controller containing the old version
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira