Apache Tomcat Server Tutorial for Beginners

  Рет қаралды 151,014

Code Java

Code Java

Күн бұрын

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
@LLSniper
@LLSniper 3 жыл бұрын
Deploying webapps starts right around 20:00
@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.
@martinezjosei
@martinezjosei 2 жыл бұрын
Very good! Accent was hard but presentation was very comprehensive for a real beginner!
@CodeJava
@CodeJava 2 жыл бұрын
Glad you liked it!
@alaetouba9049
@alaetouba9049 3 жыл бұрын
the best tomcat tuto on youtube. Thank you so much sir :)
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@victor52872
@victor52872 5 ай бұрын
salamat po Bossing...
@CodeJava
@CodeJava 5 ай бұрын
you're welcome :)
@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.
@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: kzbin.info/aero/PLR2yPNIFMlL8l04a5PM_uVY0yNfSBj8vJ
@davidramirez3322
@davidramirez3322 3 жыл бұрын
Great! awesome! everythings works fine in my installation.
@CodeJava
@CodeJava 3 жыл бұрын
Great to hear!
@aces8481
@aces8481 2 жыл бұрын
cam on chu
@CodeJava
@CodeJava 2 жыл бұрын
Welcome 😁
@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 Жыл бұрын
Sometimes can’t understand your English. Loud and clear is necessary for representation
@CodeJava
@CodeJava Жыл бұрын
Noted. I will improve in next videos. Thank you!
@weixiangng8279
@weixiangng8279 6 ай бұрын
Is it possible to deploy my war file to production environment?
@CodeJava
@CodeJava 6 ай бұрын
sure. check this video: kzbin.info/www/bejne/pHi0nXeZrK1jmM0
@navjotsingh6930
@navjotsingh6930 4 жыл бұрын
I love your channel. Please create a video series for jsf
@CodeJava
@CodeJava 4 жыл бұрын
Okay, when time permits.
@akashraut2402
@akashraut2402 4 жыл бұрын
Thank you, it is really helpful!!
@CodeJava
@CodeJava 4 жыл бұрын
Glad it was helpful!
@anilabrol5480
@anilabrol5480 3 жыл бұрын
Dirty
@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.
@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?
@scienceshorts1234
@scienceshorts1234 Жыл бұрын
it's showing i don't have permission in monitor tomcat
@CodeJava
@CodeJava Жыл бұрын
run it under administrator right.
@MohanRaj-qe5ge
@MohanRaj-qe5ge 3 жыл бұрын
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 3 жыл бұрын
the WAR file should be exploded (extracted) into webapps on Tomcat, and place the config folder inside the app's directory.
@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 :)
@faceniff4278
@faceniff4278 2 жыл бұрын
you are talking french
@CodeJava
@CodeJava 2 жыл бұрын
oh, really?
@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.
@vauvau1823
@vauvau1823 4 жыл бұрын
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 4 жыл бұрын
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.
@kalanrk
@kalanrk 3 жыл бұрын
Excellent, thanks.
@CodeJava
@CodeJava 3 жыл бұрын
You are welcome!
@adebayooyeleye6410
@adebayooyeleye6410 3 жыл бұрын
It helped
@CodeJava
@CodeJava 3 жыл бұрын
Glad to hear that. Kindly come to my channel more often.
@muralidharav6075
@muralidharav6075 3 жыл бұрын
Thanks a lot. I found it very useful.
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@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.
@vickypatekar9532
@vickypatekar9532 3 жыл бұрын
Thanks for amazing Explanation 👍
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@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 2 жыл бұрын
Me too
@OHBuckNow
@OHBuckNow Жыл бұрын
Thank you.
@CodeJava
@CodeJava Жыл бұрын
Welcome!
@valerijklimov5877
@valerijklimov5877 7 ай бұрын
Very good!
@CodeJava
@CodeJava 7 ай бұрын
Thank you! Cheers!
@WhiteSiroi
@WhiteSiroi 11 ай бұрын
thank you
@CodeJava
@CodeJava 11 ай бұрын
You're welcome
@chhoemdara2234
@chhoemdara2234 3 жыл бұрын
Thank you so much
@CodeJava
@CodeJava 3 жыл бұрын
You're most welcome
@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.
@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 :)
@harwinderkarwal
@harwinderkarwal 3 жыл бұрын
Excellent video but I could not understand the password you put while installation??
@CodeJava
@CodeJava 3 жыл бұрын
it is the password of admin user in Tomcat manager application.
@harwinderkarwal
@harwinderkarwal 3 жыл бұрын
For Tomcat Administrator Login, you have used User Name: admin and but what is Password: ?
@CodeJava
@CodeJava 3 жыл бұрын
@@harwinderkarwal I don't remember exactly, maybe admin and password. It's the credential you set during setup of Tomcat.
@vimalrajravichandran6247
@vimalrajravichandran6247 3 жыл бұрын
how to run a ember app in tomcat please help me out
@CodeJava
@CodeJava 3 жыл бұрын
I don't know.
@jaideepsongare144
@jaideepsongare144 3 жыл бұрын
Good Work..!! Very helpful tutorial..
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@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
@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: kzbin.info/www/bejne/i4SppWNrlNaDf9k
@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
@faisalam8905
@faisalam8905 2 жыл бұрын
Good video..thank you sir
@CodeJava
@CodeJava 2 жыл бұрын
Welcome!
@svalyavasvalyava9867
@svalyavasvalyava9867 2 жыл бұрын
thank you so much!!!
@CodeJava
@CodeJava 2 жыл бұрын
You're welcome!
@polireddy9094
@polireddy9094 2 жыл бұрын
Fantastic video. Thank you
@CodeJava
@CodeJava 2 жыл бұрын
Glad you enjoyed it!
@johnfelaifel
@johnfelaifel 3 жыл бұрын
Thank you, Thank you, Thank you,
@CodeJava
@CodeJava 3 жыл бұрын
You are very welcome. Glad it helped.
@praveen4371
@praveen4371 2 жыл бұрын
Very helpful tutorial.
@CodeJava
@CodeJava 2 жыл бұрын
Glad to hear that!
@kawsarahmed5366
@kawsarahmed5366 2 жыл бұрын
Great!! Very useful tutorial. Thanks a lot.
@CodeJava
@CodeJava 2 жыл бұрын
Glad to hear that. You are welcome.
@AIandsuch
@AIandsuch 2 жыл бұрын
Awesome video!
@CodeJava
@CodeJava 2 жыл бұрын
Glad you enjoyed it
@mayanksinghchaudhary8303
@mayanksinghchaudhary8303 3 жыл бұрын
thanx very helpful and neat explanation
@CodeJava
@CodeJava 3 жыл бұрын
Glad it was helpful!
@SanthoshKumar-qq1ou
@SanthoshKumar-qq1ou 3 жыл бұрын
Great tutorial. Thanks.
@CodeJava
@CodeJava 3 жыл бұрын
You're welcome!
@buddhimangurung7033
@buddhimangurung7033 2 жыл бұрын
Great video. Short and to the point.
@CodeJava
@CodeJava 2 жыл бұрын
Glad you liked it
@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)
@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.
@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.
Install Apache Tomcat Server (any OS)
13:02
Code Java
Рет қаралды 1,8 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 249 М.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 51 МЛН
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 17 МЛН
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 13 МЛН
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 299 М.
Hosting Java Apps with Apache Tomcat
27:44
CBT Nuggets
Рет қаралды 51 М.
Apache Kafka Architecture
11:19
Anton Putra
Рет қаралды 29 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 618 М.
30 Days Of DevOps | Zero To Hero | Apache Tomcat Hands-On | Day-3
35:48
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 51 МЛН