[JBoss JIRA] (WFLY-10229) org.jboss.as.txn.service.internal.tsr.TransactionSynchronizationRegistryWrapper.getStatus() should use org.wildfly.transaction.client.ContextTransactionManager.getStatus()
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/WFLY-10229?page=com.atlassian.jira.plugin... ]
Tom Jenkinson commented on WFLY-10229:
--------------------------------------
[~smarlow] why is ContextTransactionManager maintaining its own transaction status code - that is the role of the transaction manager to determine the transaction status.
> org.jboss.as.txn.service.internal.tsr.TransactionSynchronizationRegistryWrapper.getStatus() should use org.wildfly.transaction.client.ContextTransactionManager.getStatus()
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10229
> URL: https://issues.jboss.org/browse/WFLY-10229
> Project: WildFly
> Issue Type: Task
> Components: Transactions
> Reporter: Scott Marlow
> Assignee: David Lloyd
> Fix For: 13.0.0.Beta1
>
>
> org.jboss.as.txn.service.internal.tsr.TransactionSynchronizationRegistryWrapper.getStatus() is currently using com.arjuna.ats.jta.TransactionManager, instead it should use org.wildfly.transaction.client.ContextTransactionManager.getStatus().
> I'm seeing a case in Hibernate ORM 5.3, where org.wildfly.transaction.client.ContextTransactionManager.getStatus() returns 4 but TransactionSynchronizationRegistryWrapper.getStatus() returns 1.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (JBNAME-26) NumberFormatException when there is an extra space in jndi.properties for jnp.timeout
by Ondrej Medek (JIRA)
[ https://issues.jboss.org/browse/JBNAME-26?page=com.atlassian.jira.plugin.... ]
Ondrej Medek commented on JBNAME-26:
------------------------------------
I had a similar problem while ago. I've provided a config.properties to my customer/users. To overcome this Java deficiency, I've made a wrapper/helper class trimming extra spaces for all properties.
This bug is 8 years old, I do not use JBoss now. It's just up to you how user-friendly you want to be to your users.
> NumberFormatException when there is an extra space in jndi.properties for jnp.timeout
> -------------------------------------------------------------------------------------
>
> Key: JBNAME-26
> URL: https://issues.jboss.org/browse/JBNAME-26
> Project: JBoss Naming
> Issue Type: Bug
> Components: jnp-client
> Affects Versions: 5.0.1.GA
> Reporter: Ondrej Medek
> Assignee: Radovan Netuka
> Priority: Minor
>
> Hi,
> if there's an extra space after the value of the property "jnp.timeout" or "jnp.sotimeout", then the exception is thrown:
> java.lang.NumberFormatException: For input string: "6000 "
> I had in jndi.properties the line: "jnp.timeout = 6000 "
> (Note one extra space after "6000").
> I think, something like String.trim() should solve this issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10229) org.jboss.as.txn.service.internal.tsr.TransactionSynchronizationRegistryWrapper.getStatus() should use org.wildfly.transaction.client.ContextTransactionManager.getStatus()
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-10229?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-10229:
-------------------------------------
[~tomjenkinson]
{quote}
I don't understand why ContextTransactionManager is reporting it is rolled back if Narayana thinks it is only marked rollback - but perhaps that was explained on the private thread?
{quote}
I don't have a full understanding of why ContextTransactionManager is reporting different values from TransactionManager.getStatus() than the Narayna TransactionSynchronizationRegistry.getStatus() but I suspect it is related to ContextTransactionManager maintaining its own transaction status code.
> org.jboss.as.txn.service.internal.tsr.TransactionSynchronizationRegistryWrapper.getStatus() should use org.wildfly.transaction.client.ContextTransactionManager.getStatus()
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10229
> URL: https://issues.jboss.org/browse/WFLY-10229
> Project: WildFly
> Issue Type: Task
> Components: Transactions
> Reporter: Scott Marlow
> Assignee: David Lloyd
> Fix For: 13.0.0.Beta1
>
>
> org.jboss.as.txn.service.internal.tsr.TransactionSynchronizationRegistryWrapper.getStatus() is currently using com.arjuna.ats.jta.TransactionManager, instead it should use org.wildfly.transaction.client.ContextTransactionManager.getStatus().
> I'm seeing a case in Hibernate ORM 5.3, where org.wildfly.transaction.client.ContextTransactionManager.getStatus() returns 4 but TransactionSynchronizationRegistryWrapper.getStatus() returns 1.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (SWSQE-113) Allocate OpenShift and Jenkins resources for testing Jaeger productized images
by Guilherme Baufaker Rêgo (JIRA)
[ https://issues.jboss.org/browse/SWSQE-113?page=com.atlassian.jira.plugin.... ]
Guilherme Baufaker Rêgo updated SWSQE-113:
------------------------------------------
Sprint: Kiali QE Sprint 4
> Allocate OpenShift and Jenkins resources for testing Jaeger productized images
> ------------------------------------------------------------------------------
>
> Key: SWSQE-113
> URL: https://issues.jboss.org/browse/SWSQE-113
> Project: Kiali QE
> Issue Type: QE Task
> Reporter: Kevin Earls
> Assignee: Guilherme Baufaker Rêgo
>
> I need internal Jenkins and OpenShift resources for https://issues.jboss.org/browse/KIALI-336 which covers testing productized Jaeger images. I have already started working with [~fbrychta] but we have not completely resolved this yet.
> I can work with either of these two options
> -- A project on an OpenShift Cluster where I can create my own Jenkins instance.
> -- An external Jenkins which has an agent defined which can run on OpenShift.
> I'm not completely sure if the second solution will work, as when I run tests I will need to have access to ports that are not externally accessible. In that case I'd be happy to use the first solution.
> Finally, this will just be for smoke and possibly simple functional tests, so I won't need high levels of resources.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (JBNAME-26) NumberFormatException when there is an extra space in jndi.properties for jnp.timeout
by Radovan Netuka (JIRA)
[ https://issues.jboss.org/browse/JBNAME-26?page=com.atlassian.jira.plugin.... ]
Radovan Netuka commented on JBNAME-26:
--------------------------------------
This is how Java properties works. Leading whitespace are trimmed, trailing are not. The property from your example is read with trailing whitespace character as "6000 " and this couldn't be parsed into a number.
Closing this as it is not a bug. If you insist on this feature, you should re-create it as feature request.
> NumberFormatException when there is an extra space in jndi.properties for jnp.timeout
> -------------------------------------------------------------------------------------
>
> Key: JBNAME-26
> URL: https://issues.jboss.org/browse/JBNAME-26
> Project: JBoss Naming
> Issue Type: Bug
> Components: jnp-client
> Affects Versions: 5.0.1.GA
> Reporter: Ondrej Medek
> Assignee: Radovan Netuka
> Priority: Minor
>
> Hi,
> if there's an extra space after the value of the property "jnp.timeout" or "jnp.sotimeout", then the exception is thrown:
> java.lang.NumberFormatException: For input string: "6000 "
> I had in jndi.properties the line: "jnp.timeout = 6000 "
> (Note one extra space after "6000").
> I think, something like String.trim() should solve this issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years