[jboss-jira] [JBoss JIRA] (WFLY-5676) Wrong WildFly version when WildFly standalone is started
ehsavoie Hugonnet (JIRA)
issues at jboss.org
Tue Nov 17 11:55:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129719#comment-13129719 ]
ehsavoie Hugonnet commented on WFLY-5676:
-----------------------------------------
To get the version you should use the ProductConfig or the Maangement API.
For example the CLI gives :
[standalone at localhost:9990 /] :read-attribute(name=product-version)
{
"outcome" => "success",
"result" => "10.0.0.CR5-SNAPSHOT"
}
[standalone at localhost:9990 /] :read-attribute(name=product-name)
{
"outcome" => "success",
"result" => "WildFly Full"
}
> Wrong WildFly version when WildFly standalone is started
> --------------------------------------------------------
>
> Key: WFLY-5676
> URL: https://issues.jboss.org/browse/WFLY-5676
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.2.Final
> Reporter: Stefan Lindner
> Assignee: Jason Greene
>
> See also Bug WFLY-2544
> Wildfly 9.2.0 final reports Version 1.0.2 if asked from within Java-application (consulting org.jboss.as.version.Version):
> AS_VERSION = 1.0.2.Final
> AS_RELEASE_CODENAME = Kenny
> Yes, we could test if it's "kenny" and the aha: 1.0.2 is 9.0.2 but this sounds strange
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list