Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old May 6th, 2008, 03:36 AM
asty asty is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 89 asty User rank is Private First Class (20 - 50 Reputation Level)asty User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 15 h 28 m 46 sec
Reputation Power: 4
Profiling when doing remote debugging

Hi.

I have installed Tomcat 5 and I am debugging my application by Remote Debugging option.It all works fine, when I start the server (out of eclipse) and debug my application.

For this I have made following changes in my Catalina.bat:

Code:
set JAVA_OPTS=-DESS_ES_HOME=C:\MyDrives\DDrive\planning -Dhyperion.home=C:\Hyperion -Djava.endorsed.dirs=C:\Hyperion\common\appServers\Tomcat\5.5.17\common -Djava.library.path=C:\MyDrives\DDrive\planning\output -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9095

But I want to do profiling of my application and have installed TPTP. In the Arguments tab of Profile window I give above snippet in VM arguments. Now my VM Arguments read as:


Code:
-Dcatalina.base="C:\program files\Apache Software Foundation\Tomcat 5.0" -Dcatalina.home="C:\program files\Apache Software Foundation\Tomcat 5.0" -Dwtp.deploy="C:\program files\Apache Software Foundation\Tomcat 5.0\wtpwebapps" -Djava.endorsed.dirs="C:\program files\Apache Software Foundation\Tomcat 5.0\common\endorsed" -DESS_ES_HOME=C:\MyDrives\DDrive\planning -Dhyperion.home=C:\Hyperion


this is same for my Tomcat launch configuration also.

But when I click on profile button, it trys to start the Tomcat server defined in Eclipse and then errors out when it doesn't find that running.

Can you please tell me how can I profile when running the server out of eclipse?
Thanks.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Profiling when doing remote debugging


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway