triz-docs/docs/getting-started/environment-setup/02-tomcat-server.md
Othmane Ataallah 7632672d65 intial push
2026-04-28 09:45:44 +01:00

23 lines
1.3 KiB
Markdown

---
sidebar_position: 3
title: "Tomcat Server"
---
# Tomcat Server
---
# Step 4 — Install Apache Tomcat 9
1. Download **Tomcat 9** (zip distribution — do **not** use the Windows installer):
- [Gitea release assets](http://145.239.66.197:3000/othmane/team-resources/releases/tag/apache-tomcat-9.0.117)
- [Apache](https://tomcat.apache.org/download-90.cgi)
2. Extract it to a stable path with no spaces (e.g., `C:\dev\tomcat9`).
3. **Do not add Tomcat to your system PATH.** NetBeans will manage it directly and only needs to know the directory.
> 📝 **Note — Tomcat is not installed as a Windows service in this setup.**
>
> Using the zip distribution means Tomcat is managed entirely by NetBeans during development — it starts and stops automatically when you run or stop your project from the IDE. It does not run in the background, does not appear in `services.msc`, and does not start with Windows. This is intentional for a development environment.
>
> If you ever need to run Tomcat outside of NetBeans (e.g., for a manual deployment or testing), you can start it directly by running `C:\dev\tomcat9\bin\startup.bat` from a terminal, and stop it with `shutdown.bat`. You can also register it as a Windows service separately if needed — ask your team lead.