Type: Feature Request
Status: Resolved (View Workflow)
Affects Version/s: None
Fix Version/s: 8.0.0.Alpha1
Security Level: Public (Everyone can see)
Git Pull Request:
Similar Issues:Show 10 results
WFLY-1189 java:properties element in SAR deployments are no longer supported WFLY-776 Inject POJO to MBean by using <inject bean="XXX"> in jboss-service.xml does not work in SAR WFLY-2464 simpler (than OBJECT) parser for STRING parameters and properties WFLY-2040 RBAC + JMX: auditor can't read sensitive non-core MBeans WFLY-3050 '=' character removed from request cookie WFLY-1109 OptionsRoleMappingProvider cannot work on AS7 WFLY-1983 MBeans for unaddressable resources available through JMX WFLY-1589 requiredSecret attribute on the AJP connector WFLY-670 Using "attribute" tag causes injection of null values WFLY-681 Using "depends optional-attribute-name" tag towards a MBean ObjectName does not work
I have a SAR. One of the MBean attributes is a String (actually, for my real use-case the value is a Properties object, but due to JIRA AS7-5336, there are other problems, but let's just go with String attribute type, because the same problem I will describe happens with that type, too)
If the string value is longer than around 3650 characters the beginning of the string is stripped (I can't nail it down to a specific value, but its around that number, give or take 10 characters or so)
For example, if I have this in jboss-service.xml:
This is a really long string.
...[lots of characters here]...
It has more than 3650
characters in it.
What my MBean setter (setMyStrAttrib(String s)) will be passed is something like "aracters in it." The characters at index 0 through ~3650 are missing, I only have the parts after it.
In my real example, the reason why the string is so long is that its a Properties string with lots of name/value pairs. I ended up working around AS7-5336 but then I hit this issue.