Got it sorted out.
Based on http://www.jboss.com/index.html?module=bb&op=viewtopic&t=75968
I realized that I never defined the jndi in my persistence.xml.
To work properly one needs the following:
in web.xml
| <!-- this only for use in jboss-seam beta 2-->
| <context-param>
| <param-name>org.jboss.seam.core.init.jndiPattern</param-name>
| <param-value>TrySeam1/#{ejbName}/local</param-value>
| </context-param>
| <context-param>
| <param-name>
| org.jboss.seam.core.init.managedPersistenceContexts
| </param-name>
| <param-value>trySeam1Entity</param-value>
| </context-param>
|
| <context-param>
| <param-name>trySeam1Entity.persistenceUnitJndiName</param-name>
| <param-value>
| java:/EntityManagerFactories/trySeam1EntityF
| </param-value>
| </context-param>
|
and very important in persistence.xml
| <!-- this required for beta2 -->
| <property name="jboss.entity.manager.factory.jndi.name"
| value="java:/EntityManagerFactories/trySeam1EntityF"/>
|
The documentation now clearly describes the requirements as well.
Thanks
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919022#3919022
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919022
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user