javax.naming.NameNotFoundException: Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Try removing the server.xml file and adding it again to the project, and do a Clean Build.

,
via Stack Overflow by dereck

Add localDataSource="true" to the realm when using local database.

Solutions on the web

via Atlassian JIRA by Michael, 1 year ago
Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].
via Atlassian JIRA by JB, 1 year ago
Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].
via Atlassian JIRA by JB, 1 year ago
Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].
via Atlassian JIRA by Michael, 1 year ago
Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].
via grokbase.com by Unknown author, 1 year ago
Name [openejb] is not bound in this Context. Unable to find [openejb].
via Stack Overflow by user2124871
, 10 months ago
Name [java:comp/env/jdbc/xxx] is not bound in this Context. Unable to find [java:comp].
javax.naming.NameNotFoundException: Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].
at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
at org.apache.naming.NamingContext.lookup(NamingContext.java:154)

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 6 months ago
Once, 11 months ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.