Apache Tomcat Server Tutorial for Beginners

  Рет қаралды 148,628

Code Java

Code Java

4 жыл бұрын

Learn how to use Apache Tomcat server for hosting Java web applications. How to download, install, configure the server and deploy Java web applications into Tomcat. This video tutorial is perfect for beginners who are starting Java web applications deployment using Tomcat server.
What you will learn:
- What Apache Tomcat is about
- Install Apache Tomcat on Windows
- Understand Tomcat’s Key Directories & Files
- Start/Stop a Tomcat instance
- Deploy/Undeploy a Java webapp into Tomcat
- Run examples provided by Tomcat installer

Пікірлер: 120
@alaetouba9049
@alaetouba9049 3 жыл бұрын
the best tomcat tuto on youtube. Thank you so much sir :)
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@martinezjosei
@martinezjosei 2 жыл бұрын
Very good! Accent was hard but presentation was very comprehensive for a real beginner!
@CodeJava
@CodeJava 2 жыл бұрын
Glad you liked it!
@haitham1hanash
@haitham1hanash 4 жыл бұрын
Amazing brother. One of the best and simple explanation that I have ever seen : D
@CodeJava
@CodeJava 4 жыл бұрын
Glad you liked it :)
@pranavsingh1128
@pranavsingh1128 3 жыл бұрын
very good tutorial for quick revision before interview. Please create a playlist/course on java,spring,hibernate interview questions !!
@CodeJava
@CodeJava 3 жыл бұрын
Noted. Thanks for your suggestion.
@muralidharav6075
@muralidharav6075 3 жыл бұрын
Thanks a lot. I found it very useful.
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@akashraut2402
@akashraut2402 4 жыл бұрын
Thank you, it is really helpful!!
@CodeJava
@CodeJava 4 жыл бұрын
Glad it was helpful!
@anilabrol5480
@anilabrol5480 3 жыл бұрын
Dirty
@buddhimangurung7033
@buddhimangurung7033 2 жыл бұрын
Great video. Short and to the point.
@CodeJava
@CodeJava 2 жыл бұрын
Glad you liked it
@kawsarahmed5366
@kawsarahmed5366 2 жыл бұрын
Great!! Very useful tutorial. Thanks a lot.
@CodeJava
@CodeJava 2 жыл бұрын
Glad to hear that. You are welcome.
@davidramirez3322
@davidramirez3322 3 жыл бұрын
Great! awesome! everythings works fine in my installation.
@CodeJava
@CodeJava 3 жыл бұрын
Great to hear!
@vickypatekar9532
@vickypatekar9532 3 жыл бұрын
Thanks for amazing Explanation 👍
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@navjotsingh6930
@navjotsingh6930 4 жыл бұрын
I love your channel. Please create a video series for jsf
@CodeJava
@CodeJava 4 жыл бұрын
Okay, when time permits.
@polireddy9094
@polireddy9094 2 жыл бұрын
Fantastic video. Thank you
@CodeJava
@CodeJava 2 жыл бұрын
Glad you enjoyed it!
@LLSniper
@LLSniper 3 жыл бұрын
Deploying webapps starts right around 20:00
@SanthoshKumar-qq1ou
@SanthoshKumar-qq1ou 2 жыл бұрын
Great tutorial. Thanks.
@CodeJava
@CodeJava 2 жыл бұрын
You're welcome!
@mayanksinghchaudhary8303
@mayanksinghchaudhary8303 3 жыл бұрын
thanx very helpful and neat explanation
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@jaideepsongare144
@jaideepsongare144 2 жыл бұрын
Good Work..!! Very helpful tutorial..
@CodeJava
@CodeJava 2 жыл бұрын
Glad it was helpful!
@kalanrk
@kalanrk 3 жыл бұрын
Excellent, thanks.
@CodeJava
@CodeJava 3 жыл бұрын
You are welcome!
@vauvau1823
@vauvau1823 3 жыл бұрын
Hi NAM, Great video. What if you want to put your deployment project on tomcat in your portfolio so that recruiters can see? is there any other way to host java and spring projects for free? Thank you
@CodeJava
@CodeJava 3 жыл бұрын
That would be great, Vauvau. But Java hosting is not cheap. Try to use the free tier of Amazon Web Services, Google Cloud or OpenShift.
@praveen4371
@praveen4371 2 жыл бұрын
Very helpful tutorial.
@CodeJava
@CodeJava 2 жыл бұрын
Glad to hear that!
@adireddy1564
@adireddy1564 4 жыл бұрын
Please do a series on Jboss also, it will be helpful for new Java developers
@CodeJava
@CodeJava 4 жыл бұрын
I will, when time permits.
@chhoemdara2234
@chhoemdara2234 3 жыл бұрын
Thank you so much
@CodeJava
@CodeJava 3 жыл бұрын
You're most welcome
@Jordan-rv8gl
@Jordan-rv8gl 2 жыл бұрын
Awesome video!
@CodeJava
@CodeJava 2 жыл бұрын
Glad you enjoyed it
@MohanRaj-qe5ge
@MohanRaj-qe5ge 2 жыл бұрын
I'm facing one issue, I have an one spring boot application, I'm build that application as War. My intention is using yaml file from outside of war file. In local, I have an config folder, I placed the application.yaml file to config folder. I run the war file in local, it's working fine, the war gets the application.yaml from config folder. And I move the war and config folder to tomcat server inside webapps. In tomcat server, war file doesn't gets the application.yaml from config folder. Pls correct me if I'm wrong.
@CodeJava
@CodeJava 2 жыл бұрын
the WAR file should be exploded (extracted) into webapps on Tomcat, and place the config folder inside the app's directory.
@faisalam8905
@faisalam8905 2 жыл бұрын
Good video..thank you sir
@CodeJava
@CodeJava 2 жыл бұрын
Welcome!
@mustafaabudayeh6769
@mustafaabudayeh6769 3 жыл бұрын
thank you , very helpful , would you please share power point slides
@CodeJava
@CodeJava 3 жыл бұрын
make friend with me on FB: facebook.com/namjavaprogrammer/ Then I'll share the slides.
@svalyavasvalyava9867
@svalyavasvalyava9867 Жыл бұрын
thank you so much!!!
@CodeJava
@CodeJava Жыл бұрын
You're welcome!
@justindao2198
@justindao2198 3 жыл бұрын
How do you access the java side of the FormHandlingServlet?
@CodeJava
@CodeJava 3 жыл бұрын
that servlet is invoked when the form is submitted.
@anilabrol5480
@anilabrol5480 3 жыл бұрын
Thanks
@weixiangng8279
@weixiangng8279 4 ай бұрын
Is it possible to deploy my war file to production environment?
@CodeJava
@CodeJava 4 ай бұрын
sure. check this video: kzfaq.info/get/bejne/pK2Bn6eU3K6Ukp8.html
@amauritoscano8497
@amauritoscano8497 Жыл бұрын
Hi Nam. Your video assumed you already have Java installed on your system. Maybe add a step explaining that? Thanks
@CodeJava
@CodeJava Жыл бұрын
check out my videos about Installing Java here: kzfaq.info/sun/PLR2yPNIFMlL8l04a5PM_uVY0yNfSBj8vJ
@muhammedasif949
@muhammedasif949 2 жыл бұрын
sir we copy 4 war file in wepapp folder how we can run each file number wise Example files a,b,c,d first run a then b then c then d
@CodeJava
@CodeJava 2 жыл бұрын
no way. each war is an independent web app.
@johnfelaifel
@johnfelaifel 3 жыл бұрын
Thank you, Thank you, Thank you,
@CodeJava
@CodeJava 3 жыл бұрын
You are very welcome. Glad it helped.
@xJinzoh
@xJinzoh 2 жыл бұрын
Hi Code Java! I'm facing an issue. I'm unable to login and getting a status 404 error when I put in my username and password for the LoginForm and DemoForm HTML files. I'm able to get into the localhost server using my username and password but not when entering my credentials through the LoginForm/FormDemo. Any Ideas? Thanks and loving the videos so far.
@CodeJava
@CodeJava 2 жыл бұрын
do you also download the sample war file from my website?
@-GIS-NaveenprabuK
@-GIS-NaveenprabuK 2 жыл бұрын
Me too
@yujunlin5899
@yujunlin5899 Жыл бұрын
Me too
@valerijklimov5877
@valerijklimov5877 5 ай бұрын
Very good!
@CodeJava
@CodeJava 5 ай бұрын
Thank you! Cheers!
@Arif-um3ph
@Arif-um3ph 2 жыл бұрын
can we add custom domain, and make people access our website?
@CodeJava
@CodeJava 2 жыл бұрын
Sure you can. Purchase a domain name. Rent a VPS. Install Tomcat on the server. Configure DNS and your site will be ready.
@vimalrajravichandran6247
@vimalrajravichandran6247 2 жыл бұрын
how to run a ember app in tomcat please help me out
@CodeJava
@CodeJava 2 жыл бұрын
I don't know.
@OHBuckNow
@OHBuckNow Жыл бұрын
Thank you.
@CodeJava
@CodeJava Жыл бұрын
Welcome!
@AdityaSaroj007
@AdityaSaroj007 3 жыл бұрын
The requested resource [/FormHandlingServlet/loginServlet] is not available The requested resource [/FormHandlingServlet/demoServlet] is not available What may be the reason?
@CodeJava
@CodeJava 3 жыл бұрын
either the application name (context path) or the servlet url is not correct
@jayarangarakesh4581
@jayarangarakesh4581 2 жыл бұрын
I also got same problem. Does your problem got solved?
@adebayooyeleye6410
@adebayooyeleye6410 3 жыл бұрын
It helped
@CodeJava
@CodeJava 3 жыл бұрын
Glad to hear that. Kindly come to my channel more often.
@aliciaabella7307
@aliciaabella7307 3 жыл бұрын
I have jdk file but I don't see a file that says jre inside. What should I do
@CodeJava
@CodeJava 3 жыл бұрын
just choose the JDK installation directory and it should pick JRE automatically.
@aliciaabella7307
@aliciaabella7307 3 жыл бұрын
@@CodeJava Now I am having an error that says The project was not built due to "Failed to init ct.sym for".. When I create a java project it automatically has a little red x
@aliciaabella7307
@aliciaabella7307 3 жыл бұрын
@@CodeJava figured it out thank you
@CodeJava
@CodeJava 3 жыл бұрын
@@aliciaabella7307 Great to hear. Could you share what happened?
@aliciaabella7307
@aliciaabella7307 3 жыл бұрын
@@CodeJava Im very new to this so I will try to explain.. I was having a directory/build path problem..After trying what I could, I deleted everything related to java and eclipse (Even in my system environmental variables) . Then I re-downloaded everything and made sure it was jdk 11 instead of the new 15. Previously I downloaded the 15 one (maybe that was the problem)
@victor52872
@victor52872 3 ай бұрын
salamat po Bossing...
@CodeJava
@CodeJava 3 ай бұрын
you're welcome :)
@chongyulius
@chongyulius 3 жыл бұрын
Comprehensible and good flow control, nice job. A little clearer voice/talking would be better though
@CodeJava
@CodeJava 3 жыл бұрын
Noted, and thanks.
@WhiteSiroi
@WhiteSiroi 9 ай бұрын
thank you
@CodeJava
@CodeJava 9 ай бұрын
You're welcome
@scienceshorts1234
@scienceshorts1234 Жыл бұрын
it's showing i don't have permission in monitor tomcat
@CodeJava
@CodeJava Жыл бұрын
run it under administrator right.
@tusharleekha427
@tusharleekha427 3 жыл бұрын
helllo sir please revert back if you are reading this comment i have a problem for my deployed file in manager application sessions is always 0 for that deployed war can you please tell me why this thing happens
@CodeJava
@CodeJava 3 жыл бұрын
I don't understand what you mean. could you explain in another way?
@tusharleekha427
@tusharleekha427 3 жыл бұрын
@@CodeJava i uploaded an angular application on tomcat server and i used tomcat authentication on that now i want to close the session of that angular app after every 30 minutes. Is that possible to close sessions?
@CodeJava
@CodeJava 3 жыл бұрын
@@tusharleekha427 yes, you can set session timeout for the webapp. Follow this video: kzfaq.info/get/bejne/i7l2p5NmxNe0eas.html
@tusharleekha427
@tusharleekha427 3 жыл бұрын
@@CodeJava yaaa but when ever i hit url it doesn't increase count in manager app in session count so technically a thing which is never created will never be destroyed
@harwinderkarwal
@harwinderkarwal 2 жыл бұрын
Excellent video but I could not understand the password you put while installation??
@CodeJava
@CodeJava 2 жыл бұрын
it is the password of admin user in Tomcat manager application.
@harwinderkarwal
@harwinderkarwal 2 жыл бұрын
For Tomcat Administrator Login, you have used User Name: admin and but what is Password: ?
@CodeJava
@CodeJava 2 жыл бұрын
@@harwinderkarwal I don't remember exactly, maybe admin and password. It's the credential you set during setup of Tomcat.
@aces8481
@aces8481 2 жыл бұрын
cam on chu
@CodeJava
@CodeJava 2 жыл бұрын
Welcome 😁
@ganeshg8474
@ganeshg8474 3 жыл бұрын
Thanks for the video.. Could you share me PPT for this if you have.. it will be very helpful
@CodeJava
@CodeJava 3 жыл бұрын
You're welcome. But I don't keep the PPT.
@subhakantaroul
@subhakantaroul 3 жыл бұрын
it's good. but your pc and your voice is too slow.
@CodeJava
@CodeJava 3 жыл бұрын
I see, will improve. Thanks for watching :)
@sandyr3834
@sandyr3834 3 жыл бұрын
Audio is not clear ! Please change your audio
@CodeJava
@CodeJava 3 жыл бұрын
It was fixed for the recent videos. Thanks for watching anyway.
@Noitcereon
@Noitcereon 2 жыл бұрын
I faced an issue, where I could not login, even when I updated config (tomcat-users.xml) file with role and user. The issue was the encoding in the tomcat-users.xml (line 1). I changed it like so: FROM: TO:
@CodeJava
@CodeJava 2 жыл бұрын
thanks for sharing the tip.
@owenzmortgage8273
@owenzmortgage8273 10 ай бұрын
Sometimes can’t understand your English. Loud and clear is necessary for representation
@CodeJava
@CodeJava 10 ай бұрын
Noted. I will improve in next videos. Thank you!
@faceniff4278
@faceniff4278 Жыл бұрын
you are talking french
@CodeJava
@CodeJava Жыл бұрын
oh, really?
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 236 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 268 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 62 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 165 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 8 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 58 МЛН
Install Apache Tomcat Server (any OS)
13:02
Code Java
Рет қаралды 1,7 М.
Basics of Apache Webserver
32:43
Amit Nepal
Рет қаралды 165 М.
30 Days Of DevOps | Zero To Hero | Apache Tomcat Hands-On | Day-3
35:48
What is Apache Tomcat
13:33
Littles Law
Рет қаралды 6 М.
Kubernetes Course - Full Beginners Tutorial (Containerize Your Apps!)
2:58:01
What is Tomcat ??? (Java, Spring)
11:11
Hamza
Рет қаралды 13 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 6 МЛН
Самые крутые школьные гаджеты
0:49
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 3,3 МЛН
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 2 МЛН