Tomcat on 443 or 8443
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hari_Om
Posted On:   Wednesday, November 13, 2002 09:39 AM

Hi Experts: My Apache+SSL is working now - thanks to you all. I checked it using https://www.hari.com However, I have a small Application which contains JSP+Servlets which calls Oracle DB via JDBC. This application is working fine when I type http://www.hari.com:8080/hari/index.jsp but when I try HTTPS as https://www.hari.com:8080/hari/index.jsp it does'nt work - ie page does'nt shows up. I know that HTTPS listens to port 443 and my Application(Tomcat+JBoss) listens to port 8080 - so how do I integrate both the ports to work together? Any useful information on above is appreciated. THANKS!    More>>

Hi Experts:


My Apache+SSL is working now - thanks to you all. I checked it using https://www.hari.com




However, I have a small Application which contains JSP+Servlets which calls Oracle DB via JDBC. This application is working fine when I type http://www.hari.com:8080/hari/index.jsp but when I try HTTPS as https://www.hari.com:8080/hari/index.jsp it does'nt work - ie page does'nt shows up.




I know that HTTPS listens to port 443 and my Application(Tomcat+JBoss) listens to port 8080 - so how do I integrate both the ports to work together? Any useful information on above is appreciated.




THANKS!

   <<Less

Re: Tomcat on 443 or 8443

Posted By:   Zac_Jacobson  
Posted On:   Wednesday, November 13, 2002 03:43 PM

You need a connector to link Apache to Tomcat. There are several: mod_jk2 for Apache2 or mod_jk for Apache, and mod_webapp.

mod_webapp is pretty simple, but is missing some of the capabilities of the jk modules. The source for them is available in the same place you got tomcat from, you are looking for "jakarta-tomcat-connectors...".

Tomcat comes with listeners for both those connectors, so you don't have to worry about compiling that part, you only have to compile an Apache module, and then set both Apache and Tomcat up to use it.

After you get the connector working, you have to tell Apache what URLs it needs to forward to Tomcat. Finally, turn off tomcat's HTTP listeners.

I hope that gets you pointed in the right direction.

About | Sitemap | Contact