Hi,

Sadly this still does not contain the stacktrace which shows why you servlet 
crashes, probably some missing bean in spring framework.

All below stacktraces seems to come from AppDynamics java agents which tries to 
load classes from webapo class loader after your webapp was already stopped. 
This is probably a bug in AppDynamics java agents.

Anyway this very much looks like an application problem and not a Tomcat 
problem.

Mfg
Thomas 

Am 17. August 2022 10:48:17 MESZ schrieb Mohan T <moha...@ramco.com.INVALID>:
>Dear Thomas,
>
>See below the full stack
>
>-Aug-2022 21:43:35.731 INFO [main] org.apache.coyote.AbstractProtocol.start 
>Starting ProtocolHandler ["https-jsse-nio2-169.21.198.159-8082"]
>16-Aug-2022 21:43:35.733 INFO [main] 
>org.apache.catalina.startup.Catalina.start Server startup in 182478 ms
>16-Aug-2022 21:43:44.725 INFO [AD Thread Pool-Global1] 
>org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
>Illegal access: this web application instance has been stopped already. Could 
>not load [org.springframework.context.ApplicationContextInitializer]. The 
>following stack trace is thrown for debugging purposes as well as to attempt 
>to terminate the thread which caused the illegal access.
> java.lang.IllegalStateException: Illegal access: this web application 
> instance has been stopped already. Could not load 
> [org.springframework.context.ApplicationContextInitializer]. The following 
> stack trace is thrown for debugging purposes as well as to attempt to 
> terminate the thread which caused the illegal access.
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1195)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156)
>        at java.lang.Class.getDeclaredMethods0(Native Method)
>        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>        at java.lang.Class.getDeclaredMethods(Class.java:1975)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService.isCandidateForRetransform(BCIFixerService.java:460)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService.access$900(BCIFixerService.java:94)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService$BCIBatchRunner.processRetransformationBatch(BCIFixerService.java:856)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService$BCIBatchRunner.run(BCIFixerService.java:746)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.AgentScheduledExecutorServiceImpl$SafeRunnable.run(AgentScheduledExecutorServiceImpl.java:122)
>        at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADFutureTask$Sync.innerRunAndReset(ADFutureTask.java:335)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADFutureTask.runAndReset(ADFutureTask.java:152)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.access$101(ADScheduledThreadPoolExecutor.java:119)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.runPeriodic(ADScheduledThreadPoolExecutor.java:206)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.run(ADScheduledThreadPoolExecutor.java:236)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.runTask(ADThreadPoolExecutor.java:694)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.run(ADThreadPoolExecutor.java:726)
>        at java.lang.Thread.run(Unknown Source)
>
>16-Aug-2022 21:43:44.727 INFO [AD Thread Pool-Global1] 
>org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
>Illegal access: this web application instance has been stopped already. Could 
>not load [org.springframework.beans.BeanWrapper]. The following stack trace is 
>thrown for debugging purposes as well as to attempt to terminate the thread 
>which caused the illegal access.
> java.lang.IllegalStateException: Illegal access: this web application 
> instance has been stopped already. Could not load 
> [org.springframework.beans.BeanWrapper]. The following stack trace is thrown 
> for debugging purposes as well as to attempt to terminate the thread which 
> caused the illegal access.
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1195)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156)
>        at java.lang.Class.getDeclaredMethods0(Native Method)
>        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>        at java.lang.Class.getDeclaredMethods(Class.java:1975)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService.isCandidateForRetransform(BCIFixerService.java:460)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService.access$900(BCIFixerService.java:94)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService$BCIBatchRunner.processRetransformationBatch(BCIFixerService.java:856)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService$BCIBatchRunner.run(BCIFixerService.java:746)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.AgentScheduledExecutorServiceImpl$SafeRunnable.run(AgentScheduledExecutorServiceImpl.java:122)
>        at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADFutureTask$Sync.innerRunAndReset(ADFutureTask.java:335)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADFutureTask.runAndReset(ADFutureTask.java:152)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.access$101(ADScheduledThreadPoolExecutor.java:119)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.runPeriodic(ADScheduledThreadPoolExecutor.java:206)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.run(ADScheduledThreadPoolExecutor.java:236)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.runTask(ADThreadPoolExecutor.java:694)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.run(ADThreadPoolExecutor.java:726)
>        at java.lang.Thread.run(Unknown Source)
>
>16-Aug-2022 21:43:44.727 INFO [AD Thread Pool-Global1] 
>org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
>Illegal access: this web application instance has been stopped already. Could 
>not load [org.springframework.beans.BeanWrapper]. The following stack trace is 
>thrown for debugging purposes as well as to attempt to terminate the thread 
>which caused the illegal access.
> java.lang.IllegalStateException: Illegal access: this web application 
> instance has been stopped already. Could not load 
> [org.springframework.beans.BeanWrapper]. The following stack trace is thrown 
> for debugging purposes as well as to attempt to terminate the thread which 
> caused the illegal access.
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1195)
>        at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156)
>        at java.lang.Class.getDeclaredMethods0(Native Method)
>        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>        at java.lang.Class.getDeclaredMethods(Class.java:1975)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService.isCandidateForRetransform(BCIFixerService.java:460)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService.access$900(BCIFixerService.java:94)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService$BCIBatchRunner.processRetransformationBatch(BCIFixerService.java:856)
>        at 
> com.singularity.ee.agent.appagent.services.retransformation.BCIFixerService$BCIBatchRunner.run(BCIFixerService.java:746)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.AgentScheduledExecutorServiceImpl$SafeRunnable.run(AgentScheduledExecutorServiceImpl.java:122)
>        at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADFutureTask$Sync.innerRunAndReset(ADFutureTask.java:335)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADFutureTask.runAndReset(ADFutureTask.java:152)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.access$101(ADScheduledThreadPoolExecutor.java:119)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.runPeriodic(ADScheduledThreadPoolExecutor.java:206)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.run(ADScheduledThreadPoolExecutor.java:236)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.runTask(ADThreadPoolExecutor.java:694)
>        at 
> com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.run(ADThreadPoolExecutor.java:726)
>        at java.lang.Thread.run(Unknown Source)
>
>Thanks
>
>Mohan
>
>
>-----Original Message-----
>From: Thomas Hoffmann (Speed4Trade GmbH) 
><thomas.hoffm...@speed4trade.com.INVALID>
>Sent: 17 August 2022 14:15
>To: Tomcat Users List <users@tomcat.apache.org>
>Subject: AW: Getting error on Tomcat Start
>
>RAMCO Security WARNING: This is an external email. Do not click links or open 
>attachments unless you recognize the sender and know the content is safe
>
>
>
>Hello Mohan,
>Could you paste the whole stack trace please?
>Even if spring stacks are usually quite long...
>________________________________
>Von: Mohan T <moha...@ramco.com.INVALID>
>Gesendet: Dienstag, 16. August 2022 19:08:33
>An: Tomcat Users List
>Betreff: Getting error on Tomcat Start
>
>Dear All,
>
>We are using tomcat 8.5 on suselinux
>
>We are getting the below error message on tomcat starting.
>
>Any ideas would help me to move forward .
>
>
>16-Aug-2022 21:43:44.725 INFO [AD Thread Pool-Global1] 
>org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
>Illegal access: this web application instance has been stopped already. Could 
>not load [org.springframework.context.ApplicationContextInitializer]. The 
>following stack trace is thrown for debugging purposes as well as to attempt 
>to terminate the thread which caused the illegal access.
>java.lang.IllegalStateException: Illegal access: this web application instance 
>has been stopped already. Could not load 
>[org.springframework.context.ApplicationContextInitializer]. The following 
>stack trace is thrown for debugging purposes as well as to attempt to 
>terminate the thread which caused the illegal access.
>              at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
>              at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)
>
>Thanks
>Mohan
>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, interception or interference. If you do not wish to 
>receive such communications, please forward this communication to 
>market...@ramco.com and express your wish not to receive such communications 
>henceforth.
>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, interception or interference. If you do not wish to 
>receive such communications, please forward this communication to 
>market...@ramco.com and express your wish not to receive such communications 
>henceforth.

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Reply via email to