Bug 918103
| Summary: | Unable to use configuration files from older versions of EAP | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Petr Kremensky <pkremens> | ||||||
| Component: | Logging | Assignee: | James Perkins <jperkins> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.1.0 | CC: | brian.stansberry, jperkins, smcgowan | ||||||
| Target Milestone: | ER3 | ||||||||
| Target Release: | EAP 6.1.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | Type: | Bug | |||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Petr Kremensky
2013-03-05 13:40:42 UTC
Created attachment 705438 [details]
Domain console output
This is due to a mismatch of the class types of the file handler. The logging.properties has a handler called FILE that's a org.jboss.logmanager.handlers.FileHandler. The xxx.xml has a handler called FILE that's a org.jboss.logmanager.handlers.PeriodicRotatingFileHandler. When the operations are processed only the handler name is checked which results in the error as a FileHandler doesn't have the same properties as a PeriodicRotatingFileHandler. There is an upstream fix that has been merged to solve this mismatched type issue that will fix this too. https://github.com/jbossas/jboss-as/commit/2f16ce07fcad89a9047ecd131869034901522ef6 I'll do a PR for EAP too. Verified on EAP 6.1.0 ER3, using configurations from older EAP is now working. |