Chapter 5. Fixed issues


This Thorntail release contains the following bug fixes.

5.1. Thorntail applications work with WildFly OpenSSL

In prior releases, when WildFly OpenSSL was enabled, Thorntail applications would fail to boot.

This issue has been fixed in Thorntail 2.7.2. You can enable WildFly OpenSSL to use native OpenSSL libraries for TLS, instead of the Java implementation in the JDK. This improves the TLS performance.

5.2. Thorntail applications work with PostgreSQL JDBC driver version 42.2.15 or later

Description

In prior releases, when the PostgreSQL JDBC driver version 42.2.15 or later was used in a Thorntail application, the application would throw an exception and fail to boot.

This issue has been fixed in Thorntail 2.7.2. You can now use PostgreSQL JDBC driver version 42.2.15 or later with Thorntail applications.

5.3. Eclipse MicroProfile Fault Tolerance: Contexts and Dependency Injection (CDI) available in @Timeout methods

Description

In prior releases, Thorntail used SmallRye Fault Tolerance version 2.x, which was based on Hystrix. This implementation always executed @Timeout methods on a dedicated thread pool, even if they were not @Asynchronous. Due to this, the CDI contexts were not available in the @Timeout methods.

The Thorntail 2.7.0 release uses SmallRye Fault Tolerance 4.x, which is no longer based on Hystrix. It executes @Timeout methods that are not @Asynchronous on the original thread, so CDI contexts are available.

Example

@Inject
private MyService service;

@Timeout
public String doSomething() {
    return "Hello " + service.call();
}

In the example, MyService class is defined as @RequestScoped. The doSomething method uses a contextual instance of MyService. This example did not work in previous releases, because doSomething was invoked on an extra thread. In Thorntail 2.7.0, it works as expected.

5.4. Fixed security issues

For a list of resolved security issues, see Advisories related to this release.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.