Uploaded image for project: 'XNAT'
  1. XNAT
  2. XNAT-6445

Address severe tomcat error on startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Component/s: None
    • Labels:
      None
    • Sprint:
    • Rank:
      0|0hzyea:
    • Sprint:

      Description

      On the 1.8 snapshot build, when you start tomcat, you get some very angry message logged in the tomcat logs (in catalina.out). It's one possibility that this is identifying a bug, but even if not, we should address it because it's going to make a lot of users understandably upset/concerned. The SEVERE messages logged are:

      SEVERE: Unable to process Jar entry [META-INF/versions/9/module-info.class] from Jar [jar:file:/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/bcpkix-jdk15on-1.64.jar!/] for annotations
      org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
              at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:97)
              at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:55)
              at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:176)
              at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:85)
              at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2123)
              at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1985)
              at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1946)
              at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1931)
              at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
              at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
              at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
              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:5472)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
              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:652)
              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1091)
              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1980)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
       
      Aug 26, 2020 3:23:47 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
      SEVERE: Unable to process Jar entry [META-INF/versions/9/module-info.class] from Jar [jar:file:/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/bcprov-jdk15on-1.64.jar!/] for annotations
      org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
              at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:97)
              at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:55)
              at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:176)
              at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:85)
              at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2123)
              at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1985)
              at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1946)
              at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1931)
              at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
              at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
              at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
              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:5472)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
              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:652)
              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1091)
              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1980)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            Assignee:
            moore.stephen.m@wustl.edu Steve Moore
            Reporter:
            moore.c@wustl.edu Charlie Moore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: