[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tptp] Monitoring WebLogic Server....

This a repost of the mailing list discussion on profiling WLS.

--------------------------------------------------------------------------------------

Hi Tony,

In order to get remote agent working, you will have to
1. install the Agent Controller on the remote box
2. setup the environment variables on the remote box
Set TPTP_AC_HOME=<<Agent Controller Home>>
Set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler
Set PATH=%JAVA_PROFILER_HOME%;%PATH%;%TPTP_AC_HOME%\bin
Set PATH=%PATH%;%JAVA_HOME%\bin
3. start the target process with -agentlib:JPIBootLoader=JPIAgent:server=enabled;..... vm argument.

I have update the documentation of the Agent Controller and please refer to the section 'Inovcation of the Java Profiler from the Command Line'
http://dev.eclipse.org/viewcvs/index.cgi/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/packaging_md/windows/getting_started.html?root=TPTP_Project&view=co

Let me know if you see any needs for update and changes.
It would be better if we continue this discussion in the newsgroup (
news://news.eclipse.org/eclipse.tptp) such that the user community can track better, I have posted our discussion there for you to follow. This mailing list is aimed for TPTP Trace and Profiling Tools Project developer discussion.

Eugene

--------------------------------------------------------------------------------------

Hi Eugene,

Thanks I appreciate the effort. Please let me know when you have more detail and I will look it over and comment. As you know for the dll issue I was taking a guess on what to do since there was no reference on how the tool finds those by Environment variables.

My question to you is to get remote agent working on a test box with Weblogic what do I have to have installed to get that agent working in server=enabled mode? For my windows box where I have both eclipse and WLS 10.3 installed I had to point my "PATH" environment variable to the directory where the dll AgentBase was located. On a box where WLS running do I have to have eclipse installed or is there a Agent install or zip with just the needed libraries?

For some reason yesterday I did not get any execution analysis info and today it started working without any effort on my part. What I do is go to Eclipse and do the following:

1. From Menu button go to Profile Configurations Window
2. On left hand sidebar select Attach to Agent "New Configuration" item from tree (note the leaf "New Configuration" was created previously)
3. In main content pane select the "Agents" tab (note it was highlighted in red)
4. On the Available agents tab there should be displayed text Java Profiling- JRE 1.5 or newer ... Check the check box for that tree branch and the "Execution Time Analysis" leaf will also be checked.
5. Select "Apply" button then the "Profile" button
6. The Eclipse view "Profiling and L..." will be shown (already selected to begin with) and the "Profile Monitor" tab will be shown in a state where a new Monitoring profile item is displayed in the "<monitoring>" state.
7. If I double click the execution analysis I will eventually get the profile timing analysis in the "Execution Analysis" tab.

Tony Anecito