You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "André Warnier (tomcat/perl)" <aw...@ice-sa.com> on 2020/05/01 00:37:36 UTC

Re: Upgrading from 9.0.20 to 9.0.34 AJP connector issue

On 01.05.2020 00:09, Darryl Philip Baker wrote:
> I am trying to browse to one of the JKmount URLs in this case https://myserver.northwestern.edu/LmsSync/. When I point the symbolic link to the 9.0.20 installation, it works fine. When I point the symbolic link to the 9.0.34 installation, it I get a 404 error.

Ah, here may be a clue : the 404 error page returned by Apache httpd looks significantly 
different from the 404 error page returned by Tomcat (in look). Which one are you getting ?
If you get the Apache httpd version, then the problem is that Apache httpd/mod_jk is not 
even trying to forward the call to Tomcat, and tries to map it locally to the Apache 
document space.
Conversely, if you get the Tomcat version, then it means that the call /is/ forwarded by 
httpd/mod_jk to Tomcat, but that it is tomcat somehow which does not find anything in its 
URL space that matches the forwarded link URL.

> 
> Darryl Baker, GSEC  (he/him/his)
> Sr. System Administrator
> Distributed Application Platform Services
> Northwestern University
> 1800 Sherman Ave.
> Suite 6-600 – Box #39
> Evanston, IL  60201-3715
> darryl.baker@northwestern.edu
> (847) 467-6674
>   
> 
> On 4/30/20, 3:35 PM, "Christopher Schultz" <ch...@christopherschultz.net> wrote:
> 
>      -----BEGIN PGP SIGNED MESSAGE-----
>      Hash: SHA256
> 
>      Darryl,
> 
>      On 4/30/20 07:59, Darryl Philip Baker wrote:
>      > I am trying to upgrade a development environment from 9.0.20 to
>      > 9.0.34 and I am having issues getting the tomcat-connectors-1.2.46
>      > (mod_jk) to work in with the new version.
> 
>      Can you be more specific? What are you trying, and how is it (not)
>      working, specifically?
> 
>      > The Apache HTTPD configuration remains unchanged the paths pass
>      > through a symbolic link I change to switch versions. The
>      > workers.properties file was copied over and is identical. I added
>      > the same definition for the AJP connector into server.xml. I will
>      > place the pieces I modified below.> Server.xml: <!-- Define an AJP
>      > 1.3 Connector on port 8009 --> <Connector port="8009"
>      > protocol="AJP/1.3" redirectPort="443" address="127.0.0.1"
>      > enableLookups="false" tomcatAuthentication="false"
>      > secretRequired="false" maxPostSize="100000" />
>      >
>      > Workers.properties: #define 1st worker using worker1
>      > worker.list=worker1
>      >
>      > #set properties for the worker1 worker worker.worker1.type=ajp13
>      > worker.worker1.host=127.0.0.1 worker.worker1.port=8009
>      > worker.worker1.lbfactor=50 worker.worker1.cachesize=10
>      > worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1
>      > worker.worker1.recycle_timeout=300
> 
>      At first glance, this configuration looks fine to me.
> 
>      - -chris
>      -----BEGIN PGP SIGNATURE-----
>      Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
> 
>      iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6rNncACgkQHPApP6U8
>      pFh5nA//RMgbj+pgTSUqUq7zUaFvzEudyp3kfGDI7As7uvmE2BOwYABPtXjKniRF
>      2r/whNKQDu8VGOAp1JwTamPGpuNSh9pHW8KVqoTkr3Hg47E9fl86zE3a33/Gzq4G
>      Q72SZNmIyZtDvkf7autdSUXUeb1DX4KJcX7O42c7TzYp6APb82u/NUwDLRBD24FK
>      dVkMtkdoUgG19tsjLVNalGRkTgBNHC1ySIFikn0Tsd/28ApxCOtApn5Y85JxkjNh
>      GwoxbFXjTtGDVVq3Yo039xelALdquk9mm5BdA1UyANTcOx1s2VZozlVy1ayPMHNm
>      zPgqWLdhgRipAiLqDrPiE4u1R1PQ9wr/klQragHwY5LTzby8x1V7PAn4RZw0BRrt
>      yPCIAoI+dEnsiMRxfnVuNYHYbqMjTKlEF4M2zBKYuq6bpGKZEw8/IoK86kEAFYR5
>      trVt3o2uJ/qhn/34m4F30ilTXm7DR389ZaZ83nF4dihsst9aNmZuSUCZ6qEHTbNC
>      Tk1v7p+GxMJQwLglr63hfhNTij3zJPbZjQ9NXza7UiLYqqkzStXJX9JeUCjHmKsq
>      V6Ageh0STQm7zjRSsFse0QGP21anIxqmzkD6MmZE85v0Wsbe5gEzHXvGVpb5NdHe
>      ClWrI8H94YGG9XeZePvD2hlMNwCwATqJlev+IKk5WyPE+zI8BkM=
>      =NL+W
>      -----END PGP SIGNATURE-----
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


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