geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Weber (JIRA) <...@geronimo.apache.org>
Subject [jira] Commented: (DAYTRADER-65) Enable daytrader works with JBoss 5
Date Sat, 03 Oct 2009 07:37:23 GMT

    [ https://issues.apache.org/jira/browse/DAYTRADER-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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.


Mime
View raw message