I have a custom jar file in the tomcat lib/ folder. As per my knowledge, any jar file in this folder will be loaded on startup.
Is there anyway I can check if a particular jar file is loaded or not?
I’m running tomcat-6.0.35.A on unix rhel5.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think I have seen which jars are open on startup in one of Tomcat log files. If not I could think about two possible alternatives:
-verbose:classtoJAVA_OPTSin Tomcat startup script. It should print classes as they’re loaded by JVM (lots of output). Grep log file (orstdout) to find if classes from your jar are listed