[jira] Commented: (DAYTRADER-65) Enable daytrader works with JBoss 5
[ https://issues.apache.org/jira/browse/DAYTRADER-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12761822#action_12761822 ] Jürgen Weber commented on DAYTRADER-65: --- Currently 2PC Mode does not run correctly on JBoss 5.1, it does not like conn.setAutoCommit(false); = java.sql.SQLException: You cannot set autocommit during a managed transaction! in org.apache.geronimo.samples.daytrader.direct.TradeDirect.getConn() To make it work change it to if (!getInGlobalTxn()) { conn.setAutoCommit(false); } Enable daytrader works with JBoss 5 --- Key: DAYTRADER-65 URL: https://issues.apache.org/jira/browse/DAYTRADER-65 Project: DayTrader Issue Type: Improvement Components: buildsystem Affects Versions: 2.1.3, 2.2 Reporter: Forrest Xia Assignee: Donald Woods Fix For: 2.1.3, 2.2 Attachments: 65.patch, daytrader-jboss-missingfiles.patch, Jboss5Enablement.DAYTRADER-65.patch, oldjbossconfigfiles.zip Current README.jboss is far out of date. Need a new document about how to enable daytrader work with JBoss 5. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DAYTRADER-65) Enable daytrader works with JBoss 5
[ https://issues.apache.org/jira/browse/DAYTRADER-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12761189#action_12761189 ] Jürgen Weber commented on DAYTRADER-65: --- There is an orphaned jdbc/TradeDataSource resource-ref in http://svn.apache.org/repos/asf/geronimo/daytrader/branches/2.1.3/modules/ejb/src/main/resources/META-INF/jboss.xml which leads to JBoss 5.1 NPEing (see http://www.jboss.org/index.html?module=bbop=viewtopict=155015#4229449) Could you please remove it (and from the JBoss readmes) in trunk and 2.1.3 ? Enable daytrader works with JBoss 5 --- Key: DAYTRADER-65 URL: https://issues.apache.org/jira/browse/DAYTRADER-65 Project: DayTrader Issue Type: Improvement Components: buildsystem Affects Versions: 2.1.3, 2.2 Reporter: Forrest Xia Assignee: Donald Woods Fix For: 2.1.3, 2.2 Attachments: 65.patch, daytrader-jboss-missingfiles.patch, Jboss5Enablement.DAYTRADER-65.patch, oldjbossconfigfiles.zip Current README.jboss is far out of date. Need a new document about how to enable daytrader work with JBoss 5. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DAYTRADER-65) Enable daytrader works with JBoss 5
[ https://issues.apache.org/jira/browse/DAYTRADER-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12681326#action_12681326 ] Donald Woods commented on DAYTRADER-65: --- Applied to daytrader 2.1.3 as Rev752865. Enable daytrader works with JBoss 5 --- Key: DAYTRADER-65 URL: https://issues.apache.org/jira/browse/DAYTRADER-65 Project: DayTrader Issue Type: Improvement Components: buildsystem Reporter: Forrest Xia Assignee: Forrest Xia Attachments: Jboss5Enablement.DAYTRADER-65.patch Current README.jboss is far out of date. Need a new document about how to enable daytrader work with JBoss 5. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.