Changes between Version 1 and Version 2 of OrcaDebugging

Show
Ignore:
Timestamp:
01/29/09 16:28:28 (10 years ago)
Author:
dee (IP: 152.54.9.35)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OrcaDebugging

    v1 v2  
    1 == Orca Debugging notes == 
     1'''Remote Debugging'''[[BR]] 
    22 
     3''/etc/init.d/na'' for nodeagents reference a script ''.../bin/http-server.sh''. Make sure the line ''DEBUG_OPTIONS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=${DEBUG_PORT}"'' exists to enable remote debugging. Stop and start the agent to enable debugging. 
    34 
     5'''Driver Debugging Notes'''[[BR]] 
     6 
     7If you need to make changes to the driver or a file used by the driver (e.g., XML) you will need to regenerate the driver package (mvn package) and reinstall the driver (ant upgrade) 
     8If you need to debug remotely: Open the nodeagent project in eclipse and setup remote debugging for go-1. The debug port if 8000. 
     9If you need to take a look at the nodeagent log file, it is located on go-1 under /root/na/log/na.log. 
     10If the nodeagent service seems broken, you can start/stop it using: sudo /etc/init.d.na stop|start. 
     11Note that this startup script is not working 100%, so that sometimes you may need to kill the service manually and remove the pid files in /root/na/bin.