[jboss-jira] [JBoss JIRA] (AS7-5342) SAR MBean String attributes cannot be longer than about 3650 characters

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Aug 29 09:56:36 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714567#comment-12714567 ] 

RH Bugzilla Integration commented on AS7-5342:
----------------------------------------------

John Mazzitelli <mazz at redhat.com> made a comment on [bug 851268|https://bugzilla.redhat.com/show_bug.cgi?id=851268]

removing all the external bug tracking links - the bugzilla integration to jira is not good:

I will add "see also" links from this BZ to these:

https://issues.jboss.org/browse/AS7-5342
https://issues.jboss.org/browse/AS7-5336
https://issues.jboss.org/browse/AS7-5321
https://issues.jboss.org/browse/AS7-5177
https://issues.jboss.org/browse/AS7-887
https://issues.jboss.org/browse/AS7-3199
                
> SAR MBean String attributes cannot be longer than about 3650 characters
> -----------------------------------------------------------------------
>
>                 Key: AS7-5342
>                 URL: https://issues.jboss.org/browse/AS7-5342
>             Project: Application Server 7
>          Issue Type: Feature Request
>    Affects Versions: 7.1.1.Final
>            Reporter: John Mazzitelli
>              Labels: rhq
>
> 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:
> <attribute name="MyStrAttrib">
> This is a really long string.
> ...[lots of characters here]...
> It has more than 3650
> characters in it.
> </attribute>
> 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.

--
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


More information about the jboss-jira mailing list