Тёмный

Apache Tomcat Server Tutorial for Beginners 

Code Java
Подписаться 51 тыс.
Просмотров 152 тыс.
50% 1

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

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 122   
@martinezjosei
@martinezjosei 2 года назад
Very good! Accent was hard but presentation was very comprehensive for a real beginner!
@CodeJava
@CodeJava 2 года назад
Glad you liked it!
@pranavsingh1128
@pranavsingh1128 4 года назад
very good tutorial for quick revision before interview. Please create a playlist/course on java,spring,hibernate interview questions !!
@CodeJava
@CodeJava 4 года назад
Noted. Thanks for your suggestion.
@LLSniper
@LLSniper 3 года назад
Deploying webapps starts right around 20:00
@alaetouba9049
@alaetouba9049 3 года назад
the best tomcat tuto on youtube. Thank you so much sir :)
@CodeJava
@CodeJava 3 года назад
Glad it was helpful!
@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: ru-vid.com/group/PLR2yPNIFMlL8l04a5PM_uVY0yNfSBj8vJ
@HAAAAAA614
@HAAAAAA614 12 дней назад
The video title clearly does not mention anything about installing java. You should know how to install java before watching
@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.
@navjotsingh6930
@navjotsingh6930 4 года назад
I love your channel. Please create a video series for jsf
@CodeJava
@CodeJava 4 года назад
Okay, when time permits.
@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.
@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.
@xJinzoh
@xJinzoh 3 года назад
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 3 года назад
do you also download the sample war file from my website?
@-GIS-NaveenprabuK
@-GIS-NaveenprabuK 2 года назад
Me too
@yujunlin5899
@yujunlin5899 2 года назад
Me too
@weixiangng8279
@weixiangng8279 7 месяцев назад
Is it possible to deploy my war file to production environment?
@CodeJava
@CodeJava 7 месяцев назад
sure. check this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nGQlDcwH0bk.html
@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 :)
@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?
@davidramirez3322
@davidramirez3322 3 года назад
Great! awesome! everythings works fine in my installation.
@CodeJava
@CodeJava 3 года назад
Great to hear!
@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.
@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
@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.
@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
@vickypatekar9532
@vickypatekar9532 3 года назад
Thanks for amazing Explanation 👍
@CodeJava
@CodeJava 3 года назад
Glad it was helpful!
@muralidharav6075
@muralidharav6075 4 года назад
Thanks a lot. I found it very useful.
@CodeJava
@CodeJava 4 года назад
Glad it was helpful!
@jaideepsongare144
@jaideepsongare144 3 года назад
Good Work..!! Very helpful tutorial..
@CodeJava
@CodeJava 3 года назад
Glad it was helpful!
@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)
@kalanrk
@kalanrk 3 года назад
Excellent, thanks.
@CodeJava
@CodeJava 3 года назад
You are welcome!
@praveen4371
@praveen4371 2 года назад
Very helpful tutorial.
@CodeJava
@CodeJava 2 года назад
Glad to hear that!
@polireddy9094
@polireddy9094 2 года назад
Fantastic video. Thank you
@CodeJava
@CodeJava 2 года назад
Glad you enjoyed it!
@victor52872
@victor52872 6 месяцев назад
salamat po Bossing...
@CodeJava
@CodeJava 6 месяцев назад
you're welcome :)
@kawsarahmed5366
@kawsarahmed5366 2 года назад
Great!! Very useful tutorial. Thanks a lot.
@CodeJava
@CodeJava 2 года назад
Glad to hear that. You are welcome.
@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.
@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.
@vimalrajravichandran6247
@vimalrajravichandran6247 3 года назад
how to run a ember app in tomcat please help me out
@CodeJava
@CodeJava 3 года назад
I don't know.
@scienceshorts1234
@scienceshorts1234 Год назад
it's showing i don't have permission in monitor tomcat
@CodeJava
@CodeJava Год назад
run it under administrator right.
@svalyavasvalyava9867
@svalyavasvalyava9867 2 года назад
thank you so much!!!
@CodeJava
@CodeJava 2 года назад
You're welcome!
@mayanksinghchaudhary8303
@mayanksinghchaudhary8303 3 года назад
thanx very helpful and neat explanation
@CodeJava
@CodeJava 3 года назад
Glad it was helpful!
@valerijklimov5877
@valerijklimov5877 8 месяцев назад
Very good!
@CodeJava
@CodeJava 8 месяцев назад
Thank you! Cheers!
@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.
@AIandsuch
@AIandsuch 2 года назад
Awesome video!
@CodeJava
@CodeJava 2 года назад
Glad you enjoyed it
@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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-USFt05_qPIw.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
@chhoemdara2234
@chhoemdara2234 3 года назад
Thank you so much
@CodeJava
@CodeJava 3 года назад
You're most welcome
@OHBuckNow
@OHBuckNow Год назад
Thank you.
@CodeJava
@CodeJava Год назад
Welcome!
@johnfelaifel
@johnfelaifel 3 года назад
Thank you, Thank you, Thank you,
@CodeJava
@CodeJava 3 года назад
You are very welcome. Glad it helped.
@adebayooyeleye6410
@adebayooyeleye6410 3 года назад
It helped
@CodeJava
@CodeJava 3 года назад
Glad to hear that. Kindly come to my channel more often.
@WhiteSiroi
@WhiteSiroi Год назад
thank you
@CodeJava
@CodeJava Год назад
You're welcome
@aces8481
@aces8481 2 года назад
cam on chu
@CodeJava
@CodeJava 2 года назад
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.
@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.
@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!
@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 :)
@faceniff4278
@faceniff4278 2 года назад
you are talking french
@CodeJava
@CodeJava 2 года назад
oh, really?
@SanthoshKumar-qq1ou
@SanthoshKumar-qq1ou 3 года назад
Great tutorial. Thanks.
@CodeJava
@CodeJava 3 года назад
You're welcome!
Далее
Install Apache Tomcat Server (any OS)
13:02
Просмотров 1,8 тыс.
Web Server Concepts and Examples
19:40
Просмотров 252 тыс.
Собираю Маню к осени ✨
00:48
Просмотров 626 тыс.
Hosting Java Apps with Apache Tomcat
27:44
Просмотров 51 тыс.
Basics of Apache Webserver
32:43
Просмотров 167 тыс.
Web Server and Application Server | Explained 🔥🔥
10:33
Spring Framework Tutorial | Full Course
1:30:00
Просмотров 2,2 млн