Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): JDG 6.6.x How reproducible: Always Steps to Reproduce: 1) Start JDG 6.1 server with a JdbcStringBasedCacheStore 2) Write some data to a cache 3) Download https://developers.redhat.com/download-manager/file/jboss-datagrid-6.6.0-jdbc-migrator-from-jboss-datagrid-6.1.zip 4) Run the migration tool following instructions on the README. Actual results: Exception thrown: Error: ISPN000242: Missing foreign externalizer with id=1100, either externalizer was not configured by client, or module lifecycle implementation adding externalizer was not loaded properly Expected results: The destination table specified in the configuration file is populated with the migrated data. Additional info:
JDG 6.1 server, in order to write to the cache store, wraps the cache value into a o.i.server.core.CacheValue object that contains the byte[] and a version number for the entry. The externalizer for CacheValue has id 1100. JDG 6.6 does not use CacheValue anymore so when reading something persisted with JDG 6.1 server cannot unmarshall CacheValue objects