cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry server - ListeningStreamSocket Error

Former Member
0 Kudos

Hello Experts,

I am trying to debug the java classes for work manager application and I've modified the agentry.ini file for the following entry.

nonStandardJavaOptions=-Xdebug -Xrunjdwp:transport=dt_socket,address=7003,server=y,suspend=n

Now,after adding this entry when try to run the app,I get following error message.

And the log says "

Exception: 17:04:21 09/25/2013 : 2 (Socket Error), EADDRINUSE (EADDRINUSE, ), ..

\Socket\win32\sockets.cpp#1402:ListeningStreamSocket::OSListeningSocket::listenOn"

Now,If i remove the value for nonStandardJavaOptions then app is working properly.

Basically I am not able to debug the java classes.

Any help would be appreciated.

Regards,

Abhishek Wajge


Accepted Solutions (1)

Accepted Solutions (1)

i834235
Product and Topic Expert
Product and Topic Expert
0 Kudos

Change  port  from 7003 to  7090  and try debugging.  Your using same port as Agentry Server  uses for communication.   After changing  port, re-start the Server.

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

Thanks

Manju

Former Member
0 Kudos

Thank you Manju!

It worked for me changing the port.

Best regards,

Danilo

Answers (0)