I've done a lot reading of other posts, but I don't see anything immediately wrong with the my code. I've been trying (chuckle) to get the seam-gen wiki example to work. It's a sample app that uses jBPM. When I publish the ear and go to http://localhost:8080/sample/home.seam, I get the following errors:
15:59:40,018 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIEW(1) afterPhase java.lang.IllegalStateException
15:59:40,018 INFO [SeamExceptionFilter] killing transaction 15:59:40,028 ERROR [ExceptionInterceptor] redirecting to debug page javax.ejb.EJBTransactionRolledbackException: java.lang.IllegalStateException: begin method invoked from a long running conversation, try using @Begin(join=true)
<lifecycle> <phase-listener>org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener</phase-listener> </lifecycle>
<listener> <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> </listener> <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>client</param-value> </context-param> <context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param>
I don't think the seam-gen package on the wiki is working with seam 1.1.0.BETA1. I'm in the process of incorporating seam-gen into the main seam distribution, so we can be sure it is always working with the latest rev of seam.