Hi David:
An alternate to using mod_JK is to proxy http (or https) request to
the Tomcat from Apache.
i.e:
ProxyPass /path http://localhost:port/path
ProxyPassReverse /path http://localhost/path
There are valid reasons for using mod_JK - above just an alternate
suggestion if you can do without
Hi,
As you test, can you load a servlet through apache httpd? Such as
http://www.xyz.com/testservlet
You should make a simple servlet that just has the doGet method to test.
-Steve O.
System: Solaris SunOS 5.9
Apache: 2.0.52
Tomcat: 4.1.31
Mod JK: 1.2.6
The problem: Apache/mod_jk
It would probably help if the mod_jk howto contained an example showing
how to run the examples through Apache. For example, I have Tomcat 3.2.2
running nicely and get the examples to run using http://servername:8080/
to launch the examples. When I connect Apache to Tomcat, using
Dale [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 12:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache - Tomcat - Servlet Mapping
It would probably help if the mod_jk howto contained an example showing
how to run the examples through Apache. For example, I have Tomcat 3.2.2
running
On Wed, 4 Jul 2001 17:19, you wrote:
ApJServMount/context_path/myServlet
/context_path/servlet/theServlet
So I assume that if you request
http://myserver/context_path/servlet/myServlet it works too? This isn't
the point though - you're right, you shouldn't (and dont) have to do that.
I had the same servlet-mapping problems and the right ApJServMount command
is:
ApJServMount /context_path/myServlet /context_path/myServlet
( You must omit the 'servlet' string from the mount command ! )
In that way Apache knows to redirect /myServlet URL to Tomcat.
You can make it more
Message-
From: Sam Newman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 4:19 AM
To: [EMAIL PROTECTED]
Subject: Re: Apache - Tomcat - Servlet Mapping
Right - firstly, don't use JServ, use mod_jk. The file 'tomcat-apache.conf'
is generating directives for the old jserv module