Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-3042

Clustering issue: ClassNotFoundException when creating new page

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.6.0.Beta02
    • Fix Version/s: 3.6.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      • Setup 2-nodes cluster
      • Login as root on node1 and create page via GateIn UI
      • This error occurs in server.log:
      17:35:12,415 ERROR [exo.jcr.component.core.JBossCacheIndexChangesFilter] (http-www.node1.com/192.168.2.7:8080-1) java.lang.ClassNotFoundException: org.apache.lucene.index.Payload: org.jboss.cache.CacheException: java.lang.ClassNotFoundException: org.apache.lucene.index.Payload
      	at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:304) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:555) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.exoplatform.services.jcr.impl.core.query.jbosscache.LocalIndexChangesFilter.doUpdateIndex(LocalIndexChangesFilter.java:179) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      	at org.exoplatform.services.jcr.impl.core.query.IndexerChangesFilter.doUpdateIndex(IndexerChangesFilter.java:231) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      	at org.exoplatform.services.jcr.impl.core.query.IndexerChangesFilter.onSaveItems(IndexerChangesFilter.java:160) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      	at org.exoplatform.services.jcr.impl.core.query.SearchManager.onSaveItems(SearchManager.java:639) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      	at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager.notifySaveItems(WorkspacePersistentDataManager.java:1225) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      	at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.doSave(CacheableWorkspaceDataManager.java:1116) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      ...
      Caused by: java.lang.ClassNotFoundException: org.apache.lucene.index.Payload
      	at java.lang.ClassLoader.findClass(ClassLoader.java:522) [rt.jar:1.7.0_05]
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:423) [rt.jar:1.7.0_05]
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:356) [rt.jar:1.7.0_05]
      	at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_05]
      	at java.lang.Class.forName(Class.java:264) [rt.jar:1.7.0_05]
      	at org.jboss.util.stream.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:81)
      	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) [rt.jar:1.7.0_05]
      	at org.exoplatform.services.jcr.impl.core.query.lucene.SingletonTokenStream.readExternal(SingletonTokenStream.java:137) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      	at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1810) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) [rt.jar:1.7.0_05]
      	at org.exoplatform.services.jcr.impl.core.query.lucene.ChangesHolder.readField(ChangesHolder.java:168) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      	at org.exoplatform.services.jcr.impl.core.query.lucene.ChangesHolder.readExternal(ChangesHolder.java:150) [exo.jcr.component.core-1.15.3-GA.jar:1.15.3-GA]
      	at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1810) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) [rt.jar:1.7.0_05]
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) [rt.jar:1.7.0_05]
      	at org.jboss.cache.marshall.CacheMarshaller200.unmarshallObject(CacheMarshaller200.java:616) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.jboss.cache.marshall.CacheMarshaller200.unmarshallCommand(CacheMarshaller200.java:762) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.jboss.cache.marshall.CacheMarshaller200.unmarshallObject(CacheMarshaller200.java:624) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.jboss.cache.marshall.CacheMarshaller200.unmarshallCommand(CacheMarshaller200.java:762) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.jboss.cache.marshall.CacheMarshaller200.unmarshallObject(CacheMarshaller200.java:624) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.jboss.cache.marshall.CacheMarshaller200.unmarshallObject(CacheMarshaller200.java:589) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.jboss.cache.marshall.CacheMarshaller200.objectFromObjectStream(CacheMarshaller200.java:161) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      	at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:210) [jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
      ...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mposolda Marek Posolda
                Reporter:
                mposolda Marek Posolda
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: