Re: [xwiki-users] XWiki 8.1 returning error 404
Actually AFAIK the right place is supposed to be /etc/default/tomcat7 which is then read by /etc/init.d/tomcat7. On Tue, May 24, 2016 at 8:25 PM, Mahomed Hussein <maho...@custodiandc.com> wrote: > OK! Finally got it! > > I had to add the path to my new JDK to the JDK_DIRS variable in > /etc/init.d/tomcat7 > > It now looks like: > > JDK_DIRS="/usr/lib/jvm/default-java ${OPENJDKS} /usr/lib/jvm/java-6-openjdk > /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-7-oracle > /usr/lib/jvm/java-8-openjdk-amd64" > > Credit: http://stackoverflow.com/a/27457724 > > > Thanks for all your help! xWiki rocks! Java - not so much! > > > Kind regards, > > > > > Mahomed Hussein > Custodian Data Centre > Email: maho...@custodiandc.com > http://www.CustodianDC.com > > -Original Message- > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein > Sent: 24 May 2016 18:53 > To: XWiki Users <users@xwiki.org> > Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > > Hmmm > > I now have: > > root@xWiki:~# java -version > java version "1.8.0_91" > Java(TM) SE Runtime Environment (build 1.8.0_91-b14) > Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) > > And I've run: > > root@xWiki:~# update-alternatives --config java > There are 3 choices for the alternative java (providing /usr/bin/java). > > SelectionPathPriority > Status > > * 0/usr/lib/jvm/java-8-oracle/jre/bin/java 1072 > auto mode > 1/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 > manual mode > 2/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 > manual mode > 3/usr/lib/jvm/java-8-oracle/jre/bin/java 1072 > manual mode > > > root@xWiki:~# update-alternatives --config javac > There are 3 choices for the alternative javac (providing /usr/bin/javac). > > SelectionPath Priority Status > > * 0/usr/lib/jvm/java-8-oracle/bin/javac 1072 auto > mode > 1/usr/lib/jvm/java-7-openjdk-amd64/bin/javac 1071 manual > mode > 2/usr/lib/jvm/java-8-openjdk-amd64/bin/javac 1069 manual > mode > 3/usr/lib/jvm/java-8-oracle/bin/javac 1072 manual > mode > > > > But I am still getting the following error. I have already restarted tomcat7 > and even the whole server. > > May 24, 2016 6:51:09 PM org.apache.catalina.core.StandardContext listenerStart > SEVERE: Error configuring application listener of class > org.xwiki.container.servlet.XWikiServletContextListener > java.lang.UnsupportedClassVersionError: > org/xwiki/container/servlet/XWikiServletContextListener : Unsupported > major.minor version 52.0 (unable to load class > org.xwiki.container.servlet.XWikiServletContextListener) > at > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) > at > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) > at > org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) > at > org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) > at > org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) > at > org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) > at > org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util
Re: [xwiki-users] XWiki 8.1 returning error 404
OK! Finally got it! I had to add the path to my new JDK to the JDK_DIRS variable in /etc/init.d/tomcat7 It now looks like: JDK_DIRS="/usr/lib/jvm/default-java ${OPENJDKS} /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-7-oracle /usr/lib/jvm/java-8-openjdk-amd64" Credit: http://stackoverflow.com/a/27457724 Thanks for all your help! xWiki rocks! Java - not so much! Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein Sent: 24 May 2016 18:53 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 Hmmm I now have: root@xWiki:~# java -version java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) And I've run: root@xWiki:~# update-alternatives --config java There are 3 choices for the alternative java (providing /usr/bin/java). SelectionPathPriority Status * 0/usr/lib/jvm/java-8-oracle/jre/bin/java 1072 auto mode 1/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode 2/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 manual mode 3/usr/lib/jvm/java-8-oracle/jre/bin/java 1072 manual mode root@xWiki:~# update-alternatives --config javac There are 3 choices for the alternative javac (providing /usr/bin/javac). SelectionPath Priority Status * 0/usr/lib/jvm/java-8-oracle/bin/javac 1072 auto mode 1/usr/lib/jvm/java-7-openjdk-amd64/bin/javac 1071 manual mode 2/usr/lib/jvm/java-8-openjdk-amd64/bin/javac 1069 manual mode 3/usr/lib/jvm/java-8-oracle/bin/javac 1072 manual mode But I am still getting the following error. I have already restarted tomcat7 and even the whole server. May 24, 2016 6:51:09 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class org.xwiki.container.servlet.XWikiServletContextListener java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/XWikiServletContextListener : Unsupported major.minor version 52.0 (unable to load class org.xwiki.container.servlet.XWikiServletContextListener) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) May 24, 2016 6:51:09 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class org.xwiki.container.servlet.SetThreadNameServletRequestListener java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/SetThreadNameServletRequestListener : Unsupported major.minor version 52.0 (unable to load class org.xwiki.container.servlet.SetThreadNameServletRequestListener) at org.apache.catalina.loader.WebappCla
Re: [xwiki-users] XWiki 8.1 returning error 404
.java:4888) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) May 24, 2016 6:51:09 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol Sent: 24 May 2016 18:37 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > On 24 May 2016, at 19:31, Mahomed Hussein <maho...@custodiandc.com> wrote: > > To be fair, I normally look at the release notes and I had actually searched > the mailing list (hence I found the xwiki site was down). But it seems my > search got me the release notes for RC1 which didn't have this info. > > As for why java didn't get updated, it seems that OpenJDK-8 is not available > for Ubuntu 14.04. > > Will xWiki work if I install Oracle Java? Definitely Thanks -Vincent > Kind regards, > > > > > Mahomed Hussein > Custodian Data Centre > Email: maho...@custodiandc.com > http://www.CustodianDC.com > > -Original Message- > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol > Sent: 24 May 2016 18:20 > To: XWiki Users <users@xwiki.org> > Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > > >> On 24 May 2016, at 19:17, Mahomed Hussein <maho...@custodiandc.com> wrote: >> >> You are correct about the version of java >> >> root@xWiki:~# java -version >> java version "1.7.0_101" >> OpenJDK Runtime Environment (IcedTea 2.6.6) >> (7u101-2.6.6-0ubuntu0.14.04.1) OpenJDK 64-Bit Server VM (build >> 24.95-b01, mixed mode) root@xWiki:~# ll /etc/alternatives/java >> lrwxrwxrwx 1 root root 46 Mar 8 2015 /etc/alternatives/java -> >> /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java* >> >> Just found an old post of yours :) - >> http://lists.xwiki.org/pipermail/users/2014-August/028873.html >> >> OK, let me look into upgrading Java {grumble grumble java grumble >> grumble} > > Sorry about that :) > > Make sure to always check the release notes: > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81 > > Thanks > -Vincent > > PS: Shouldn’t the deb upgrade also upgrade java? That looks like a bug to me. > >> Kind regards, >> >> >> >> >> Mahomed Hussein >> Custodian Data Centre >> Email: maho...@custodiandc.com >> http://www.CustodianDC.com >> >> -Original Message- >> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent >> Massol >> Sent: 24 May 2016 18:14 >> To: XWiki Users <users@xwiki.org> >> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 >> >> This means you’re using java 7 but XWiki 8.1 requires java 8. >> >> Thanks >> -Vincent >> >>> On 24 May 2016, at 19:10, Mahomed Hussein <maho...@custodiandc.com> wrote: >>> >>> I've found another log file which may have a more useful error >>> message (to someone else who knows more :) ) >>> >>> root@xWiki:~# cat /var/log/tomcat7/localhost.2016-05-24.log >>> May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext >>> listenerStart >>> SEVERE: Error configuring application listener of class >>> org.xwiki.container.servlet.XWikiServletContextListener >>> java.lang.UnsupportedClassVersionError: >>> org/xwiki/container/servlet/XWikiServletContextListener : Unsupported >>> major.minor version 52.0 (unable to load class >>> org.xwiki.container.servlet.XWikiServletCo
Re: [xwiki-users] XWiki 8.1 returning error 404
> On 24 May 2016, at 19:31, Mahomed Hussein <maho...@custodiandc.com> wrote: > > To be fair, I normally look at the release notes and I had actually searched > the mailing list (hence I found the xwiki site was down). But it seems my > search got me the release notes for RC1 which didn't have this info. > > As for why java didn't get updated, it seems that OpenJDK-8 is not available > for Ubuntu 14.04. > > Will xWiki work if I install Oracle Java? Definitely Thanks -Vincent > Kind regards, > > > > > Mahomed Hussein > Custodian Data Centre > Email: maho...@custodiandc.com > http://www.CustodianDC.com > > -Original Message- > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol > Sent: 24 May 2016 18:20 > To: XWiki Users <users@xwiki.org> > Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > > >> On 24 May 2016, at 19:17, Mahomed Hussein <maho...@custodiandc.com> wrote: >> >> You are correct about the version of java >> >> root@xWiki:~# java -version >> java version "1.7.0_101" >> OpenJDK Runtime Environment (IcedTea 2.6.6) >> (7u101-2.6.6-0ubuntu0.14.04.1) OpenJDK 64-Bit Server VM (build >> 24.95-b01, mixed mode) root@xWiki:~# ll /etc/alternatives/java >> lrwxrwxrwx 1 root root 46 Mar 8 2015 /etc/alternatives/java -> >> /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java* >> >> Just found an old post of yours :) - >> http://lists.xwiki.org/pipermail/users/2014-August/028873.html >> >> OK, let me look into upgrading Java {grumble grumble java grumble >> grumble} > > Sorry about that :) > > Make sure to always check the release notes: > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81 > > Thanks > -Vincent > > PS: Shouldn’t the deb upgrade also upgrade java? That looks like a bug to me. > >> Kind regards, >> >> >> >> >> Mahomed Hussein >> Custodian Data Centre >> Email: maho...@custodiandc.com >> http://www.CustodianDC.com >> >> -Original Message- >> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent >> Massol >> Sent: 24 May 2016 18:14 >> To: XWiki Users <users@xwiki.org> >> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 >> >> This means you’re using java 7 but XWiki 8.1 requires java 8. >> >> Thanks >> -Vincent >> >>> On 24 May 2016, at 19:10, Mahomed Hussein <maho...@custodiandc.com> wrote: >>> >>> I've found another log file which may have a more useful error >>> message (to someone else who knows more :) ) >>> >>> root@xWiki:~# cat /var/log/tomcat7/localhost.2016-05-24.log >>> May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext >>> listenerStart >>> SEVERE: Error configuring application listener of class >>> org.xwiki.container.servlet.XWikiServletContextListener >>> java.lang.UnsupportedClassVersionError: >>> org/xwiki/container/servlet/XWikiServletContextListener : Unsupported >>> major.minor version 52.0 (unable to load class >>> org.xwiki.container.servlet.XWikiServletContextListener) >>> at >>> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) >>> at >>> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) >>> at >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) >>> at >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) >>> at >>> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) >>> at >>> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) >>> at >>> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) >>> at >>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888) >>> at >>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) >>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> at >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >>> at >>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >>> at >>> org.apache.catalina.core.Standar
Re: [xwiki-users] XWiki 8.1 returning error 404
To be fair, I normally look at the release notes and I had actually searched the mailing list (hence I found the xwiki site was down). But it seems my search got me the release notes for RC1 which didn't have this info. As for why java didn't get updated, it seems that OpenJDK-8 is not available for Ubuntu 14.04. Will xWiki work if I install Oracle Java? Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol Sent: 24 May 2016 18:20 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > On 24 May 2016, at 19:17, Mahomed Hussein <maho...@custodiandc.com> wrote: > > You are correct about the version of java > > root@xWiki:~# java -version > java version "1.7.0_101" > OpenJDK Runtime Environment (IcedTea 2.6.6) > (7u101-2.6.6-0ubuntu0.14.04.1) OpenJDK 64-Bit Server VM (build > 24.95-b01, mixed mode) root@xWiki:~# ll /etc/alternatives/java > lrwxrwxrwx 1 root root 46 Mar 8 2015 /etc/alternatives/java -> > /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java* > > Just found an old post of yours :) - > http://lists.xwiki.org/pipermail/users/2014-August/028873.html > > OK, let me look into upgrading Java {grumble grumble java grumble > grumble} Sorry about that :) Make sure to always check the release notes: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81 Thanks -Vincent PS: Shouldn’t the deb upgrade also upgrade java? That looks like a bug to me. > Kind regards, > > > > > Mahomed Hussein > Custodian Data Centre > Email: maho...@custodiandc.com > http://www.CustodianDC.com > > -Original Message- > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent > Massol > Sent: 24 May 2016 18:14 > To: XWiki Users <users@xwiki.org> > Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > > This means you’re using java 7 but XWiki 8.1 requires java 8. > > Thanks > -Vincent > >> On 24 May 2016, at 19:10, Mahomed Hussein <maho...@custodiandc.com> wrote: >> >> I've found another log file which may have a more useful error >> message (to someone else who knows more :) ) >> >> root@xWiki:~# cat /var/log/tomcat7/localhost.2016-05-24.log >> May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext >> listenerStart >> SEVERE: Error configuring application listener of class >> org.xwiki.container.servlet.XWikiServletContextListener >> java.lang.UnsupportedClassVersionError: >> org/xwiki/container/servlet/XWikiServletContextListener : Unsupported >> major.minor version 52.0 (unable to load class >> org.xwiki.container.servlet.XWikiServletContextListener) >> at >> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) >> at >> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) >> at >> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) >> at >> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) >> at >> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) >> at >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888) >> at >> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) >> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) >> at >> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) >> at >> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
Re: [xwiki-users] XWiki 8.1 returning error 404
> On 24 May 2016, at 19:17, Mahomed Hussein <maho...@custodiandc.com> wrote: > > You are correct about the version of java > > root@xWiki:~# java -version > java version "1.7.0_101" > OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1) > OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode) > root@xWiki:~# ll /etc/alternatives/java > lrwxrwxrwx 1 root root 46 Mar 8 2015 /etc/alternatives/java -> > /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java* > > Just found an old post of yours :) - > http://lists.xwiki.org/pipermail/users/2014-August/028873.html > > OK, let me look into upgrading Java {grumble grumble java grumble grumble} Sorry about that :) Make sure to always check the release notes: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81 Thanks -Vincent PS: Shouldn’t the deb upgrade also upgrade java? That looks like a bug to me. > Kind regards, > > > > > Mahomed Hussein > Custodian Data Centre > Email: maho...@custodiandc.com > http://www.CustodianDC.com > > -Original Message- > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol > Sent: 24 May 2016 18:14 > To: XWiki Users <users@xwiki.org> > Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > > This means you’re using java 7 but XWiki 8.1 requires java 8. > > Thanks > -Vincent > >> On 24 May 2016, at 19:10, Mahomed Hussein <maho...@custodiandc.com> wrote: >> >> I've found another log file which may have a more useful error message >> (to someone else who knows more :) ) >> >> root@xWiki:~# cat /var/log/tomcat7/localhost.2016-05-24.log >> May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext >> listenerStart >> SEVERE: Error configuring application listener of class >> org.xwiki.container.servlet.XWikiServletContextListener >> java.lang.UnsupportedClassVersionError: >> org/xwiki/container/servlet/XWikiServletContextListener : Unsupported >> major.minor version 52.0 (unable to load class >> org.xwiki.container.servlet.XWikiServletContextListener) >> at >> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) >> at >> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) >> at >> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) >> at >> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) >> at >> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) >> at >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888) >> at >> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) >> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) >> at >> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) >> at >> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:745) >> >> May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext >> listenerStart >> SEVERE: Error configuring application listener of class >> org.xwiki.container.servlet.SetThreadNameServletRequestListener >> java.lang.UnsupportedClassVersionError: >> org/xwiki/container/servlet/SetThreadNameServletRequestListener : >> Unsupported major.minor version 52.0 (unable to load class >> org.xwiki.container.servlet.SetThreadNameServletRequestListener) >> at >> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClas
Re: [xwiki-users] XWiki 8.1 returning error 404
You are correct about the version of java root@xWiki:~# java -version java version "1.7.0_101" OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1) OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode) root@xWiki:~# ll /etc/alternatives/java lrwxrwxrwx 1 root root 46 Mar 8 2015 /etc/alternatives/java -> /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java* Just found an old post of yours :) - http://lists.xwiki.org/pipermail/users/2014-August/028873.html OK, let me look into upgrading Java {grumble grumble java grumble grumble} Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol Sent: 24 May 2016 18:14 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 This means you’re using java 7 but XWiki 8.1 requires java 8. Thanks -Vincent > On 24 May 2016, at 19:10, Mahomed Hussein <maho...@custodiandc.com> wrote: > > I've found another log file which may have a more useful error message > (to someone else who knows more :) ) > > root@xWiki:~# cat /var/log/tomcat7/localhost.2016-05-24.log > May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Error configuring application listener of class > org.xwiki.container.servlet.XWikiServletContextListener > java.lang.UnsupportedClassVersionError: > org/xwiki/container/servlet/XWikiServletContextListener : Unsupported > major.minor version 52.0 (unable to load class > org.xwiki.container.servlet.XWikiServletContextListener) >at > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) >at > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) >at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) >at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) >at > org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) >at > org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) >at > org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) >at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888) >at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) >at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) >at > org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) >at > org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) >at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >at java.util.concurrent.FutureTask.run(FutureTask.java:262) >at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >at java.lang.Thread.run(Thread.java:745) > > May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Error configuring application listener of class > org.xwiki.container.servlet.SetThreadNameServletRequestListener > java.lang.UnsupportedClassVersionError: > org/xwiki/container/servlet/SetThreadNameServletRequestListener : Unsupported > major.minor version 52.0 (unable to load class > org.xwiki.container.servlet.SetThreadNameServletRequestListener) >at > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) >at > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) >at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) >at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) >at > org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) >at > org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) >at > org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) >at > org.a
Re: [xwiki-users] XWiki 8.1 returning error 404
I've found another log file which may have a more useful error message (to someone else who knows more :) ) root@xWiki:~# cat /var/log/tomcat7/localhost.2016-05-24.log May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class org.xwiki.container.servlet.XWikiServletContextListener java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/XWikiServletContextListener : Unsupported major.minor version 52.0 (unable to load class org.xwiki.container.servlet.XWikiServletContextListener) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) May 24, 2016 3:14:10 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class org.xwiki.container.servlet.SetThreadNameServletRequestListener java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/SetThreadNameServletRequestListener : Unsupported major.minor version 52.0 (unable to load class org.xwiki.container.servlet.SetThreadNameServletRequestListener) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein Sent: 24 May 2016 18:05 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 Sorry, I know ev
Re: [xwiki-users] XWiki 8.1 returning error 404
Sorry, I know everyone is busy and Vincent and Thomas have tried to help. I am quite desperate though. Looking at this bit of log, it seems at some point Tomcat has tried to load the site and was looking for the 8.0 jar files. How can I tell it to look for the 8.1 jar files? May 24, 2016 3:13:32 PM org.apache.coyote.AbstractProtocol stop INFO: Stopping ProtocolHandler ["http-bio-8080"] May 24, 2016 3:13:32 PM org.apache.coyote.AbstractProtocol destroy INFO: Destroying ProtocolHandler ["http-bio-8080"] May 24, 2016 3:13:34 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] May 24, 2016 3:13:34 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 709 ms May 24, 2016 3:13:34 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina May 24, 2016 3:13:34 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu) May 24, 2016 3:13:34 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/xwiki.xml May 24, 2016 3:13:40 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] May 24, 2016 3:13:40 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 590 ms May 24, 2016 3:13:40 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina May 24, 2016 3:13:40 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu) May 24, 2016 3:13:40 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/xwiki.xml May 24, 2016 3:13:49 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar SEVERE: contextConfig.jarFile java.io.FileNotFoundException: /usr/lib/xwiki/WEB-INF/lib/log4j-over-slf4j-1.7.18-xwiki-1.jar (No such file or directory) at java.util.zip.ZipFile.open(Native Method) Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein Sent: 24 May 2016 17:40 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 Hi No, we never made it the root application. The site has always been http://xwiki.cdc.local:8080/xwiki. Below are listings of the file referred to in the link. root@xWiki:/etc/tomcat7/Catalina/localhost# ll total 8 drwxrwxr-x 2 root tomcat7 4096 May 24 15:13 ./ drwxrwxr-x 3 root tomcat7 4096 Mar 8 2015 ../ lrwxrwxrwx 1 root root 28 May 24 11:32 xwiki.xml -> /etc/xwiki/xwiki-tomcat7.xml root@xWiki:/etc/xwiki# ll total 212 drwxr-xr-x 7 root root 4096 May 24 15:13 ./ drwxr-xr-x 119 root root 4096 May 24 16:28 ../ drwxr-xr-x 4 root root 4096 Mar 8 2015 cache/ drwxr-xr-x 3 root root 4096 May 24 15:13 classes/ drwxr-xr-x 2 root root 4096 Feb 26 2015 extensions/ drwxr-xr-x 2 root root 4096 May 24 15:13 fonts/ -rw-r--r-- 1 root root 12321 May 24 15:13 hibernate.cfg.xml -rw-r--r-- 1 root root 2022 Feb 26 2015 jboss-deployment-structure.xml drwxr-xr-x 3 root root 4096 Mar 8 2015 observation/ -rw-r--r-- 1 root root 2076 Mar 31 2015 portlet.xml -rw-r--r-- 1 root root 15610 Mar 31 2015 struts-config.xml -rw-r--r-- 1 root root 1328 Mar 31 2015 sun-web.xml -rw-r--r-- 1 root root12 May 24 11:32 version.properties -rw-r--r-- 1 root root 16927 Mar 15 16:38 web.xml -rw-r--r-- 1 root root 35035 May 24 11:32 xwiki.cfg -rw-r--r-- 1 root root 33149 Feb 26 2015 xwiki.cfg.dpkg-old -rw-r--r-- 1 root root 35522 May 24 11:32 xwiki.properties -rw-r--r-- 1 root root 1257 May 29 2015 xwiki-tomcat7.xml -rw-r--r-- 1 root root 1257 Feb 26 2015 xwiki-tomcat.xml root@xWiki:/etc/xwiki# cat xwiki-tomcat7.xml Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: 24 May 2016 17:32 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 If you made XWiki the root application in Tomcat at some point you might want to look at the warning in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HXWikiasrootwebapp. On Tue, May 24, 2016 at 6:22 PM, Mahomed Hussein <maho...@custodiandc.com> wrote: > I've also checked for the files it says it can't load such as > xwiki-commons-configuration-api-8.0.jar and confirm that the file does not > exist, but
Re: [xwiki-users] XWiki 8.1 returning error 404
If you made XWiki the root application in Tomcat at some point you might want to look at the warning in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HXWikiasrootwebapp. On Tue, May 24, 2016 at 6:22 PM, Mahomed Hussein <maho...@custodiandc.com> wrote: > I've also checked for the files it says it can't load such as > xwiki-commons-configuration-api-8.0.jar and confirm that the file does not > exist, but xwiki-commons-configuration-api-8.1.jar does exist. > > > Kind regards, > > > > > Mahomed Hussein > Custodian Data Centre > Email: maho...@custodiandc.com > http://www.CustodianDC.com > > -Original Message- > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein > Sent: 24 May 2016 17:16 > To: XWiki Users <users@xwiki.org> > Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > >> I guess it means you made apt-get update/upgrade automatic which is usually >> not a great idea. > > Yes you are right. It was on my list to disable this > > >> Could you confirm you are using XWiki Debian packages ? > > Yes I confirm it's the debian packages. All installed via apt-get install > > >> Logs > > I have looked at the local access log and can see the last successful visit > to the system was at 13:46 and then the next entry was at 16:23 when I got > the error. > > The log file is quite long, I can share it via pastebin or some other method > if you prefer. > > Thanks for the help. > > > === > 10.0.5.62 - - [24/May/2016:13:46:33 +0100] "GET > /xwiki/bin/get/XWiki/DocumentTree?outputSyntax=plain=false=false&=children=document%3Axwiki%3ANOC.WebHome > HTTP/1.1" 200 8492 > 10.0.5.61 - - [24/May/2016:16:23:22 +0100] "GET > /xwiki/bin/view/Main/Search?text=backup_type=DOCUMENT_locale=en_locale==1 > HTTP/1.1" 404 1021 > 10.0.5.61 - - [24/May/2016:16:23:23 +0100] "GET /favicon.ico HTTP/1.1" 404 991 > 10.0.5.61 - - [24/May/2016:16:23:32 +0100] "GET > /xwiki/bin/view/Main/Search?text=backup_type=DOCUMENT_locale=en_locale==1 > HTTP/1.1" 404 1021 > 10.0.5.61 - - [24/May/2016:16:23:37 +0100] "GET /xwiki/ HTTP/1.1" 404 981 > 10.0.5.61 - - [24/May/2016:16:23:47 +0100] "GET /xwiki/bin/view/Main/ > HTTP/1.1" 404 1009 === > > > > From about 15:00 we started getting errors in catalina.out. Also notice how > the time changes from using 24 Hour notation to 12 hour notation (excessively > repeated events truncated) > > === > > 2016-05-24 15:00:00,001 [DefaultQuartzScheduler_Worker-10] ERROR > o.q.c.ErrorLogger - Job > (DEFAULT.xwiki:Scheduler.WatchListHourlyNotifier_0 threw an exception. > org.quartz.SchedulerException: Job threw an unhandled exception. > at org.quartz.core.JobRunShell.run(JobRunShell.java:213) > at > org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) > Caused by: java.lang.RuntimeException: Failed to load component for type > [interface org.xwiki.context.ExecutionContextManager] for hint [default] > at com.xpn.xwiki.web.Utils.getComponent(Utils.java:758) > at com.xpn.xwiki.web.Utils.getComponent(Utils.java:781) > at com.xpn.xwiki.web.Utils.getComponent(Utils.java:734) > at > com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:56) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > ... 1 common frames omitted > Caused by: org.xwiki.component.manager.ComponentLookupException: Can't find > descriptor for the component [role = [interface > org.xwiki.context.ExecutionContextManager] hint = [default]] > at > org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:401) > at > org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) > at com.xpn.xwiki.web.Utils.getComponent(Utils.java:756) > ... 5 common frames omitted > May 24, 2016 3:13:16 PM org.apache.coyote.AbstractProtocol pause > INFO: Pausing ProtocolHandler ["http-bio-8080"] May 24, 2016 3:13:16 PM > org.apache.catalina.core.StandardService stopInternal > INFO: Stopping service Catalina > 2016-05-24 15:13:32,469 [localhost-startStop-2] WARN o.i.j.ResourceDMBean >- ISPN42: Did not find queried attribute with name coreHashCode > 2016-05-24 15:13:32,470 [localhost-startStop-2] WARN o.i.j.ResourceDMBean >- ISPN42: Did not find queried attribute with name coreHashCode > 2016-05-24 15:13:32,470 [loca
Re: [xwiki-users] XWiki 8.1 returning error 404
I've also checked for the files it says it can't load such as xwiki-commons-configuration-api-8.0.jar and confirm that the file does not exist, but xwiki-commons-configuration-api-8.1.jar does exist. Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein Sent: 24 May 2016 17:16 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 > I guess it means you made apt-get update/upgrade automatic which is usually > not a great idea. Yes you are right. It was on my list to disable this > Could you confirm you are using XWiki Debian packages ? Yes I confirm it's the debian packages. All installed via apt-get install > Logs I have looked at the local access log and can see the last successful visit to the system was at 13:46 and then the next entry was at 16:23 when I got the error. The log file is quite long, I can share it via pastebin or some other method if you prefer. Thanks for the help. === 10.0.5.62 - - [24/May/2016:13:46:33 +0100] "GET /xwiki/bin/get/XWiki/DocumentTree?outputSyntax=plain=false=false&=children=document%3Axwiki%3ANOC.WebHome HTTP/1.1" 200 8492 10.0.5.61 - - [24/May/2016:16:23:22 +0100] "GET /xwiki/bin/view/Main/Search?text=backup_type=DOCUMENT_locale=en_locale==1 HTTP/1.1" 404 1021 10.0.5.61 - - [24/May/2016:16:23:23 +0100] "GET /favicon.ico HTTP/1.1" 404 991 10.0.5.61 - - [24/May/2016:16:23:32 +0100] "GET /xwiki/bin/view/Main/Search?text=backup_type=DOCUMENT_locale=en_locale==1 HTTP/1.1" 404 1021 10.0.5.61 - - [24/May/2016:16:23:37 +0100] "GET /xwiki/ HTTP/1.1" 404 981 10.0.5.61 - - [24/May/2016:16:23:47 +0100] "GET /xwiki/bin/view/Main/ HTTP/1.1" 404 1009 === >From about 15:00 we started getting errors in catalina.out. Also notice how >the time changes from using 24 Hour notation to 12 hour notation (excessively >repeated events truncated) === 2016-05-24 15:00:00,001 [DefaultQuartzScheduler_Worker-10] ERROR o.q.c.ErrorLogger - Job (DEFAULT.xwiki:Scheduler.WatchListHourlyNotifier_0 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) Caused by: java.lang.RuntimeException: Failed to load component for type [interface org.xwiki.context.ExecutionContextManager] for hint [default] at com.xpn.xwiki.web.Utils.getComponent(Utils.java:758) at com.xpn.xwiki.web.Utils.getComponent(Utils.java:781) at com.xpn.xwiki.web.Utils.getComponent(Utils.java:734) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:56) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 1 common frames omitted Caused by: org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component [role = [interface org.xwiki.context.ExecutionContextManager] hint = [default]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:401) at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) at com.xpn.xwiki.web.Utils.getComponent(Utils.java:756) ... 5 common frames omitted May 24, 2016 3:13:16 PM org.apache.coyote.AbstractProtocol pause INFO: Pausing ProtocolHandler ["http-bio-8080"] May 24, 2016 3:13:16 PM org.apache.catalina.core.StandardService stopInternal INFO: Stopping service Catalina 2016-05-24 15:13:32,469 [localhost-startStop-2] WARN o.i.j.ResourceDMBean - ISPN42: Did not find queried attribute with name coreHashCode 2016-05-24 15:13:32,470 [localhost-startStop-2] WARN o.i.j.ResourceDMBean - ISPN42: Did not find queried attribute with name coreHashCode 2016-05-24 15:13:32,470 [localhost-startStop-2] WARN o.i.j.ResourceDMBean - ISPN42: Did not find queried attribute with name coreHashCode [truncated] 2016-05-24 15:13:32,485 [localhost-startStop-2] WARN o.i.j.ResourceDMBean - ISPN42: Did not find queried attribute with name coreHashCode May 24, 2016 3:13:32 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/xwiki] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. May 24, 2016 3:13:32 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks SEVERE: The web appli
Re: [xwiki-users] XWiki 8.1 returning error 404
ter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) May 24, 2016 3:13:49 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar SEVERE: contextConfig.jarFile java.io.FileNotFoundException: /usr/lib/xwiki/WEB-INF/lib/xwiki-platform-feed-api-8.0.jar (No such file or directory) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:215) at java.util.zip.ZipFile.(ZipFile.java:145) at java.util.jar.JarFile.(JarFile.java:154) at java.util.jar.JarFile.(JarFile.java:91) at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:93) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) at org.apache.tomcat.util.scan.FileUrlJar.(FileUrlJar.java:41) at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:34) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1922) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1897) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1882) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1314) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:873) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:371) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5355) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) === Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: 24 May 2016 17:01 To: XWiki Users <users@xwiki.org> Subject: Re: [xwiki-users] XWiki 8.1 returning error 404 I guess it means you made apt-get update/upgrade automatic which is usually not a great idea. Could you confirm you are using XWiki Debian packages ? You should look at tomcat log to see if there is any error in it. What version was it upgraded from ? On Tue, May 24, 2016 at 5:51 PM, Mahomed Hussein <maho...@custodiandc.com> wrote: > Hi > > It seems our server automatically updated to xWiki 8.1 and now we are getting > the error below: > > > === > HTTP Status 404 - /xwiki/bin/view/Main/ type Status report message > /xwiki/bin/view/Main/ > > description The requested resource is not available. > > Apache Tomcat/7.0.52 (Ubuntu) > > === > > I have already rebooted the server to no avail. I have confirmed that > we are upgraded to 8.1 > > I have tried to browse to > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81RC1 to > see if there are any instructions there, but the page is not loading and I am > getting an error 524 (I assume you are using cloudflare). > > Help please as this is our live system. Thanks. > > > Kind regards, > > > Mahomed Hussein > Custodian Data Centre > Email: maho...@custodiandc.com > http://www.CustodianDC.com > ___ > users mailing list &
Re: [xwiki-users] XWiki 8.1 returning error 404
> On 24 May 2016, at 17:51, Mahomed Husseinwrote: > > Hi > > It seems our server automatically updated to xWiki 8.1 and now we are getting > the error below: > > > === > HTTP Status 404 - /xwiki/bin/view/Main/ > type Status report > message /xwiki/bin/view/Main/ > > description The requested resource is not available. > > Apache Tomcat/7.0.52 (Ubuntu) > > === > > I have already rebooted the server to no avail. I have confirmed that we are > upgraded to 8.1 > > I have tried to browse to > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81RC1 to > see if there are any instructions there, but the page is not loading and I am > getting an error 524 (I assume you are using cloudflare). xwiki.org has issues. I have restarted it now. Sorry about that. Thanks -Vincent > > Help please as this is our live system. Thanks. > > > Kind regards, > > > Mahomed Hussein ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki 8.1 returning error 404
I guess it means you made apt-get update/upgrade automatic which is usually not a great idea. Could you confirm you are using XWiki Debian packages ? You should look at tomcat log to see if there is any error in it. What version was it upgraded from ? On Tue, May 24, 2016 at 5:51 PM, Mahomed Husseinwrote: > Hi > > It seems our server automatically updated to xWiki 8.1 and now we are getting > the error below: > > > === > HTTP Status 404 - /xwiki/bin/view/Main/ > type Status report > message /xwiki/bin/view/Main/ > > description The requested resource is not available. > > Apache Tomcat/7.0.52 (Ubuntu) > > === > > I have already rebooted the server to no avail. I have confirmed that we are > upgraded to 8.1 > > I have tried to browse to > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81RC1 to > see if there are any instructions there, but the page is not loading and I am > getting an error 524 (I assume you are using cloudflare). > > Help please as this is our live system. Thanks. > > > Kind regards, > > > Mahomed Hussein > Custodian Data Centre > Email: maho...@custodiandc.com > http://www.CustodianDC.com > ___ > 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