Skip to content

Commit

Permalink
Merge pull request #5287 from johnoliver/master
Browse files Browse the repository at this point in the history
Add docs for fixing read only file system deployments
  • Loading branch information
cescoffier authored Nov 13, 2019
2 parents 776b47a + 7db8dea commit 4d11d49
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/src/main/asciidoc/vertx.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,16 @@ Then, create the native executable with:
./mvnw package -Pnative
----

== Read only deployment environments

In environments with read only file systems you may receive errors of the form:

```
java.lang.IllegalStateException: Failed to create cache dir
```

Assuming `/tmp/` is writeable this can be fixed by setting the `vertx.cacheDirBase` property to point to a directory in `/tmp/` for instance in OpenShift by creating an environment variable `JAVA_OPTS` with the value `-Dvertx.cacheDirBase=/tmp/vertx`.

== Going further

There are many other facets of Quarkus using Vert.x underneath:
Expand Down

0 comments on commit 4d11d49

Please sign in to comment.