yup, mia culpa I regularly use drivers of both TPTP 4.4 and 4.5 to profile tomcat 5.5 running on the sun and IBM 1.5 runtime as well as the latest sun 1.6. In this case I have had problems getting things going and have noted them in the wiki here http://wiki.eclipse.org/Hybrid_TPTP_scenario
Have a look around here to see if there is anything that helps you. Most of the bugs I hit are fixed in the latest 4.5 development driver but I have not had a chance to verify the fixes myself. Once you have the basic Tomcat. scenario working you should be well on your way. For weblogic you can either fiddle with setting the path and use the WTP run configurations etc. plus setting JVM options directly, OR write a small script to launch the server as a stand-alone app and either attach to it or have the agent dump directly to a file and import it into TPTP when you are done. Stanislav and team are the experts in these use cases ;-) BTW feel free to add to the wiki with specifics of your configuration and problems so we can work the solutions into the documentation etc.. Thanks for your time. ________________ Harm Sluiman, IBM Distinguished Engineer phone:905-413-4032 fax: 4920 cell: 1-647-300-4758 mailto:[EMAIL PROTECTED] Admin : Queenie Lam [EMAIL PROTECTED] Tie: 313-5864 1-905-413-5864 Tony Anecito <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/13/2008 10:13 PM Please respond 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> cc TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>, [EMAIL PROTECTED] Subject RE: [tptp-tracing-profiling-tools-dev] Error on profiling in Eclipse WTP 1.5.4, jdk1.5.0_06, TPTP 4.2 with Weblogic 8.1server - Ref Bug Id 126594 - Reg Hi Harm, My configuration is based upon something else that is in production but is changing to a more advanced version. As you know companies do not rapidly move to the latest version especially since there might be alot of dependencies. As for the jvm the immediate need is for jvm 1.5.0_10 and I believe you are getting me mixed up with the original requestor since I am using TPTP 4.4 and found out that to be the only version to work for me because only the download that contained the full TPTP files for download worked with 3.3.x of Eclipse. Thanks for the help. -Tony --- Harm Sluiman <[EMAIL PROTECTED]> wrote: > Your configuration is more than a year and a half > old with TPTP 4.2 and we > are now at 4.5 with a lot of new technology in this > specific area (just so > we can be confused ;-)) > > During the 4.2 release cycle I ran TPTP with Tomcat > 4.x and 5.x (JRE 1.5 > and 1.5) and wtp 1.5 regularly with no problem. > Personally I did not run > WebLogic or JRocket at the time but others did. > > In that time frame we use a JVM api called JVMPI and > that is important to > your other questions. > For JRocket and WebLogic the JVMPI apis could be > turned off through user > configuration and that would disable to profiler. > You will also for sure > need to use the Xrun options that are documented. > Regarding impact to the server. If there was no data > being collected that > the overhead was often around 5% but mileage may > vary due to many other > things. After that it all depends on how much data > you requested. Full > stack or heap details for a lot of classes is > naturally a heavy load. > However reasonable filtering to just your code will > work fine. If you are > chasing bug that may have timing issues, reducing > the amount of data you > request will help. > > If you do need to collect a lot of data, you can > have the workbench stream > the data to a file or do it directly with the JVMPI > agent using a command > line argument when starting your server. See the > documentation for using > the agent controller and the JVMPI agent for these > command line arguments > and other config. details. > > > Thanks for your time. > ________________ > Harm Sluiman, > IBM Distinguished Engineer > phone:905-413-4032 fax: 4920 cell: 1-647-300-4758 > mailto:[EMAIL PROTECTED] > Admin : Queenie Lam [EMAIL PROTECTED] Tie: 313-5864 > 1-905-413-5864 > > > > Tony Anecito <[EMAIL PROTECTED]> > Sent by: > [EMAIL PROTECTED] > 02/13/2008 04:18 PM > Please respond 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> > cc > > Subject > RE: [tptp-tracing-profiling-tools-dev] Error on > profiling in Eclipse WTP > 1.5.4, jdk1.5.0_06, TPTP 4.2 with Weblogic > 8.1server - Ref Bug Id > 126594 - Reg > > > > > > > Has anyone gotten TPTP to work with Weblogic 8.1 SP6 > and or Tomcat 5.x? Seems like the profiling should > not > care about the app server since it is dependant upon > the jvm. > > Also doe the profiling work on JRockit? > > Does it slow down the server? i.e. what amount of > increased CPU utilization is observed? > > > Thanks, > -Tony > > --- "Polevic, Stanislav V" > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > If you use IAC you need to ensure it running by > > clicking 'Test > > Connection' button in > Window->Preferences->Profiling > > And Logging / > > Hosts, otherwise you need to configure and start > AC > > manually. > > > > > > > > > > > > ________________________________ > > > > From: > > > [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > > On Behalf > > Of [EMAIL PROTECTED] > > Sent: Tuesday, February 05, 2008 1:32 PM > > To: tptp-tracing-profiling-tools-dev@eclipse.org > > Subject: [tptp-tracing-profiling-tools-dev] Error > on > > profiling in > > Eclipse WTP 1.5.4, jdk1.5.0_06, TPTP 4.2 with > > Weblogic 8.1server - Ref > > Bug Id 126594 - Reg > > > > > > > > > > Hi, > > > > I am using WTP 1.5.4,jdk1.5.0_06 and TPTP 4.3.1 > for > > profiling my > > application in Windows. I am able to do both run > and > > profile my > > application using tomcat 5.5 server. > > But when I am using weblogic 8.1server I am able > to > > run the application > > but not able to launch the profiler. > > When I surfed on net I found > > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=126594 > > > > As it was suggested here, " Profiling on Sever > > feature is not yet > > supported for > > WebLogic server. To workaround the problem, please > > try adding > > "-XrunpiAgent" as a VM argument in server launch > > configuration, and > > start server in run mode with the VM arg, then > > Profile>Profile... and > > create an 'Attach-Java Process' > > configuration, select profiling agent to attach to > > and additional > > profiling > > options to continue." > > > > I did the same but now Eclipse is not able to find > > the agent conroller > > installed on the system and an error message > > "IWAT0225E You must select > > at least one agent to attach to." is shown on top. > > > > > I found couple of queries posted in Newsgroup for > > similar issue but I > > dont find any solution in their Follow-ups for the > > same.Any suggestion > > on the above issue is greatly appreciated. > > > > > > Regards, > > Karthik > > > > Karthigeyan Sethuraman > > Tata Consultancy Services > > Mailto: [EMAIL PROTECTED] > > Website: http://www.tcs.com > > ____________________________________________ > > Experience certainty. IT Services > > Business Solutions > > Outsourcing > > ____________________________________________ > > > > =====-----=====-----===== > > Notice: The information contained in this e-mail > > message and/or attachments to it may contain > > confidential or privileged information. If you are > > > not the intended recipient, any dissemination, > use, > > review, distribution, printing or copying of the > > information contained in this e-mail message > > and/or attachments to it are strictly prohibited. > If > > > > you have received this communication in error, > > please notify us by reply e-mail or telephone and > > immediately and permanently delete the message > > and any attachments. Thank you > > > > > > > -------------------------------------------------------------------- > > Closed Joint Stock Company Intel A/O > > Registered legal address: 125252, Moscow, Russian > > Federation, > > Chapayevsky Per, 14. > > > > This e-mail and any attachments may contain > > confidential material for > > the sole use of the intended recipient(s). Any > > review or distribution > > by others is strictly prohibited. If you are not > the > > intended > > recipient, please contact the sender and delete > all > > copies. > > > _______________________________________________ > > 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 > > > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > _______________________________________________ > 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 > > > _______________________________________________ > 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 > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs _______________________________________________ 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
_______________________________________________ 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