[jboss-jira] [JBoss JIRA] Commented: (JBAS-7400) admin console shows incorrect AS Server version

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Oct 27 14:39:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12491747#action_12491747 ] 

Andrew Lee Rubinger commented on JBAS-7400:
-------------------------------------------

@see http://anonsvn.jboss.org/repos/jbossas/projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/AbstractJBossASServerBase.java

You want to take the "version" property from the "server" component, not the server config.

> admin console shows incorrect AS Server version
> -----------------------------------------------
>
>                 Key: JBAS-7400
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7400
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Shelly McGowan
>             Fix For: JBossAS-5.2.0.Beta1
>
>
> The admin-console has a summary screen showing the general information about the AS server and configuration.
> General Properties
> Name: JBoss AS 5 (default)
> Version: 2.0.0-alpha-4
> Description: JBoss Application Server (AS)
> The version information is showing the version of the bootstrap implementation:
> org.jboss.bootstrap.impl.base: 2.0.0-alpha-4
> The way the version information is obtained by EMBJOPR is:
> ManagedComponent serverConfigComponent =
> ManagedComponentUtils.getSingletonManagedComponent(managementView,
>              new ComponentType("MCBean", "ServerConfig"));
> String version = (String)
> ManagedComponentUtils.getSimplePropertyValue(serverConfigComponent,
>              "specificationVersion");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list