liverepl icon indicating copy to clipboard operation
liverepl copied to clipboard

Finding the classloader

Open aravindc26 opened this issue 10 years ago • 2 comments

My tomcat app seems to have more than one class loader, the liverepl seems to attach itself to the system class loader.

How do I attach it to other class loader ? When I run sh liverepl.sh it gives me list of PIDs but does not list class loader id, how do I find the list of classloaders?

aravindc26 avatar May 05 '15 12:05 aravindc26

When you run liverepl it should display a list of classloaders that it can find. 0 will always be the system classloader, but other numbers will be the class loaders of other threads and webapps.

You should then be able to run liverepl

On Tue, May 5, 2015 at 1:30 PM, Aravind Chintalapalli < [email protected]> wrote:

My tomcat app seems to have more than one class loader, the liverepl seems to attach itself to the system class loader.

How do I attach it to other class loader ? When I run sh liverepl.sh it gives me list of PIDs but does not list class loader id, how do I find the list of classloaders?

— Reply to this email directly or view it on GitHub https://github.com/djpowell/liverepl/issues/9.

djpowell avatar May 05 '15 12:05 djpowell

Thanks, When I built the source, this seemed to work. But the liverepl.sh from http://djpowell.net/files/liverepl-1.0.zip doesn't seem to work.

aravindc26 avatar May 08 '15 07:05 aravindc26