- This topic has 6 replies, 3 voices, and was last updated 13 years, 5 months ago by
haimv.
-
AuthorPosts
-
haimvMemberHi,
We are trying to run Jprofiler on localhost for j2ee application without much success.I have tries the following:
1. Using the Jprofiler eclipse plugin – there was no option to run it on j2ee application/server on only on specific class.
2. Adding the following JVM option to our weblogic server:
-agentpath\:<PATH>\jprofilerti.dll\=port\=8849
However when the server loads I am getting the following error message:
[ERROR][load ] Could not load library <PATH>\jprofilerti.dll
[ERROR][load ] Could not load library <PATH>\jprofilerti.dllAny help would be appreciated.
support-joyMemberhaimv,
Please answer below queries to help me investigate –
1. Copy and paste your installation details. Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details
2. How did you add JProfiler eclipse plugin? Please share the update site / eclipse plugin download weblink
3.Using the Jprofiler eclipse plugin – there was no option to run it on j2ee application/server on only on specific class.
Please note that JProfiler support is not intrinsically provided. Please consult JProfiler support / cross-post on JProfiler forums
4. Please send a screenshot to help me get visual
5. Also clear your .log file located at [your workspace dir]/.metadata/.log, replicate issue and attach .log here
haimvMemberThanks for your fast reply, please note that the problem with the JVM options was solved, it was incorrect path to the dll file in the JVM arguments.
Regarding the jprofiler plugin, I took it from the jprofiler application, there is an option to export it to the eclipse IDE, than I added it manually to the myeclipse directory under dropins/plugins, and manually removed the visualvm plugin from the plugins and features directory.
However I still can’t run the jprofiler on my j2ee application on myeclipse, I can only do it via the profile configuration and it is only available to java application files, see attached screenshot, I also added the Installation details below.
Please advice, and thanks in advace.
======== Installation Details: ==============
*** Date:
Wednesday, November 16, 2011 5:58:50 PM IST** System properties:
OS=WindowsXP
OS version=5.2.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.0
Build id: 8.0-20091120*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 8.0
Build id: 8.0-20091120Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
D:\Program Files\Genuitec\MyEclipse 8.x Latest\myeclipse.exe
-name
Myeclipse
–launcher.library
D:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
D:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-showlocation
-install
D:/Program Files/Genuitec/MyEclipse 8.x Latest
-vm
D:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dllAttachments:
You must be logged in to view attached files.
support-joyMemberhaimv ,
I am afraid, you mentioned copying the JProfiler plugin from JProfiler application. It is not clear to me. Could you provide elaborate steps. Where do I retrieve JProfiler application from? Is there a weblink to download? Elaborate the steps to reproduce this issue at my end.
Please cross-post on JProfiler forums or contact JProfiler support staff.
haimvMemberFrom the jprofiler I followed the following steps:
I contacted Jprofiler support they gave me the following laconic answer:
Thanks for your reply. You profile the application server just like you run it.
Under Run->Profile you can select your usual run configuration:http://www.ej-technologies.com/products/jprofiler/ide-eclipse.html
I think the problem might be that the plugin is for eclipse and not MyEclipse.
support-tonyKeymasterhaimv,
I’m afraid that we don’t have experience in using JProfiler, The plug-in should work fine on MyEclipse 8.0, if it is compatible with eclipse 3.5. However, we recommend that you install a later release of MyEclipse (10.0 is the current release, based on eclipse 3.7).
For help with JProfiler, the JProfiler site is still likely to be the best place, or you could try general software development sites.
Could you let us know why you can’t use the MyEclipse profiler? Here are some instructions for using it to profile web applications: http://www.myeclipseide.com/documentation/quickstarts/profiler/#web
haimvMemberThanks for your help with this issue, we will consider using the VisualVM.
-
AuthorPosts