[JBoss JIRA] Created: (JBAS-5082) Add a transaction status interface for the connection manager and implement it in TxConnectionManager
by Adrian Brock (JIRA)
Add a transaction status interface for the connection manager and implement it in TxConnectionManager
------------------------------------------------------------------------------------------------------
Key: JBAS-5082
URL: http://jira.jboss.com/jira/browse/JBAS-5082
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: JCA service
Affects Versions: JBossAS-4.2.2.GA
Reporter: Adrian Brock
Assigned To: Adrian Brock
Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.3.GA
The ConnectionManager needs a transaction status interface
such that resource adapters can check the active status of the transaction assoication.
This should be similar to the TransactionTimeoutConfiguration
where only the TxConnectionManager implements it.
If the transaction is not active then an exception should be thrown.
The resource adapters (jdbc and jms) need to add a check for transation active to their checkState methods).
--
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, 10 months
[JBoss JIRA] Created: (JBVFS-17) NestedJarFromStream serialization contract is incorrect
by Scott M Stark (JIRA)
NestedJarFromStream serialization contract is incorrect
-------------------------------------------------------
Key: JBVFS-17
URL: http://jira.jboss.com/jira/browse/JBVFS-17
Project: JBoss VFS
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Scott M Stark
Assigned To: Scott M Stark
The serialization of the NestedJarFromStream is incorrect. Its using default serialization of these fields:
private transient ZipInputStream zis;
private URL jarURL;
private URL entryURL;
private long lastModified;
private long size;
private AtomicBoolean inited = new AtomicBoolean(false);
The problem is that the inited flag should not be serialized as this implies its parents fields:
private transient List<VirtualFileHandler> entries;
private transient Map<String, VirtualFileHandler> entryMap;
have been initialized. They will not be after deserialization of NestedJarFromStream as it lazily does initialization.
--
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, 10 months