ive actually found the problem here, as it happened with another seam CRUD generated project on jboss 5 which previously was running fine.
I initially get a problem with looking up entity manager in components.xml
<persistence:managed-persistence-context name="entityManager" auto-create="true" persistence-unit-jndi-name="@puJndiName@"/>
i would amend this to:
<transaction:entity-transaction entity-manager="#{entityManager}"/> <persistence:managed-persistence-context name="entityManager" auto-create="true" persistence-unit-jndi-name="java:/EbusinessHibernateEntityManagerFactory"/>
and remove
<persistence-unit-ref>
element from web.xml.
in my persistence.xml i have set the hibernate property
<property name="jboss.entity.manager.factory.jndi.name" value="java:/EbusinessHibernateEntityManagerFactory"/>
When i deploy on weblogic/jboss i got the browser error on firefox The page isn't redirecting properly
This was working before so i knew it had to be the change to entity manager. So if i remove the line
<transaction:entity-transaction entity-manager="#{entityManager}"/>
it works now!