Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBoss6 Classloading logging

We are having some class loading issues when deploying an application to JBoss AS 6.0.0 Final. Is there any logging that can be enabled within JBoss to see when classes are being loaded and by which classloader?

like image 643
mreynolds0404 Avatar asked Mar 17 '26 18:03

mreynolds0404


1 Answers

Use JVM -verbose:class option. For JBoss You add the following line to your run.sh:

JAVA_OPTS="$JAVA_OPTS -verbose:class

...and on Windows (run.bat):

set "JAVA_OPTS=%JAVA_OPTS% -verbose:class"
like image 139
Tomasz Nurkiewicz Avatar answered Mar 21 '26 12:03

Tomasz Nurkiewicz