From jetspeed-dev-return-38242-archive-asf-public=cust-asf.ponee.io@portals.apache.org Thu Oct 4 00:49:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3220318065B for ; Thu, 4 Oct 2018 00:49:05 +0200 (CEST) Received: (qmail 29932 invoked by uid 500); 3 Oct 2018 22:49:04 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 29913 invoked by uid 99); 3 Oct 2018 22:49:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2018 22:49:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 31365C0368 for ; Wed, 3 Oct 2018 22:49:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.581 X-Spam-Level: X-Spam-Status: No, score=-0.581 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_FAIL=0.919] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id sVrSLzCA6d6e for ; Wed, 3 Oct 2018 22:49:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 190135F23D for ; Wed, 3 Oct 2018 22:49:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4E143E015E for ; Wed, 3 Oct 2018 22:49:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0BF502552C for ; Wed, 3 Oct 2018 22:49:00 +0000 (UTC) Date: Wed, 3 Oct 2018 22:49:00 +0000 (UTC) From: "David Sean Taylor (JIRA)" To: jetspeed-dev@portals.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JS2-1365) Old Version of Tomcat packaged with JetSpeed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JS2-1365?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D166375= 85#comment-16637585 ]=20 David Sean Taylor commented on JS2-1365: ---------------------------------------- Sounds like we'd have to package with Tomcat9=C2=A0 > 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: Peter_Lenahan@ibi.com > Priority: Critical > Attachments: jetspeed-crashing.png > > > The older version of Tomcat currently packaged with Jetspeed, does not su= pport 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 suppo= rt 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 fi= les allows the portlet to start. > This is not a problem in the JetSpeed code, just the packaging of older t= omcat 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\= ops286.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 process= AnnotationsJar > SEVERE: Unable to process Jar entry [META-INF/versions/9/module-info.clas= s] from Jar [jar:file:/C:/Apache/Jetspeed-2.3.1/webapps/ops286/WEB-INF/lib/= log4j-api-2.11.0.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.(ConstantPoo= l.java:55) > at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(Cl= assParser.java:176) > at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.j= ava:85) > at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(Co= ntextConfig.java:2121) > at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(Conte= xtConfig.java:1983) > at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(Conte= xtConfig.java:1944) > at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextC= onfig.java:1929) > at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.jav= a:1328) > at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfi= g.java:887) > at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi= g.java:387) > at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl= eSupport.java:117) > at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa= se.java:90) > at org.apache.catalina.core.StandardContext.startInternal(StandardContex= t.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:87= 5) > 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:= 1984) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51= 1) > 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) > 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= debug logging for this logger for a complete list of JARs that were scanne= d but no TLDs were found in them. Skipping unneeded JARs during scanning ca= n improve startup time and JSP compilation time. > JetspeedContainerServlet: starting initialization of Portlet Application = at: ops286 > JetspeedContainerServlet: initialization done for Portlet Application at:= ops286 > 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\weba= pps\ops286.war has finished in 2,624 ms -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org