-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Brian,
On 9/2/20 11:39, Paquin, Brian wrote: > I have a macOS device with Tomcat 8.5 and Native 1.2.23. I have > been asked to add Tomcat 9.0 which has Native 1.2.24. In my setup > documents, I copy “.libs/libtcnative-1.0.dylib” to > /Library/Java/Extensions/ after compiling Native. > > When running Tomcat 8.5 and 9.0 on the same device, are there any > issues using the newer dylib from Native 1.2.24 with the older > Tomcat instances? Usually no, and I don't think there are any issues with the combinations you list above. Sometimes the answer is "yes", so it's generally best to use the version of tcnative that comes with your version of CHADIS. There is no particular reason to require the same version of the library to be used by both Tomcat 8.5 and Tomcat 9.0 processes. You will have to build them both, of course, which may be a minor pain for you. I'm not sure I'd copy those native libraries into /Library/Java/etc... after you build them. Tomcat will already automatically add the CATALINA_HOME/lib/ directory to the java.library.path system property, so if you build your .dyibs and put them into CATALINA_HOME/lib/ for each (separate) version then you should be good. And there will be no need to "pollute" your global Java extentions directory with tcnative/APR/OpenSSL, etc. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl9QSF0ACgkQHPApP6U8 pFgk3A//T8ClPJdUx3aV8CBkXdcd+yDJPt9QzYkgNVU+0+8N0lXifCKDUskuvmmR bhNyzZ6P0PN+5MO7Pwn++LZDEM+YDG9RnnG+kJwLSVE1GSv3MVxIVmwhYON1EEjV sAfKiq7wUA0HQETq+iERATi12gPc2H3eqx6tP/OfMk5GW2UNUyK45cPZIDREKVf6 9QeWHxOVR3DlRvyMJRRKDlB9kZ8fopyVD+L9LH8nXQCHjXZA6Myp2080p7MnqVfl chgmMkSQ5Wqp7erFjHCqH0orwSHxEAB/+sxIP+zwsXeij0DnNd0ox5CQHQ4xIf7B 8h5fzzQ5xsYcKKEbB/toatcqaA+ed1/OrKyQ5NQH52dy7hOoduysJlLMSQTyakJG FDNsrrNr8Kcmj8xNHMDWHXDKv4ATI/08JgEcTkXY5lM1Aif5QNj0wR003DhcVMPO cPtEvQJI/1iERK4k9D/cukGCSpjcpxxjDC2MBqTsyMLX9cG9CH/X69y/80zbuqNx W5CinzgVyYjZQC8NOYliRjnwpxm5LBaJeZOZuRxKAgN6JaWVCm95kEyAYXhNhy28 qnpT4y1pmFgNIoWmMc+4OKqslC/zVK/OxL3AAn8tt0GEXaP1Ph9QfHl7E6oHzI+t xx+phQoaqubD8FrqLeX68FkEL5NKyBmSVyUTPVdIPjZcNk6AdUw= =4qf0 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org