Ohyes, you are right. Shit this is a problem. I have hardcoded "java:comp/UserTransaction" into SeamExceptionFilter and into TransactionManagerFactory.
But in fact, "java:comp/UserTransaction" is only truly correct inside the context of a "component" ie. an EJB. Hibernate actually knows this, so Hibernate knows to look for the thing in "UserTransaction" when it is running in a JBoss-like environment. Except in this case, said JBoss-like environment is not really JBoss but actually my hacked-together microcontainer components, with the other value hardcoded. Well, this is actually a bug, since it means Seam transaction-management will actually break in other appservers. So I need a config switch. I'll add it to JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916085#3916085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916085 ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
