PATCH NAME:
BZ-1118460
PRODUCT NAME:
JBoss Data Virtualization
VERSION:
(DV) 6.0
SHORT DESCRIPTION:
Serialization of long sqlexception/warning next chains can lead to oom
LONG DESCRIPTION:
SQLExceptions can cause Out of Memory Exceptions in serialization.
MANUAL INSTALL INSTRUCTIONS:
Backup and remove the following files:
$DATA_VIRTUALIZATION_HOME/dataVirtualization/jdbc/teiid-8.4.1-redhat-7-jdbc.jar
$DATA_VIRTUALIZATION_HOME/dataVirtualization/teiid-adminshell/lib/teiid-8.4.1-redhat-7-jdbc.jar
Extract files from the .zip, place them in the following locations:
teiid-8.4.2-redhat-1-jdbc.jar to $DATA_VIRTUALIZATION_HOME/dataVirtualization/jdbc
teiid-8.4.2-redhat-1-jdbc.jar to $DATA_VIRTUALIZATION_HOME/dataVirtualization/teiid-adminshell/lib
teiid-client-8.4.2-redhat-1.jar to $DATA_VIRTUALIZATION_HOME/modules/system/layers/dv/org/jboss/teiid/client/main
Finally, edit $DATA_VIRTUALIZATION_HOME/modules/system/layers/dv/org/jboss/teiid/client/main/module.xml so the 'resource-root' tag for teiid-client contains the new jar name (teiid-client-8.4.2-redhat-1.jar).
Instructions to uninstall:
Remove the jdbc .jar at $DATA_VIRTUALIZATION_HOME/dataVirtualization/jdbc, replace with the backup from above.
Remove the jdbc .jar at $DATA_VIRTUALIZATION_HOME/dataVirtualization/teiid-adminshell/lib, replace with the backup from above.
Edit $DATA_VIRTUALIZATION_HOME/modules/system/layers/dv/org/jboss/teiid/client/main/module.xml so the 'resource-root' tag for teiid-client contains the original jar name (teiid-client-8.4.1-redhat-7.jar).
DEPENDENCIES:
JBoss Data Virtualization 6.0 GA
SUPERSEDED BY:
N/A
CREATOR:
Rick Wagner
DATE:
11 July 2014
Description of problem:
The serialization logic for exception chains is not correct and will output exponentially too many instances of chained exceptions, which can lead to out of memory conditions.