Day 11/100 — Deploy Java Application on Tomcat 🚀☕ Installed Tomcat on an app server, configured it to run on a custom port, transferred a WAR file from the jump host and deployed it as the root application. 🔑 Key Takeaway: Deploying a Java app isn't just about copying a file — the port config, WAR naming, and deployment directory all have to be exactly right. One wrong detail and the app simply won't load. Day 11 ✅ | 89 more to go! #DevOps #Java #Tomcat #KodeKloud #100DaysOfDevOps #LearningInPublic #WebServers
Deploying Java App on Tomcat with Custom Port
More Relevant Posts
-
🧠 Post 2/3 — Tomcat Container vs Docker Container (Big Confusion Cleared) A lot of developers ask: 👉 “Is a Tomcat container the same as a Docker container?” Short answer: ❌ NO — completely different concepts 🔹 What is a Tomcat container? Apache Tomcat is a: 👉 Servlet Container (Web Container) It: Runs Java Servlets Manages request lifecycle Creates HttpServletRequest/Response Handles threading 🔹 What is a Docker container? Docker container is: 👉 OS-level virtualization unit It contains: OS layer JDK/JRE App code Dependencies 🧠 Simple Mental Model Docker → runs your app Tomcat → runs your Java web code inside the app 💡 Real-world You can run: 👉 Tomcat inside Docker 🚀 Takeaway Don’t mix: Application container (Tomcat) Infrastructure container (Docker) They solve different problems. Next post: Fixing common Tomcat + Maven errors (real debugging) #Java #Docker #Tomcat #BackendDevelopment #SystemDesign #SoftwareEngineering #Developers #Programming
To view or add a comment, sign in
-
🚨 Post 1/3 — “Why does Maven say Tomcat 6 when I configured Tomcat 9?” This is a classic confusion that many Java developers face. 👉 You configure Tomcat 9, but the console shows: Tomcat 6.0.29 Looks wrong… but here’s what’s actually happening 👇 🧠 Root Cause You’re likely using an old Maven plugin: org.apache.maven.plugins:maven-tomcat-plugin 👉 This plugin is tied to older versions of Apache Tomcat 👉 It internally uses Tomcat 6 APIs ❗ Important Insight Even if you write: <tomcat.version>9.x</tomcat.version> 👉 The plugin itself may still be: outdated. incompatible. not aligned with modern Tomcat 🔍 Why don’t you find it easily? Because: 👉 It’s deprecated / no longer maintained properly That’s why it’s missing or confusing on Maven Central. ✅ What you should do instead ✔️ Use Spring Boot embedded server ✔️ Or use modern plugins like Cargo 💡 Takeaway 👉 Don’t rely on old Maven Tomcat plugins 👉 Modern Java apps = embedded servers, not external deployments Next post: What exactly is a “container” in Tomcat vs Docker? #Java #SpringBoot #Maven #BackendDevelopment #SoftwareEngineering #Tomcat #Developers #TechDeepDive
To view or add a comment, sign in
-
🚀 Day 86/100 - Spring Boot - Build & Deployment Creating Executable JAR Spring Boot makes deployment super simple by packaging your app as a standalone executable JAR. - No need for external servers like Tomcat - Everything is embedded ➡️ JAR Packaging (Default) In most cases, Spring Boot uses JAR packaging by default: <packaging>jar</packaging> ➡️ Build the Application mvn clean package 🔹Compiles code 🔹Runs tests 🔹Creates a ready-to-run JAR ➡️ Run the Application java -jar target/myapp-0.0.1-SNAPSHOT.jar Your app starts with an embedded server (like Tomcat) Previous post: https://lnkd.in/d-Nshbfx #100Days #SpringBoot #Deployment #Java #Maven #BackendDevelopment #WebDevelopment #SoftwareEngineering
To view or add a comment, sign in
-
Fee Reminder System I’ve built a Fee Reminder System using JSP, Apache Tomcat, and VS Code. This video shows the complete working model — from starting the server to successfully opening and using the application. 🔹 Features: • Admin Login • Add & View Students • Fee Details Management • Email Reminder Option This project helped me understand how web applications run step-by-step using server-side programming. 🎥 Watch the demo video and feel free to share your feedback! #Java #JSP #ApacheTomcat #VSCode #WebDevelopment #StudentProject
To view or add a comment, sign in
-
The LH Server 109,000 lines of Java, not counting the SDK's. Thanks to LLM's (and our amazing test suite), we might be able to remove our Lombok dependency in less than an hour of human work.
To view or add a comment, sign in
-
Update on the #Jenkins / Java saga 🎉 A few days ago I posted about our struggle with Jenkins on legacy platforms — AIX and Solaris frozen on Java 11, while newer Jenkins requires Java 17+. Good news: we managed to get Java 17 installed on both SPARC and x86 #Solaris, and #AIX. Jenkins agents are already running on it. It's a temporary fix, but it buys us time to think through a proper long-term solution. And the best part? I posted about it on #Mastodon — and the community helped us figure it out in under 5 minutes. 🐘 That's open source for you. We're still looking for a long-term solution — as Peter Tribble (who maintains the very OpenJDK builds we're using!) put it, pushing the SPARC OpenJDK port past Java 17 is "somewhere between difficult and impossible." So the search continues. Thank you to everyone who commented and reached out, both here and on Mastodon! #DevOps #OpenSource #Java #NetXMS #AIX #Solaris
To view or add a comment, sign in
-
-
Deployed a WAR file… but it wasn’t accessible until I changed the port. Day 11 of #100DaysOfDevOps ✅ Today’s task was to deploy a Java web application (ROOT.war) on Tomcat and run it on a custom port instead of the default 8080. The deployment itself was straightforward place the WAR file in the webapps directory and Tomcat handles the rest. Key takeaway: Tomcat auto-deploys applications, but correct configuration (like ports) is just as critical to make them accessible and avoid conflicts in real environments. Day 11 complete. 89 to go 🚀 GitHub 👇 https://lnkd.in/dk8Frue7� #DevOps #Linux #Tomcat #Java #ApplicationDeployment #100DaysOfDevOps #LearningInPublic #SRE #DevOpsEngineer
To view or add a comment, sign in
-
Java profiling in Coroot now covers memory allocations and lock contention. It requires no code changes, no JVM flags, and works with any HotSpot JVM: https://lnkd.in/eMDFbwvH Enable it with a single environment variable for flamegraphs and time-series metrics. Learn on our blog how to set it up #opensource on your system, how it works, and how it can help diagnose incidents - with examples from intentionally breaking a few things. #observability #monitoring #kubernetes #tech #opensource #ebpf #linux #freesoftware #jvm #tech #AI #sre #devops #sysadmin
To view or add a comment, sign in
-
-
Junrar (Java), Path Traversal (Zip-Slip), CVE-2026-28208 (Moderate) How CVE-2026-28208 Works The vulnerability exists in the `LocalFolderExtractor` component of Junrar, a Java RAR extraction library. It stems from a logical inconsistency between how path validation and file creation handle the backslash (\) character on Linux/Unix systems, allowing a Zip-Slip style attack. 1. Path Validation Bypass: The `createFile()` method in `LocalFolderExtractor.java` attempts to prevent path traversal by checking that the canonical path of a new file starts with the canonical path of the extraction directory (...
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development