Two Laptop Bag*
The moose likes Performance and the fly likes Jprofiler with Weblogic Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Jprofiler with Weblogic Issue" Watch "Jprofiler with Weblogic Issue" New topic
Author

Jprofiler with Weblogic Issue

sri bal
Greenhorn

Joined: Nov 05, 2010
Posts: 3
Hi,

I am new to JProfiler. I want to profile my code (.jar) which sits inside a war file. So I added classpath to my jar and filter to only classes in my jar in JProfiler. I have war application deployed in weblogic ManagedServer and I am starting startWebLogic_jprofiler.cmd (AdminServer) from JProfiler. After that I am starting NodeManager and ManagedServer.

But in Jprofiler 'MemoryViews' section I am not able to see my required classes when I run my application. Is it possible to profile the code in ManagedServer or Do I need to deploy my war in AdminServer itself ? or anything missing here.

Please help me regarding this. Thanks in Advance.

-cdhar
Pedro Botero
Greenhorn

Joined: Nov 07, 2010
Posts: 2
Hi, it is a long time since I do not use jProfiler, however as far as I know it was a matter of changing some parameters for boot command. Typically this is done through jProfiler wizard however nothing is preventing you to it manually. This is my suggestion add the boot modifiers to the managedServer startup script.

These are the steps I would follow:

1) Have a look at the script jProfiler modified for you, and identify the lines, you may use a tool such us windiff.
2) Paste these lines in the managed server script, or just try to modify the setEnv.cmd or setWLSEnv.cmd at WLSHOME\server\bin with those lines.

Start, it should work. In case not, just send me more details about your env: OS, WLS version, and the scripts JPROFILER created for you, I will help...

Regards.

http://applicationperformancemanagement.net
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jprofiler with Weblogic Issue