SAP Knowledge Base Article - Preview

2697117 - Upgrade Tomcat Bundled with Hybris from V7.0.xx to V8.0.xx

Symptom

Due to the security issues, customer wants to upgrade the tomcat. When updating tomcat V7.0.59 to tomcat V8.0.52 by following help guide  Upgrading Tomcat , the following error will be thrown when calling "ant clean all" during building period.

[jasper2] Jul 25, 2018 11:48:20 AM org.apache.jasper.servlet.TldScanner scanJars
[jasper2] 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 scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[jasper2] java.io.FileNotFoundException: /Users/******/Documents/platform/hybris_ws/cx5.7.0.21/hybris/bin/platform/ext/maintenanceweb/web/webroot}/WEB-INF/gen_web.xml (No such file or directory)
[jasper2] at java.io.FileOutputStream.open0(Native Method)
[jasper2] at java.io.FileOutputStream.open(FileOutputStream.java:270)
[jasper2] at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
[jasper2] at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
[jasper2] at org.apache.jasper.JspC.openWebxmlWriter(JspC.java:1727)
[jasper2] at org.apache.jasper.JspC.initWebXml(JspC.java:1473)
[jasper2] at org.apache.jasper.JspC.execute(JspC.java:1397)
[jasper2] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[jasper2] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[jasper2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[jasper2] at java.lang.reflect.Method.invoke(Method.java:498)
[jasper2] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[jasper2] at org.apache.tools.ant.Task.perform(Task.java:348)
[jasper2] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[jasper2] at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
[jasper2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[jasper2] at java.lang.reflect.Method.invoke(Method.java:498)
[jasper2] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[jasper2] at org.apache.tools.ant.Task.perform(Task.java:348)
......
[echo]
[echo] ERROR compiling jsp's for maintenanceweb: org.apache.jasper.JasperException: java.io.FileNotFoundException: /Users/******/Documents/platform/hybris_ws/cx5.7.0.21/hybris/bin/platform/ext/maintenanceweb/web/webroot}/WEB-INF/gen_web.xml (No such file or directory)
[echo] NOTE: To avoid these error(s) you can disable the jsp precompilation
[echo] by setting the jspcompile-tag in your extensioninfo.xml to: jspcompile="false"
[echo]
[echo]


Read more...

Environment

  • SAP Hybris Commerce 5.7

Product

SAP hybris Commerce 5.7

Keywords

Tomcat Upgrade , KBA , CEC-COM-CPS , Commerce Platform & Suite (SAP Commerce) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.