wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Help on WebLogic ClassLoaders Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Help on WebLogic ClassLoaders" Watch "Help on WebLogic ClassLoaders" New topic
Author

Help on WebLogic ClassLoaders

Amol Khanapurkar
Greenhorn

Joined: Oct 09, 2006
Posts: 1
Hi All,

I intend to write a Byte Code Instrumentation (BCI) program which will profile all web application modules in WebLogic. I will be using java.lang.instrument package in Java 1.5. More specifically I will be using transform() method of my class which will implement ClassFileTransformer interface. The first argument of transform() method is the name of the ClassLoader whose "loaded classes" I wish to hook and inject my BCI code.

To give an example, in Tomcat if I hook the org.apache.catalina.loader.WebappClassLoader in Tomcat 5.x I can BCI all classes loaded by that ClassLoader. Similarly, I need to know name of WebLogic Class Loader which loads all Web application modules or atleast a way to know how I can proceed to finding it out.

Thanks in advance.
 
 
subject: Help on WebLogic ClassLoaders
 
Similar Threads
profiling -> jvmpi/jvmti bci
Problem with web application Classloader
Protecting a class (with a Custom Classloader)
ClassLoader quandary
Why getting ClassCastException?