Hello all, I just start to make an upgrade from my Xwiki 7.1.2 release to the last debian version. I am running a Debian server, a Postgresql database and Tomcat 7. I ran apt commands without problem. But in the run of Tomcat I got a bunch of errors in catalina.out and the url show an error page. Browser : Etat HTTP 404 - /xwiki _____ type Rapport d''état message /xwiki description La ressource demandée (/xwiki) n'est pas disponible. _____ Apache Tomcat/7.0.28 Catalina.out INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28 mai 25, 2016 10:36:34 AM org.apache.catalina.startup.HostConfig deployDescriptor INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml mai 25, 2016 10:36:36 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar GRAVE: Unable to process Jar entry [org/infinispan/commons/marshall/MarshallableFunctions$AbstractSetValueIfPresentReturnBoolean.class] from Jar [jar:file:/usr/lib/xwiki/WEB-INF/lib/infinispan-commons-8.2.1.Final.jar!/] for annotations org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18 at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131) at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60) at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209) at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2049) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1931) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1899) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1885) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1281) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:346) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5209) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582) 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) + all others talking about inifispan Thanks for your help Stéphane Cordialement
8.1 requires Java 8 so you need to make sure you configure Tomcat to use it. Note: it's possible the JVM is explicitely set in /etc/default/tomact7 (in which case Tomcat won't use the default JVM). On Wed, May 25, 2016 at 11:03 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello all,
I just start to make an upgrade from my Xwiki 7.1.2 release to the last debian version.
I am running a Debian server, a Postgresql database and Tomcat 7.
I ran apt commands without problem.
But in the run of Tomcat I got a bunch of errors in catalina.out and the url show an error page.
Browser :
Etat HTTP 404 - /xwiki
_____
type Rapport d''état
message /xwiki
description La ressource demandée (/xwiki) n'est pas disponible.
_____
Apache Tomcat/7.0.28
Catalina.out
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28
mai 25, 2016 10:36:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml
mai 25, 2016 10:36:36 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar
GRAVE: Unable to process Jar entry [org/infinispan/commons/marshall/MarshallableFunctions$AbstractSetValueIfPresentReturnBoolean.class] from Jar [jar:file:/usr/lib/xwiki/WEB-INF/lib/infinispan-commons-8.2.1.Final.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)
at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2049)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1931)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1899)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1885)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1281)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:346)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5209)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
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)
+ all others talking about inifispan
Thanks for your help
Stéphane
Cordialement
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Note: We’re going to have lots of issues like this if the apt doesn’t update the java version At the very least we need to highlight this in the doc on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT Can someone do this? Thanks -Vincent
On 25 May 2016, at 11:17, Thomas Mortagne <[email protected]> wrote:
8.1 requires Java 8 so you need to make sure you configure Tomcat to use it.
Note: it's possible the JVM is explicitely set in /etc/default/tomact7 (in which case Tomcat won't use the default JVM).
On Wed, May 25, 2016 at 11:03 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello all,
I just start to make an upgrade from my Xwiki 7.1.2 release to the last debian version.
I am running a Debian server, a Postgresql database and Tomcat 7.
I ran apt commands without problem.
But in the run of Tomcat I got a bunch of errors in catalina.out and the url show an error page.
Browser :
Etat HTTP 404 - /xwiki
_____
type Rapport d''état
message /xwiki
description La ressource demandée (/xwiki) n'est pas disponible.
_____
Apache Tomcat/7.0.28
Catalina.out
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28
mai 25, 2016 10:36:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml
mai 25, 2016 10:36:36 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar
GRAVE: Unable to process Jar entry [org/infinispan/commons/marshall/MarshallableFunctions$AbstractSetValueIfPresentReturnBoolean.class] from Jar [jar:file:/usr/lib/xwiki/WEB-INF/lib/infinispan-commons-8.2.1.Final.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)
at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2049)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1931)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1899)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1885)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1281)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:346)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5209)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
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)
+ all others talking about inifispan
Thanks for your help
Stéphane
Cordialement
_______________________________________________ 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
On Wed, May 25, 2016 at 11:33 AM, Vincent Massol <[email protected]> wrote:
Note: We’re going to have lots of issues like this if the apt doesn’t update the java version
It's not that simple. The package require Java 8 but then you can still have a different version configured in Tomcat and XWiki package cannot do much more about that.
At the very least we need to highlight this in the doc on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
Can someone do this?
Thanks -Vincent
On 25 May 2016, at 11:17, Thomas Mortagne <[email protected]> wrote:
8.1 requires Java 8 so you need to make sure you configure Tomcat to use it.
Note: it's possible the JVM is explicitely set in /etc/default/tomact7 (in which case Tomcat won't use the default JVM).
On Wed, May 25, 2016 at 11:03 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello all,
I just start to make an upgrade from my Xwiki 7.1.2 release to the last debian version.
I am running a Debian server, a Postgresql database and Tomcat 7.
I ran apt commands without problem.
But in the run of Tomcat I got a bunch of errors in catalina.out and the url show an error page.
Browser :
Etat HTTP 404 - /xwiki
_____
type Rapport d''état
message /xwiki
description La ressource demandée (/xwiki) n'est pas disponible.
_____
Apache Tomcat/7.0.28
Catalina.out
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28
mai 25, 2016 10:36:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml
mai 25, 2016 10:36:36 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar
GRAVE: Unable to process Jar entry [org/infinispan/commons/marshall/MarshallableFunctions$AbstractSetValueIfPresentReturnBoolean.class] from Jar [jar:file:/usr/lib/xwiki/WEB-INF/lib/infinispan-commons-8.2.1.Final.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)
at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2049)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1931)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1899)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1885)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1281)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:346)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5209)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
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)
+ all others talking about inifispan
Thanks for your help
Stéphane
Cordialement
_______________________________________________ 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
Hello Thomas, So I take a look of all messages between you and Mohamed. *1* I put Java 8 root@CESAP-WIKI01:/var/log/tomcat7# 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) *2* Put tuning for Java 8 root@CESAP-WIKI01:/var/log/tomcat7# update-alternatives --config java Il existe 3 choix pour l'alternative java (qui fournit /usr/bin/java). Sélection Chemin Priorité État ------------------------------------------------------------ * 0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1062 mode a 1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 mode m 2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051 mode m 3 /usr/lib/jvm/java-8-oracle/jre/bin/java 1062 mode m -> new JDK to the JDK_DIRS variable in /etc/init.d/tomcat7 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-oracle" -> Modification /etc/default/tomcat7 JAVA_HOME=/usr/lib/jvm/java-8-oracle But at this time I git a blank page on browser and ythis kind of error in catalina : mai 25, 2016 12:34:02 PM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-8080"] mai 25, 2016 12:34:02 PM org.apache.catalina.startup.Catalina load INFOS: Initialization processed in 721 ms mai 25, 2016 12:34:02 PM org.apache.catalina.core.StandardService startInternal INFOS: Démarrage du service Catalina mai 25, 2016 12:34:02 PM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28 mai 25, 2016 12:34:02 PM org.apache.catalina.startup.HostConfig deployDescriptor INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml mai 25, 2016 12:34:07 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar GRAVE: Unable to process Jar entry [jdk/nashorn/internal/objects/NativeString.class] from Jar [jar:file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar!/] for annotations org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15 Error in localhost.2016... mai 25, 2016 12:34:37 PM org.apache.catalina.core.StandardWrapperValve invoke GRAVE: "Servlet.service()" pour la servlet action a généré une exception javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class com.xpn.xwiki.web.XWikiRequestProcessor: java.lang.NullPointerException at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:614) Not very simple to solve this time Sorry 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é : mercredi 25 mai 2016 11:17 À : XWiki Users Objet : Re: [xwiki-users] Error upgrading Debian 8.1 requires Java 8 so you need to make sure you configure Tomcat to use it. Note: it's possible the JVM is explicitely set in /etc/default/tomact7 (in which case Tomcat won't use the default JVM). On Wed, May 25, 2016 at 11:03 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello all,
I just start to make an upgrade from my Xwiki 7.1.2 release to the last debian version.
I am running a Debian server, a Postgresql database and Tomcat 7.
I ran apt commands without problem.
But in the run of Tomcat I got a bunch of errors in catalina.out and the url show an error page.
Browser :
Etat HTTP 404 - /xwiki
_____
type Rapport d''état
message /xwiki
description La ressource demandée (/xwiki) n'est pas disponible.
_____
Apache Tomcat/7.0.28
Catalina.out
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28
mai 25, 2016 10:36:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml
mai 25, 2016 10:36:36 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar
GRAVE: Unable to process Jar entry [org/infinispan/commons/marshall/MarshallableFunctions$AbstractSetValu eIfPresentReturnBoolean.class] from Jar [jar:file:/usr/lib/xwiki/WEB-INF/lib/infinispan-commons-8.2.1.Final.ja r!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.j ava:131)
at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool .java:60)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(Cla ssParser.java:209)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.ja va:119)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(Con textConfig.java:2049)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(Contex tConfig.java:1931)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(Contex tConfig.java:1899)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextCo nfig.java:1885)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java :1281)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig .java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .java:346)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Support.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBas e.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext .java:5209)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875 )
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.jav a:650)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig .java:1582)
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.j ava:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. java:615)
at java.lang.Thread.run(Thread.java:745)
+ all others talking about inifispan
Thanks for your help
Stéphane
Cordialement
_______________________________________________ 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
"Invalid byte tag in constant pool: 15" still looks like a Java version issue. Could you check what version of Java started with "ps aux | grep tomcat" ? On Wed, May 25, 2016 at 12:41 PM, Stéphane LASSIRE <[email protected]> wrote:
Hello Thomas,
So I take a look of all messages between you and Mohamed.
*1* I put Java 8
root@CESAP-WIKI01:/var/log/tomcat7# 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)
*2* Put tuning for Java 8 root@CESAP-WIKI01:/var/log/tomcat7# update-alternatives --config java Il existe 3 choix pour l'alternative java (qui fournit /usr/bin/java).
Sélection Chemin Priorité État ------------------------------------------------------------ * 0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1062 mode a 1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 mode m 2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051 mode m 3 /usr/lib/jvm/java-8-oracle/jre/bin/java 1062 mode m
-> new JDK to the JDK_DIRS variable in /etc/init.d/tomcat7 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-oracle"
-> Modification /etc/default/tomcat7 JAVA_HOME=/usr/lib/jvm/java-8-oracle
But at this time I git a blank page on browser and ythis kind of error in catalina :
mai 25, 2016 12:34:02 PM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-8080"] mai 25, 2016 12:34:02 PM org.apache.catalina.startup.Catalina load INFOS: Initialization processed in 721 ms mai 25, 2016 12:34:02 PM org.apache.catalina.core.StandardService startInternal INFOS: Démarrage du service Catalina mai 25, 2016 12:34:02 PM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28 mai 25, 2016 12:34:02 PM org.apache.catalina.startup.HostConfig deployDescriptor INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml mai 25, 2016 12:34:07 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar GRAVE: Unable to process Jar entry [jdk/nashorn/internal/objects/NativeString.class] from Jar [jar:file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar!/] for annotations org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15
Error in localhost.2016... mai 25, 2016 12:34:37 PM org.apache.catalina.core.StandardWrapperValve invoke GRAVE: "Servlet.service()" pour la servlet action a généré une exception javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class com.xpn.xwiki.web.XWikiRequestProcessor: java.lang.NullPointerException at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:614)
Not very simple to solve this time Sorry
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é : mercredi 25 mai 2016 11:17 À : XWiki Users Objet : Re: [xwiki-users] Error upgrading Debian
8.1 requires Java 8 so you need to make sure you configure Tomcat to use it.
Note: it's possible the JVM is explicitely set in /etc/default/tomact7 (in which case Tomcat won't use the default JVM).
On Wed, May 25, 2016 at 11:03 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello all,
I just start to make an upgrade from my Xwiki 7.1.2 release to the last debian version.
I am running a Debian server, a Postgresql database and Tomcat 7.
I ran apt commands without problem.
But in the run of Tomcat I got a bunch of errors in catalina.out and the url show an error page.
Browser :
Etat HTTP 404 - /xwiki
_____
type Rapport d''état
message /xwiki
description La ressource demandée (/xwiki) n'est pas disponible.
_____
Apache Tomcat/7.0.28
Catalina.out
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28
mai 25, 2016 10:36:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml
mai 25, 2016 10:36:36 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar
GRAVE: Unable to process Jar entry [org/infinispan/commons/marshall/MarshallableFunctions$AbstractSetValu eIfPresentReturnBoolean.class] from Jar [jar:file:/usr/lib/xwiki/WEB-INF/lib/infinispan-commons-8.2.1.Final.ja r!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.j ava:131)
at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool .java:60)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(Cla ssParser.java:209)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.ja va:119)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(Con textConfig.java:2049)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(Contex tConfig.java:1931)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(Contex tConfig.java:1899)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextCo nfig.java:1885)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java :1281)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig .java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .java:346)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Support.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBas e.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext .java:5209)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875 )
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.jav a:650)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig .java:1582)
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.j ava:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. java:615)
at java.lang.Thread.run(Thread.java:745)
+ all others talking about inifispan
Thanks for your help
Stéphane
Cordialement
_______________________________________________ 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
Hello Thomas, The answer : root@CESAP-WIKI01:/var/log/tomcat7# ps aux | grep tomcat tomcat7 6355 7.3 6.7 2182572 275136 ? Sl 12:34 0:59 /usr/lib/jvm/java-8-oracle/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -classpath /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp org.apache.catalina.startup.Bootstrap start thanks for the help Cordialement Stéphane Lassire -----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : mercredi 25 mai 2016 12:46 À : XWiki Users Objet : Re: [xwiki-users] Error upgrading Debian "Invalid byte tag in constant pool: 15" still looks like a Java version issue. Could you check what version of Java started with "ps aux | grep tomcat" ?
On Wed, May 25, 2016 at 12:30 PM, Thomas Mortagne <[email protected]> wrote:
On Wed, May 25, 2016 at 11:33 AM, Vincent Massol <[email protected]> wrote:
Note: We’re going to have lots of issues like this if the apt doesn’t update the java version
It's not that simple. The package require Java 8 but then you can still have a different version configured in Tomcat and XWiki package cannot do much more about that.
At the very least we need to highlight this in the doc on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
I added http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HJava...
Can someone do this?
Thanks -Vincent
On 25 May 2016, at 11:17, Thomas Mortagne <[email protected]> wrote:
8.1 requires Java 8 so you need to make sure you configure Tomcat to use it.
Note: it's possible the JVM is explicitely set in /etc/default/tomact7 (in which case Tomcat won't use the default JVM).
On Wed, May 25, 2016 at 11:03 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello all,
I just start to make an upgrade from my Xwiki 7.1.2 release to the last debian version.
I am running a Debian server, a Postgresql database and Tomcat 7.
I ran apt commands without problem.
But in the run of Tomcat I got a bunch of errors in catalina.out and the url show an error page.
Browser :
Etat HTTP 404 - /xwiki
_____
type Rapport d''état
message /xwiki
description La ressource demandée (/xwiki) n'est pas disponible.
_____
Apache Tomcat/7.0.28
Catalina.out
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28
mai 25, 2016 10:36:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml
mai 25, 2016 10:36:36 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar
GRAVE: Unable to process Jar entry [org/infinispan/commons/marshall/MarshallableFunctions$AbstractSetValueIfPresentReturnBoolean.class] from Jar [jar:file:/usr/lib/xwiki/WEB-INF/lib/infinispan-commons-8.2.1.Final.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)
at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2049)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1931)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1899)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1885)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1281)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:346)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5209)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
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)
+ all others talking about inifispan
Thanks for your help
Stéphane
Cordialement
_______________________________________________ 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
-- Thomas Mortagne
You are definitely using Oracle JDK 8 so I don't understand why you end up with this kind of error. I just upgraded to XWiki 8.0 with pretty much the same setup and all seems OK: * Ubuntu Server 14.04 * Oracle JDK 1.8.0_91 installed trough http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html * I commented the JAVA_HOME property in /etc/default/tomcat7 and rely on oracle-java8-set-default package (provided by webupd8 ppa) to set the proper default version On Wed, May 25, 2016 at 12:48 PM, Stéphane LASSIRE <[email protected]> wrote:
Hello Thomas,
The answer :
root@CESAP-WIKI01:/var/log/tomcat7# ps aux | grep tomcat tomcat7 6355 7.3 6.7 2182572 275136 ? Sl 12:34 0:59 /usr/lib/jvm/java-8-oracle/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -classpath /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp org.apache.catalina.startup.Bootstrap start
thanks for the help
Cordialement
Stéphane Lassire -----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : mercredi 25 mai 2016 12:46 À : XWiki Users Objet : Re: [xwiki-users] Error upgrading Debian
"Invalid byte tag in constant pool: 15" still looks like a Java version issue.
Could you check what version of Java started with "ps aux | grep tomcat" ?
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I see you are using tomcat 7.0.28 - probably your are still on wheezy? There are some bug reports for that message; it seems upgrading tomcat helps, e.g.: http://stackoverflow.com/q/23541532 http://stackoverflow.com/q/23484098 However the tomcat with wheezy is just too old: https://packages.debian.org/wheezy/tomcat7 The tomcat with jessie should work https://packages.debian.org/stable/tomcat7 Maybe try "wheezy-backports" if you do not want to update to jessie (I have never done that myself, so I cannot be of much help here) Alternatively it might help editing xwiki's web.xml manually by adding a metadata-complete="true" as suggested here: http://stackoverflow.com/a/12730059 though I have not tried this and do not really understand why it should help HTH Clemens ----- Ursprüngliche Nachricht ----- Von: Stéphane Lassire Am: Wednesday, 25.05.2016, 12:48 An: Xwiki Users Betreff: Re: [xwiki-users] Error upgrading Debian
Hello Thomas,
The answer :
root@CESAP-WIKI01:/var/log/tomcat7# ps aux | grep tomcat tomcat7 6355 7.3 6.7 2182572 275136 ? Sl 12:34 0:59 /usr/lib/jvm/java-8-oracle/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -classpath /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp org.apache.catalina.startup.Bootstrap start
thanks for the help
Cordialement
Stéphane Lassire -----Message d'origine----- De : users [mailto:[email protected]] De la part de Thomas Mortagne Envoyé : mercredi 25 mai 2016 12:46 À : XWiki Users Objet : Re: [xwiki-users] Error upgrading Debian
"Invalid byte tag in constant pool: 15" still looks like a Java version issue.
Could you check what version of Java started with "ps aux | grep tomcat" ?
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
mit freundlichen Grüßen Clemens Klein-Robbenhaar -- Clemens Klein-Robbenhaar Software Development EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.763 Fax: +49.(0)30.90 226.760 [email protected] www.espresto.de HRB 77554 B - Berlin-Charlottenburg Vorstand: Maya Biersack, Peter Biersack Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber Zertifiziert nach ISO 9001:2008
Hello Clemens, I think you are right. I have a wheezy release. I make the backport of Tomcat to go from 7.0.28 et 7.0.56 but it is always not usable. I ask my provider to go back to the backup of last night. The end of the story for me was : plan a longer time for upgrading the system and then Xwiki. Thomas: sorry I don’t read all sources for Xwiki, on my plate form it was the stable one, I wall change for the LTS one until I upgrade Debian. Thanks to all for the help. Cordialement -----Message d'origine----- De : users [mailto:[email protected]] De la part de Clemens Klein-Robbenhaar Envoyé : mercredi 25 mai 2016 13:31 À : [email protected] Objet : Re: [xwiki-users] Error upgrading Debian I see you are using tomcat 7.0.28 - probably your are still on wheezy? There are some bug reports for that message; it seems upgrading tomcat helps, e.g.: http://stackoverflow.com/q/23541532 http://stackoverflow.com/q/23484098 However the tomcat with wheezy is just too old: https://packages.debian.org/wheezy/tomcat7 The tomcat with jessie should work https://packages.debian.org/stable/tomcat7 Maybe try "wheezy-backports" if you do not want to update to jessie (I have never done that myself, so I cannot be of much help here) Alternatively it might help editing xwiki's web.xml manually by adding a metadata-complete="true" as suggested here: http://stackoverflow.com/a/12730059 though I have not tried this and do not really understand why it should help HTH Clemens
Hi Sorry, just seen these emails. One thing I forgot to mention last night (sorry I was quite tired) was that I uninstalled all the previous versions of the JDK I see from your email below that you still have java-6-openjdk and java-7-openjdk Once you uninstall the old version, and make sure you have the JDK_DIRS variable with the correct path (as you have), it will work. I had to uninstall the openjdk-7-headless (or similar). I hope that helps. Kind regards, Mahomed Hussein Custodian Data Centre Email: [email protected] http://www.CustodianDC.com -----Original Message----- From: users [mailto:[email protected]] On Behalf Of Stéphane LASSIRE Sent: 25 May 2016 11:41 To: XWiki Users <[email protected]> Subject: Re: [xwiki-users] Error upgrading Debian Hello Thomas, So I take a look of all messages between you and Mohamed. *1* I put Java 8 root@CESAP-WIKI01:/var/log/tomcat7# 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) *2* Put tuning for Java 8 root@CESAP-WIKI01:/var/log/tomcat7# update-alternatives --config java Il existe 3 choix pour l'alternative java (qui fournit /usr/bin/java). Sélection Chemin Priorité État ------------------------------------------------------------ * 0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1062 mode a 1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 mode m 2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051 mode m 3 /usr/lib/jvm/java-8-oracle/jre/bin/java 1062 mode m -> new JDK to the JDK_DIRS variable in /etc/init.d/tomcat7 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-oracle" -> Modification /etc/default/tomcat7 JAVA_HOME=/usr/lib/jvm/java-8-oracle But at this time I git a blank page on browser and ythis kind of error in catalina : mai 25, 2016 12:34:02 PM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-8080"] mai 25, 2016 12:34:02 PM org.apache.catalina.startup.Catalina load INFOS: Initialization processed in 721 ms mai 25, 2016 12:34:02 PM org.apache.catalina.core.StandardService startInternal INFOS: Démarrage du service Catalina mai 25, 2016 12:34:02 PM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28 mai 25, 2016 12:34:02 PM org.apache.catalina.startup.HostConfig deployDescriptor INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml mai 25, 2016 12:34:07 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar GRAVE: Unable to process Jar entry [jdk/nashorn/internal/objects/NativeString.class] from Jar [jar:file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar!/] for annotations org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15 Error in localhost.2016... mai 25, 2016 12:34:37 PM org.apache.catalina.core.StandardWrapperValve invoke GRAVE: "Servlet.service()" pour la servlet action a généré une exception javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class com.xpn.xwiki.web.XWikiRequestProcessor: java.lang.NullPointerException at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:614) Not very simple to solve this time Sorry 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é : mercredi 25 mai 2016 11:17 À : XWiki Users Objet : Re: [xwiki-users] Error upgrading Debian 8.1 requires Java 8 so you need to make sure you configure Tomcat to use it. Note: it's possible the JVM is explicitely set in /etc/default/tomact7 (in which case Tomcat won't use the default JVM). On Wed, May 25, 2016 at 11:03 AM, Stéphane LASSIRE <[email protected]> wrote:
Hello all,
I just start to make an upgrade from my Xwiki 7.1.2 release to the last debian version.
I am running a Debian server, a Postgresql database and Tomcat 7.
I ran apt commands without problem.
But in the run of Tomcat I got a bunch of errors in catalina.out and the url show an error page.
Browser :
Etat HTTP 404 - /xwiki
_____
type Rapport d''état
message /xwiki
description La ressource demandée (/xwiki) n'est pas disponible.
_____
Apache Tomcat/7.0.28
Catalina.out
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28
mai 25, 2016 10:36:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Déploiement du descripteur de configuration /etc/tomcat7/Catalina/localhost/xwiki.xml
mai 25, 2016 10:36:36 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar
GRAVE: Unable to process Jar entry [org/infinispan/commons/marshall/MarshallableFunctions$AbstractSetValu eIfPresentReturnBoolean.class] from Jar [jar:file:/usr/lib/xwiki/WEB-INF/lib/infinispan-commons-8.2.1.Final.ja r!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.j ava:131)
at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool .java:60)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(Cla ssParser.java:209)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.ja va:119)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(Con textConfig.java:2049)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(Contex tConfig.java:1931)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(Contex tConfig.java:1899)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextCo nfig.java:1885)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java :1281)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig .java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .java:346)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Support.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBas e.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext .java:5209)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875 )
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.jav a:650)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig .java:1582)
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.j ava:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. java:615)
at java.lang.Thread.run(Thread.java:745)
+ all others talking about inifispan
Thanks for your help
Stéphane
Cordialement
_______________________________________________ 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
participants (5)
-
Clemens Klein-Robbenhaar -
Mahomed Hussein -
Stéphane LASSIRE -
Thomas Mortagne -
Vincent Massol