Loading...

JSF Tutorial #4 - JavaServer Faces Tutorial (JSF 2.2) - Installing Tomcat for MS Windows

21,320 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Apr 29, 2015

NEED MORE DETAILS? View my Premium JSF Course: http://www.luv2code.com/jsf (limited time discount)

The premium course shows you how to connect to a database using JSF.

---

View more videos on the playlist: JavaServer Faces (JSF) Tutorial: http://goo.gl/nsk1dp

Closed-Captioning and English subtitles available.

----

Follow luv2code:

Website: http://www.luv2code.com
YouTube: http://goo.gl/EV6Kwv
Twitter: http://goo.gl/ALMzLG
Facebook: http://goo.gl/8pDRdA

---

Join my mailing list: Get advance notice on new tutorials. Emails about 1 per week.
- http://www.luv2code.com/joinlist

---

Questions or problems? Post them in the comments section below.

---

Want to suggest a video? Leave a comment below. I'm always looking for new video ideas.

Let me know what video you'd like for me to create.

---

JSF Tutorial Transcript

00:00
Hey welcome back. Let's go ahead and get our hands dirty. In this video I'm going to show you how to install Tomcat on Microsoft Windows.

00:14
All right, so the first thing we need to do is we need to download Tomcat. In my browser I'm going to visit tomcat.apache.org. This will take me to the Tomcat website. Over on the left hand side there’s a download section where we can actually download some of the software. At the time of this recording Tomcat 8 is the most current version. However there may be a new version. Simply download that new version for your operating system.

00:42
All right, I’ll select the link for Tomcat 8. I’m on the Tomcat 8 downloads page now. I’ll move down to the section for binary distributions and I'll choose this 32-bit 64-bit Windows service installer. This is the normal MSI file that will install Tomcat as a Windows service. I’ll go ahead and select this link. Right now my browser will start downloading it to my file system.

01:12
All right, great, so now we have it downloaded. Let's go ahead and open up our Windows Explorer and I’ll move into this Downloads folder. There's the file that was just downloaded, Apache Tomcat 8, so that's the actual installer. Let's go ahead and run this installer just by double clicking it. This will start up the installer. I’ll hit yes. Here I’m at the first step of the wizard. I’ll go ahead and click next, I'll all agree. Then here we choose our components. For the components I like to choose full just so I can get all the examples and the host manager. Again, a nice thing about this Tomcat installer is that installs it as a service, so I’ll make sure that the service thing is enabled or checked there. I'll go ahead and hit next.

01:58
By default Tomcat listens on port 8080. Feel free to change that. I like to keep the defaults. Then you can set up a administrator log in. For now I’ll just say admin admin. Again, you can give any username and password that you want. Then I’ll hit next. I'll accept the default installation here for my JRE. I’m using Java 8. That's fine. I’ll hit next. I'll also accept the default installation directory. You can feel free to change this, but I’ll go ahead and keep the default installation directory for Tomcat and then I'll hit install.

02:33
At this point I’m going to through the process of installing the software. Now it says, "Hey, the software is installed." I'll turn off the option that show the Read Me. I'll hit finish and now it’ll actually start Tomcat as a Windows service.

02:48
All right, great, so Tomcat is started. Let's go ahead and verify our installation. We can verify it by viewing a website localhost:8080. That's where our local Tomcat server is running right now. If everything works out right it should bring up this page that you see here. Let's see Apache Tomcat version 8. Then also they even give you a message, “If you’re seeing this, you've successfully installed Tomcat. Congratulations.” We know that we're okay so Tomcat was installed successfully and Tomcat is up and running. Good job so far.

03:26
Now I want to show you one other thing you can do, is you can actually configure Tomcat. You can just right click on the little Tomcat icon in the bottom right and say right click and hit configure. This will bring up the configuration window for Tomcat. You can change like the display name for the service, you could change the actual description, at the bottom it shows you the status if it’s running or stopped, you can play around some log in stuff, a lot of other things you can play around with. But for right now I’ll just go ahead and keep everything as the defaults and I’ll just hit cancel right now.


[snip] Click the Transcript button...

Loading...

to add this to Watch Later

Add to

Loading playlists...