[jira] [Created] (JS2-1365) Old Version of Tomcat packaged with JetSpeed
| Newsgroups | gmane.comp.jakarta.jetspeed.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] created JS2-1365: ------------------------------------------ Summary: Old Version of Tomcat packaged with JetSpeed Key: JS2-1365 URL: https://issues.apache.org/jira/browse/JS2-1365 Project: Jetspeed 2 Issue Type: Bug Affects Versions: 2.3.1 Reporter: [email protected] Attachments: jetspeed-crashing.png The older version of Tomcat currently packaged with Jetspeed, does not supp= ort The Java 9 feature of Multi Release Jar files. As a result, the log4j-api-2.11.0.jar which is packaged with Java 9 support= causes an error when trying to parse the Java 9 classes. This error=C2=A0can be seen in the attached image, and the trace below. Editing the=C2=A0log4j-api-2.11.0.jar jar file and removing the Java 9 file= s allows the portlet to start. This is not a problem in the JetSpeed code, just the packaging of older tom= cat in the=C2=A0 jetspeed release 2.3.1 =C2=A0 Here is the stack trace which shows the problem is in tomcat. =C2=A0 Creating war C:\Apache\Jetspeed-2.3.1\webapps\ops286.war ... War C:\Apache\Jetspeed-2.3.1\webapps\ops286.war created Oct 03, 2018 3:33:06 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive C:\Apache\Jetspeed-2.3.1\webapps\op= s286.war Oct 03, 2018 3:33:07 PM org.apache.catalina.deploy.WebXml setVersion WARNING: Unknown version string [3.1]. Default version will be used. Oct 03, 2018 3:33:09 PM org.apache.catalina.startup.ContextConfig processAn= notationsJar SEVERE: Unable to process Jar entry [META-INF/versions/9/module-info.class]= from Jar [jar:file:/C:/Apache/Jetspeed-2.3.1/webapps/ops286/WEB-INF/lib/lo= g4j-api-2.11.0.jar!/] for annotations org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte ta= g in constant pool: 19 at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.ja= va:97) at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.= java:55) at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(Clas= sParser.java:176) at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.jav= a:85) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(Cont= extConfig.java:2121) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(Context= Config.java:1983) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(Context= Config.java:1944) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextCon= fig.java:1929) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:= 1328) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.= java:887) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.= java:387) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS= upport.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.j= ava: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:1092) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:19= 84) 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.ja= va:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j= ava:624) at java.lang.Thread.run(Thread.java:748) Oct 03, 2018 3:33:09 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable d= ebug logging for this logger for a complete list of JARs that were scanned = but no TLDs were found in them. Skipping unneeded JARs during scanning can = improve startup time and JSP compilation time. JetspeedContainerServlet: starting initialization of Portlet Application at= : ops286 JetspeedContainerServlet: initialization done for Portlet Application at: o= ps286 Oct 03, 2018 3:33:09 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deployment of web application archive C:\Apache\Jetspeed-2.3.1\webapp= s\ops286.war has finished in 2,624 ms -- This message was sent by Atlassian JIRA (v7.6.3#76005)