I think that jndiPattern is not set correctly in EAR project generated by Seam-gen. For example it is not possible to login because of:
Caused by: javax.naming.NameNotFoundException: myprojectEAR-ejb/AuthenticatorBean -- service jboss.naming.context.java.app.myprojectEAR.myprojectEAR-ejb.AuthenticatorBean
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:129)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)
at javax.naming.InitialContext.lookup(InitialContext.java:409) [rt.jar:1.6.0_22]
at org.jboss.seam.Component.instantiateSessionBean(Component.java:1403) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.Component.instantiate(Component.java:1367) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.Component.newInstance(Component.java:2148) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
... 79 more
The jndiPattern value is set in generated project build.xml where is this: