Software Defined Networking
1753886 Members
7584 Online
108809 Solutions
New Discussion юеВ

Re: SDN Remote debugging from Eclipse is not working on V 2.0

 
Melcayas
Occasional Contributor

SDN Remote debugging from Eclipse is not working on V 2.0

Good Day to everyone

 

As soon as i create a new remote debug session and use the port 8000, the controller rejects my connection:

 

'Launching MySDNcontroller' has encountered a problem.

Failed to connect to remote VM

 

com.sun.jdi.connect.spi.ClosedConnectionExeption

 

Is it the port blocked by the SDN controler somehow?

 

2 REPLIES 2
sepbot
Advisor

Re: SDN Remote debugging from Eclipse is not working on V 2.0

Try this: Open the file /opt/sdn/virgo/bin/dmk.sh and change the line that reads "DEBUG_FLAG=" to "DEBUG_FLAG=1". Save the file and restart the controller service.

sdnindia
Trusted Contributor

Re: SDN Remote debugging from Eclipse is not working on V 2.0

Hi,

 

            Please follow steps below.

 

1.         add /opt/sdn/virgo/options file  ( if it is there, just edit)

2.         Add the following line.

3.         export VIRGO_OPTS=тАЭ-debug 8787тАЭ

 

4.         In Eclipse, navigate to Run | Debug.

5.         Select Remote Java Application , on the left column. Click New.

6.         Provide the IP of the HP SDN Controller and port 8787.

7.         Click Apply.

 

'Please let us know if this answers your question by marking this response as an 'accepted solutionтАЩ or if it has been helpful click on the purple star to the left to give me kudos'.

 

HP SDN Team