Unable to lookup JNDI name [javax.transaction.TransactionManager]
<p>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.</p>

<blockquote>
  <p>javax.servlet.ServletException: com.vaadin.server.ServiceException: javax.ejb.EJBException: org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [javax.transaction.TransactionManager]</p>
  
  <p>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</p>
</blockquote>

<p>My lookup:</p>

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

<p>What's wrong? Thanks for help!</p>