Skip to content

Commit 4ee2516

Browse files
committed
increase timeout for Tomcat starting locally
1 parent 0871799 commit 4ee2516

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/java-getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Once dependencies are installed, you can run your app locally.
265265
Start your application locally with the `heroku local` CLI command (make sure you've already run `mvn clean install`):
266266

267267
```term
268-
:::>- background.start("heroku local web", name: "local1", wait: "Tomcat started", timeout: 30)
268+
:::>- background.start("heroku local web", name: "local1", wait: "Tomcat started", timeout: 75)
269269
:::-> | (echo "..."; tail -4)
270270
:::-- background.stop(name: "local1")
271271
```
@@ -335,7 +335,7 @@ Now test your changes locally:
335335
```term
336336
:::>- $ mvn clean install
337337
:::-> | (echo "..."; tail -7)
338-
:::>- background.start("heroku local web", name: "local2", wait: "Tomcat started", timeout: 30)
338+
:::>- background.start("heroku local web", name: "local2", wait: "Tomcat started", timeout: 75)
339339
:::-> | (echo "..."; tail -4)
340340
:::-- background.stop(name: "local2")
341341
```
@@ -426,7 +426,7 @@ The `heroku run` command lets you run maintenance and administrative tasks on yo
426426

427427
```term
428428
:::>- $ heroku run java -version
429-
:::-> | $ tail -4
429+
:::-> | tail -4
430430
```
431431

432432
If you receive an error, `Error connecting to process`, then you might need to [configure your firewall](one-off-dynos#timeout-awaiting-process).

0 commit comments

Comments
 (0)