Bug 900849 (JBPAPP6-1341)
Summary: | EAP6 CLI error when data is over 64k | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | dereed |
Component: | Web Console | Assignee: | Alexey Loubyansky <alex> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.0.0 | CC: | alex, amit.telang, brian.stansberry, dereed, misty |
Target Milestone: | --- | ||
Target Release: | TBD EAP 6 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://jira.jboss.org/jira/browse/JBPAPP6-1341 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Any CLI command which returned a String that was over 65535 characters in length would fail with the following error:
----
Communication error: java.util.concurrent.ExecutionException: Operation failed
----
This was caused by the use of the `java.io.DataOutput.writeUTF()` method in the JBoss DMR library. This method throws a `UTFDataFormatException` if the string being processed is over 65535 characters in length. The JBoss DMR library was been updated to use an alternative technique to correctly process strings over this length. Any CLI command which returns a string over 65535 characters in length now performs as expected.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-15 17:01:34 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: |
Description
dereed
2012-09-04 21:18:05 UTC
Link: Added: This issue depends AS7-5491 Looking for some additional info here to prepare release notes: Is this issue for a specific command or all commands? Thanks, Eamon Any command that returns a String that is over 64k bytes after converted to UTF-8. Release Notes Text: Added: There is a known issue where any command that returns a String converted to UTF-8 that is over 64k is aborted with an error. The root cause of this is only logged at the debug level in server.log. Release Notes Docs Status: Added: Documented as Known Issue This is not exactly a CLI issue. It occurs in org.jboss.dmr.StringModelValue.writeExternal(StringModelValue.java:46). It's a limitation of the DataOutput.writeUTF(String). Thanks Alexey, I will update the release notes accordingly. Release Notes Text: Removed: There is a known issue where any command that returns a String converted to UTF-8 that is over 64k is aborted with an error. The root cause of this is only logged at the debug level in server.log. Added: There is a known issue where any command that returns a String converted to UTF-8 that is over 64k is aborted with an error. The root cause of this is only logged at the debug level in server.log. This issue occurs in org.jboss.dmr.StringModelValue.writeExternal(StringModelValue.java:46). It's a limitation of the DataOutput.writeUTF(String). The issue is currently under investigation. Writer: Added: elogue Release Notes Text: Removed: There is a known issue where any command that returns a String converted to UTF-8 that is over 64k is aborted with an error. The root cause of this is only logged at the debug level in server.log. This issue occurs in org.jboss.dmr.StringModelValue.writeExternal(StringModelValue.java:46). It's a limitation of the DataOutput.writeUTF(String). The issue is currently under investigation. Added: There is a known issue where any command that returns a String converted to UTF-8 that is over 64k is aborted with an error. The root cause of this is only logged at the debug level in `server.log`. This issue occurs in `org.jboss.dmr.StringModelValue.writeExternal(StringModelValue.java:46)` and is a limitation of the `DataOutput.writeUTF(String)` method. The issue is currently under investigation. Release Notes Docs Status: Removed: Documented as Known Issue Writer: Removed: elogue Release Notes Text: Removed: There is a known issue where any command that returns a String converted to UTF-8 that is over 64k is aborted with an error. The root cause of this is only logged at the debug level in `server.log`. This issue occurs in `org.jboss.dmr.StringModelValue.writeExternal(StringModelValue.java:46)` and is a limitation of the `DataOutput.writeUTF(String)` method. The issue is currently under investigation. Docs QE Status: Removed: NEW Verified for 6.1.DR4. Feel free to reopen this issue if needed. Hi Jakub, Verified for 6.1.DR4 means issue is resolved in this version or still the issue exists. I am still facing this issue in JBOSS EAP 6.0 for JSP which is working fine in other servers like Weblogic without issue. So looks like problem is only with JBOSS Server. Thanks, Amit It means that issue is resolved in 6.1.DR4. Thanks Jakub, Can you please let me know its(6.1.DR4) JBOSS AS 7.2? Is it available for download to test my JSP? Thanks, Amit Hi Jakub, Please let me know the link to download this version so that I can test for my application. Thanks, Amit 6.1 is an EAP version currently in development, it's based on AS 7.2 (unfortunately u will have to build it by yourself as it exist only in form of tag in git repository). Hi Jacub, When this version is expected for release? I am not sure about how to buld from the repository. Also by any chance is there any patch available to fix this issue in EAP 6.0. Thanks, Amit I'm afraid that issue tracker is not the right place to ask such question, it would be much more suitable for Customer Portal. Documented as fixed bug in EAP 6.1.0 release notes. |