[jboss-jira] [JBoss JIRA] (AS7-2094) read-resource-description shows incorrect data types in Thread Pools

Alexey Loubyansky (Commented) (JIRA) jira-events at lists.jboss.org
Fri Oct 14 13:55:16 EDT 2011


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

Alexey Loubyansky commented on AS7-2094:
----------------------------------------

Ok, for thread count properties (in all the pools) I switched to INT https://github.com/aloubyansky/jboss-as/commit/2f5175bcbd54ce5dc17fa4b77e8c55c89f606434

But for keepalive time, we should probably change the XSD.
The hierarchy of types is like this:

xsd:long is derived from xsd:integer by limiting min and max inclusive boundaries. Then xsd:int is derived from xsd:long in the same way.
So, actually, the xsd allows bigger value then Java long.

I haven't sent the pull request yet. I want us to agree on all the issues here.
                
> read-resource-description shows incorrect data types in Thread Pools
> --------------------------------------------------------------------
>
>                 Key: AS7-2094
>                 URL: https://issues.jboss.org/browse/AS7-2094
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Stan Silvert
>            Assignee: Alexey Loubyansky
>            Priority: Minor
>
> If you do :read-resource-description on a bounded-queue-thread-pool you will get several attributes with type of BigDecimal.  From the xsd it looks none of them actually are of that type.  I'm glad for this because the console can't handle BigDecimal right now.  
> Also, keepalive timeout is shown as a Long when it is really an Integer.  
> There are probably more of these as I have not checked throughout the subsystem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list