Within that folder, create a new file and name it index.jsp. ![]() Navigate to C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ and create a new folder. We’re now going to create a super simple Java test app. Run through the installation, selecting all the defaults. I haven’t tested this process using a previous version, but I assume versions 7 and 8 would work similarly. Tomcat 9 works for my purposes, and I recommend using the latest and greatest. The Tomcat binaries can be downloaded from here. Because this is self-explanatory, I’m not going to go into any further detail. I’m using Java 8 Update 171, but have used Update 162 and earlier without any issue. This is important, as Tomcat can’t run without this. At its foundation, it’s just a glorified proxy.įirst, install Java. However, some of you may be tasked with supporting legacy applications, such as I am, and could find this useful.įor those who aren’t familiar, mod_jk is an apache module that “links” Apache with Tomcat, allowing Apache to act as the front end, for Java servlets in Tomcat. In fact, there are better ways, such as using mod_proxy which comes bundled with Apache by default. ![]() To be honest, I find it a little pointless to be writing this in the first place, as there are already so many guides on the internet on setting up Apache with Tomcat using mod_jk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |