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.
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:
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
The requested resource [/FormHandlingServlet/loginServlet] is not available The requested resource [/FormHandlingServlet/demoServlet] is not available What may be the reason?
@@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
@@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)
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.
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 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 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
Very good! Accent was hard but presentation was very comprehensive for a real beginner!
Glad you liked it!
Deploying webapps starts right around 20:00
the best tomcat tuto on youtube. Thank you so much sir :)
Glad it was helpful!
very good tutorial for quick revision before interview. Please create a playlist/course on java,spring,hibernate interview questions !!
Noted. Thanks for your suggestion.
I love your channel. Please create a video series for jsf
Okay, when time permits.
Amazing brother. One of the best and simple explanation that I have ever seen : D
Glad you liked it :)
Please do a series on Jboss also, it will be helpful for new Java developers
I will, when time permits.
can we add custom domain, and make people access our website?
Sure you can. Purchase a domain name. Rent a VPS. Install Tomcat on the server. Configure DNS and your site will be ready.
Is it possible to deploy my war file to production environment?
sure. check this video: th-cam.com/video/nGQlDcwH0bk/w-d-xo.html
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
no way. each war is an independent web app.
Good Work..!! Very helpful tutorial..
Glad it was helpful!
Hi Nam.
Your video assumed you already have Java installed on your system. Maybe add a step explaining that?
Thanks
check out my videos about Installing Java here: th-cam.com/play/PLR2yPNIFMlL8l04a5PM_uVY0yNfSBj8vJ.html
The video title clearly does not mention anything about installing java. You should know how to install java before watching
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.
the WAR file should be exploded (extracted) into webapps on Tomcat, and place the config folder inside the app's directory.
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:
thanks for sharing the tip.
How do you access the java side of the FormHandlingServlet?
that servlet is invoked when the form is submitted.
Thanks
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
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.
Great video. Short and to the point.
Glad you liked it
The requested resource [/FormHandlingServlet/loginServlet] is not available
The requested resource [/FormHandlingServlet/demoServlet] is not available
What may be the reason?
either the application name (context path) or the servlet url is not correct
I also got same problem. Does your problem got solved?
thank you , very helpful , would you please share power point slides
make friend with me on FB: facebook.com/namjavaprogrammer/
Then I'll share the slides.
Thank you, it is really helpful!!
Glad it was helpful!
Dirty
Great! awesome! everythings works fine in my installation.
Great to hear!
how to run a ember app in tomcat please help me out
I don't know.
Thanks a lot. I found it very useful.
Glad it was helpful!
I have jdk file but I don't see a file that says jre inside. What should I do
just choose the JDK installation directory and it should pick JRE automatically.
@@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
@@CodeJava figured it out thank you
@@aliciaabella7307 Great to hear. Could you share what happened?
@@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)
Good video..thank you sir
Welcome!
Very helpful tutorial.
Glad to hear that!
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.
do you also download the sample war file from my website?
Me too
Me too
thanx very helpful and neat explanation
Glad it was helpful!
Great!! Very useful tutorial. Thanks a lot.
Glad to hear that. You are welcome.
Excellent video but I could not understand the password you put while installation??
it is the password of admin user in Tomcat manager application.
For Tomcat Administrator Login, you have used User Name: admin and but what is Password: ?
@@harwinderkarwal I don't remember exactly, maybe admin and password. It's the credential you set during setup of Tomcat.
it's showing i don't have permission in monitor tomcat
run it under administrator right.
salamat po Bossing...
you're welcome :)
Great tutorial. Thanks.
You're welcome!
Excellent, thanks.
You are welcome!
Comprehensible and good flow control, nice job. A little clearer voice/talking would be better though
Noted, and thanks.
Awesome video!
Glad you enjoyed it
Thanks for amazing Explanation 👍
Glad it was helpful!
thank you so much!!!
You're welcome!
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
I don't understand what you mean. could you explain in another way?
@@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?
@@tusharleekha427 yes, you can set session timeout for the webapp. Follow this video: th-cam.com/video/USFt05_qPIw/w-d-xo.html
@@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
Thank you so much
You're most welcome
Thank you.
Welcome!
Very good!
Thank you! Cheers!
thank you
You're welcome
cam on chu
Welcome 😁
Thank you, Thank you, Thank you,
You are very welcome. Glad it helped.
Audio is not clear ! Please change your audio
It was fixed for the recent videos. Thanks for watching anyway.
It helped
Glad to hear that. Kindly come to my channel more often.
it's good. but your pc and your voice is too slow.
I see, will improve. Thanks for watching :)
Thanks for the video..
Could you share me PPT for this if you have.. it will be very helpful
You're welcome. But I don't keep the PPT.
Sometimes can’t understand your English. Loud and clear is necessary for representation
Noted. I will improve in next videos. Thank you!
you are talking french
oh, really?
Fantastic video. Thank you
Glad you enjoyed it!