Don't think so.
I have defined in my web.xml the following:
| <context-param>
| <param-name>
| org.jboss.seam.core.init.managedPersistenceContexts
| </param-name>
| <param-value>napEntityManager</param-value>
| </context-param>
|
| <context-param>
| <param-name>
| napEntityManager.persistenceUnitJndiName
| </param-name>
| <param-value>
| java:/EntityManagerFactories/napEntityManagerF
| </param-value>
| </context-param>
In the same web.xml I also have:
| <!-- this only for use in jboss-seam beta 2-->
| <context-param>
| <param-name>org.jboss.seam.core.init.jndiPattern</param-name>
| <param-value>NAP/#{ejbName}/local</param-value>
| </context-param>
|
This is weird, because I actually try and use
| initParams.put(Init.JNDI_PATTERN, "#{ejbName}/local");
in my test class. (I use the same web.xml for test and normal deployment, but
different persistence.xml, datasources etc.)
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919071#3919071
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919071
-------------------------------------------------------
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