[
https://issues.jboss.org/browse/ISPN-1653?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-1653:
----------------------------------------
For this Lucene index use case, why are you enabling store as binary?
{code}<storeAsBinary enabled="true"/>{code}
This, AFAIK, is not needed for this use case and gets around your issue. In fact, that
configuration you're using looks a bit odd with things from 2LC. I dunno if you're
using 2LC, but I'd suggest different configuration files for each use case cos 2LC has
specific requirements indicated by the default configuration file it uses.
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