Disculpe pero es q no le entiendo El sáb., 24 de nov. de 2018 8:13 AM, Christopher Schultz < ch...@christopherschultz.net> escribió:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Tim, > > On 11/23/18 12:55, Christopher Schultz wrote: > > Okay, the problem is that I built the EncryptInterceptor without > > realizing that cluster-messaging isn't single-threaded. It's > > completely non-thread-safe and it needs to be. > > > > There is a simple fix that can be applied (synchronize the encrypt > > and decrypt methods) but it'll create a big bottleneck for you. On > > the other hand, it's easy to apply and test and ensure it's working > > in your environment. Are you willing to grab the Tomcat source and > > compile it? If you get the 9.0.13 source and are able to compile > > it, I can give you a 2-line patch that should fix your issue. > > Alternatively, I can give you a patched catalina-tribes.jar that > > you can just drop-in-replace to try out. > > > > I have a more elaborate patch that I'm going to apply soon and it > > should be available in the next release of Tomcat 9. > > I think this should be fixed, now. If you build from trunk, I think > things will work remarkably better for you. Or, just wait until the > next release (a few weeks maybe). If you *can* build from source, it > would be great to get some real-world mileage on this code before the > next release. > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlv5eJ4ACgkQHPApP6U8 > pFgMQw//Z1BND215m27Lja3sHlJjWDEHdS/snEqtZfbED1ps7C0a/1/P867yS004 > XWdcgRlPLEZub0exaav3J84EGPB+7KTaipPvulIap2pyoXDhd9H2UInqtqRZqR+u > RLzDQoXXErFY5usigR2lVUlNyHjFyBybWV4Wrru/J+VuN9+E9iYe9czXYSKmZNX0 > Kig8NlaQcVdcCazQEQ60bPuLxEUoVW+ggZAwsBJ2hCvWjaBH3naTXZEzhOWu+R4J > /tZ+o1echoWQSH5um7nPeFlNU5wla7zKCSg6zpLLFIzolJjR3Yr9LRP6wBw0Herj > ikKs4fURsF+MDP04JLbJO0qHuV+6Ydz4nbln3mQRtLMNlkBP9dNB8pdQ7kTdntxG > k3Olp2805Gb+9aVdkD805g4fk/4eRTafwRRVaSPtVPvXm0544tjUh7AxpWIyL3k4 > /qPAK84AvY1EacRzvr9pnKZcUGiY5WT6Zn7yPYkVX+OUhFwLgowJEnyhdq1Uy1r6 > rm20H4UWHH+hC1Ae+ErXAVJj7n5+7LHq/2BAtL6qDJjBSiGp4iuO8XHv89EwHC1B > pTV2SkwKNtFoLy7iOOIBgSqp6urYVhZnQNKAXvFZotoEgkKm/GdtsKR3IayAgBUe > 7uLltKHvfKKyYh6KL7BhbntBSILIYbWYVohgdsquIuk+94NFgwc= > =293j > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >