Christoph Brill created JBSEAM-5047:
---------------------------------------
Summary: Transaction lookup fails on Tomcat
Key: JBSEAM-5047
URL:
https://issues.jboss.org/browse/JBSEAM-5047
Project: Seam 2
Issue Type: Bug
Components: Core
Affects Versions: 2.3.0.Final
Reporter: Christoph Brill
Currently org.jboss.seam.transaction.Transaction#getUserTransaction() catches for a
NameNotFoundException when doing the lookup for "java:comp/UserTransaction".
This fails on Apache Tomcat 7.0.27 because it will throw a generic NamingException.
Please change the code to catch a NamingException instead of NameNotFoundException (which
is a child class of NamingException).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira