Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Remote Debugging in RAP
Remote Debugging in RAP [message #758395] Wed, 23 November 2011 05:58 Go to next message
marie is currently offline marieFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,
How to setup remote debugging for RAP Application?
I have started my server with
JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8080,server=y,suspend=n %JAVA_OPTS%
But i cant run my RAP application with the remote debugging setup as mentioned in eclipse.
Please help me to get rid off this problem
Thanks in Advance
:)
Re: Remote Debugging in RAP [message #758754 is a reply to message #758395] Thu, 24 November 2011 13:37 Go to previous messageGo to next message
Ercan CANLIER is currently offline Ercan CANLIERFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Marie,

You need to explicitly specify your application debug port.

I specified like below:

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8001

In additon to these, in debug configuration settings, select the start point of your osgi application and remote_hostname:8001.

And also check if you have rights to telnet to that port...

Regards
Re: Remote Debugging in RAP [message #758755 is a reply to message #758395] Thu, 24 November 2011 13:37 Go to previous messageGo to next message
Ercan CANLIER is currently offline Ercan CANLIERFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Marie,

You need to explicitly specify your application debug port.

I specified like below:

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8001

In additon to these, in debug configuration settings, select the start point of your osgi application and remote_hostname:8001.

And also check if you have rights to telnet to that port...

Regards
Re: Remote Debugging in RAP [message #758892 is a reply to message #758755] Fri, 25 November 2011 05:38 Go to previous messageGo to next message
marie Missing name is currently offline marie Missing nameFriend
Messages: 63
Registered: March 2011
Member
Hi Ercan,

Thanks for the reply

This address must be loop back address?

My Application is a RAP Application ,so will it work for RAP,

Because RAP has its own run time ,

And one more query


[Updated on: Fri, 25 November 2011 05:49]

Report message to a moderator

Re: Remote Debugging in RAP [message #758893 is a reply to message #758755] Fri, 25 November 2011 05:38 Go to previous message
marie is currently offline marieFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Ercan,

Thanks for the reply

This address must be loop back address?

My Application is a RAP Application ,so will it work for RAP,

Because RAP has its own run time ,
Previous Topic:Remote Debugging in RAP
Next Topic:In RAP Platform , how to create a login dialog?
Goto Forum:
  


Current Time: Thu Apr 25 05:48:39 GMT 2024

Powered by FUDForum. Page generated in 0.03512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top