Skip to content

Commit 0232b76

Browse files
Merge pull request #2213 from jasonrandrews/review
Update Java flamegraph Learning Path
2 parents d1f5a4a + a86ec76 commit 0232b76

File tree

1 file changed

+4
-3
lines changed
  • content/learning-paths/servers-and-cloud-computing/java-perf-flamegraph

1 file changed

+4
-3
lines changed

content/learning-paths/servers-and-cloud-computing/java-perf-flamegraph/1_setup.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ Alternatively, you can build Tomcat [from source](https://github.com/apache/tomc
3737

3838
## Enable access to Tomcat examples
3939

40-
To access the built-in examples from your local network or external IP, modify the `context.xml` file:
40+
To access the built-in examples from your local network or external IP, use a text editor to modify the `context.xml` file by updating the `RemoteAddrValve` configuration to allow all IP addresses.
41+
42+
The file is at:
4143

4244
```bash
43-
vi apache-tomcat-11.0.9/webapps/examples/META-INF/context.xml
45+
apache-tomcat-11.0.9/webapps/examples/META-INF/context.xml
4446
```
45-
Update the `RemoteAddrValve` configuration to allow all IPs:
4647

4748
<!-- Before -->
4849
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />

0 commit comments

Comments
 (0)