aspose file tools*
The moose likes Performance and the fly likes HPROF Profiler multiple class files & sin weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "HPROF Profiler multiple class files & sin weblogic" Watch "HPROF Profiler multiple class files & sin weblogic" New topic
Author

HPROF Profiler multiple class files & sin weblogic

Richard Ponting
Greenhorn

Joined: Jul 25, 2011
Posts: 1

HI all,

I want to use the HPROF Profiler
can I use it for multiple classes or all the classes in a package, if yes what should be added to the argument ?

currently I am using this the follwing argument in weblogic startup script while setting up the VM arguments.

-Djava -Xrunhprof:cpu=samples,file=${HOME}/hProf.txt com.abcd.xyz.Test123.

while the weblogic starts I am getting this exception as the class loader didn't happen yet..

Exception in thread "main" java.lang.NoClassDefFoundError: com/abcd/xyz/Test123
Dumping CPU usage by sampling running threads ... done.

so how to do it..please kindly help me in this regard for adding HPROF profiler in weblogic 9 & doing the profilling for mutiple classes at a time.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: HPROF Profiler multiple class files & sin weblogic