Bug 1202513
Summary: | watchman jboss plugin fails parsing invalid byte sequence in UTF-8 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.2.0 | CC: | adellape, agrimm, anli, bmeng, dmace, jokerman, libra-bugs, libra-onpremise-devel, mmccomas, pruan |
Target Milestone: | --- | Keywords: | NeedsTestCase |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-node-util-1.34.4.1-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
Watchman's JBoss plug-in would previously fail with an "invalid byte sequence in UTF-8" error if a JBoss log contained ISO-8859-1 bytes which were not valid UTF-8, such as the string "\xe9". This was due to the plug-in opening files in a way that only worked as long as the byte sequences were valid UTF-8. This bug fix updates the plug-in to instead open files in binary mode, which supports regex matching on all encodings. As a result, the plug-in no longer produces these errors.
|
Story Points: | --- |
Clone Of: | 1191681 | Environment: | |
Last Closed: | 2015-04-06 17:06:49 UTC | 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: | |||
Bug Depends On: | 1191681 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2015-03-16 19:06:12 UTC
Verified and pass on puddle-2-2-2015-03-16 1) Create jbossews and jbosseap6 application add utf-8 code & java.lang.OutOfMemoryError/ in jbossews.log and jbosseap.log For example: 2015/03/17 14:11:14,582 INFO é 2015/03/17 14:11:14,582 INFO ¿¿¿¿¿ 2015/03/17 14:11:14,582 INFO java.lang.OutOfMemoryError 2)check /var/log/message. jbosseap and jbossews were restarted and no exception Mar 17 14:05:36 node1 watchman[1447]: Gears: 5, Memory: 41112, Plugin: all, Symbols: 10674, Objects: 182281 Mar 17 14:05:56 node1 watchman[1447]: Gears: 5, Memory: 41112, Plugin: all, Symbols: 10674, Objects: 182281 Mar 17 14:06:37 node1 watchman[1447]: watchman restarted user 5507ac314add71c6dc0000a7: application jbosseap6 (retries: 0) Mar 17 14:06:37 node1 watchman[1447]: Gears: 5, Memory: 41116, Plugin: all, Symbols: 10676, Objects: 182281 Mar 17 14:06:57 node1 watchman[1447]: gear 5507ac314add71c6dc0000a7 (re)started under retry_delay (1/480) Mar 17 14:07:06 node1 watchman[1447]: watchman restarted user 5507c11f4add7185960000b2: application jbossews (retries: 0) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0779.html |