• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HPROF Profiler multiple class files & sin weblogic

Richard Ponting
Posts: 1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic