On Wed, Aug 29, 2018 at 5:17 PM Rajesh Kumar < [email protected]> wrote:
> Hi, > > I have downloaded opendaylight controller code and buit it locally. I am > starting the controller in debug mode using the command "./karaf debug". > Also getting message "Listening for transport dt_socket at address: 5005" > printed on console. also checked 5005 port in "netstat -nlp | grep 5005" > command and it prints "tcp 0 0 0.0.0.0:5005 > 0.0.0.0:* LISTEN 8252/java" > Rajesh, I admire your persistance.. ;-) following up again on https://lists.opendaylight.org/pipermail/dev/2018-August/005233.html (BTW it's best to reply to the same mailing list thread instead of starting a new one...) and again https://stackoverflow.com/questions/52037524/how-to-remote-debug-opendaylight-oxigen-release-in-eclipse/52061884 : > Now when I try to remote debug this application using Eclipse it is not > connecting on 5005 port. getting " > "Failed to connect to remote VM. Malformed reply from SOCKS server" error > message. > This is curious - have you noticed "from SOCKS server" ? What SOCKS server... you wouldn't happen to have a wrong proxy server, in Eclipse, menu Window > Preferences > General > Network Connections? > also when I try telnet command "telnet 127.0.0.1 5005" getting below > messages : > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > Connection closed by foreign host. > > Also getting a message "Debugger failed to attach: timeout during > handshake" on karaf console. > This is normal; you are using telnet which of course isn't the Java debugging protocol so your JVM complains; makes sense? > please help me how to resolve this issue. > At this point, if I were you, I would take ODL / Karaf completely out of the picture and try to setup a simple Java Hello World main() with e.g. a Thread.sleep() and try to remote debug step into that. Figure out how to get that working, and then try again with ODL. Tx, M. -- Michael Vorburger, Red Hat [email protected] | IRC: vorburger @freenode | ~ = http://vorburger.ch > *Thanks & Regards* > > *Rajesh Kumar* > > *L&T Technology Services Ltd* > > www.LntTechservices.com <http://www.lnttechservices.com/> > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > _______________________________________________ > Discuss mailing list > [email protected] > https://lists.opendaylight.org/mailman/listinfo/discuss >
_______________________________________________ Discuss mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/discuss
