-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 6/28/18 5:55 AM, Sandels Mark (RTH) OUH wrote:
> In answer to your questions ...
> 
> <<What happens when you click index.jsp. Do you see the source code
> for that JSP? (I'm expecting the answer to be yes.)>>
> 
> The web-page that I was expecting appears - that is the WAR
> application web-page for OracleStatus.
> 
> <<Are you connecting directly to Tomcat or are you using a reverse
> proxy? If yes, show us the proxy configuration.>>
> 
> I am using the Apache http service as a proxy. I have configured
> the Apache httpd.conf file to listen to client requests on port
> 8000.
> 
> How do I configure tomcat to go directory to the index.jsp page?
> 
> Apache http.conf file.........
> 
> [snipped irrelevant details]
> 
> # Load mod_jk module LoadModule jk_module modules/mod_jk.so
> 
> [more snips]
> 
> # Assign the /* .action and /*.jsp requests to Tomcat, and the rest
> of the Apache Http Servers handle them. # Note that the akp13
> behind JkMount corresponds to the name of the worker in the
> worker.list file in the worker.properties file. JKMount /servlet/*
> ajp13
> 
> JkMount /*.jsp ajp13 JkMount /*.do ajp13 <Location /jkstatus> Order
> deny,allow Allow from all </Location>
> 
> Apache workers.properties file ......
> 
> worker.list=worker1,jkstatus
> 
> #Set properties for worker19 (ajp13) worker.worker1.type=ajp13 
> worker.worker1.host=localhost worker.worker1.port=8009 
> worker.worker1.ping_timeout=1000 
> worker.worker1.connect_timeout=10000 
> worker.worker1.prepost_timeout=10000 
> worker.worker1.socket_timeout=10 
> worker.worker1.connection_pool_timeout=60 
> worker.worker1.connection_pool_size=90 worker.worker1.retries=2 
> worker.worker1.reply_timeout=300000
> 
> # status worker worker.jkstatus.type=status

Your worker is called "worker1" and you have used JkMount to mount a
(non-existent) worker called "ajp13".

You should either change your workers.properties file to use the
worker-name you are using in JkMount ("ajp13") or change your JkMount
directives to match the worker you actually defined ("worker1").

Also, if you want /jkstatus to give you mod_jk's status, you'll want
to map that to the "jkstatus" worker.

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAls2lxwACgkQHPApP6U8
pFiVVhAAxUGWmuyiTek7VbPbGQ7jcr0qmax2AQmWfvFzZ+DxBH7Nvz7U4UgD+pLo
0d8Vm+iCf0ch6yTREpP/80sKApBmMYuPuwAJ2nRmZ2pLPl7d4CB+9Ey91X3Psd+U
2UAu7PVISJ3iHt+iTqMHXuq3n1ahjFYUOgdEM2rZA9RGMuQjIL/CdLour0y1mbPH
XJNqBjdorm0uB5d5rKJi0mNlPsZBuD5URIMV6x5hg2gYCPp0dl9C9WVmonHmDJq0
gAFr6mc2Zv0AYesrh5Zht9PMInC3golf4Kv4VZw9ROrRpfBWQRY0oXZKCxuP9672
OOA0Bng28SQ9bDl3RALX79brFmUeUjq9qGz7T9UikrYNFxEftHgomUhC3njifMup
06L77Tp1cKGToZXcNacJHEhxpByptknd30Bs52yH2CIeB2lSclPf0HfGfdLNU33L
rQP2aoGOggonaR7wo50M5Km8RE5A77Obu239BWIaWZ/jxuATO8zBQucRGvpN9P6o
gpzgHxIHHyBRSomsaGSI59jkBV3Q31JZOUQy7uSGcoR059gYXUzv5d6buVZrYEIZ
OIbNnQknU7od+jhGFMB8eBwLWnOxazj8lbpu3YEj7CRGhPLJRnPoJvDEGiKNXaGx
1lEaiS2iopPrTsysw2mBfvWGF4SvzywsnWpAzw/IBlHYLBvwS3c=
=JeQv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to