[jboss-jira] [JBoss JIRA] (WFCORE-617) Invalid 'started in' values for embedded CLI server
Brian Stansberry (JIRA)
issues at jboss.org
Tue Jun 9 12:24:02 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13076276#comment-13076276 ]
Brian Stansberry commented on WFCORE-617:
-----------------------------------------
I'm going to fix this by storing a startTime value in HostControllerEnvironment and ServerEnvironment, which will drive this calculation on boot. The embedding app will then be able to set these values when creating the environment objects.
> Invalid 'started in' values for embedded CLI server
> ---------------------------------------------------
>
> Key: WFCORE-617
> URL: https://issues.jboss.org/browse/WFCORE-617
> Project: WildFly Core
> Issue Type: Bug
> Reporter: Petr Kremensky
> Assignee: Brian Stansberry
> Priority: Minor
>
> Embedded CLI server use {{StartTimeHolder.START_TIME;}} as startTime property - used for server 'started in' time calculation.
> {noformat}
> $ ./jboss-cli.sh
> # wait for 5-10s
> [disconnected /] embed-server --std-out=echo
> ... started in 12241ms ...
> [standalone at embedded /] stop-embedded-server
> # wait for 5-10s
> [disconnected /] embed-server --std-out=echo
> ... started in 26388ms ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list