-
Notifications
You must be signed in to change notification settings - Fork 585
Open
Labels
Description
Helidon Version: SE 4.3.2
Documentation URL: https://helidon.io/docs/v4/se/data
Problem Description
The transaction sections doesn't mention that the
<dependency>
<groupId>io.helidon.transaction</groupId>
<artifactId>helidon-transaction-narayana</artifactId>
<scope>runtime</scope>
</dependency>
requires also the
<dependency>
<groupId>io.helidon.service</groupId>
<artifactId>helidon-service-jndi</artifactId>
<scope>runtime</scope>
</dependency>
otherwise the following issue will be shown
[EL Warning]: transaction: 2025-11-27 14:19:24.197--Cannot look up TransactionManager instance:
Exception Description: Error looking up external Transaction resource under JNDI name [java:comp/TransactionManager]
Internal Exception: javax.naming.NoInitialContextException: Cannot instantiate class: io.helidon.service.jndi.NamingFactory [Root exception is java.lang.ClassNotFoundException: io.helidon.service.jndi.NamingFactory]
[EL Warning]: transaction: 2025-11-27 14:19:24.2--Cannot look up TransactionSynchronizationRegistry instance:
Exception Description: Error looking up external Transaction resource under JNDI name [java:comp/TransactionSynchronizationRegistry]
Internal Exception: javax.naming.NoInitialContextException: Cannot instantiate class: io.helidon.service.jndi.NamingFactory [Root exception is java.lang.ClassNotFoundException: io.helidon.service.jndi.NamingFactory]
[EL Info]: 2025-11-27 14:19:24.202--ServerSession(593573025)--EclipseLink, version: Eclipse Persistence Services - 4.0.7.v202506240759-923a428d4722d199eff24e730890e156ce7ea9de
Maybe add this dependency as a transitive dependency of helidon-transaction-narayana