[JBoss JIRA] Created: (JBAS-4071) Provide information about non-XA resource participating in multibranch transactions
by Mauricio Seeberger (JIRA)
Provide information about non-XA resource participating in multibranch transactions
-----------------------------------------------------------------------------------
Key: JBAS-4071
URL: http://jira.jboss.com/jira/browse/JBAS-4071
Project: JBoss Application Server
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Other, Transaction Manager
Affects Versions: JBossAS-5.0.0.Beta1, JBossAS-4.0.5.GA
Environment: Linux 2.6.9 RHEL4 on AMD64 and jdk 1.5.0_09-amd64.
Reporter: Mauricio Seeberger
When you have more than one non-XA resource participating in a multibranch transaction, then you have a problem in your code and sooner or later it will result in inconsistent data. But JBoss (TxConnectionManager) just logs just once a generic message:
Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure.
We need more information about the resource and a stack trace for identifying the malicious code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (JGRP-805) Message getHeaders not protected from concurrent modification
by Michal Frajt (JIRA)
Message getHeaders not protected from concurrent modification
-------------------------------------------------------------
Key: JGRP-805
URL: https://jira.jboss.org/jira/browse/JGRP-805
Project: JGroups
Issue Type: Bug
Affects Versions: 2.6.3
Environment: 2.6.3.GA
Reporter: Michal Frajt
Assignee: Bela Ban
We have just downloaded the latest JGroups 2.6.3.GA version for some initial multicast testing. There is no expirience with the API on our side. The initial review of the Message class shows us huge memory requirements of each message instance. The HashMap for headers and the ReentrantReadWriteLock for headers access seems to be a bit to much overhead for messages with the data (buf) lenght of few bytes.
Despite using the heavy RRWLock there is an unprotected read access to the headers map possible. The method getHeaders returns the headers as unmodifiableMap instead of a copy created within the read lock. An iteration over the returned unmodifiableMap might throw ConcurrentModificationException as the same headers map object might be modified using the putHeader method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (EJBTHREE-1425) Injection of a local home fails
by Carlo de Wolf (JIRA)
Injection of a local home fails
-------------------------------
Key: EJBTHREE-1425
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1425
Project: EJB 3.0
Issue Type: Bug
Reporter: Carlo de Wolf
Priority: Blocker
Fix For: AS 5.0.0.CR1
java.lang.RuntimeException: Could not resolve beanClass method from proxy call: public java.lang.String java.lang.Object.toString()
at org.jboss.ejb3.stateful.StatefulContainer.localHomeInvoke(StatefulContainer.java:351)
at org.jboss.ejb3.proxy.handler.stateful.StatefulLocalHomeProxyInvocationHandler.invoke(StatefulLocalHomeProxyInvocationHandler.java:54)
at $Proxy568.toString(Unknown Source)
at java.lang.String.valueOf(String.java:2615)
at java.lang.StringBuilder.append(StringBuilder.java:116)
at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:93)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 12 months