Jeff Sexton

Tuesday, March 25, 2008


If you'd like to use the tptp package in Eclipse to profile your Java application, I'd advise not to bother, at least as of this writing. Try a commercial application if you can. I worked with tptp in various forms for a full day and I only ended up with a lot of disk space used up with useless plug-ins. I won't bother with every detail. I tried many different paths, and I know enough about these things that I really should have been able to configure and use this tool.

I did manage at one point to run the code analyzer, from the "all in one" download. But that's as close as I got. The "all in one" download doesn't run the server agent on it's own, you're on your own to figure out how to do this (or that it even exists, the profiler issues a blank error message). I got as far as figuring out that there is a configure script for the server, but the script will not run due to a problem detecting jaxp (I have jaxp of course, and I even placed files and new Java installs all over in hope it would see it with no luck). Not surprising, I had to do a huge amount of guessing.

As far as getting the various pieces of tptp to work by obtaining and configuring the plug-ins, there exist no usable step by step instructions for current software, in spite of some web pages that appear to be just that. What does exist is either old, or extraordinarily incomplete. I found this state highly unusual for an Eclipse project, and really shocking for something this complex.

I never did see the "profile as" option my run menus, and the profile icon I added to my toolbar is apparently permanently disabled. The agent program, which I don't even know for sure that I need, can not by run against any JRE I tried, which or without jaxp jars in the various lib
directories, and various environment settings (I was down to trying about anything). I have a valid set up, I use it everyday. But this stuff is looking for something very specific.

Perhaps tptp just doesn't work. But I suspect it does. There's simply far, far more information needed to do this than is online at the moment. I'm very hopeful that the tptp project will become usable at some point. I could sure use it. And there appears to be work being done on it. But with something as big and complex as it is, it's not practical to take the time to reverse engineer the entire thing, just to try it out. Disappointing...

Try jip. From Googling to runtime, it took me about a minute and a half to get basic profile output from jip,

Post a Comment
3D modeling Advertising Air Canada Airline Alfa Romeo Spider Touring Gran Sport Analog signal Android Anomalies and Alternative Science Apache Apollo Astoria Asus Augmented reality Aurora Famous Fighters auto-awesome Automobile Autos Backups Barack Obama Batman Battery Beards Beer Bell System Berkshire Hathaway Bigfoot Bird Food Bird Toys Birds Birthdays Blogger Books Build Management Business and Economy Business Process Execution Language Byte-order mark Canadian Carrot Cats Christmas Civil Defense CNN Cockatiels Collections Crows Dear Jane Debian Diabetes Digital Living Network Alliance Digital television Disney Doll House Dow Jones Industrial Average Duesenburg SJ Roadster Durham University E-mail address ebauche Economics EJB Energy development Enterprise JavaBean ESP Facebook Fedora Filesharing Finance Ford Fossil fuel Garfield James Abram Garfield Minus Garfield Glassfish Global warming Golden Arches Goofy Google Google Buzz Google Docs Google Lively Google Photos Google Reader Google Wave Google+ Greenhouse gas Half-Life 2 Helbros High-definition television History Hybrid electric vehicle IBM Inner city Instagram Insulin Investing Irony J.C. Penny Jane Austen Java Java Architecture for XML Binding JDBC Jeff's! Jim Davis joe the plumber John McCain Karma Kay Thompson Kermit the Frog Kids and Teens LA Auto Show Larry King Laser Logging Lowry Sexton Mark Cuban Market trends McDonald Meier and Frank Microsoft Microsoft Windows Models Monkey monsters Moon MOUNT HOOD Music Music industry Muxtape MySQL NetBeans Netflix Nintendo Nissan Cube Norm Coleman Nuclear fallout Nuclear warfare Office Depot Open ESB Oracle Corporation Pacific Ocean Packard Boattail Pearl District Pearl District Portland Oregon Philip K Dick photography PlayStation 3 Pocher Pokémon HeartGold and SoulSilver Politics Portal Portland Portland Development Commission Presidents Pride and Prejudice Programming Projects Radio Recipes Recording Industry Association of America Renewable energy RIAA Robot Chicken Rock-paper-scissors Sarcasm SATA Science fiction film Serbia Service-oriented architecture Shopping Slide Rule Social Security Social Studies Society6 Spirit of St. Louis SQL Stanford Hospital Star Wars Starbucks Stock market Strip search Sun Microsystems T-Mobile Tablet TechCrunch Technical ThinkGeek Toaster Total Recall Transportation Security Administration Unicode United States United States Department of Homeland Security Universal Plug and Play Unknown Primates USB Vegetable garden Video game Vintage Images Vintage Vintage! Virtual world Volvo C70 Wall Street Warren Buffett watches We Can Remember It for You Wholesale Web service Web Services Description Language Wii Windows 7 Windows Phone 7 Windows Vista Windows XP X-Files X-ray vision XML XML Schema YouTube Yugo Zima