Hi Experts:

THANK YOU for your reply.

I am using mod_jk.so as a Connector for Apache(1.3.27) and Tomcat.
In httpd.conf, I have added following information (after reading the documentation):

-------------------------------------------------------------------
LoadModule jk_module /opt/freeware/apache/libexec/mod_jk.so
JkWorkersFile /usr/local/apache1326/conf/workers.properties
JkLogFile /jboss/conf/catalina/log

JKMount /examples/servlet/* ajp13
JKMount /examples/*.jsp ajp13
JKMount /uno/* ajp13
-------------------------------------------------------------------

Later, when check LOG files it shows following:
----------------------------------------------------------------------------------------------
Filename: error_log
[Tue Nov 12 16:09:22 2002] [error] Cannot remove module mod_jk.c: not found in module list
[Tue Nov 12 16:09:22 2002] [warn] Loaded DSO /opt/freeware/apache/libexec/mod_jk.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
[Tue Nov 12 16:09:23 2002] [notice] Apache/1.3.27 (Unix) mod_ssl/2.8.11 OpenSSL/0.9.6e configured -- resuming normal operations
[Tue Nov 12 16:09:23 2002] [notice] Accept mutex: pthread (Default: pthread)
----------------------------------------------------------------------------------------------

Later when I try https://www.kithany.com it works but when I try https://www.kithany.com/kithany/register.jsp or even https://www.kithany.com:8443/kithany/register.jsp - it shows Not Found - wonder why. However, in NORMAL mode it works just by http://www.kithany.com:8080/kithany/register.jsp

Any related information is appreciated.

THANKS!


From: Milt Epstein <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
CC: <[EMAIL PROTECTED]>
Subject: Re: Tomcat Application on Port 443 or 8080?
Date: Tue, 12 Nov 2002 15:42:46 -0600 (CST)

On Tue, 12 Nov 2002, Manoj Kithany wrote:

> Hi Experts:
>
> My Apache+SSL is working now - thanks to you all. I checked it using
> https://www.kithany.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.kithany.com:8080/kithany/index.jsp but when I
> try HTTPS as https://www.kithany.com:8080/kithany/index.jsp it
> does'nt work - ie page does'nt shows up.

If you're using the default ports that are set in Tomcat's "out of the
box" server.xml, 8080 is the port Tomcat standalone uses for direct
http communication.  This means that it's not going through Apache,
and it's not for https/SSL communication.  That explains why the first
one works and the second one doesn't.


> 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.

Well, do you want to use Tomcat integrated with Apache, or Tomcat
standalone (or both)?  If you don't want to use Tomcat standalone, I
suggest you disable it's HTTP Connector -- you can do this by
commenting it out in server.xml.

Now, assuming you set up Apache+SSL for a reason, you probably want to
use that for your https communication.  That means the URL you should
use is:

https://www.kithany.com/kithany/index.jsp

This will go through Apache (on port 443, the default for https).  But
for this to work, that is, to get to Tomcat, you have to make sure you
have the proper configuration set up, mostly in terms of the connector
directives in your Apache httpd.conf file.  (You don't say what
connector you're using, perhaps it's mod_jk.)

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to