[Design of JBoss Transaction Services] - Re: TransactionTimeoutConfiguration pluggability
by adrian@jboss.org
"jhalliday" wrote : The tin actually contains no specification to cover this - it only requires that the exception is thrown if the tx is marked for rollback, not if it's actually rolled back or rolling back. Basically the interface spec does not anticipate async rollback processing. I could close the JIRA as 'this is not a bug' until the spi javadoc is revised.
The javadoc was written against the old TM behaviour it obviosuly needs updating.
RolledBack/Committed/Completed/etc. is also an error
(only RollbackOnly was possible with the old TM).
anonymous wrote : Or in light of your comment here, I could throw away the JBossTS implementation of TransactionTimeoutConfiguration and nothing in the AS would break?
Correct, except for people that expect
<set-tx-timeout/>
in the jdbc resource adapter to work like it used to.
Instead no query timeout will be set automatically (not fatal, but it is a regression
of sorts).
P.S. I've got a "feature request" open for JavaEE6 that this method or something
like it gets added to the TransactionSynchronizationRegistry (JTA spec).
* It will mean this behaviour is portable across appservers
* You'd have to implement it anyway ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137799#4137799
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137799
18 years
[Design of JBoss Build System] - Re: Shared Parent POM for dependencyManagement
by pgier
"pgier" wrote : "ALRubinger" wrote : I have committed org.jboss.jbossas:jboss-as-dependency:
| |
| | http://jira.jboss.com/jira/browse/JBAS-5324
| |
| | Looking to avoid being too invasive here. The shared POM is now committed and deployed for review, though I'm holding the commit for org.jboss.jbossas:jboss-as-parent until we can verify that all looks allright. Once Paul gives me the nod, I'll commit that change.
| |
| | The patch up for review is attached to the JIRA, as is the commit of the new project.
| |
| | Paul, let's look over this together.
| |
| | S,
| | ALR
|
| Hey Andrew, I think it's fine to commit this, except for the prerequisites section (maven 2.0.8). I think that should stay in the jbossas parent because it doesn't get inherited. If ejb also requires 2.0.8 you'll have to define it in that parent also.
|
| Also, I must have committed the 2.2-beta-3-SNAPSHOT version of the assembly plugin by mistake. I was working with that locally, but the one in the pom should be 2.2-beta-2.
|
|
One more thing I realized, is that the jbossas intermodule dependencies (deps with groupid "org.jboss.jbossas") will probably have to remain in the as parent, and not in the new super parent. Otherwise we could have a chicken/egg problem when trying to release.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137787#4137787
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137787
18 years
[Design of JBoss Transaction Services] - Re: TransactionTimeoutConfiguration pluggability
by adrian@jboss.org
"jhalliday" wrote : Adrian and the JBossAS team:
|
| I'm fixing http://jira.jboss.com/jira/browse/JBAS-5081 for use in JBossAS 4.2 and will then port across to 5.0
|
| I'm trying to get my head around how to write JBossAS testsuite tests, specifically one that will cover this.
|
| I don't see any way in the AS to get the object that implements TransactionTimeoutConfiguration in a pluggable fashion. The best I can do is assume that the TransactionManager also implements it and cast appropriately. Do we need a TransactionTimeoutConfigurationLocator to live alongside of the TransactionManagerLocator?
|
It is an optional extension interface to the TransactionManager.
It also gets implemented by the JBossJCA TxConnectionManager
by forwarding it to the tm (if it implements it).
anonymous wrote :
| Also, what do I do in the case of a new test like this that I know is going to fail until the next JBossTS release is available for consumption by the AS? Check it in anyhow and accept that the testsuite won't pass for a few weeks?
|
| Thanks
Either leave it failing with a "FIXME JBAS-5081" in the error message that the test produces.
Or if it is stopping a release add it to the "bad.tests.exclude" section.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137777#4137777
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137777
18 years