How does Remote Debugging work in Appfuse 2.0 then ? Since it's running under
the embedded jetty plugin, is that possible to have Remote Debugging without
running the application under stand alone Tomcat ?



Matt Raible-3 wrote:
> 
> What version of AppFuse are you using?
> 
> Matt
> 
> On 2/2/07, oguzhantortop <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>  for to all who is having some difficulties with tomcat while trying to
>> remote debugging i realized that there is a basic solution. Here is what
>> we
>> need to do to solve this problem :
>> 1) Of course at first we should have Eclipse WTP and tomcat 5.x or higher
>> installed in our system.
>> 2) We should have registered tomcat to our Eclipse WTP ide. If not you
>> can
>> do this from Window>Preferences>Server>Installed Runtimes tab and when u
>> open it press the Add button select tomcat press next and then make the
>> path
>> configuration then just finish.
>> 3)When u finished registering server open the server view from the bottom
>> side of your Eclipse ide right click there and add tomcat there by
>> pressing
>> new>server tab.
>> 4)Right click on the server which u ve just installed and select Open.
>> There
>> u will see a menu named Server Overview from there press "Open Launch
>> Configruation". From the new menu select Arguments tab and add this line
>> :"-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
>> to
>> VM Arguments selection.
>> 5)Return the Server Overview tab and from the bottom side of this tab
>> select
>> Modules tab. From there u will see Web Modules Selection there u can add
>> external web module which u have deployed from appfuse's deploy war
>> antscript. Point the directory where your project resides in and give a
>> path
>> like /yourapplications name.
>> 6)Start the tomcat from the servers view by just right clickin and start.
>> 7)Click Run>Debug.. then select Remote Java Application from there point
>> your appfuse project  and in the connection Properties selection make
>> this
>> settings :
>> Host : localhost
>> Port:8000
>> 8)just put a breakpoint on your project and enter to your web application
>> from anybrowser.
>> have a fun
>> ps: i wrote this because i was not able to run tomcat server in debug
>> mode
>> from tomcat configuration tool.
>> --
>> View this message in context:
>> http://www.nabble.com/Remote-Debugging-with-Eclipse-WTP-tf3159458s2369.html#a8762825
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Remote-Debugging-with-Eclipse-WTP-tf3159458s2369.html#a8769371
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to