• remote java debugging OSGI

    By Abhai Raj Singh Khalsa 1 decade ago

     

    Is it possible to remotely debug java code running on a Domino server as part of OSGI tasklet?
    
     
    
    I'm using Eclipse to develop a JDBC client that is connecting to JDBC driver running under OSGI-DOTS and want step through the server side jdbc driver code.
    
     
    
    Thanks for the help.
    
    • remote java debugging OSGI

      By Abhai Raj Singh Khalsa 1 decade ago

      found it in the doc:

       

      Debugging your server task plugin
      
      Start the jvm in debug mode by using the following parameters:
      
      load dots -debugaddress=<port> -debugsuspend=<y/n>
      
      -debugaddress: connection port for the java debugger ( usually 8000)
      
      -debugsuspend: if y, then the jvm is start in suspend mode and resumes only when a
      
      debugger attaches to it. This is useful to debug starting code. Default is n