> On Jul 10, 2024, at 17:02, Jalaj Asher 
> <jalaj.as...@eclinicalworks.com.INVALID> wrote:
> 
> Sharing another stack to see if this can give any more insights.this thread 
> is the tomcat main thread was loading about 65MB of data.
> 
> "main" #1 prio=5 os_prio=0
>   java.lang.Thread.State: RUNNABLE
>              at java.util.zip.ZipFile.getEntry(Native Method)
>              at java.util.zip.ZipFile.getEntry(ZipFile.java:328)
>              - locked <0x00000000a1b04418> (a java.util.jar.JarFile)
>              at java.util.jar.JarFile.getEntry(JarFile.java:253)
>              at java.util.jar.JarFile.getJarEntry(JarFile.java:236)
>              at 
> org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.getArchiveEntry(AbstractSingleArchiveResourceSet.java:97)
>              at 
> org.apache.catalina.webresources.AbstractArchiveResourceSet.getResource(AbstractArchiveResourceSet.java:249)
>              at 
> org.apache.catalina.webresources.StandardRoot.getResourceInternal(StandardRoot.java:272)
>              at 
> org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:213)
>              at 
> org.apache.catalina.webresources.StandardRoot.getClassLoaderResource(StandardRoot.java:220)
>              at 
> org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2348)
>              at 
> org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:875)
>              at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1376)
>              - locked <0x00000000f24fc728> (a java.lang.Object)
>              at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
>              at java.lang.Class.forName0(Native Method)
>              at java.lang.Class.forName(Class.java:348)
>              at 
> com.sun.beans.finder.ClassFinder.findClass(ClassFinder.java:67)
>              at 
> com.sun.beans.finder.ClassFinder.findClass(ClassFinder.java:110)
>              at 
> com.sun.beans.finder.InstanceFinder.instantiate(InstanceFinder.java:93)
>              at 
> com.sun.beans.finder.InstanceFinder.find(InstanceFinder.java:66)
>              at 
> java.beans.Introspector.findExplicitBeanInfo(Introspector.java:448)
>              at java.beans.Introspector.<init>(Introspector.java:398)
>              at java.beans.Introspector.getBeanInfo(Introspector.java:173)
>              at 
> org.springframework.beans.CachedIntrospectionResults.getBeanInfo(CachedIntrospectionResults.java:255)


Is there some configuration setting in Spring that would disable caching? (I’m 
not really knowledgeable about Spring.)

There should be more in the stack trace that would show what’s triggering the 
getBeanInfo() calls. Tomcat won’t be doing the lookup unless something asks for 
it.

  - Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to