Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

timeout #484

Merged
merged 5 commits into from
Mar 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/_documentations/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,35 @@ For Codewind to work with an Appsody stack image on a private Docker registry, t
**Remote scenario**
Follow the instructions in [Adding a container registry in Codewind](che-setupregistries.html).

<!--
Codewind version: 0.9.0
Action/Topic: Appsody with Codewind
Issue type: bug/info
Issue link: https://github.com/eclipse/codewind/issues/2455
-->
## Open Liberty projects do not start within the default timeout

Occasionally, Appsody Open Liberty projects do not start, and you see the following entries in the `appsody.log`:

```
[Container] [INFO] CWWKM2010I: Searching for CWWKF0011I: in /opt/ol/wlp/usr/servers/defaultServer/logs/messages.log. This search will timeout after 120 seconds.
[Container] [INFO] CWWKM2013I: The file /opt/ol/wlp/usr/servers/defaultServer/logs/messages.log being validated does not exist.
...
[Container] [INFO] CWWKM2011E: Timed out searching for CWWKF0011I: in /opt/ol/wlp/usr/servers/defaultServer/logs/messages.log.
...
[Container] [ERROR] Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.2:dev (default-cli) on project starter-app: Unable to verify if the server was started after 120 seconds. Consider increasing the serverStartTimeout value if this continues to occur. -> [Help 1]
```

By default, Open Liberty projects are configured to wait 2 minutes (120 seconds) for the server to start. These messages are an indication that the server did not start within the default timeout period.

**Workaround**

Increase the timeout value in the project's `pom.xml` file. Look for the following element and increase the value:

```
<serverStartTimeout>120</serverStartTimeout>
```

***
# OpenShift Do (odo) with Codewind

Expand Down