[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Failure on XAResourceRecoveryTest
by clebert.suconic@jboss.com
Problem solved!
Our testsuite was setting both ObjectStoreDir and XA_NODE_IDENTIFIER on every test.
This wasn't a problem until we used XidImple directly, as that started a StatusManager before we set XA_NODE_IDENTIFIER, and later the subsequent test would fail on getTransactionStatus:
Because of this scenario, process_id would never be found on _tscTable:
>From jbossts (arjuna):
public int getTransactionStatus(String transactionType, Uid tranUid)
| {
| int status = ActionStatus.INVALID;
|
| // extract process id from uid, use to index into
| // hash table to obtain transaction status connector
| // with which to retrieve the transaction status.
|
| String process_id = get_process_id(tranUid);
|
| if (!_tscTable.containsKey(process_id))
| {
| updateTSMI();
| }
|
| if (_tscTable.containsKey(process_id))
| {
| TransactionStatusConnector tsc = (TransactionStatusConnector) _tscTable.get(process_id);
|
| if (tsc.isDead())
| {
| _tscTable.remove(process_id);
| tsc.delete();
| tsc = null;
| } else
| {
| status = tsc.getTransactionStatus(transactionType, tranUid);
| }
| }
|
|
Worse then finding a bug in an apple, is finding a half one :-)
This one here was like finding a half one to me...
TGIF and this is now solved!
And thanks for your help Mark
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082298#4082298
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082298
18 years, 7 months
[Design of JBoss Build System] - Re: Getting the release process working with javaee
by pgier
"scott.stark(a)jboss.org" wrote : "pgier" wrote : "scott.stark(a)jboss.org" wrote :
| | | 1. Being able to to a mvn release:* to create the canonical maven2 artifacts as well as the jboss repo artifacts. A current issue is how the versioning is handled. You have to have x.y-SNAPSHOT releases of every project, and these are updated to x.(y+1)-SNAPSHOT in trunk (unless overriden). This does not match our versioning conventions of x.y.z.[Alpha|Beta|CR|GA] in that there can be several x.y.z releases with only the qualifier changing. Its a pain to have to override the release and next version for a large project like javaee, and worse for the mc. Can we customize this to better match our conventions?
| | |
| | We don't have many options for customizing the defaults for a release. For example, the release plugin doesn't have any way to know whether the next release after Beta1 should be Beta2 or CR1. For mc I don't think it's an issue because all the modules have the same version, so you just have to type it in once. With javaee since all the sub-projects are at different versions, there isn't any way I can think of to get around just entering the version for each one.
| |
| We need to start working towards such a feature request then. This is a simple plugin enhancement to obtain the next version, and the plugin can request what info it needs to determine if the release is moving from Beta1 to Beta2 vs Beta1 to CR1 or GA.
|
The release plugin already prompts you for the release version, tag, and next version. What is the enhancement that you are looking for?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082294#4082294
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082294
18 years, 7 months
[Design of JBoss Build System] - Re: Getting the release process working with javaee
by scott.stark@jboss.org
"pgier" wrote : "scott.stark(a)jboss.org" wrote :
| | 1. Being able to to a mvn release:* to create the canonical maven2 artifacts as well as the jboss repo artifacts. A current issue is how the versioning is handled. You have to have x.y-SNAPSHOT releases of every project, and these are updated to x.(y+1)-SNAPSHOT in trunk (unless overriden). This does not match our versioning conventions of x.y.z.[Alpha|Beta|CR|GA] in that there can be several x.y.z releases with only the qualifier changing. Its a pain to have to override the release and next version for a large project like javaee, and worse for the mc. Can we customize this to better match our conventions?
| |
| We don't have many options for customizing the defaults for a release. For example, the release plugin doesn't have any way to know whether the next release after Beta1 should be Beta2 or CR1. For mc I don't think it's an issue because all the modules have the same version, so you just have to type it in once. With javaee since all the sub-projects are at different versions, there isn't any way I can think of to get around just entering the version for each one.
|
We need to start working towards such a feature request then. This is a simple plugin enhancement to obtain the next version, and the plugin can request what info it needs to determine if the release is moving from Beta1 to Beta2 vs Beta1 to CR1 or GA.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082289#4082289
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082289
18 years, 7 months