It's the first time I see this error.

Not even sure what a persistent session is. Maybe Tomcat is configured
to stored the session on disk to get it back when restarting and
something put a not serializable object
(DefaultStringEntityReferenceResolver
which is indeed not serializable) in it.

Is XWiki running properly after that ? Even if it's indicated GRAVE it
seems to me you just lost this part of the session but XWiki does not
really expect the session to be serailized anyway so you should
probably disable that if possible.

On Thu, Aug 4, 2016 at 10:43 AM, Stéphane LASSIRE
<slass...@cesap.asso.fr> wrote:
> Hello,
>
>
>
> I am on the way to finish the migration of our xwiki 7 to xwiki 8 on a
> Debian server.
>
> Yesterday Thomas find the tip for solr.
>
>
>
> Now solr is running (the directory grows after tomcat running)
>
> But when tomcat is launch, on the browser I saw a percentage (12 / 25 / 50%)
> and a blank page.
>
>
>
> The tomcat Catalina error is :
>
> août 04, 2016 10:34:10 AM org.apache.catalina.startup.ClassLoaderFactory
> validateFile
>
> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/common/classes],
> exists: [false], isDirectory: [false], canRead: [false]
>
> août 04, 2016 10:34:10 AM org.apache.catalina.startup.ClassLoaderFactory
> validateFile
>
> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/common], exists:
> [false], isDirectory: [false], canRead: [false]
>
> août 04, 2016 10:34:11 AM org.apache.catalina.startup.ClassLoaderFactory
> validateFile
>
> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/server/classes],
> exists: [false], isDirectory: [false], canRead: [false]
>
> août 04, 2016 10:34:11 AM org.apache.catalina.startup.ClassLoaderFactory
> validateFile
>
> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/server], exists:
> [false], isDirectory: [false], canRead: [false]
>
> août 04, 2016 10:34:11 AM org.apache.catalina.startup.ClassLoaderFactory
> validateFile
>
> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/shared/classes],
> exists: [false], isDirectory: [false], canRead: [false]
>
> août 04, 2016 10:34:11 AM org.apache.catalina.startup.ClassLoaderFactory
> validateFile
>
> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/shared], exists:
> [false], isDirectory: [false], canRead: [false]
>
> août 04, 2016 10:34:11 AM org.apache.coyote.AbstractProtocol init
>
> INFOS: Initializing ProtocolHandler ["http-bio-8080"]
>
> août 04, 2016 10:34:11 AM org.apache.catalina.startup.Catalina load
>
> INFOS: Initialization processed in 687 ms
>
> août 04, 2016 10:34:11 AM org.apache.catalina.core.StandardService
> startInternal
>
> INFOS: Démarrage du service Catalina
>
> août 04, 2016 10:34:11 AM org.apache.catalina.core.StandardEngine
> startInternal
>
> INFOS: Starting Servlet Engine: Apache Tomcat/7.0.56 (Debian)
>
> août 04, 2016 10:34:11 AM org.apache.catalina.startup.HostConfig
> deployDescriptor
>
> INFOS: Déploiement du descripteur de configuration
> /etc/tomcat7/Catalina/localhost/xwiki.xml
>
> 2016-08-04 10:34:30,649 [localhost-startStop-1] WARN
> ltInstalledExtensionRepository - Invalid extension
> [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.1.2] on namespace
> [wiki:xwiki] (InvalidExtensionException: No compatible extension is
> installed for dependency
> [org.xwiki.platform:xwiki-platform-chart-plugin-7.1.2])
>
> 2016-08-04 10:34:30,669 [localhost-startStop-1] WARN
> ltInstalledExtensionRepository - Invalid extension
> [org.xwiki.contrib.forum:application-forum-ui-1.9.4]
> (InvalidExtensionException: No compatible extension is installed for
> dependency [org.xwiki.platform:xwiki-platform-ratings-api-6.4.4])
>
> 2016-08-04 10:34:30,670 [localhost-startStop-1] WARN
> ltInstalledExtensionRepository - Invalid extension
> [org.xwiki.platform:xwiki-platform-search-lucene-ui-6.4.2] on namespace
> [wiki:xwiki] (InvalidExtensionException: No compatible extension is
> installed for dependency
> [org.xwiki.platform:xwiki-platform-search-lucene-api-6.4.2])
>
> 2016-08-04 10:34:30,738 [localhost-startStop-1] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
>
> 2016-08-04 10:34:30,738 [localhost-startStop-1] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> [/var/lib/xwiki/data/solr]
>
> 2016-08-04 10:34:34,703 [localhost-startStop-1] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
>
> 2016-08-04 10:34:34,704 [recoveryExecutor-9-thread-1-processing-x:xwiki]
> WARN  o.a.s.u.UpdateLog              - Starting log replay
> tlog{file=/var/lib/xwiki/data/solr/xwiki/data/tlog/tlog.0000000000000003809
> refcount=2} active=false starting pos=0
>
> 2016-08-04 10:34:35,495 [recoveryExecutor-9-thread-1-processing-x:xwiki]
> WARN  o.a.s.u.UpdateLog              - Log replay finished.
> recoveryInfo=RecoveryInfo{adds=1 deletes=0 deleteByQuery=0 errors=0
> positionOfStart=0}
>
> août 04, 2016 10:34:37 AM org.apache.catalina.session.StandardManager doLoad
>
> GRAVE: "IOException" lors du chargement de sessions persistantes:
> java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException:
> org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
>
> java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException:
> org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
>
>                 at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1357)
>
> …
>
> (ThreadPoolExecutor.java:617)
>
>                 at java.lang.Thread.run(Thread.java:745)
>
> Caused by: java.io.NotSerializableException:
> org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
>
>                 at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
>
>                 ... 4 more
>
>
>
> août 04, 2016 10:34:37 AM org.apache.catalina.session.StandardManager
> startInternal
>
> GRAVE: Exception au chargement des sessions depuis le stockage persistant
> (persistent storage)
>
> java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException:
> org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
>
>                 at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1357)
>
>                 at java.lang.Thread.run(Thread.java:745)
>
> Caused by: java.io.NotSerializableException:
> org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
>
>                 at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
>
>                 ... 4 more
>
>
>
> août 04, 2016 10:34:37 AM org.apache.catalina.startup.HostConfig
> deployDescriptor
>
> INFOS: Deployment of configuration descriptor
> /etc/tomcat7/Catalina/localhost/xwiki.xml has finished in 25 891 ms
>
> août 04, 2016 10:34:37 AM org.apache.catalina.startup.HostConfig
> deployDirectory
>
> INFOS: Déploiement du répertoire /var/lib/tomcat7/webapps/ROOT de
> l'application web
>
> août 04, 2016 10:34:37 AM org.apache.catalina.startup.HostConfig
> deployDirectory
>
> INFOS: Deployment of web application directory /var/lib/tomcat7/webapps/ROOT
> has finished in 186 ms
>
> août 04, 2016 10:34:37 AM org.apache.coyote.AbstractProtocol start
>
> INFOS: Starting ProtocolHandler ["http-bio-8080"]
>
> août 04, 2016 10:34:37 AM org.apache.catalina.startup.Catalina start
>
> INFOS: Server startup in 26153 ms
>
>
>
> I saw the GRAVE error, read that some SESSIONS.ser must be deleted, but I do
> not found that file.
>
> Any idea ?
>
>
>
> Thanks
>
>
>
> Cordialement
>
>
>
> Stéphane Lassire
>
> Chargé de l'informatique et de la communication
>
> Tél direct : 01 42 85 81 87
>
> Courriel :  <mailto:slass...@cesap.asso.fr> slass...@cesap.asso.fr
>
>
>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to