[jboss-jira] [JBoss JIRA] (JBASMP-76) Start goal occasionally end prematurely on standalone server

Daniele Gaffuri (JIRA) issues at jboss.org
Mon Mar 23 13:23:18 EDT 2015


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

Daniele Gaffuri commented on JBASMP-76:
---------------------------------------

It's the first thing I've tried, with no result. Then I've added a debug print in StandaloneServer.checkServerState()
{code}
    isRunning = ServerOperations.isSuccessfulOutcome(result) && !STARTING.equalsIgnoreCase(ServerOperations.readResultAsString(result)) &&
            !STOPPING.equalsIgnoreCase(ServerOperations.readResultAsString(result));
    System.out.println("******************** result is " + ServerOperations.readResultAsString(result));
{code}
and I saw the result returned in lowercase and the start goal returning immediately after the first log
{code}
[INFO] Server is starting up.
Mar 23, 2015 6:14:38 PM org.xnio.Xnio <clinit>
INFO: XNIO Version 3.0.7.GA
Mar 23, 2015 6:14:38 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.0.7.GA
Mar 23, 2015 6:14:38 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.12.GA
.........
18:14:49,793 INFO  [org.hornetq.core.server] (MSC service thread 1-4) HQ221024: Started Netty Acceptor version 3.6.2.Final-c0d783c 127.0.0.1:5445 for CORE protocol
18:14:49,817 INFO  [org.hornetq.core.server] (MSC service thread 1-4) HQ221024: Started Netty Acceptor version 3.6.2.Final-c0d783c 127.0.0.1:5455 for CORE protocol
18:14:49,819 INFO  [org.hornetq.core.server] (MSC service thread 1-4) HQ221009: Server is now live
18:14:49,823 INFO  [org.hornetq.core.server] (MSC service thread 1-4) HQ221003: HornetQ Server version 2.3.0.CR1 (buzzzzz!, 122) [09dc3be1-cfac-11e4-82ac-5dac6ad5d88b]
******************** result is starting
[INFO]
.........
{code}


> Start goal occasionally end prematurely on standalone server
> ------------------------------------------------------------
>
>                 Key: JBASMP-76
>                 URL: https://issues.jboss.org/browse/JBASMP-76
>             Project: JBoss AS Maven Plugins
>          Issue Type: Bug
>    Affects Versions: 7.7.Final
>         Environment: JBoss AS 7.2.0
>            Reporter: Daniele Gaffuri
>            Assignee: James Perkins
>         Attachments: patch.diff
>
>
> When server startup time is over 10 seconds start goal ends prematurely, because test on server-state property checks "starting" and "stopping" states in wrong case (constants are defined in uppercase but are retured in lowercase by client call)



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list