[jbossts-issues] [JBoss JIRA] (JBTM-3275) Quickstart XTS SSL quickstart may be stuck when container is not started at time

Ondrej Chaloupka (Jira) issues at jboss.org
Thu Apr 9 04:10:00 EDT 2020


     [ https://issues.redhat.com/browse/JBTM-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Chaloupka updated JBTM-3275:
-----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 5.next
       Resolution: Done


> Quickstart XTS SSL quickstart may be stuck when container is not started at time
> --------------------------------------------------------------------------------
>
>                 Key: JBTM-3275
>                 URL: https://issues.redhat.com/browse/JBTM-3275
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: Quickstarts
>    Affects Versions: 5.10.3.Final
>            Reporter: Ondrej Chaloupka
>            Assignee: Ondrej Chaloupka
>            Priority: Minor
>             Fix For: 5.next
>
>
> The quickstart XTS over SSL defines wrongly a way how the timeout to wait on container is done. When timeout happens it has to try to stop the container if it would be still in progress of starting. It's needed to be stopped first.
> https://github.com/jbosstm/quickstart/blob/5.10.4.Final/XTS/ssl/xts-over-ssh.sh#L46
> Otherwise exit is called but the server is hanging around and the job can't be stopped.
> The script may be stuck like
> {code}
> INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
> INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:10090/management
> INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:10090
> INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 20.0.0.Beta1-SNAPSHOT (WildFly Core 11.0.0.Final) started in 18797ms - Started 380 of 646 services (392 services are lazy, passive or on-demand)
>  "result" => "running"
> + RETURN_CODE=0
> ++ date +%s
> + '[' 24 -gt 20 ']'
> + NOT_TIMEOUTED=false
> + '[' 0 -ne 0 ']'
> + false
> + echo 'Timeout 20s exceeded when waiting for container at port 10090'
> + exit 2
> Timeout 20s exceeded when waiting for container at port 10090
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbossts-issues mailing list