Unable to lookup JNDI name [javax.transaction.TransactionManager]

Viewed 7885

In my JavaEE application I have got two JAR's (Entities, Interfaces), one EJB (Service) and one WAR (Vaadin) projects. The application server is WildFly (JBoss). After deploying project there is an following error. In GlassFish there is everything fine.

javax.servlet.ServletException: com.vaadin.server.ServiceException: javax.ejb.EJBException: org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [javax.transaction.TransactionManager]

null: javax.naming.NameNotFoundException: project1-ear-1.0.0.0/project1-Services-ejb1.0.0.0/PersonServiceImpl!com.domain.project1.interfaces.PersonService -- service jboss.naming.context.java."project1-ear-1.0.0.0"."project1-Services-ejb1.0.0.0"."PersonServiceImpl!com.domain.project1.interfaces.PersonService

My lookup:

java:global/project1-ear-1.0.0.0/project1-Services-ejb-1.0.0.0/PersonServiceImpl!com.domain.project1.interfaces.PersonService

What's wrong? Thanks for help!

1 Answers
Related