Bug 1391044 - JdbcUpgradeTool fails with "ISPN000242: Missing foreign externalizer with id=1100"
Summary: JdbcUpgradeTool fails with "ISPN000242: Missing foreign externalizer with id=...
Keywords:
Status: MODIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.6.1
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: ---
: 6.6.2
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-02 13:18 UTC by Gustavo Fernandes
Modified: 2022-05-31 22:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2743731 0 None None None 2016-11-02 18:17:33 UTC

Description Gustavo Fernandes 2016-11-02 13:18:03 UTC
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:

Comment 2 Gustavo Fernandes 2016-11-02 13:31:01 UTC
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


Note You need to log in before you can comment on or make changes to this bug.