[
https://issues.jboss.org/browse/ISPN-1653?page=com.atlassian.jira.plugin....
]
Galder Zamarreño updated ISPN-1653:
-----------------------------------
Git Pull Request:
https://github.com/infinispan/infinispan/pull/777 (was:
https://github.com/infinispan/infinispan/pull/777)
Workaround Description:
Current workaround is disabling the persistent loaders for Lucene which means the full
index must be re-created once whole cluster has to be restarted.
Another workaround is to disable store as binary (or lazy deserialization) capabilities.
was:Current workaround is disabling the persistent loaders for Lucene which means the
full index must be re-created once whole cluster has to be restarted.
Workaround: Workaround Exists
CacheLoader with BdbjeCacheStore throws NotSerializableException:
org.infinispan.marshall.MarshalledValue
---------------------------------------------------------------------------------------------------------
Key: ISPN-1653
URL:
https://issues.jboss.org/browse/ISPN-1653
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 5.1.0.CR2
Environment: Jetty 7.5.4, JDK 1.6.0
Reporter: Hüdaverdi Cakir
Assignee: Galder Zamarreño
Labels: Bdbje, Berkeley, Lucene
Fix For: 5.1.0.CR3
Attachments: infinispan-config.xml, infinispan.log
Trying to setup a persistent CacheLoader for distributed Lucene index. Using Berkeley DB
as backend.
During startup following exception is thrown:
Caused by: java.io.NotSerializableException: org.infinispan.marshall.MarshalledValue
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) ~[na:1.6.0_29]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) ~[na:1.6.0_29]
at com.sleepycat.bind.serial.SerialBinding.objectToEntry(SerialBinding.java:179)
~[je-5.0.34.jar:5.0.34]
at com.sleepycat.collections.DataView.useKey(DataView.java:502) ~[je-5.0.34.jar:5.0.34]
at com.sleepycat.collections.DataCursor.getSearchKey(DataCursor.java:551)
~[je-5.0.34.jar:5.0.34]
at com.sleepycat.collections.StoredContainer.getValue(StoredContainer.java:301)
~[je-5.0.34.jar:5.0.34]
at com.sleepycat.collections.StoredMap.get(StoredMap.java:240) ~[je-5.0.34.jar:5.0.34]
at org.infinispan.loaders.bdbje.BdbjeCacheStore.load(BdbjeCacheStore.java:405)
~[infinispan-cachestore-bdbje.jar:5.1.0.CR2]
... 118 common frames omitted
Also tried with replicated mode, fetchPersistentState=false, preload=false... no success.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira