Re: Urgent Help
I dropped a couple lines in the C/P, ammended below On 6/23/21 1:35 PM, Rob Sargent wrote: Please provide a list of all the JAR files under WEB-INF/lib in your WAR file. +1 and maybe also everything in $CATALINA_BASE/lib as well, just in case your Tomcat lib directory has had things added. -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org If looking for the source(s) of a given class, here's a bash function function jargrep { sdir=`pwd` target=$1 if [[ "$target"x == "x" ]] then printf "need at least search value, with optional starting dir\n" printf "use colon sep'd list for multiple, non-redundant dirs (eg CLASSPATH)" return fi cdir=`pwd` finded= if [ "$2"x != "x" ] then cdir=( $(echo "$2" | sed s/:/\ /g) ) fi for d in ${cdir[@]}; do cd $d if [[ $JARGREP_DEBUG ]]; then printf "TOPDIR is now: %s\n" $d; fi for jlist in `find . -name \*.jar` do if [[ $JARGREP_DEBUG ]]; then printf "checking %s/%s for %s\n" $d $jlist $target; fi for founds in `jar tf $jlist | grep $1` do if [[ $JARGREP_DEBUG ]]; then printf "full founds: %s\n" "$founds"; fi printf "Found in %s as %s\n" $jlist ${founds} finded=1 done done cd .. done if [ ! $finded ]; then echo "I got nothin' from ${cdir[@]}"; fi cd $sdir } which takes the class name (e.g. ServletContext) and an optional starting dir (default to .) and scans any found jars for anything remotely similar.
Re: Urgent Help
Mohan, On 6/23/21 07:20, Mark Thomas wrote: On 23/06/2021 11:32, Mohan T wrote: Attaching the Catalina.out file also Nearly all attachments to this mailing list are blocked. MY manifest info is as under. Manifest-Version: 1.0 Ant-Version: Apache Ant 1.9.9 Created-By: 1.7.0_80-b15 (Oracle Corporation) X-Compile-Source-JDK: 1.7 X-Compile-Target-JDK: 1.7 Name: javax/servlet/ Specification-Title: Java API for Servlets Specification-Version: 3.1 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: javax.servlet Implementation-Version: 3.1.FR Implementation-Vendor: Apache Software Foundation That looks like the standard Servlet API JAR provided by Tomcat. Please provide a list of all the JAR files under WEB-INF/lib in your WAR file. +1 and maybe also everything in $CATALINA_BASE/lib as well, just in case your Tomcat lib directory has had things added. -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Urgent Help
On 23/06/2021 11:32, Mohan T wrote: Attaching the Catalina.out file also Nearly all attachments to this mailing list are blocked. MY manifest info is as under. Manifest-Version: 1.0 Ant-Version: Apache Ant 1.9.9 Created-By: 1.7.0_80-b15 (Oracle Corporation) X-Compile-Source-JDK: 1.7 X-Compile-Target-JDK: 1.7 Name: javax/servlet/ Specification-Title: Java API for Servlets Specification-Version: 3.1 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: javax.servlet Implementation-Version: 3.1.FR Implementation-Vendor: Apache Software Foundation That looks like the standard Servlet API JAR provided by Tomcat. Please provide a list of all the JAR files under WEB-INF/lib in your WAR file. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Urgent Help
Attaching the Catalina.out file also MY manifest info is as under. Manifest-Version: 1.0 Ant-Version: Apache Ant 1.9.9 Created-By: 1.7.0_80-b15 (Oracle Corporation) X-Compile-Source-JDK: 1.7 X-Compile-Target-JDK: 1.7 Name: javax/servlet/ Specification-Title: Java API for Servlets Specification-Version: 3.1 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: javax.servlet Implementation-Version: 3.1.FR Implementation-Vendor: Apache Software Foundation -Original Message- From: Jean-Pierre Urkens Sent: 23 June 2021 15:55 To: Tomcat Users List Subject: RE: Urgent Help CAUTION: You received this email from external Domain. Check reliability of sender’s email ID. Do not click links, open attachments unless you recognize the sender and know the content is safe. – Ramco IMG What is the servlet-api version indicated in the META-INF/MANIFEST.mf file contained in the servlet-api.jar. If it is v3.1 (or higher) the ServletContext.class should contain the method getCloassLoader()? If it is 2.x, it won't. You might want to check your classpath (checkout Catalina.out to see a dump of the classpath) to see if there is another jar that might contain javax.servlet classes that get loaded even before servlet-api.jar. -Original Message- From: Mohan T Sent: woensdag 23 juni 2021 12:09 To: Tomcat Users List Subject: RE: Urgent Help Hi, Thanks for the immediate response. I am attaching my file that is used for starting the tomcat instance. Infact I have the servlet-api.jar in tomcat lib. I am unable to conclude on this. Kindly guide me. Thanks Mohan -Original Message- From: Jean-Pierre Urkens Sent: 23 June 2021 15:17 To: Tomcat Users List Subject: RE: Urgent Help CAUTION: You received this email from external Domain. Check reliability of sender’s email ID. Do not click links, open attachments unless you recognize the sender and know the content is safe. – Ramco IMG From where is the ServletContext.class loaded? Is it from /lib/servlet-api.jar or from another jar-library on the classpath? My guess is that you have multiple jars containing the ServletContext.class and not all of these are related to the same servlet-api version and thus not supporting the getClassLoader() method. You might be loading the wrong SevletContext class file. -Original Message- From: Mohan T Sent: woensdag 23 juni 2021 11:35 To: Tomcat Users List Subject: Urgent Help Hi, While starting tomcat, I am getting this error . Neither the console is starting nor the application is working . It is tomcat 8.5.35 on linux Please help Mohan 23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :758) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) 23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has finished in [608] ms 23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war] 23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) a
RE: Urgent Help
What is the servlet-api version indicated in the META-INF/MANIFEST.mf file contained in the servlet-api.jar. If it is v3.1 (or higher) the ServletContext.class should contain the method getCloassLoader()? If it is 2.x, it won't. You might want to check your classpath (checkout Catalina.out to see a dump of the classpath) to see if there is another jar that might contain javax.servlet classes that get loaded even before servlet-api.jar. -Original Message- From: Mohan T Sent: woensdag 23 juni 2021 12:09 To: Tomcat Users List Subject: RE: Urgent Help Hi, Thanks for the immediate response. I am attaching my file that is used for starting the tomcat instance. Infact I have the servlet-api.jar in tomcat lib. I am unable to conclude on this. Kindly guide me. Thanks Mohan -Original Message- From: Jean-Pierre Urkens Sent: 23 June 2021 15:17 To: Tomcat Users List Subject: RE: Urgent Help CAUTION: You received this email from external Domain. Check reliability of sender’s email ID. Do not click links, open attachments unless you recognize the sender and know the content is safe. – Ramco IMG >From where is the ServletContext.class loaded? Is it from /lib/servlet-api.jar or from another jar-library on the classpath? My guess is that you have multiple jars containing the ServletContext.class and not all of these are related to the same servlet-api version and thus not supporting the getClassLoader() method. You might be loading the wrong SevletContext class file. -Original Message- From: Mohan T Sent: woensdag 23 juni 2021 11:35 To: Tomcat Users List Subject: Urgent Help Hi, While starting tomcat, I am getting this error . Neither the console is starting nor the application is working . It is tomcat 8.5.35 on linux Please help Mohan 23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :758) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) 23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has finished in [608] ms 23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war] 23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader; at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJar Scanner.java:246) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.jav a:229) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragment
RE: Urgent Help
Hi, Thanks for the immediate response. I am attaching my file that is used for starting the tomcat instance. Infact I have the servlet-api.jar in tomcat lib. I am unable to conclude on this. Kindly guide me. Thanks Mohan -Original Message- From: Jean-Pierre Urkens Sent: 23 June 2021 15:17 To: Tomcat Users List Subject: RE: Urgent Help CAUTION: You received this email from external Domain. Check reliability of sender’s email ID. Do not click links, open attachments unless you recognize the sender and know the content is safe. – Ramco IMG From where is the ServletContext.class loaded? Is it from /lib/servlet-api.jar or from another jar-library on the classpath? My guess is that you have multiple jars containing the ServletContext.class and not all of these are related to the same servlet-api version and thus not supporting the getClassLoader() method. You might be loading the wrong SevletContext class file. -Original Message- From: Mohan T Sent: woensdag 23 juni 2021 11:35 To: Tomcat Users List Subject: Urgent Help Hi, While starting tomcat, I am getting this error . Neither the console is starting nor the application is working . It is tomcat 8.5.35 on linux Please help Mohan 23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :758) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) 23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has finished in [608] ms 23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war] 23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader; at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJar Scanner.java:246) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.jav a:229) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(Conte xtConfig.java:1892) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:112 0) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.jav a:769) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.jav a:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.ja va:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.jav a:5154) at org.apache.catalina.util.LifecycleBase.start(LifecycleBa
RE: Urgent Help
>From where is the ServletContext.class loaded? Is it from /lib/servlet-api.jar or from another jar-library on the classpath? My guess is that you have multiple jars containing the ServletContext.class and not all of these are related to the same servlet-api version and thus not supporting the getClassLoader() method. You might be loading the wrong SevletContext class file. -Original Message- From: Mohan T Sent: woensdag 23 juni 2021 11:35 To: Tomcat Users List Subject: Urgent Help Hi, While starting tomcat, I am getting this error . Neither the console is starting nor the application is working . It is tomcat 8.5.35 on linux Please help Mohan 23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :758) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) 23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has finished in [608] ms 23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war] 23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java :754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader; at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJar Scanner.java:246) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.jav a:229) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(Conte xtConfig.java:1892) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:112 0) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.jav a:769) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.jav a:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.ja va:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.jav a:5154) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more DISCLAIMER: This communication contains information which is confidential and the copyright of Ramco Systems Ltd, its subsidiaries or a third party ("Ramco"). This email may also contain legally privileged information. Confidentiality and legal privilege attached to this communication are not waived or lost by reason of mistaken delivery to you.This email is intended to be read or used by the addressee only. If you are not the intended recipient, any use, distribution, disclosure or copying of this email is strictly prohibited without
Urgent Help
Hi, While starting tomcat, I am getting this error . Neither the console is starting nor the application is working . It is tomcat 8.5.35 on linux Please help Mohan 23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:758) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) 23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has finished in [608] ms 23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war] 23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) 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) Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader; at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:246) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:229) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1892) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1120) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:769) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more DISCLAIMER: This communication contains information which is confidential and the copyright of Ramco Systems Ltd, its subsidiaries or a third party ("Ramco"). This email may also contain legally privileged information. Confidentiality and legal privilege attached to this communication are not waived or lost by reason of mistaken delivery to you.This email is intended to be read or used by the addressee only. If you are not the intended recipient, any use, distribution, disclosure or copying of this email is strictly prohibited without the express written approval of Ramco. Please delete and destroy all copies and email Ramco at le...@ramco.com immediately. Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views of Ramco. Except as required by law, Ramco does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus,