[jbossts-issues] [JBoss JIRA] (JBTM-3005) Add a quickstart showing the Tomcat and DBCP2

Michal Karm Babacek (JIRA) issues at jboss.org
Fri Apr 13 03:45:00 EDT 2018


    [ https://issues.jboss.org/browse/JBTM-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13560622#comment-13560622 ] 

Michal Karm Babacek commented on JBTM-3005:
-------------------------------------------

[~ochaloup],
{quote}
 I'm returning to your previous [comment|https://issues.jboss.org/browse/JBTM-3005?focusedCommentId=13558264#comment-13558264] as you say that it's still valid (is that right?)
{quote}
It is valid in a sense that the test doesn't work. The code has evolved since, obviously, hence the updated comment from [yesterday|https://issues.jboss.org/browse/JBTM-3005?focusedCommentId=13560355&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13560355].
{quote}
I seems there is recovery manager not running at all. 
{quote}
It runs fine. I don't know what you mean. Obviously, it is in web.xml as it used to be.
{quote}
Either way I tried the test where I borrowed your context.xml and run it as it is in the tomcat-jta repo
{quote}
It does not. 
 * You have {{import org.apache.commons.dbcp2.}} imports there; you are not using the things from my example, you are not using Tomcat DBCP2+Managed
 * You did not demonstrate a single transaction with DB
 * You did not interrupt a single commit with Byteman
 * You did not demonstrate any recovery

Your comment doesn't make anything clearer unless I missed a link to a test or something.


> Add a quickstart showing the Tomcat and DBCP2
> ---------------------------------------------
>
>                 Key: JBTM-3005
>                 URL: https://issues.jboss.org/browse/JBTM-3005
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>          Components: Demonstrator
>            Reporter: Amos Feng
>            Assignee: Amos Feng
>             Fix For: 5.8.1.Final
>
>
> This quickstart needs to show how to use the DBCP2 in Tomcat to support the XA transaction.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbossts-issues mailing list