Application · WebJi® India

Java & Tomcat Hosting India

Quick answer: Tomcat hosting runs your Java web app inside a servlet container, usually Apache Tomcat behind Nginx, on a server where you control the JDK, heap and restarts. WebJi® provides this on VPS plans with root SSH, INR billing and 18% GST; sizing is quoted by email before you pay.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Modern data center corridor in India with rows of server racks under cool blue-white lighting — tomcat hosting india

Tomcat hosting puts your Java application inside a servlet container, normally Apache Tomcat behind Nginx, on a server where you choose the JDK and the heap. WebJi® provides this on VPS plans with root SSH and INR billing at 18% GST; sizing and price are quoted by email before payment.

Tomcat Hosting India — What You Get

The server is yours: install a JDK (8, 11, 17 or 21), unpack Apache Tomcat, run it on port 8080 as a systemd service and put Nginx in front on 443. Root SSH means you choose the version, JVM flags and restart path instead of waiting for a panel vendor.

  • Root SSH on a KVM VPS with a public IPv4 address.
  • Any JDK and Tomcat line Linux supports, including Tomcat 9, 10.1 and 11.
  • Nginx as TLS terminator and reverse proxy, so 8080 stays closed to the internet.
  • systemd unit files for Tomcat and for any Spring Boot jar beside it.
  • INR billing with 18% GST on the invoice.

It is not a shared-hosting add-on. cPanel has no system JDK and no listening service you can restart, so a Tomcat plan here always means a VPS.

Choosing the JDK and Tomcat Version

Pick by namespace before anything else. Tomcat 9 runs javax.servlet, while Tomcat 10.1 and 11 run jakarta.servlet; a WAR built for one will not deploy on the other without a migration step.

Tomcat lineServlet / JSPNamespaceMinimum JavaTypical use
Tomcat 9Servlet 4.0 / JSP 2.3javax.*Java 8Spring Boot 2.x WARs, older servlet apps
Tomcat 10.1Servlet 6.0 / JSP 3.1jakarta.*Java 11Spring Boot 3.x WARs
Tomcat 11Servlet 6.1 / JSP 4.0jakarta.*Java 17New Jakarta EE projects

Version mapping follows the Apache Tomcat project; confirm your framework's minimum before you build.

Deploying a WAR File to Tomcat

Build the WAR, copy it into $CATALINA_BASE/webapps with scp or upload it through the manager app, then restart. The file name sets the context path: shop.war answers at /shop, and ROOT.war answers at the domain root.

Verify from the log, not only the browser: tail catalina.out or run journalctl -u tomcat for the "Server startup" line, then curl -I the context URL. A 404 usually means the context name differs; a 500 points at the application rather than the container.

Keep heap and encoding in setenv.sh so they survive a restart, and remove or password-protect the manager app on a production server.

Running Spring Boot Beside Tomcat

Spring Boot can ship either way. Build a WAR with the provided Tomcat dependency and deploy it like any other app, or run the executable jar under systemd and proxy port 8080 through Nginx, which keeps Tomcat out of the path entirely.

The jar route restarts with systemctl restart app, logs to journalctl, and lets two services share one VPS. Spring Boot 3 needs Java 17 and the jakarta namespace, so pair it with Tomcat 10.1 or run it standalone.

Sizing a Tomcat VPS: Heap, RAM and Apps

Start at 2 GB RAM for one small application, with -Xms and -Xmx set equal at roughly half the memory. A second app or a 2 GB heap moves you to 4 GB, because the OS, Nginx and Metaspace all need room above the heap.

  • 1 GB heap on a 2 GB VPS: a low-traffic internal app.
  • 2 GB heap on a 4 GB VPS: a public app with moderate traffic.
  • 4 GB heap or more: several apps or a large in-memory cache, where a dedicated server starts to make sense.

When a VPS Is the Right Plan for Tomcat

Tomcat needs three things a shared plan cannot give: a system JDK, a port it can listen on, and a service you can restart. That makes a VPS or dedicated server the only real option, managed or unmanaged.

Choose unmanaged when your team already deploys Java; choose a managed Linux VPS when you want the JDK, Tomcat and Nginx kept patched for you. A static site, a PHP app or a WordPress blog should not pay for a JVM it never starts.

Why WebJi® for Tomcat Hosting India

  • Hosting applications since 2005, with 12,000+ clients served from Jaipur.
  • VPS plans with root SSH, so the JDK and Tomcat line are your choice.
  • INR billing with 18% GST shown separately on every invoice.
  • 24/7 email support in Hindi and English, average first reply under 60 minutes.
  • Free migration subject to terms and approval, with the old server kept live until DNS moves.

Frequently Asked Questions

Which JDK and Tomcat version should I run?

Match the namespace first. Spring Boot 2.x and older javax code need Tomcat 9 on JDK 8 or 11; Spring Boot 3.x needs jakarta, so Tomcat 10.1 on JDK 17. Tomcat 11 also requires JDK 17.

How do I deploy a WAR file to Tomcat?

Copy the WAR into the webapps directory over scp or the manager app, then restart Tomcat. The file name becomes the context path, so app.war answers at /app; check catalina.out for the startup line before you point DNS at it.

Can I run a Spring Boot application on this hosting?

Yes. Deploy it as a WAR to Tomcat, or run the executable jar under systemd with java -jar and proxy port 8080 through Nginx. The jar route restarts with systemctl and keeps Tomcat out of the request path.

How much RAM does a Tomcat VPS need?

Two GB for one small app, with the heap set to about half the RAM; four GB once you add a second app or a larger heap. The OS, Nginx and Metaspace sit above the heap, so do not allocate all memory to -Xmx.

Can Tomcat run on shared cPanel hosting?

No. Tomcat needs a system JDK, a listening port and a restartable service, none of which a shared cPanel account provides. Use a VPS with root SSH.

How do I restart Tomcat and confirm it started?

Run systemctl restart tomcat, then tail catalina.out or journalctl -u tomcat for the startup line. A curl -I on the domain confirms the connector answers; a connection refused means the service or the proxy is down.

Does Tomcat need Nginx in front of it?

Not strictly, but it is the usual layout: Nginx terminates TLS on 443, serves static files and proxies to Tomcat on 8080. That keeps 8080 closed and lets several apps share one VPS.

How much does Tomcat hosting in India cost?

A Tomcat VPS is quoted in INR by email before payment, with 18% GST added on the invoice. Send the JDK version, heap size and number of apps so the desk can size it; list prices are on the pricing page.

Ready to get started with WebJi®?

Join 12,000+ businesses across India and overseas. Free migration* (subject to terms & approval), INR pricing and 24/7 email support in Hindi & English — average first reply under 60 minutes.