cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Java Code Debugging

Former Member
0 Kudos

Hi All,

I am trying to debug my Agentry Java Code using Eclipse.

Agentry.ini

nonStandardJavaOptions=-Xdebug -

Xrunjdwp:transport=dt_socket,address=7090,server=y,suspend=n

Eclipse - Run - Debug Configurations

Host - localhost

Port - 7090

Start SAP Mobile Platform Server Properties

C:\SMP\Server\go-service.bat -debug 7090

I am using local SMP Server. I tried restarting SMP Server and Eclipse. Also i tried with port 8000. But I am getting this error.

"Failed to connect to remote VM. Connection refused.

Connection refused: connect".

Please do help in resolving this issue.

Thanks,

Divya

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello,

Please refer the instructions to debug

Thanks

Resmi

Former Member
0 Kudos

Hi resma,

Thanks for the reply. I am using port 7090 which is opened. Also the link which you sent, is opening this same thread.

     Agentry Java Code Debugging

This is opening my own thread.

Can you please send me some reference documents for resolving this issue.

Thanks,

Divya

Marçal_Oliveras
Active Contributor
0 Kudos

Hi Divya,

Probably Risma wanted to send you to the following blog, I hope it works now:

Former Member
0 Kudos

Are you using SMP 2.3 or 3.0?

If you are using SMP 3.0, the Agentry.ini nonStandardJavaOptions are not needed

- After you started your SMP 3.0 Server have you check to see if the port is even open?  from command line netstat -a