Skip to content

Commit a86ec76

Browse files
committed
Update Java flamegraph Learning Path
1 parent d1f5a4a commit a86ec76

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • content/learning-paths/servers-and-cloud-computing/java-perf-flamegraph

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)