Leo, I mentioned to you in my last posting that I was able to recreate this issue. I was able to recreate this issue on a machine that had Environment variables that are consumed by the Profiler. The environment variable I had that was not pointing to my test installation and this caused the JVMTI agent to be not available.
Can you look into environment variables on your machine and the PATH setting. I would suggest you to verify if the following environment variables are pointing to the right location a) RASERVER_HOME b) TPTP_AC_HOME c) JAVA_HOME (points to a Java 15) d) JAVA_PROFILER_HOME If the above check on the environmental variable does not work for you can you try running the profiler from the command line. a) Set TPTP_AC_HOME=<<Agent Controller Home>> b) Set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler c) Set PATH=%JAVA_PROFILER_HOME%;%PATH%;%TPTP_AC_HOME%\bin d) Set PATH=%PATH%;%JAVA_HOME%\bin e) Execute the following command: java -agentlib:JPIBootLoader=JPIAgent:server=standalone;CGProf <<Your Application to profile>> Let us know if this helps. Thanks, Guru -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yaffe, Asaf Sent: Sunday, January 21, 2007 12:15 AM To: TPTP Tracing and Profiling Tools Project developer discussions Subject: RE: [tptp-tracing-profiling-tools-dev] Profiling with Mustang Hi LeO, A) Eclipse stability issues are likely caused by the fact that you are using development builds and not stable builds. I strongly suggest you will switch to Eclipse 3.2.1 and TPTP 4.3. As for the error you see in the log file, I am not sure what these mean. I know there are some missing message strings in the JVMTI Client code. There is a bug open for that (https://bugs.eclipse.org/bugs/show_bug.cgi?id=164630). I think you can safely ignore these errors. B) The New Agent Controller must be launched before you try to launch the profiler. You may experience AC connection problems that are caused by the weird timeout issues we currently have with the New AC (known issue). Try to follow these steps (I find it helpful): 1. Start the new AC 2. From Eclipse, go to the Profile Launch Configuration for you application, switch to the Monitor tab, select the "Java Profiler with Instrumentation" data collector and click the "Test Availability" button. You should get the following message: "The connection was successful!". If not, try again. If this still does not work, check again (I know this is starting to sound like a broken record, sorry about that) that the default AC port in the "Profiling and Logging" preferences page is set to 10006 and try again. If you manage to get the "success" message, you are good to go. If not... then I guess that you should consider "downgrading" your Java environment to 5.0 (1.5) and use the old Java Profiler, which does not require the AC at all (make sure to shut down AC before doing that). Last but not least, it does make more sense to continue this discussion on the newsgroup. The newsgroup visibility is better and there is a chance that more people from the community will participate. Please post any further issues to the eclipse.tptp newsgroup (I am monitoring this newsgroup on a daily basis). Thanks, Asaf -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LeO Welsch Sent: Thursday, January 18, 2007 3:52 PM To: tptp-tracing-profiling-tools-dev@eclipse.org Subject: RE: [tptp-tracing-profiling-tools-dev] Profiling with Mustang Asaf, Most of the things mentioned here I begin to understand. I would be very happy, if after each restart Eclipse would be THAT stable to all the time the same Error. I think it's a moving target, nevertheless let's try to hit it anyhow. Only about 1) of your response the JVMTI client: I reviewed the installation and the package is already unpacked and installed there. A) When I launch Eclipse I get: !ENTRY org.eclipse.core.resources 2 1 2007-01-18 14:15:39.288 !MESSAGE Skipping builder 'com.ibm.sse.model.structuredbuilder' for project 'YLA_Planer'. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled. !ENTRY org.eclipse.osgi 2 1 2007-01-18 14:20:29.578 !MESSAGE NLS unused message: ERROR_TI_MODEL_CREATION in: org.eclipse.tptp.platform.jvmti.client.internal.messages !ENTRY org.eclipse.osgi 2 1 2007-01-18 14:20:29.578 !MESSAGE NLS unused message: TASK_CONNECTING_TO_AGENT; in: org.eclipse.tptp.platform.jvmti.client.internal.messages !ENTRY org.eclipse.osgi 2 1 2007-01-18 14:20:29.588 !MESSAGE NLS missing message: TASK_CONNECTING_TO_AGENT in: org.eclipse.tptp.platform.jvmti.client.internal.messages (Note: I try to profile project 'YLA_Profile' and not 'YLA_Planer'!!!) ===> means what??? I should start the AgentController first, before launching Eclipse or not? I am thinking about this due to the messages. B) When I try to launch my application, I get: 'The JVMTI agent org.eclipse.tptp.jvmti is not available. Make sure that the agent's libraries are available and that it is configured properly.'? (With a blank Textarea in it.) What does this mean? C) Reviewing the installed Plugins I find the following entry: 'TPTP JVMTI Profiler Client Version: 4.2.0.v200611150100' does this fit with the 4.4? And please note: I have downloaded the complete package on Mon. 15! LeO P.S.: Does it make sense to discuss this isse further on the Newsgroup or via PM? >From: "Yaffe, Asaf" <[EMAIL PROTECTED]> >Reply-To: TPTP Tracing and Profiling Tools Project developer >discussions<tptp-tracing-profiling-tools-dev@eclipse.org> >To: "TPTP Tracing and Profiling Tools Project developer >discussions"<tptp-tracing-profiling-tools-dev@eclipse.org> >Subject: RE: [tptp-tracing-profiling-tools-dev] Profiling with Mustang >Date: Thu, 18 Jan 2007 14:46:57 +0200 > >LeO, > >1) JPIBootLoader.dll is part of the JVMTI Profiler runtime component >(Agent Controller extension). On the TPTP 4.4 download page, it is >located under "Technology Previews > The New Java Profiler > JVMTI Agent >Controller Extension". Use the drop-down list to pick the appropriate >platform (Windows IA-32 in your case?). When download completes, unzip >the archive to the New Technology Agent Controller installation >directory. Make sure to use a "real" unzip utility (e.g. WinZip) and >turn-on the "Use Folder Names" option so that the files will be >extracted to their correct location (assuming the New Tech AC is >installed on c:\ntac, the files should be extracted to >c:\ntac\plugins\org.eclipse.tptp.javaprofiler). > _________________________________________________________________ Laugh, share and connect with Windows Live Messenger http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http:/ /imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=hmt agline _______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-de v _______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-de v _______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev