1.3 KiB
1.3 KiB
| sidebar_position | title |
|---|---|
| 3 | Tomcat Server |
Tomcat Server
Step 4 — Install Apache Tomcat 9
- Download Tomcat 9 (zip distribution — do not use the Windows installer):
- Extract it to a stable path with no spaces (e.g.,
C:\dev\tomcat9). - 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.batfrom a terminal, and stop it withshutdown.bat. You can also register it as a Windows service separately if needed — ask your team lead.