-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alonso,
A. Alonso Domínguez wrote: > I have tried "java:comp/env/...", "java:/comp/env/...", "java:jpa/..." > and "jpa/..." as values for the "name" attribute of PersistenceContext > annotation. None of that paths worked for me. It seems that Tomcat 6 > ignores the "<persistence-context-ref>" element from web.xml, is this > correct? I don't really know. I haven't been able to find a DTD or schema for web.xml that has the <persistence-context-ref> element listed, so I wouldn't be surprised if it's not supported. FWIW I have no experience with this particular technology, so I'm just stabbing in the dark at JNDI issues you might have. Good luck, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG6WhD9CaO5/Lv0PARAnYFAJ4z3OxbE3NxzqjRhCxIBCYczTxRAwCgl6FF fVaq4XmJMIXrEW9U0/o7NdI= =OPWm -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]