Skip to content

Helidon data transaction narayana dependency doc #10864

@botsteve

Description

@botsteve

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions