[seam-issues] [JBoss JIRA] (JBSEAM-5047) Transaction lookup fails on Tomcat
Marek Novotny (JIRA)
jira-events at lists.jboss.org
Tue Oct 2 08:54:03 EDT 2012
[ https://issues.jboss.org/browse/JBSEAM-5047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marek Novotny resolved JBSEAM-5047.
-----------------------------------
Assignee: Marek Novotny
Fix Version/s: 2.3.1.CR1
Resolution: Done
replaced by catching of NamingException
> 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
> Assignee: Marek Novotny
> Fix For: 2.3.1.CR1
>
>
> 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
More information about the seam-issues
mailing list