[xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
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:[email protected]> [email protected]
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 <[email protected]> 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:[email protected]> [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hello Thomas, THanks for your help. That's the strange behaviour. Catalina log file came with lot of messages from solr (some indexing problems), but I do have on the browser only a blank page. I just changed the Xmx java tuning from 512 to 1024 (I though it was may be a memory error). But same behaviour : on launching a percentage on the browser from 12 to 50% and a blank page. Last Catalina : août 04, 2016 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-8080"] août 04, 2016 11:36:12 AM org.apache.catalina.startup.Catalina load INFOS: Initialization processed in 720 ms août 04, 2016 11:36:12 AM org.apache.catalina.core.StandardService startInternal INFOS: Démarrage du service Catalina août 04, 2016 11:36:12 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.56 (Debian) août 04, 2016 11:36:12 AM org.apache.catalina.startup.HostConfig deployDescriptor INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml 2016-08-04 11:36:32,385 [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 11:36:32,403 [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 11:36:32,404 [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 11:36:35,578 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 2016-08-04 11:36:35,578 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: [/var/lib/xwiki/data/solr] 2016-08-04 11:36:39,896 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. août 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager doLoad GRAVE: "ClassNotFoundException" lors du chargement de sessions persistantes: java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.Thread.run(Thread.java:745) août 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager startInternal GRAVE: Exception au chargement des sessions depuis le stockage persistant (persistent storage) java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.Thread.run(Thread.java:745) Cordialement Stéphane Lassire Courriel : [email protected] -----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : jeudi 4 août 2016 11:03 À : XWiki Users Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException 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.
Ok this time it's a very different error which indeed looks more serious. But it still seems related to persistent storage of the session and in this case it seems to be trying to load a saved request (which is really not the kind of thing that make sense to store). For me your Tomcat is in a pretty weird state and try to load stuff that don't make much sense in the context of XWiki but I don't know anything about persistent storage. Seems to be to have something to clean somewhere and some option to disable (if it's still enabled). Tomcat cannot find the class org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest which is supposed to be located in jar /usr/lib/xwiki/WEB-INF/lib/xwiki-platform-container-servlet-<version>.jar. You should probably check if you have this jar file and if tomcat is allowed to read it. On Thu, Aug 4, 2016 at 11:42 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello Thomas,
THanks for your help.
That's the strange behaviour. Catalina log file came with lot of messages from solr (some indexing problems), but I do have on the browser only a blank page.
I just changed the Xmx java tuning from 512 to 1024 (I though it was may be a memory error). But same behaviour : on launching a percentage on the browser from 12 to 50% and a blank page.
Last Catalina : août 04, 2016 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-8080"] août 04, 2016 11:36:12 AM org.apache.catalina.startup.Catalina load INFOS: Initialization processed in 720 ms août 04, 2016 11:36:12 AM org.apache.catalina.core.StandardService startInternal INFOS: Démarrage du service Catalina août 04, 2016 11:36:12 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.56 (Debian) août 04, 2016 11:36:12 AM org.apache.catalina.startup.HostConfig deployDescriptor INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml 2016-08-04 11:36:32,385 [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 11:36:32,403 [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 11:36:32,404 [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 11:36:35,578 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 2016-08-04 11:36:35,578 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: [/var/lib/xwiki/data/solr] 2016-08-04 11:36:39,896 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. août 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager doLoad
GRAVE: "ClassNotFoundException" lors du chargement de sessions persistantes: java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.Thread.run(Thread.java:745)
août 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager startInternal GRAVE: Exception au chargement des sessions depuis le stockage persistant (persistent storage) java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.Thread.run(Thread.java:745)
Cordialement
Stéphane Lassire Courriel : [email protected]
-----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : jeudi 4 août 2016 11:03 À : XWiki Users Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
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.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hello Thomas, Well, this is strange story. For persistent session I found a tip here : uncomment the rule in context.xml : <Context> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <Manager pathname="" /> <!-- <Manager pathname="" /> --> **end of context.xml** And it is OK The answer to your question : root@CESAP-WIKI01:/usr/lib/xwiki/WEB-INF/lib# ll xwiki-platform-container-* -rw-r--r-- 1 root root 24971 juil. 29 17:26 xwiki-platform-container-api-8.2.1.jar -rw-r--r-- 1 root root 35318 juil. 29 17:26 xwiki-platform-container-servlet-8.2.1.jar The jar file is there. Could it be a problem with tomcat 7.0.56 ? Will it be easier for me to migrate to tomcat8 ? and put away the tomcat7 unstable Thanks Cordialement Stéphane Lassire Chargé de l'informatique et de la communication Tél direct : 01 42 85 81 87 Courriel : [email protected] -----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : jeudi 4 août 2016 11:51 À : XWiki Users Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException Ok this time it's a very different error which indeed looks more serious. But it still seems related to persistent storage of the session and in this case it seems to be trying to load a saved request (which is really not the kind of thing that make sense to store). For me your Tomcat is in a pretty weird state and try to load stuff that don't make much sense in the context of XWiki but I don't know anything about persistent storage. Seems to be to have something to clean somewhere and some option to disable (if it's still enabled). Tomcat cannot find the class org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest which is supposed to be located in jar /usr/lib/xwiki/WEB-INF/lib/xwiki-platform-container-servlet-<version>.jar. You should probably check if you have this jar file and if tomcat is allowed to read it. On Thu, Aug 4, 2016 at 11:42 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello Thomas,
THanks for your help.
That's the strange behaviour. Catalina log file came with lot of messages from solr (some indexing problems), but I do have on the browser only a blank page.
I just changed the Xmx java tuning from 512 to 1024 (I though it was may be a memory error). But same behaviour : on launching a percentage on the browser from 12 to 50% and a blank page.
Last Catalina : août 04, 2016 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-8080"] août 04, 2016 11:36:12 AM org.apache.catalina.startup.Catalina load INFOS: Initialization processed in 720 ms août 04, 2016 11:36:12 AM org.apache.catalina.core.StandardService startInternal INFOS: Démarrage du service Catalina août 04, 2016 11:36:12 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.56 (Debian) août 04, 2016 11:36:12 AM org.apache.catalina.startup.HostConfig deployDescriptor INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml 2016-08-04 11:36:32,385 [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 11:36:32,403 [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 11:36:32,404 [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 11:36:35,578 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 2016-08-04 11:36:35,578 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: [/var/lib/xwiki/data/solr] 2016-08-04 11:36:39,896 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. août 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager doLoad
GRAVE: "ClassNotFoundException" lors du chargement de sessions persistantes: java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.Thread.run(Thread.java:745)
août 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager startInternal GRAVE: Exception au chargement des sessions depuis le stockage persistant (persistent storage) java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.Thread.run(Thread.java:745)
Cordialement
Stéphane Lassire Courriel : [email protected]
-----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : jeudi 4 août 2016 11:03 À : XWiki Users Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
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.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I'm still using Tomcat 7 (7.0.52 on Ubuntu 14.04) and I never had this kind of issue. On Thu, Aug 4, 2016 at 1:09 PM, Stéphane LASSIRE <[email protected]> wrote:
Hello Thomas,
Well, this is strange story.
For persistent session I found a tip here : uncomment the rule in context.xml :
<Context>
<!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts --> <Manager pathname="" /> <!-- <Manager pathname="" /> --> **end of context.xml** And it is OK
The answer to your question :
root@CESAP-WIKI01:/usr/lib/xwiki/WEB-INF/lib# ll xwiki-platform-container-* -rw-r--r-- 1 root root 24971 juil. 29 17:26 xwiki-platform-container-api-8.2.1.jar -rw-r--r-- 1 root root 35318 juil. 29 17:26 xwiki-platform-container-servlet-8.2.1.jar
The jar file is there.
Could it be a problem with tomcat 7.0.56 ? Will it be easier for me to migrate to tomcat8 ? and put away the tomcat7 unstable
Thanks
Cordialement
Stéphane Lassire Chargé de l'informatique et de la communication Tél direct : 01 42 85 81 87 Courriel : [email protected]
-----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : jeudi 4 août 2016 11:51 À : XWiki Users Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
Ok this time it's a very different error which indeed looks more serious. But it still seems related to persistent storage of the session and in this case it seems to be trying to load a saved request (which is really not the kind of thing that make sense to store). For me your Tomcat is in a pretty weird state and try to load stuff that don't make much sense in the context of XWiki but I don't know anything about persistent storage. Seems to be to have something to clean somewhere and some option to disable (if it's still enabled).
Tomcat cannot find the class org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest which is supposed to be located in jar /usr/lib/xwiki/WEB-INF/lib/xwiki-platform-container-servlet-<version>.jar.
You should probably check if you have this jar file and if tomcat is allowed to read it.
On Thu, Aug 4, 2016 at 11:42 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello Thomas,
THanks for your help.
That's the strange behaviour. Catalina log file came with lot of messages from solr (some indexing problems), but I do have on the browser only a blank page.
I just changed the Xmx java tuning from 512 to 1024 (I though it was may be a memory error). But same behaviour : on launching a percentage on the browser from 12 to 50% and a blank page.
Last Catalina : août 04, 2016 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 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 11:36:12 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-8080"] août 04, 2016 11:36:12 AM org.apache.catalina.startup.Catalina load INFOS: Initialization processed in 720 ms août 04, 2016 11:36:12 AM org.apache.catalina.core.StandardService startInternal INFOS: Démarrage du service Catalina août 04, 2016 11:36:12 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.56 (Debian) août 04, 2016 11:36:12 AM org.apache.catalina.startup.HostConfig deployDescriptor INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml 2016-08-04 11:36:32,385 [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 11:36:32,403 [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 11:36:32,404 [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 11:36:35,578 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 2016-08-04 11:36:35,578 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: [/var/lib/xwiki/data/solr] 2016-08-04 11:36:39,896 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. août 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager doLoad
GRAVE: "ClassNotFoundException" lors du chargement de sessions persistantes: java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.Thread.run(Thread.java:745)
août 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager startInternal GRAVE: Exception au chargement des sessions depuis le stockage persistant (persistent storage) java.lang.ClassNotFoundException: org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.Thread.run(Thread.java:745)
Cordialement
Stéphane Lassire Courriel : [email protected]
-----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : jeudi 4 août 2016 11:03 À : XWiki Users Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
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.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
Stéphane LASSIRE -
Thomas Mortagne